{"uid":"cap_uUrZZ1tR5GrSouP7w7lO8","slug":"base-nft-contract-intelligence-on-chain-9c538bd7","name":"Base NFT Contract Intelligence (On-Chain)","description":"Self-computed Base onchain toolkit for AI agents: ERC-20 safety scan, manipulation-resistant TWAP price oracle, gas/fee oracle, calldata decoder, token/address/contract intel, wallet approval-risk audit, and batch token triage — all computed live from raw Base chain, no third-party data.","url":"https://x402-data-api.bodhinindustries.workers.dev/nft","method":"GET","headers":{},"bodySchema":{"type":"object","required":["contract"],"properties":{"tokenId":{"type":"string","description":"Optional token id (decimal). If given, returns owner (721) + tokenURI/uri."},"contract":{"type":"string","description":"Base NFT contract address (ERC-721 or ERC-1155)."}}},"responseSchema":{"type":"object","properties":{"name":{"type":"string","description":"collection name (or null)"},"flags":{"type":"array","items":{"type":"string"}},"token":{"type":"object","properties":{"owner":{"type":"string","description":"ERC-721 owner (or null)"},"tokenUri":{"type":"string","description":"RAW on-chain tokenURI (or null)"},"tokenUriScheme":{"type":"string","description":"ipfs|data|ar|https|http|other"}}},"symbol":{"type":"string","description":"collection symbol (or null)"},"tokenId":{"type":"string","description":"queried id (or null)"},"contract":{"type":"string","description":"contract resolved"},"isErc721":{"type":"boolean","description":"ERC-721"},"standard":{"type":"string","description":"erc721 | erc1155 | unknown"},"isErc1155":{"type":"boolean","description":"ERC-1155"},"computedAt":{"type":"string","description":"ISO-8601 timestamp"},"isContract":{"type":"boolean","description":"has bytecode"},"totalSupply":{"type":"string","description":"total supply (or null)"},"thirdPartyDataUsed":{"type":"boolean","description":"always false"}}},"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_8UD-GPwpWtEfakWNOv9I4","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 metadata and token-level details for an ERC-721 or ERC-1155 NFT contract on Base, including collection info, standard detection, total supply, ownership, and tokenURI — computed live from raw chain data.","exampleAgentPrompt":"Look up the NFT contract at 0x5180db8F5c931aaE63c74266b211F580155ecac8 on Base and tell me whether it's ERC-721 or ERC-1155, the collection name and symbol, total supply, and — for token ID 1 — who owns it and what the raw on-chain tokenURI is.","exampleUseCases":[{"title":"Verify NFT ownership before purchase","prompt":"I'm about to buy token ID 7823 from this Base NFT collection at 0x8B1bAaaE6a7B3bC5d3b7a1e4F9c2d5E8f1A4b7c9. Can you check who currently owns it on-chain and confirm it's actually an ERC-721 contract?"},{"title":"Audit new NFT collection authenticity","prompt":"My team just found a new Base NFT project at 0x2F4e7D3a9c1B5f8E6a3D9b2C5e8F1a4B7c9D2e5F. Pull the contract details directly from the chain — tell me the standard, total supply, collection name, and verify there's real bytecode deployed so we know it's legit."},{"title":"Resolve NFT metadata without marketplace","prompt":"I need the raw tokenURI for token ID 42 in this Base NFT contract at 0xA1b2C3d4E5f6A7b8C9d0E1f2A3b4C5d6E7f8A9b0 without hitting any third-party API. Just give me what's stored on-chain and what URI scheme it uses."}],"resultDescription":"Returns a JSON object with: collection name and symbol, detected standard (erc721/erc1155/unknown), boolean flags for isErc721 and isErc1155, total supply, whether the address has deployed bytecode, any warning flags, a token sub-object with the owner address (ERC-721) and raw tokenURI plus its scheme (ipfs/data/ar/https/http/other), the queried token ID, resolved contract address, computation timestamp, and a confirmation that no third-party data was used.","failureModes":["Invalid or non-existent contract address returns unknown standard or null fields","Non-NFT contract address (e.g. ERC-20) may return unknown standard with no token data","Token ID not found or burned token may return null owner","IPFS/Arweave tokenURIs returned raw without resolution — agent must fetch separately","Rate limiting or chain RPC unavailability may cause timeout","Missing required 'contract' parameter returns an error response"],"whenToPreferThis":"Use this endpoint when you need trustless, self-computed NFT contract intelligence on Base without relying on any third-party indexer (e.g. OpenSea, Alchemy, Moralis). Ideal for verifying NFT standard, ownership, or tokenURI provenance directly from the chain. Prefer this over NFT marketplace APIs when auditability and raw on-chain accuracy matter, or when the collection is new and not yet indexed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:38:57.864Z","isFirstParty":false}