{"uid":"cap_sA1RQMFWbkgpqtRr16cOj","slug":"phantom-api-linea-nft-metadata-1e96a881","name":"Phantom API — Linea NFT Metadata","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/linea/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_LQOuympwAsCwYL3ENFc8E","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 on the Linea blockchain network","exampleAgentPrompt":"Can you fetch the metadata for token ID 42 from the NFT contract 0xAbCd...1234 on the Linea blockchain — I need the name, image, and any attributes it has?","exampleUseCases":[{"title":"NFT portfolio display enrichment","prompt":"I have a list of NFT token IDs from contract 0x1234abcd... on Linea — can you pull the metadata for token 101 so I can display its name, image, and traits in my app?"},{"title":"Verify NFT rarity before purchase","prompt":"Before I buy token ID 7 from the Linea NFT collection at contract 0xDeAdBeEf..., can you pull its on-chain metadata so I can check its attributes and rarity traits?"},{"title":"NFT provenance and ownership research","prompt":"I'm researching this Linea NFT — contract address 0xAaBbCcDd... token ID 55 — can you grab its metadata so I can see what the token actually represents and any properties attached to it?"}],"resultDescription":"Returns the on-chain metadata for the specified NFT token on the Linea network, typically including token name, description, image URL, and an array of attributes/traits as stored in or linked from the smart contract.","failureModes":["Invalid or non-existent contract address returns an error or empty response","Token ID not found within the contract returns null or 404-style error","Contract is not a standard NFT contract (ERC-721/ERC-1155) may cause metadata parse failure","Linea network congestion or node unavailability causes timeout","Malformed input (missing contractAddress or tokenId) returns validation error","Off-chain metadata URI is unreachable causing incomplete metadata"],"whenToPreferThis":"Use this endpoint when you specifically need NFT metadata from the Linea blockchain network and want pay-per-call pricing without a subscription. Prefer over general-purpose blockchain explorers when you need programmatic, structured metadata output for a specific token. Ideal for agents that need to enrich NFT data on Linea without committing to a monthly API plan.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:56:06.787Z","isFirstParty":false}