{"uid":"cap_D17i3HkIuTwguPU6DZqrw","slug":"x402-bazaar-base-contract-abi-lookup-via-sourcify-bc65f147","name":"x402 Bazaar - Base Contract ABI Lookup via Sourcify","description":"Checks Sourcify for a Base contract's verification status and returns its ABI as function/event name lists + item count (full or partial match). No API key required. Paid via x402: $0.01 in USDC on Base (eip155:8453) to 0x973a31858f4d2125f48c880542da11a2796f12d6. Returns 402 with payment requirements; pay and retry.","url":"https://api.relai.fi/relay/1782567677091/api/x402/contract-abi?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"pathParams":{"type":"object"},"queryParams":{"type":"object","required":["address"],"properties":{"address":{"type":"string","description":"Contract address"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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":"down","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_s0jj1kqoidgBBjve9CKXb","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":"Checks Sourcify for a Base smart contract's verification status and returns its ABI as function and event name lists with item counts","exampleAgentPrompt":"Can you check if the Base contract at 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 is verified on Sourcify and show me its function and event names?","exampleUseCases":null,"resultDescription":"Returns the contract's Sourcify verification status (full or partial match), a list of ABI function names, a list of ABI event names, and the total item count for each category.","failureModes":["Contract address not found or not verified on Sourcify — returns empty or null ABI","Invalid or malformed contract address input — returns 400 error","Contract exists on Base but has never been submitted to Sourcify — returns unverified status","Payment not provided — returns HTTP 402 with USDC payment requirements on Base (eip155:8453); must pay $0.01 and retry","Network or upstream Sourcify API unavailability — returns 5xx error"],"whenToPreferThis":"Use this endpoint when you need to quickly inspect a Base (eip155:8453) smart contract's interface without a full ABI JSON — particularly for verification checks, function discovery, or event enumeration. Prefer this over manual Sourcify queries when you need a structured, parsed response with item counts. Best suited for agents performing contract auditing, integration checks, or on-chain interaction planning on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T22:26:45.937Z","isFirstParty":false,"canonicalSlug":"x402-bazaar-base-contract-abi-lookup-via-sourcify-bc65f147"}