Coinbase Price API & Crypto Market Data avatar

Coinbase Price API & Crypto Market Data

Pricing

from $0.00005 / actor start

Go to Apify Store
Coinbase Price API & Crypto Market Data

Coinbase Price API & Crypto Market Data

Get public Coinbase crypto price API data for BTC, ETH, SOL and more, including real-time ticker, recent trades, OHLCV candles, and order book snapshots.

Pricing

from $0.00005 / actor start

Rating

0.0

(0)

Developer

Akash Kumar Naik

Akash Kumar Naik

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Share

Coinbase Price API & Crypto Market Data (Ticker, OHLCV Candles, Order Book)

Get public Coinbase crypto price API and market data in clean JSON for trading dashboards, bots, research, and analytics pipelines.

This Actor is built for users searching for:

  • Coinbase API for BTC price and ETH price
  • Crypto OHLCV candles API
  • Coinbase order book API data
  • Real-time ticker and recent trades data
  • Crypto market data for dashboards, bots, and analytics pipelines

What You Get

  • Multi-pair market data in one run (BTC-USD, ETH-USD, SOL-USD, and more)
  • Product metadata, ticker/trades, candles, and order book snapshots
  • Rate-limit-safe fetching with retries, backoff, jitter, and request throttling
  • Structured default dataset output (one item per market pair)
  • Run summary in key-value store (OUTPUT_SUMMARY)

Why This Actor

  • Public Coinbase Market Data endpoints only (no account auth needed)
  • Built for production ingestion and analytics workflows
  • Works well for AI/LLM agents because output is predictable JSON
  • Pay-per-event setup optimized for clear per-result pricing

Input Example

{
"productIds": ["BTC-USD", "ETH-USD", "SOL-USD"],
"includeProductDetails": true,
"includeTicker": true,
"includeCandles": true,
"candleGranularity": "ONE_HOUR",
"candleLimit": 24,
"includeOrderBook": true,
"orderBookLimit": 20,
"maxConcurrency": 5,
"requestRateLimitPerSecond": 5,
"maxRetries": 2,
"backoffBaseSecs": 1,
"maxBackoffSecs": 30,
"backoffJitterRatio": 0.2,
"respectRetryAfter": true,
"requestTimeoutSecs": 30,
"failOnError": false
}

Output Example

Each dataset item corresponds to one requested market pair:

{
"product_id": "BTC-USD",
"fetched_at": "2026-03-27T01:58:00.000000+00:00",
"success": true,
"product": {
"product_id": "BTC-USD",
"price": "68980.12"
},
"ticker": {
"trades": [{ "trade_id": "988623900", "price": "68980.12" }],
"best_bid": "68980.11",
"best_ask": "68980.12"
},
"candles": {
"candles": [{ "start": "1774573200", "open": "68726.3", "close": "68980.1" }]
},
"order_book": {
"pricebook": {
"product_id": "BTC-USD",
"bids": [{ "price": "68980.11", "size": "0.01" }],
"asks": [{ "price": "68980.12", "size": "0.02" }]
}
}
}

Run-level summary:

  • Key-value store record: OUTPUT_SUMMARY

Pay-Per-Event Pricing

This Actor is configured for PPE with transparent billing:

  • apify-actor-start: synthetic start event, $0.00005
  • market-pair-result: one charge per delivered market pair result (success or error item), $0.01

PPE optimization:

  • The Actor applies charging only for successful result delivery.
  • It checks available budget for market-pair-result and caps processing to avoid unpaid overproduction.
  • It stops gracefully when the user-defined max total charge is reached.

Best Use Cases

  • Crypto trading dashboards and portfolio apps
  • Quant research and backtesting pipelines
  • Price alerting and spread monitoring
  • LLM agents that need reliable Coinbase market data context
  • ETL jobs feeding warehouses, BI tools, or timeseries stores

FAQ

Does this Actor require Coinbase authentication?

No. It uses public Coinbase Market Data API endpoints.

Can I fetch multiple symbols in one run?

Yes. Add as many productIds as needed.

How does it handle Coinbase rate limits?

It uses request throttling, retry with exponential backoff + jitter, and Retry-After support for 429 responses.

Can I use this for near real-time crypto data?

Yes. It supports frequent scheduled runs and can be tuned via rate-limit settings.