Skip to content
Scrappa Get API key
OpenSea API 1 credit / request

OpenSea Item API Documentation

GET https://scrappa.co/api/opensea/item

OpenSea Item API Documentation Open one item by chain, contract address and token id. Ids from items and ids pass unchanged. The answer has the full-size image URL, traits, rarity rank, owner, last sale with token, best offer and best listing with marketplace and end time. Prices are numbers with a token. Solana items use the mint as contract address and a null token id. Every failed request costs no credit. Cost: 1 credit per successful request. Scrappa is an independent service and is not affiliated with or endorsed by OpenSea.

OpenSea Item API Documentation 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/opensea/item
Auth header
x-api-key
Cost
1 credit / request
chain = example contract_address = example token_id = 1234567890
Response preview
200 OK
{
    "data": {
        "item": {
            "chain": "polygon",
            "image": "https://i2c.seadn.io/example.jpg",
            "token_id": "4231837087468264",
            "last_sale": {
                "usd": 4.99,
                "token": {
                    "symbol": "USDC"
                }
            },
            "attributes": [
                {
...

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

3 required parameters needed before sending a request.

chain string Required

Chain identifier, e.g. polygon. Required.

Example value example
contract_address string Required

Contract address from items or ids. Required.

Example value example
token_id string Required

Token id from items or ids. Required except for Solana.

Example value 1234567890

Response Schema

Example response fields are illustrative; inspect the JSON before integrating.

Example response fields

Scan these fields before integrating.

data meta success
JSON Response
200 OK
{
    "data": {
        "item": {
            "chain": "polygon",
            "image": "https://i2c.seadn.io/example.jpg",
            "token_id": "4231837087468264",
            "last_sale": {
                "usd": 4.99,
                "token": {
                    "symbol": "USDC"
                }
            },
            "attributes": [
                {
                    "value": "Blue",
                    "trait_type": "Background"
                }
            ],
            "contract_address": "0x251be3a17af4892035c37ebf5890f4a4d889dcad"
        }
    },
    "meta": {
        "source": "opensea",
        "credits": 1,
        "billable": true,
        "endpoint_family": "gql_web"
    },
    "success": true
}

Errors

Handle these documented responses before retrying or showing customer-facing failures.

422

Validation Error

An identifier is missing or invalid. This response is not billable.

502

Bad Gateway

The public data is temporarily unavailable. This response is not billable.

Generate Code with AI

Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.

Try It Live

Test this endpoint in our interactive playground with real data.