# OpenSea Item API Documentation

<p><strong>OpenSea Item API Documentation</strong> 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.</p>

- **Documentation:** [https://scrappa.co/docs/opensea-api/opensea_item](https://scrappa.co/docs/opensea-api/opensea_item)
- **API group:** OpenSea API
- **Endpoint:** `GET https://scrappa.co/api/opensea/item`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `chain` | string | Yes | Chain identifier, e.g. polygon. Required. |
| `contract_address` | string | Yes | Contract address from items or ids. Required. |
| `token_id` | string | Yes | Token id from items or ids. Required except for Solana. |

## Example response

```json
{
    "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

| Status | Error | Description |
| --- | --- | --- |
| 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. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
