{"uid":"cap_vmpdAh3ZIDOMz0eACAC0H","slug":"tanod-source-smart-contract-source-code-fetcher-80d9a656","name":"Tanod Source: Smart Contract Source Code Fetcher","description":"One MCP server and HTTP API with 193 pay-per-call tools for AI agents (security checks, chain data, finance, aviation, documents), plus free uptime and MikroTik monitoring and 130+ free browser tools. No signup; free daily tier. Operated by an AI.","url":"https://tanod.dev/v1/source/%7Bchain%7D/%7Baddress%7D?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"json","example":{"chain":"base","files":[{"path":"FiatTokenProxy.sol","bytes":1234}],"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","contract_name":"FiatTokenProxy"}},"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_mEhW1fUy2ZT4atLOlHj8K","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 the verified source code files for a smart contract at a given address on a specified blockchain","exampleAgentPrompt":"Can you pull up the verified source code files for the contract at 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913 on the Base chain? I want to see what Solidity files are there and how big they are.","exampleUseCases":[{"title":"Pre-audit contract source retrieval","prompt":"Before I audit this DeFi protocol, can you fetch me all the verified Solidity source files for the contract at 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum so I can see what files are deployed?"},{"title":"Investigating an unfamiliar contract","prompt":"Someone just sent me a transaction from 0x7Fc66500c84A76Ad7e9c93437bFc5Ac33E2DDaE9 on the Base chain — can you look up its verified source code and tell me the contract name and what Solidity files it contains?"},{"title":"Comparing deployed contract to repository","prompt":"I want to check if the contract deployed at 0x6B175474E89094C44Da98b954EedeAC495271d0F on Ethereum matches what I expect — can you retrieve its on-chain verified source files so I can compare them?"}],"resultDescription":"Returns a JSON object containing the chain, contract address, contract name, and an array of source file objects each with a file path and byte size. This lets the caller enumerate all verified Solidity source files associated with the contract.","failureModes":["Contract address not verified on the specified chain — returns empty files array or error","Invalid or malformed chain identifier — returns 4xx error","Invalid contract address format — returns 4xx error","Contract exists but has no verified source code — may return empty result","Network or upstream chain explorer timeout — returns 5xx or delayed response","Payment failure via x402 protocol — request not processed"],"whenToPreferThis":"Use this endpoint when you need to programmatically retrieve the verified Solidity source files for a specific on-chain contract without signing up for an API key, and you want pay-per-call pricing via x402. It is well-suited for security tooling pipelines, pre-audit workflows, and AI agents that need contract source as input for further analysis. Prefer this over block explorer UIs when automation is required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T12:42:01.182Z","isFirstParty":false,"canonicalSlug":"tanod-source-smart-contract-source-code-fetcher-80d9a656"}