# CryptoRisk API – Extract

> CryptoRisk API – Extract is a paid API for AI agents from cryptorisk-api.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Converts messy unstructured text or a URL into structured JSON matching a user-provided schema

## Facts

- Endpoint: POST https://cryptorisk-api.vercel.app/api/extract
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cryptorisk-api-extract-da1b57b3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QRJ6TXQOXsgwt4oXV0jlO

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 cryptorisk-api-extract-da1b57b3 -d '<json body>'
```

Example prompt: Take this messy product description — 'Blue Widget, $19.99, available in S/M/L, SKU: BW-001, ships in 3 days' — and extract it into structured JSON with fields: name, price, sizes, sku, and shipping_days.

## When to prefer this

Choose this endpoint when you have either raw unstructured text or a URL and need the output as structured JSON conforming to a specific schema, without setting up an account or API key. It is especially useful for one-off extraction tasks, agent pipelines that need normalized data, or situations where the input format is inconsistent or messy. Prefer it over general-purpose scraping endpoints when schema-conformance is the primary goal.

## Known failure modes

- Input text is too ambiguous or lacks the data needed to populate the requested schema fields — returns partial or empty JSON
- URL is unreachable or behind a login wall — extraction fails or returns error
- Schema provided is malformed or too complex — may return unexpected structure
- Rate limiting or payment failure for the x402 pay-per-call mechanism — HTTP 402 or 429 response
- LLM inference errors or timeouts on very large inputs — may return incomplete results

## How this service works

Extract: messy text or URL -> structured JSON matching your schema.

## Output

Returns a structured JSON object whose fields and shape match the schema provided in the request, populated with values extracted from the input text or URL. Fields not found in the source material may be null or omitted.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cryptorisk-api-extract-da1b57b3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from cryptorisk-api.vercel.app](https://www.zero.xyz/host/cryptorisk-api.vercel.app/llms.txt)
