# Sourcify Verified Contract Record

> Sourcify Verified Contract Record is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status down (last checked 2026-12-03).

Retrieve Sourcify v2 source and compiler metadata for a smart contract on Base, Arbitrum, or Optimism, including match status or a not-found result.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-verified-contract-source?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: down
- Last checked: 2026-12-03
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sourcify-verified-contract-record-e3a1b353
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jmGTI_-_73iqJh8cGnqxo

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 sourcify-verified-contract-record-e3a1b353 -d '<json body>'
```

Example prompt: Can you pull up the Sourcify verified contract record for address 0x4200000000000000000000000000000000000006 on Base and tell me whether it has a full or partial match?

## When to prefer this

Use this endpoint when you need to programmatically retrieve Sourcify-verified source code and compiler metadata for a specific contract on Base, Arbitrum, or Optimism at low cost ($0.01 USDC). Prefer this over Etherscan or similar APIs when you specifically want Sourcify's match status (full vs partial) and repository-format metadata, or when querying L2 networks supported by Sourcify.

## Known failure modes

- Contract address not found in Sourcify — returns explicit not-found result
- Invalid or malformed contract address — request rejected
- Unsupported chain specified — only base, arbitrum, optimism are accepted
- Response payload exceeds 3 MB — may be truncated or fail
- Network or upstream Sourcify service unavailable — error response

## How this service works

Sourcify Verified Contract Record: Retrieve Sourcify v2 source and compiler metadata for a contract on Base, Arbitrum or Optimism. Returns the repository record with its reported match status, or an explicit not-found result. Up to 3 MB. Verification does not establish safety; source licences apply. 0.01 USDC includes one Sourcify contract record.

## Output

Returns a Sourcify v2 repository record (up to 3 MB) containing the contract's source files, compiler metadata, and match status (full match, partial match, or explicit not-found). Does not certify contract safety.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chain": {
   "enum": [
    "base",
    "arbitrum",
    "optimism"
   ],
   "type": "string",
   "default": "base"
  },
  "address": {
   "type": "string",
   "default": "0x4200000000000000000000000000000000000006",
   "maxLength": 42,
   "minLength": 1
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sourcify-verified-contract-record-e3a1b353/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.datapackvibe.com](https://www.zero.xyz/host/market.datapackvibe.com/llms.txt)
