# SYNTHORA Sourcify Contract Source Verification

> SYNTHORA Sourcify Contract Source Verification is a paid API for AI agents from sourcify-contract-verification.hergertsynthora.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Checks whether a smart contract is source-verified on Sourcify and returns match type, verification timestamp, and match ID for a given chain ID and contract address.

## Facts

- Endpoint: POST https://sourcify-contract-verification.hergertsynthora.com/service
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/synthora-sourcify-contract-source-verification-59eb1b0b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_H7nE-I0l76TPPo-ggV3PQ

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 synthora-sourcify-contract-source-verification-59eb1b0b -d '<json body>'
```

Example prompt: Can you check if the contract at 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D on Ethereum mainnet (chain ID 1) is source-verified on Sourcify, and tell me whether it's a full or partial match?

## When to prefer this

Choose this endpoint when you need to programmatically verify smart contract source code authenticity via Sourcify before interacting with or integrating a contract, especially in automated agent workflows or security gates. Prefer this over manual Etherscan checks when you need a structured JSON response with match type, compiler version, and provenance metadata that can be consumed directly by an AI agent or autonomous system. Ideal for EVM chains supported by Sourcify where full/partial source match distinction matters for trust decisions.

## Known failure modes

- Contract not found on Sourcify — returns status 'unknown' with empty files and null fields
- Invalid chain ID or contract address format — may return an error or unknown status
- Sourcify upstream unavailable — service may return an error or timeout
- Partial match only — contract exists but source code doesn't fully match deployed bytecode
- Network not supported by Sourcify — chain ID not indexed, returns unknown status

## How this service works

Checks whether a smart contract is source-verified on Sourcify and returns match type (creation/runtime, full/partial), verification timestamp and match id for a given chainId and address. Powers autonomous security agents and agent-to-agent safety gates that refuse to interact with unverified or unaudited contracts. First 3 calls FREE per wallet — send header X-WALLET: 0x<addr>. No charge on upstream failure.

## Output

Returns a JSON object indicating whether the contract is verified (ok: true/false), the verification status (e.g. 'unknown', 'full', 'partial'), the contract address and chain ID, any associated source files, metadata, creation transaction hash, compiler version, and a provenance object pointing to the Sourcify source URL.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "keys": {
   "type": "string",
   "description": "keys"
  },
  "caller": {
   "type": "string",
   "description": "caller"
  },
  "payload": {
   "type": "string",
   "description": "payload"
  },
  "provides": {
   "type": "string",
   "description": "provides"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "niche": "sourcify-contract-verification",
  "result": {
   "files": [],
   "status": "unknown",
   "address": "0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D",
   "chain_id": "1",
   "metadata": {},
   "creation_tx": null,
   "compiler_version": null
  },
  "provenance": {
   "url": "https://sourcify.dev/server/v2/contract/1/0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D",
   "source": "Sourcify Contract Source Verification"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/synthora-sourcify-contract-source-verification-59eb1b0b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from sourcify-contract-verification.hergertsynthora.com](https://www.zero.xyz/host/sourcify-contract-verification.hergertsynthora.com/llms.txt)
