# fastapi.online — Coinbase Price Lookup

> fastapi.online — Coinbase Price Lookup is a paid API for AI agents from api.fastapi.online, paid per call via x402, $0.0005/call, status unknown (last checked 2026-09-15).

Fetches the current price of a cryptocurrency trading pair from Coinbase

## Facts

- Endpoint: POST https://api.fastapi.online/coinbase-price
- Price: $0.0005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fastapi-online-coinbase-price-lookup-77be0760
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_doknOIItXnC97sf05N59f

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 fastapi-online-coinbase-price-lookup-77be0760 -d '<json body>'
```

Example prompt: What's the current Coinbase price for BTC-USD?

## When to prefer this

Use this endpoint when you need a quick, per-call crypto price lookup from Coinbase without requiring API key signup; ideal for agents that need on-demand spot prices for specific trading pairs and can pay per call in USDC via x402.

## Known failure modes

- Invalid or unsupported trading pair returns an error
- Network timeout or upstream Coinbase API unavailability
- Missing 'pair' field in request body causes a validation error
- Stale or delayed price if upstream data source lags

## How this service works

Chat, embeddings, OCR, speech-to-text, image editing, image understanding (captioning/Q&amp;A), text-to-speech, translation, writing tools, classification tools, developer tools, local utilities, format/checksum validators, encoding &amp; crypto utilities, date/time calculators, geo/coordinate math, math &amp; finance calculators, novelty tools, and business/social writing generators — 179 endpoints in all, across multiple specialized self-hosted models. Pay per call with crypto — no signup — or get an API key.

## Output

Returns the current market price of the requested trading pair as listed on Coinbase, likely as a numeric value or price string for the given currency pair.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "pair": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fastapi-online-coinbase-price-lookup-77be0760/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.fastapi.online](https://www.zero.xyz/host/api.fastapi.online/llms.txt)
