# Tanod Source: Smart Contract Source Code Fetcher

> Tanod Source: Smart Contract Source Code Fetcher is a paid API for AI agents from tanod.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-10).

Fetches the verified source code files for a smart contract at a given address on a specified blockchain

## Facts

- Endpoint: GET https://tanod.dev/v1/source/%7Bchain%7D/%7Baddress%7D?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tanod-source-smart-contract-source-code-fetcher-80d9a656
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vmpdAh3ZIDOMz0eACAC0H

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability tanod-source-smart-contract-source-code-fetcher-80d9a656
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "chain": "base",
  "files": [
   {
    "path": "FiatTokenProxy.sol",
    "bytes": 1234
   }
  ],
  "address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
  "contract_name": "FiatTokenProxy"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tanod-source-smart-contract-source-code-fetcher-80d9a656/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from tanod.dev](https://www.zero.xyz/host/tanod.dev/llms.txt)
