{"uid":"cap_dLQ-xpeutmhigtAMYe-GF","slug":"primeapi-crypto-smart-contract-read-cf419735","name":"PrimeAPI Crypto Smart Contract Read","description":"Crypto, AI, Social Media, Finance, Weather, Tools &amp; more. Pay per call in USDC on Base. No API keys.","url":"https://prime-api-seven.vercel.app/api/crypto/contract/read","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"query":{"type":"string","description":"Search query or input parameter"}}},"responseSchema":{"type":"object","description":"API response data"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.059945","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.059945/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.059945","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.059945","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_bzjjH2GpWC46XdHWnnNx2","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.059945","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Reads data from a deployed smart contract on a blockchain network by executing a read/call function","exampleAgentPrompt":"Read the totalSupply function from the USDC smart contract at 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum mainnet and tell me the current circulating supply.","exampleUseCases":[{"title":"Check user token balance in wallet","prompt":"Can you look up how many USDC tokens are in my wallet at address 0x742d35Cc6634C0532925a3b844Bc0e7595f42bF1 on Ethereum? I need to verify my balance before making a transfer."},{"title":"Verify NFT ownership on-chain","prompt":"I want to check if my wallet owns the Bored Ape Yacht Club NFT with token ID 5555. Can you query the contract at 0xBC4CA0EdA7647A8aB7C2061c2E2ad38f53A1Efb0 and confirm if it's in my address?"},{"title":"Monitor DeFi staking rewards accrual","prompt":"Check the pending rewards I've earned in the Aave protocol for my staked assets. Query the contract and tell me how much has accumulated since my last withdrawal."}],"resultDescription":"Returns the output of a smart contract read/view function — typically a value such as a token balance, address, boolean flag, integer, or structured data depending on the contract ABI and function called.","failureModes":["Invalid contract address returns an error or empty response","Unsupported blockchain network returns a network error","Incorrect function name or ABI mismatch causes call failure","Node RPC timeout causes a slow or failed response","Payment failure in USDC results in HTTP 402 before the call is made"],"whenToPreferThis":"Use this endpoint when you need to read on-chain state from a deployed smart contract without needing a Web3 node or RPC key, and want to pay per call in USDC with no API key management. Ideal for AI agents that need to query DeFi protocols, token contracts, or NFT metadata on-chain.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:40:49.126Z","isFirstParty":false}