{"uid":"cap_XKVC1uJwiTt3_CUnqIpJh","slug":"phantom-api-zksync-nft-metadata-lookup-5bdd116b","name":"Phantom API — zkSync NFT Metadata Lookup","description":"Lightning-fast access to blockchain data, smart contract insights, and Web3 infrastructure across 57+ networks. Pay-per-call via x402.","url":"https://phantom-api-omega.vercel.app/api/zksync/nft/metadata","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"tokenId":{"type":"string"},"contractAddress":{"type":"string"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.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_q9KmrIr8gdG8El1ZgG1GT","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches on-chain NFT metadata for a given token ID and contract address on the zkSync network","exampleAgentPrompt":"Can you pull the NFT metadata for token ID 42 from the zkSync contract at 0x1234abcd...? I need the name, image, and attributes.","exampleUseCases":[{"title":"NFT marketplace listing enrichment","prompt":"I need the full metadata — name, image URL, and traits — for token ID 7 from the zkSync NFT contract at 0xAbCd1234... so I can display it on our marketplace listing page."},{"title":"Verify NFT ownership attributes","prompt":"Can you fetch the on-chain metadata for zkSync NFT token 99 at contract address 0xDEAD...BEEF? I want to verify what traits and rarity attributes it has before I make an offer."},{"title":"Portfolio NFT details aggregation","prompt":"Pull up the metadata for token ID 1500 from the zkSync contract 0x9876...FEDC — I'm building a summary of all the NFTs in my wallet and need the image and description for this one."}],"resultDescription":"Returns on-chain NFT metadata for the specified token from the zkSync network, typically including the token name, description, image URL, and attributes/traits array, sourced directly from the smart contract or linked metadata URI.","failureModes":["Invalid or non-existent contract address returns an error or empty response","Token ID not found on the contract returns a not-found error","Contract is not an NFT contract (no tokenURI method) results in a metadata retrieval failure","zkSync network congestion or RPC issues may cause timeouts","Metadata hosted off-chain (e.g. IPFS) may be unavailable if the gateway is down"],"whenToPreferThis":"Choose this endpoint when you specifically need NFT metadata on the zkSync (zkSync Era / zkSync 2.0) network by contract address and token ID. It is preferable over generic blockchain explorers when you need structured, machine-readable metadata in a single pay-per-call API request without managing your own RPC node or zkSync-specific infrastructure.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T13:01:33.563Z","isFirstParty":false}