{
  "x402Version": 2,
  "id": 49,
  "slug": "49",
  "resource": "https://api.onesource.io/api/chain/nft-metadata",
  "description": "NFT metadata for ERC721 or ERC1155 tokens via eth_call, with IPFS, Arweave, data URI, and public HTTP(S) resolution",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x52E29e0d2Aa49bfBfC548C0A9F2196F4aa51f3ea",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "8000",
      "maxTimeoutSeconds": 3600
    },
    {
      "scheme": "batch-settlement",
      "network": "eip155:8453",
      "payTo": "0x52E29e0d2Aa49bfBfC548C0A9F2196F4aa51f3ea",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "8000",
      "maxTimeoutSeconds": 3600
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "contract": "0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d",
            "network": "ethereum",
            "token_id": "1"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "data": {
              "contract_address": "0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d",
              "metadata": {
                "attributes": [
                  {
                    "trait_type": "Background",
                    "value": "Orange"
                  }
                ],
                "image": "ipfs://QmPbxeGcXhYQQNgsC6a36dDyYUcHgMLnGKnF8pVFmGsvqi",
                "name": "Bored Ape #1"
              },
              "protocol": "ipfs",
              "resolved_url": "https://ipfs.io/ipfs/QmeSjSinHpPnmXmspMjwiXyN6zS4E9zccariGR3jxcaWtq/1",
              "token_id": "1",
              "token_uri": "ipfs://QmeSjSinHpPnmXmspMjwiXyN6zS4E9zccariGR3jxcaWtq/1"
            },
            "meta": {
              "cost_usdc": "0.001",
              "endpoint": "/api/chain/nft-metadata",
              "payment_chain": "base",
              "payment_token": "USDC",
              "request_id": "00000000abcdef01"
            }
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET",
                  "HEAD",
                  "DELETE"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "contract": {
                    "pattern": "^0x[a-fA-F0-9]{40}$",
                    "type": "string"
                  },
                  "network": {
                    "default": "ethereum",
                    "enum": [
                      "ethereum",
                      "sepolia",
                      "robinhood"
                    ],
                    "type": "string"
                  },
                  "token_id": {
                    "pattern": "^[0-9]+$",
                    "type": "string"
                  }
                },
                "required": [
                  "contract",
                  "token_id"
                ],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "data": {
                    "description": "Endpoint-specific response payload",
                    "properties": {
                      "contract_address": {
                        "type": "string"
                      },
                      "metadata": {
                        "properties": {
                          "attributes": {
                            "items": {
                              "properties": {
                                "trait_type": {
                                  "type": "string"
                                },
                                "value": {
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            },
                            "type": "array"
                          },
                          "image": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          }
                        },
                        "type": "object"
                      },
                      "protocol": {
                        "type": "string"
                      },
                      "resolved_url": {
                        "type": "string"
                      },
                      "token_id": {
                        "type": "string"
                      },
                      "token_uri": {
                        "type": "string"
                      }
                    },
                    "type": "object"
                  },
                  "error": {
                    "properties": {
                      "code": {
                        "type": "integer"
                      },
                      "message": {
                        "type": "string"
                      }
                    },
                    "type": [
                      "object",
                      "null"
                    ]
                  },
                  "meta": {
                    "properties": {
                      "cost_usdc": {
                        "type": "string"
                      },
                      "endpoint": {
                        "type": "string"
                      },
                      "payment_chain": {
                        "type": "string"
                      },
                      "payment_token": {
                        "type": "string"
                      },
                      "request_id": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "endpoint",
                      "request_id"
                    ],
                    "type": "object"
                  }
                },
                "required": [
                  "data",
                  "meta"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "api.onesource.io",
  "lastUpdated": "2026-09-18T18:53:39.039Z",
  "quality": {
    "calls30d": 590,
    "uniquePayers30d": 588,
    "lastCalledAt": "2026-09-18T18:53:38.925Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.onesource.io",
    "manifest_name": "api.onesource.io",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}