{"uid":"cap__OKkjjl0uLNSxnUgw_IPt","slug":"base-nft-erc-721-metadata-fetcher-4dce394f","name":"Base NFT ERC-721 Metadata Fetcher","description":"Call when an agent needs parsed ERC-721 metadata for a Base contract and token id. tokenURI is fetched only from fixed IPFS and Arweave gateways. The image field is rewritten to that gateway. A missing token or non-JSON document errors. No arbitrary URL. Send JSON {\"contract\":\"0x1111111111111111111111111111111111111111\",\"token_id\":\"1\"}. Exact $0.005 USDC on Base. Try unpaid POST /v1/sandbox/base-nft-metadata first.","url":"https://agentshelf.syntexa.ch/v1/base-nft-metadata?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"contract":{"type":"string","examples":["0x1111111111111111111111111111111111111111"],"description":"ERC-721 contract on Base. Example: 0x1111111111111111111111111111111111111111. tokenURI is read-only."},"token_id":{"type":"string","pattern":"^(0|[1-9]\\d*)$","examples":["1"],"description":"ERC-721 token id as a decimal integer. Example: 1. A JSON number is accepted when it is a safe integer. A missing token errors."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_bft1ipledsYmtQHAs5MuY","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches and parses ERC-721 token metadata (including rewritten image URL) for a given contract address and token ID on the Base blockchain, resolving tokenURIs from IPFS or Arweave gateways only.","exampleAgentPrompt":"Can you pull the full metadata — name, image, and attributes — for token ID 42 on the Base NFT contract 0xAbCd1234abcd1234abcd1234abcd1234abcd1234?","exampleUseCases":[{"title":"NFT display card generation","prompt":"I need the name, image URL, and trait attributes for token ID 7 on the Base contract 0xDEADBEEFdeadbeefDEADBEEFdeadbeefDEADBEEF so I can render a display card for it."},{"title":"NFT rarity and trait lookup","prompt":"What traits and attributes does token 101 have on Base contract 0xCaFeBaBecafebabeCaFeBaBecafebabeCaFeBaBe? I want to compare its rarity."},{"title":"Verify NFT ownership metadata","prompt":"Can you confirm what the official metadata and image say for token ID 1 on Base contract 0x1111111111111111111111111111111111111111 — I want to make sure it matches what the seller claims."}],"resultDescription":"Returns the parsed ERC-721 metadata JSON for the specified token, including fields such as name, description, image (rewritten to the IPFS or Arweave gateway URL), and any attributes/traits. Errors if the token does not exist or the tokenURI does not resolve to valid JSON.","failureModes":["Token ID does not exist on the contract — returns an error","tokenURI points to a non-IPFS/non-Arweave URL (arbitrary URLs are blocked) — returns an error","tokenURI resolves to a non-JSON document — returns an error","Invalid contract address format — request rejected","Unpaid request to paid endpoint — HTTP 402 Payment Required (use /v1/sandbox/base-nft-metadata for free testing)","Contract address is not an ERC-721 on Base — error returned"],"whenToPreferThis":"Use this endpoint when you need to reliably fetch and parse ERC-721 token metadata specifically on the Base blockchain, with the assurance that image URLs are safely rewritten to trusted IPFS or Arweave gateways (no arbitrary URL fetching). Prefer this over generic NFT APIs when you need sandboxed, SSRF-safe metadata resolution with a predictable JSON output and per-call micropayment pricing via x402.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-23T06:52:15.528Z","isFirstParty":false,"canonicalSlug":"base-nft-erc-721-metadata-fetcher-4dce394f"}