# Scrapling x402 Coin Lookup

> Scrapling x402 Coin Lookup is a paid API for AI agents from scraplingdata.xyz, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-22).

Returns current price, market cap, 24h change, and ATH data for a cryptocurrency by symbol, CoinGecko ID, or name

## Facts

- Endpoint: GET https://scraplingdata.xyz/v1/lookup/coin?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scrapling-x402-coin-lookup-8c721637
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lBqfx8rgSq-1lEiHuIF3q

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 scrapling-x402-coin-lookup-8c721637
```

Example prompt: What is the current price, market cap, and 24-hour change for Bitcoin right now?

## When to prefer this

Use this endpoint when you need a quick, low-cost ($0.001 USDC) lookup of a single cryptocurrency's price and key market metrics by symbol or name, especially in an autonomous agent context using the x402 micropayment protocol. Prefer it over heavier market data APIs when only basic price/market cap/ATH data is needed.

## Known failure modes

- Unknown or misspelled symbol/name returns an error or empty result
- Rate limiting if called too frequently
- Payment failure via x402 protocol results in 402 response and no data
- Stale data if upstream CoinGecko feed is delayed

## How this service works

Current price of BTC, ETH or any top-500 coin: USD price, market cap, 24h volume, 1h/24h/7d % change and % below all-time high. Example: q=btc, q=ethereum, q=solana. Data refreshed about every 30 min

## Output

A JSON object containing the coin's full name, ticker symbol, current price in USD, 24-hour price change percentage, market capitalization in USD, and percentage change from all-time high.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "required": [
      "q"
     ],
     "properties": {
      "q": {
       "type": "string",
       "description": "Symbol (btc), CoinGecko id (bitcoin) or name"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "name": "Bitcoin",
  "symbol": "BTC",
  "price_usd": 67000,
  "ath_change_pct": -8.5,
  "change_24h_pct": 1.2,
  "market_cap_usd": 1300000000000
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scrapling-x402-coin-lookup-8c721637/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from scraplingdata.xyz](https://www.zero.xyz/host/scraplingdata.xyz/llms.txt)
