# fold · x402 — Claude Sonnet Onchain Market Intelligence

> fold · x402 — Claude Sonnet Onchain Market Intelligence is a paid API for AI agents from x402.fold.computer, paid per call via x402, $2/call, status down (last checked 2026-09-15).

Provides machine-readable onchain market intelligence via a Claude Sonnet LLM interface, gated by x402 micropayment ($2 USDC per call)

## Facts

- Endpoint: POST https://x402.fold.computer/llm/claude-sonnet
- Price: $2/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fold-x402-claude-sonnet-onchain-market-intelligence-909caee8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UmiZfRD42ZXwh6lBjdrZN

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 fold-x402-claude-sonnet-onchain-market-intelligence-909caee8 -d '<json body>'
```

Example prompt: Ask fold's onchain market intelligence model: what are the current trends in DeFi liquidity pools this week, and which protocols are seeing unusual volume? Keep the response concise, under 300 tokens.

## When to prefer this

Choose this endpoint when you need an AI agent to reason about onchain/DeFi market conditions using a capable LLM (Claude Sonnet), and you want per-call micropayment billing via x402 rather than a subscription. Ideal for autonomous agents that only pay when they actually query, and need structured OpenAI-compatible responses they can pipe into downstream logic.

## Known failure modes

- Payment not fulfilled — 402 response if x402 payment header is missing or insufficient
- Invalid messages format — 400 error if messages array is missing or malformed
- Model timeout — slow or no response if the underlying Claude Sonnet call times out
- Insufficient USDC balance — payment rejected if the calling agent lacks funds
- Rate limiting — 429 if the endpoint is overloaded
- Empty or null messages array — validation error on required field

## How this service works

Machine-readable market intelligence for onchain agents, served over x402.

## Output

An OpenAI-format chat completion containing the AI-generated market intelligence response, plus x402 cost metadata showing how much USDC was charged for the call, and a status field indicating success or failure.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "messages"
 ],
 "properties": {
  "messages": {
   "type": "array",
   "description": "OpenAI-format chat messages"
  },
  "max_tokens": {
   "type": "number"
  },
  "temperature": {
   "type": "number"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "status",
  "data"
 ],
 "properties": {
  "data": {
   "type": "object",
   "description": "OpenAI-format completion + x402 cost info"
  },
  "status": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fold-x402-claude-sonnet-onchain-market-intelligence-909caee8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.fold.computer](https://www.zero.xyz/host/x402.fold.computer/llms.txt)
