{"uid":"cap_9yFviyDG28rT7RRmZDQSp","slug":"phantom-api-polygon-nft-metadata-lookup-63cb8349","name":"Phantom API — Polygon 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/polygon/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_hLAq38YKP-lBZl-L4q6xC","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 contract address and token ID on the Polygon network","exampleAgentPrompt":"Can you pull up the metadata for token ID 1234 from the Polygon NFT contract at address 0xAbCd1234...? I want to see its name, description, image, and any traits.","exampleUseCases":[{"title":"NFT trait lookup for rarity scoring","prompt":"I need the on-chain metadata and attributes for token ID 5678 from the Polygon contract 0x1234abcd... — I want to check its traits so I can calculate its rarity score."},{"title":"Display NFT details in a gallery app","prompt":"Fetch the metadata for Polygon NFT token 99 at contract 0xdeadbeef... so I can show its image, name, and description in my gallery."},{"title":"Verify NFT ownership details before a sale","prompt":"Before I list it for sale, can you grab the full metadata for token ID 42 on the Polygon contract 0xabc123...? I want to confirm the name, image, and attributes are correct."}],"resultDescription":"Returns on-chain NFT metadata for the specified Polygon token, typically including the token name, description, image URI, external URL, and an array of trait/attribute key-value pairs as defined by the NFT contract's metadata standard (ERC-721/ERC-1155).","failureModes":["Invalid or non-existent contract address returns an error or empty response","Token ID not found on the contract returns a 404 or null metadata","Contract does not implement standard metadata URI function — returns an error","Polygon RPC node unavailable — returns a timeout or 503","Malformed input (non-hex contract address, non-numeric token ID) returns a 400 validation error","IPFS or off-chain metadata URI unreachable — may return partial or no metadata"],"whenToPreferThis":"Choose this endpoint when you specifically need NFT metadata from the Polygon (MATIC) network and want a pay-per-call model without committing to a subscription. It is ideal for agents that need fast, on-demand lookups of individual NFT tokens by contract address and token ID, especially when building workflows that check traits, display collectibles, or verify metadata before a transaction.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:46:45.044Z","isFirstParty":false}