{"uid":"cap_1MnpoLd9K0hyC4KJJ5Ppk","slug":"coinopselect-erc-20-contract-permissions-lookup-938aaed5","name":"CoinOpSelect ERC-20 Contract Permissions Lookup","description":"Pay-per-call agent data over x402. No signup, no API key, no minimum spend. CoinOpSelect Agent Data API","url":"https://coinop.publicvm.com/api/v1/chain/contract-permissions?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string"},"method":{"type":"string"},"queryParams":{"type":"object","required":["contract"],"properties":{"owner":{"type":"string","description":"Owner address (0x..)"},"spender":{"type":"string","description":"Spender address (0x..)"},"contract":{"type":"string","description":"ERC-20 contract address (0x..) - alias ?address= accepted"}}}}},"output":{"type":"object","properties":{"flags":{"type":"array"},"owner":{"type":"string"},"query":{"type":"string"},"chainId":{"type":"number"},"network":{"type":"string"},"spender":{"type":"string"},"contract":{"type":"string"},"decision":{"type":"object"},"allowance":{},"fromCache":{"type":"boolean"},"generatedAt":{"type":"string"},"permissions":{"type":"array"}}}}},"responseSchema":{"type":"json","example":{"flags":[],"owner":"0x..","query":"0x..","chainId":8453,"network":"base","spender":"0x..","contract":"0x..","decision":{"action":"proceed","reason":"string","one_liner":"string"},"allowance":null,"fromCache":false,"generatedAt":"2026-01-01T00:00:00.000Z","permissions":[]}},"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_WLm2cVdd5RmJh49w6KCjQ","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":"Returns on-chain ERC-20 token approval permissions, allowances, and access control flags for a given contract address on Base, optionally filtered by owner and spender.","exampleAgentPrompt":"What are the on-chain permissions and allowances for the USDC contract at 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Base — specifically what's approved for spender 0xabcdef1234567890abcdef1234567890abcdef12 from owner 0x1234567890abcdef1234567890abcdef12345678?","exampleUseCases":[{"title":"DeFi protocol approval audit","prompt":"Check the token permissions and allowance on Base for the contract at 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 — I want to see what spending rights the Uniswap router at 0x2626664c2603336E57B271c5C0b26F421741e481 has from my wallet 0xDeadBeef0000000000000000000000000000001."},{"title":"Security check before token revoke","prompt":"Before I revoke approvals, can you pull the current permissions and allowance for the WETH contract 0x4200000000000000000000000000000000000006 on Base for spender 0xabc123def456abc123def456abc123def456abc1 from my address 0x9999000011112222333344445555666677778888?"},{"title":"Agent monitoring wallet exposures","prompt":"Look up all the on-chain permission flags and allowance details for the token contract at 0x50c5725949A6F0c72E6C4a641F24049A917DB0Cb on Base — I need to know if address 0xFeeD0000BaD0000FeeD0000BaD0000FeeD000000 has any spending rights from owner 0xA1B2C3D4E5F60000000000000000000000000000."}],"resultDescription":"A JSON object containing the contract address, network (Base, chainId 8453), owner and spender addresses, the current allowance (or null), an array of permissions, an array of flags, a decision object, whether the data came from cache, and a generatedAt ISO timestamp.","failureModes":["Missing required contract address returns an error or empty result","Invalid address format (non-0x) may cause a query failure","Contract address not deployed on Base returns empty permissions","Network congestion or RPC issues may cause delayed or stale data","Payment failure via x402 results in 402 response before data is returned"],"whenToPreferThis":"Use this endpoint when you need on-chain ERC-20 permission and allowance data specifically on the Base L2 network, paid per-call via x402 micropayment protocol. Prefer it over general blockchain explorers when you need structured, machine-readable output about contract approval state that an AI agent can act on directly without screen-scraping.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-20T06:45:15.857Z","isFirstParty":false,"canonicalSlug":"coinopselect-erc-20-contract-permissions-lookup-938aaed5"}