{"uid":"cap_6Djd92CV9lSgpBYwKrzC-","slug":"agent-data-tools-revmesh2074-workers-dev-base-nft-metadata-c4b9ddc0","name":"Base NFT Metadata","description":"NFT metadata on Base: the token URI of one ERC-721 token id (tokenURI) and the JSON it points to (name, description, image, attributes), read from data: URIs, https or ipfs:// (through ipfs.io). Strings over 1,000 characters, such as on-chain SVG images, are shortened. Use to show or check what an NFT is; for its owner use base_nft_owner. A token that does not exist is 422, uncharged; unreachable metadata is reported in metadataError.","url":"https://agent-data-tools.revmesh2074.workers.dev/base/nft-metadata?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","required":["contract","tokenId"],"properties":{"tokenId":{"type":"string","description":"Token id, a whole number"},"contract":{"type":"string","description":"0x ERC-721 collection contract address"}}},"responseSchema":{"type":"object","properties":{"name":{"type":"string"},"chain":{"type":"string"},"symbol":{"type":"string"},"chainId":{"type":"number"},"tokenId":{"type":"string"},"contract":{"type":"string"},"metadata":{"type":"object","properties":{"name":{"type":"string"},"image":{"type":"string"},"description":{"type":"string"}}},"tokenUri":{"type":"string"},"metadataError":{},"metadataSource":{"type":"string"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USD","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_bWV-264D5kagv4ctXAFt3","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":"agent-data-tools.revmesh2074.workers.dev","brandSlug":"agent-data-tools-revmesh2074-workers-dev-x402","brandBaseUrl":"https://agent-data-tools.revmesh2074.workers.dev","brandDocsUrl":null,"whatItDoes":"Fetches the token URI and parsed metadata (name, description, image, attributes) for a specific ERC-721 NFT on the Base blockchain","exampleAgentPrompt":"Can you pull up the metadata for token ID 42 of the Base NFT collection at contract address 0xd4307e0acd12cf46fd6cf93bc264f5d5d1598792 — I want to see its name, image, and any traits?","exampleUseCases":[{"title":"Verify NFT artwork before purchase","prompt":"Before I buy it, can you check what the NFT at contract 0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d token ID 101 on Base actually looks like — show me the name, image, and attributes?"},{"title":"Display NFT details in a gallery","prompt":"I'm building a gallery page — fetch me the metadata for token 7 of the Base collection at 0x5180db8f5c931aae63c74266b211f580155ecac8 so I can show the image, description, and traits."},{"title":"Audit on-chain metadata accessibility","prompt":"Can you check whether the metadata for token ID 500 at Base contract 0xabcdef1234567890abcdef1234567890abcdef12 is reachable, and tell me if there are any metadata errors?"}],"resultDescription":"Returns a JSON object containing the chain name and ID, contract address, token ID, collection symbol, the tokenURI string, a parsed metadata object with name, description, and image URL (and attributes when available), the metadata source type (data URI, HTTPS, or IPFS), and a metadataError field if the metadata could not be fetched. Long strings like on-chain SVGs are truncated to 1,000 characters.","failureModes":["Token does not exist → 422 Unprocessable Entity (no charge)","Metadata unreachable (bad IPFS CID, dead HTTPS URL) → 200 with metadataError field populated","Invalid contract address format → 422 or error response","Contract is not ERC-721 compliant → tokenURI call fails, reported in metadataError","IPFS gateway timeout → metadataError populated, no retry"],"whenToPreferThis":"Use this endpoint when you need to display or verify what a specific Base ERC-721 NFT represents — its name, image, and traits. Prefer it over generic blockchain RPC calls because it automatically resolves data: URIs, HTTPS URLs, and IPFS links through ipfs.io, truncates oversized SVGs, and returns a clean parsed JSON rather than raw ABI-encoded data. For NFT ownership queries, use the companion base_nft_owner endpoint instead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-03T12:52:52.531Z","isFirstParty":false,"canonicalSlug":"agent-data-tools-revmesh2074-workers-dev-base-nft-metadata-c4b9ddc0"}