# SperaxOS Contract Data API

> SperaxOS Contract Data API is a paid API for AI agents from chat.sperax.io, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-15).

Retrieves AI-powered DeFi intelligence data about a specific smart contract, payable per-request via USDC on Base

## Facts

- Endpoint: GET https://chat.sperax.io/api/x402/v1/data/contract?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/speraxos-contract-data-api-3479dece
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5Bp1wT1WyhVLNM_0qnsf-

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 speraxos-contract-data-api-3479dece
```

Example prompt: Pull up the contract data for 0x4200000000000000000000000000000000000006 on Base — I want to see what SperaxOS knows about it, including its properties and any DeFi intelligence.

## When to prefer this

Choose this endpoint when you need AI-powered DeFi intelligence about a specific smart contract without managing API keys, and when you are operating on Base and can pay micro-amounts of USDC per request. It is ideal for autonomous agents that need on-demand contract lookups with minimal setup overhead.

## Known failure modes

- Payment failure if wallet lacks sufficient USDC on Base
- Invalid or unrecognized contract address returns empty or error response
- Network/chain mismatch causes no data found
- Rate limiting or payment processing delays under high load
- Unsupported contract type may return partial data

## How this service works

AI-powered DeFi intelligence APIs payable via the x402 HTTP payment protocol. No API key required — pay per request with USDC on Base. Identity-only (SIWX) endpoints are free for wallets with an agentcash identity.

## Output

Returns structured DeFi intelligence data about the specified smart contract, including contract properties, metadata, and AI-powered on-chain analytics sourced from SperaxOS. The response is delivered after a micro-payment of $0.001 USDC on Base is processed via the x402 protocol.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/speraxos-contract-data-api-3479dece/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from chat.sperax.io](https://www.zero.xyz/host/chat.sperax.io/llms.txt)
