# LION x402 Scrape JSON

> LION x402 Scrape JSON is a paid API for AI agents from lion-x402-bible.lionmaster-operations.workers.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-15).

Returns keyless attested JSON data for a given asset identifier, paid per-call via USDC on Base using the x402 protocol.

## Facts

- Endpoint: GET https://lion-x402-bible.lionmaster-operations.workers.dev/api/x402/scrape-json
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/lion-x402-scrape-json-3ba626b6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3SobS5slwHY2lu6YYqnxY

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 lion-x402-scrape-json-3ba626b6
```

Example prompt: Fetch the attested JSON data for the LION asset — I'll pay the per-call fee in USDC on Base via x402, no API key needed.

## When to prefer this

Choose this endpoint when an autonomous agent needs keyless, pay-per-call attested JSON data for a LION asset without requiring API key provisioning. Ideal for agent pipelines that support x402 micropayment protocol and need structured, verifiable asset resolution data on Base network. Prefer over traditional REST APIs when the calling agent has a USDC wallet and wants to avoid OAuth or API key management overhead.

## Known failure modes

- Payment failure: insufficient USDC balance on Base causes 402 rejection before data is returned
- Invalid asset_id: unknown or unsupported asset identifier returns empty or error response
- Worker unavailability: Cloudflare Worker cold start or downtime returns 5xx
- Attestation unavailable: underlying data source is stale or unreachable, resolved may return false

## How this service works

Keyless attested data for autonomous agents. USDC on Base via x402. Official @x402/* middleware.

## Output

Returns a JSON object containing at minimum the asset_id (e.g. 'LION') and a boolean resolved field indicating whether the asset has been resolved, along with any additional attested data fields for that asset.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "description": "Absolute http(s) URL"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "asset_id": "LION",
  "resolved": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/lion-x402-scrape-json-3ba626b6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from lion-x402-bible.lionmaster-operations.workers.dev](https://www.zero.xyz/host/lion-x402-bible.lionmaster-operations.workers.dev/llms.txt)
