{"uid":"cap_7OrdXYvdPpcu0H_SH4581","slug":"ethereum-nft-metadata-lookup-52ea27ca","name":"Ethereum NFT Metadata Lookup","description":"Metadata for an ERC-721 or ERC-1155 token on Ethereum: collection name, current owner (ERC-721), token URI, and the metadata JSON fetched and decoded from IPFS, Arweave, HTTPS or an inline data URI, with a browser-loadable image URL.","url":"https://onchaincheck.dev/eth/nft?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["contract","tokenId"],"properties":{"tokenId":{"type":"string","pattern":"^\\d{1,78}$","description":"Token id as a decimal string"},"contract":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"NFT collection contract on Ethereum"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"chain":"eth","owner":"0x46EFbAedc92067E6d60E84ED6395099723252496","tokenId":"1","contract":"0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D","imageUrl":"https://nft2-cdn.alchemy.com/eth-mainnet/65558a4d0c5b0c56fbc50bf03f55e3fa","metadata":{"image":"ipfs://QmPbxeGcXhYQQNgsC6a36dDyYUcHgMLnGKnF8pVFmGsvqi","attributes":[{"value":"Grin","trait_type":"Mouth"},{"value":"Vietnam Jacket","trait_type":"Clothes"},{"value":"Orange","trait_type":"Background"},{"value":"Blue Beams","trait_type":"Eyes"},{"value":"Robot","trait_type":"Fur"}]},"standard":"ERC-721","tokenUri":"ipfs://QmeSjSinHpPnmXmspMjwiXyN6zS4E9zccariGR3jxcaWtq/1","collection":"BoredApeYachtClub","fetchedFrom":"Alchemy NFT API cache (token URI host unavailable)"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.008","displayCostAsset":"USDC","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.008/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_oPtPaDKMb1c9qc2wOJ8ah","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.008","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches on-chain and off-chain metadata for an ERC-721 or ERC-1155 NFT on Ethereum, including collection name, owner, token URI, decoded metadata JSON, and a browser-loadable image URL.","exampleAgentPrompt":"Look up the metadata for Bored Ape Yacht Club token #1 — I want the current owner, image URL, and all the traits. The contract is 0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D and the token ID is 1.","exampleUseCases":[{"title":"NFT trait and image display","prompt":"Can you pull up the full metadata for CryptoPunks token #7804? Contract is 0xb47e3cd837dDF8e4c57F05d70Ab865de6e193BBB and token ID is 7804 — I need the image URL, all the traits, and who currently owns it."},{"title":"Verifying NFT ownership before a trade","prompt":"Before I buy this NFT, can you check who currently owns token #42 on contract 0x60E4d786628Fea6478F785A6d7e704777c86a7c6 on Ethereum? I want to confirm the seller actually holds it."},{"title":"Building an NFT portfolio dashboard","prompt":"I'm building a display for my NFT collection — can you fetch the metadata for token #3429 on the Azuki contract 0xED5AF388653567Af2F388E6224dC7C4b3241C544? I need the image, attributes, collection name, and token URI."}],"resultDescription":"Returns a JSON object containing: chain identifier ('eth'), NFT standard (ERC-721 or ERC-1155), collection name, contract address, token ID, current owner address (ERC-721), raw token URI, decoded metadata JSON (with image field and attributes array), a browser-loadable image URL resolved from IPFS/Arweave/HTTPS/data URI, and a note on where the data was fetched from (e.g. Alchemy NFT API cache).","failureModes":["Invalid contract address format returns a validation error","Token ID out of range or non-existent returns a not-found error","IPFS/Arweave metadata unavailable may result in partial metadata with fallback from cache","ERC-1155 tokens do not return an owner field (ownership is not tracked per-token)","Contract address that is not an NFT contract returns an error or empty result","Network timeout fetching off-chain metadata from IPFS or Arweave"],"whenToPreferThis":"Use this endpoint when you need full NFT metadata for a specific Ethereum token, including decoded off-chain metadata from IPFS or Arweave, a browser-ready image URL, and on-chain owner information — all in a single call. Prefer this over raw RPC calls when you want metadata normalization across storage backends (IPFS, Arweave, HTTPS, data URIs) without implementing your own resolver.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T12:31:26.592Z","isFirstParty":false,"canonicalSlug":"ethereum-nft-metadata-lookup-52ea27ca"}