# BizIntel API – Crypto Price Lookup (CoinGecko)

> BizIntel API – Crypto Price Lookup (CoinGecko) is a paid API for AI agents from bizintel-api.hahavoid0.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Returns the current price of a cryptocurrency by CoinGecko coin ID, quoted in a specified fiat or crypto currency.

## Facts

- Endpoint: POST https://bizintel-api.hahavoid0.workers.dev/finance/crypto-price
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bizintel-api-crypto-price-lookup-coingecko-b307f068
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4K0Z-8DM9TTzbJk5iUSI-

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 bizintel-api-crypto-price-lookup-coingecko-b307f068 -d '<json body>'
```

Example prompt: What's the current price of Ethereum in USD? Use the CoinGecko slug 'ethereum' and quote it in usd.

## When to prefer this

Choose this endpoint when you need a quick, pay-per-call cryptocurrency price lookup using CoinGecko's index without managing API keys. It is ideal for agent workflows that need spot prices for one coin at a time, especially when already using the BizIntel API ecosystem for other data enrichment tasks. Prefer it over direct CoinGecko API calls when you need x402 USDC micropayment compatibility on Base.

## Known failure modes

- Invalid or unrecognized CoinGecko coin ID slug returns an error or supported:false
- Unsupported vs_currency may return a warning or empty result
- Network or worker timeout may return a 5xx error
- Coin delisted or unavailable from CoinGecko may reduce confidence or return no price

## How this service works

Fetches spot prices for token identifiers from the free CoinGecko simple price index.

## Output

Returns a JSON object with the coin's price in the requested currency (e.g. {ethereum: {usd: 3400}}), a confidence rating ('high'), a data_as_of timestamp (month-level), a supported flag, any warnings, and a disclaimer noting the data is informational only.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "coin_id"
     ],
     "properties": {
      "coin_id": {
       "type": "string",
       "description": "CoinGecko ID slug (e.g. ethereum, bitcoin, usd-coin)"
      },
      "vs_currency": {
       "type": "string",
       "default": "usd",
       "description": "Compare currency (e.g. usd)"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "ethereum": {
    "usd": 3400
   }
  },
  "warnings": [],
  "supported": true,
  "confidence": "high",
  "data_as_of": "2026-06",
  "disclaimer": "Informational support only. Not legal, tax, medical, veterinary, or financial advice. Verify with the cited official source or a qualified professional before acting."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bizintel-api-crypto-price-lookup-coingecko-b307f068/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from bizintel-api.hahavoid0.workers.dev](https://www.zero.xyz/host/bizintel-api.hahavoid0.workers.dev/llms.txt)
