# Mat Web & Data Toolkit – Crypto Price Lookup

> Mat Web & Data Toolkit – Crypto Price Lookup is a paid API for AI agents from automatom.matt-d59.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-18).

Fetches real-time cryptocurrency prices, market caps, 24h volume, and price change percentages for specified coins via CoinGecko.

## Facts

- Endpoint: GET https://automatom.matt-d59.workers.dev/crypto?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/mat-web-data-toolkit-crypto-price-lookup-bf63983b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tSGwwiPN2kS38VGAqxqC-

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 mat-web-data-toolkit-crypto-price-lookup-bf63983b
```

Example prompt: What are the current prices, market caps, and 24-hour price changes for bitcoin and ethereum in USD?

## When to prefer this

Choose this endpoint when you need real-time cryptocurrency price and market data (price, market cap, volume, 24h change) for one or more coins in a specified fiat or crypto currency. Prefer it over raw CoinGecko API calls when you want a simplified, pay-per-call JSON wrapper that abstracts authentication. Best for spot checks, dashboards, and portfolio tools.

## Known failure modes

- Invalid coin IDs return empty or missing entries in the prices object
- Unsupported vs currency may result in an error or empty response
- CoinGecko API downtime or rate limiting may cause failed or stale responses
- Network timeout from the Cloudflare Worker to CoinGecko upstream
- Missing required query parameters may return a malformed or empty response

## How this service works

Fetches a public web page and returns its title, meta description, outbound links and readable plain text as JSON.

## Output

Returns a JSON object containing, per requested coin: current price in the specified currency, last updated timestamp, market cap, 24h trading volume, and 24h percentage price change. Also includes the data source (CoinGecko) and the vs-currency used.

## 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": [],
     "properties": {
      "vs": {
       "type": "string"
      },
      "ids": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "vs": "usd",
  "prices": {
   "bitcoin": {
    "price": 81233,
    "updated": "2026-10-17T17:47:21.000Z",
    "market_cap": 1632442292827.967,
    "volume_24h": 16056082821.54987,
    "change_24h_pct": -0.2398248071853556
   },
   "ethereum": {
    "price": 2405.79,
    "updated": "2026-10-17T17:47:16.000Z",
    "market_cap": 293774700083.3562,
    "volume_24h": 6474724114.089175,
    "change_24h_pct": -0.761390735929811
   }
  },
  "source": "coingecko"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/mat-web-data-toolkit-crypto-price-lookup-bf63983b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from automatom.matt-d59.workers.dev](https://www.zero.xyz/host/automatom.matt-d59.workers.dev/llms.txt)
