Coinbase Order Book, Candles & Trades Scraper avatar

Coinbase Order Book, Candles & Trades Scraper

Pricing

from $22.49 / 1,000 result items

Go to Apify Store
Coinbase Order Book, Candles & Trades Scraper

Coinbase Order Book, Candles & Trades Scraper

Scrape real-time order book depth (L1/L2/L3), OHLCV candles, recent trades, and live tickers for every Coinbase Exchange trading pair. No API key. Built for arbitrage and trading bots.

Pricing

from $22.49 / 1,000 result items

Rating

0.0

(0)

Developer

ParseForge

ParseForge

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Share

ParseForge Banner

๐Ÿ“ˆ Coinbase Order Book, Candles & Trades Scraper

๐Ÿš€ Pull live Coinbase market depth, OHLCV charts, and tick-level trades in seconds. Filter by pair, sort by volume, choose your order book level. No API key, no registration, no manual CSV wrangling.

๐Ÿ•’ Last updated: 2026-05-16 ยท ๐Ÿ“Š 36 fields per record ยท 818 trading pairs ยท L1/L2/L3 order book ยท 6 candle intervals

Coinbase Exchange is the largest US-regulated crypto venue, and the raw market data behind every pair is the substrate of arbitrage bots, portfolio dashboards, and quantitative research. This scraper exposes that substrate as one unified Apify dataset. Every record holds the live ticker, bid and ask depth up to 1,000 levels, OHLCV candles across six timeframes, and the most recent 100 trades. You point it at any of the 818 trading pairs the exchange currently lists, and the actor returns a fully populated record in a few seconds. No keys, no rate limits to manage, no scraping etiquette to relearn.

The integration story is simple. Schedule a run every minute and you have a low-latency price feed for your trading bot. Schedule it hourly and you have an OHLCV warehouse you can backfill into BigQuery or Postgres. Run it on demand to power an arbitrage detector that compares Coinbase against Binance, Kraken, or any other venue you already scrape with ParseForge. The output is flat enough for spreadsheets and structured enough for time-series databases. Pair it with a notebook and you have a research lab. Pair it with Zapier and you have a price alert system. Pair it with your own LLM agent and you have a self-driving market scout.

๐ŸŽฏ Target audience๐Ÿ’ก Primary use cases
Quantitative traders and arbitrage operatorsDetect cross-exchange price gaps in real time
Crypto trading bot developersStream order book depth into execution engines
DeFi and CeFi portfolio trackersRefresh asset valuations across 800+ pairs
Market data engineers and analystsBackfill OHLCV warehouses and tick-level archives
Compliance and treasury teamsAudit fills and price marks against exchange truth

๐Ÿ“‹ What the Coinbase Order Book, Candles & Trades Scraper does

  • ๐Ÿ“ก Live ticker capture. Best bid, best ask, last trade, 24h open, high, low, volume, and 30-day volume in a single call.
  • ๐Ÿชœ Order book depth at three levels. L1 best bid/ask, L2 top-of-book aggregated, or L3 full non-aggregated book.
  • ๐Ÿ•ฏ๏ธ OHLCV candles across six intervals. 1-minute, 5-minute, 15-minute, 1-hour, 6-hour, or daily buckets.
  • ๐Ÿ” Recent trades with side and size. Up to 100 most recent executions per pair with sub-millisecond timestamps.
  • ๐ŸŽ›๏ธ Smart filters and sort. Restrict by quote currency, status, or explicit pair list. Sort by 24h volume to grab the top movers.
  • ๐Ÿงพ One flat record per pair. Ticker, book, candles, and trades land on the same row, ready for SQL or pandas.

Every record contains the pair identity (base, quote, display name, status), the live ticker block, derived spread and percentage change, the order book sequence and timestamp, the candle array, the recent trades array, and a precise scrape timestamp. The schema is stable across runs, so you can append snapshots safely.

๐Ÿ’ก Why it matters: Coinbase processes billions of dollars in daily volume, and small spread shifts between Coinbase and other venues create arbitrage windows that close in seconds. Owning your own price feed instead of renting one from a paid market data vendor means lower cost, no per-call quotas, and audit-friendly raw data you control.


๐ŸŽฌ Full Demo

๐Ÿšง Coming soon: a 3-minute walkthrough of the input form, a sample run, and an arbitrage notebook that consumes the dataset.


โš™๏ธ Input

FieldTypeDescriptionDefault
productIdsarray of enumSpecific Coinbase Exchange pairs to scrape. Leave empty to pull from the full universe.["BTC-USD", "ETH-USD", "SOL-USD", "XRP-USD", "DOGE-USD"]
maxItemsintegerCap on the number of records returned. Free users are limited to 10.10
quoteCurrencyFilterenumOnly return pairs quoted in this asset (USD, USDC, USDT, EUR, GBP, BTC, ETH, etc.). Ignored when productIds is set.Any
statusFilterenumFilter by trading status: online or delisted.online
sortByenumOrder the dataset before applying maxItems: product ID, 24h volume, or last price.volume24h
includeTickerbooleanCapture live ticker and 24h stats.true
includeOrderBookbooleanCapture the order book snapshot.true
orderBookLevelenumOrder book detail: 1 (best bid/ask), 2 (top 50 aggregated), or 3 (full non-aggregated book).2
orderBookMaxLevelsintegerMaximum bid/ask rows per side. 0 means keep everything Coinbase returned.25
includeCandlesbooleanCapture historical OHLCV candles.true
candleGranularityenumCandle interval in seconds: 60, 300, 900, 3600, 21600, or 86400.3600
candleStartstringOptional ISO 8601 start timestamp for the candle range.(latest 300)
candleEndstringOptional ISO 8601 end timestamp for the candle range.(latest 300)
includeTradesbooleanCapture the most recent trades on the pair.true
tradesLimitintegerNumber of recent trades to capture (1 to 100).50

Example: top 25 USD pairs by 24h volume with L2 depth and 1-hour candles.

{
"maxItems": 25,
"quoteCurrencyFilter": "USD",
"statusFilter": "online",
"sortBy": "volume24h",
"includeTicker": true,
"includeOrderBook": true,
"orderBookLevel": "2",
"orderBookMaxLevels": 25,
"includeCandles": true,
"candleGranularity": "3600",
"includeTrades": true,
"tradesLimit": 50
}

Example: deep BTC-USD snapshot for an arbitrage detector (full L3 book, 1-minute candles, 100 trades).

{
"productIds": ["BTC-USD"],
"includeOrderBook": true,
"orderBookLevel": "3",
"orderBookMaxLevels": 0,
"includeCandles": true,
"candleGranularity": "60",
"includeTrades": true,
"tradesLimit": 100
}

โš ๏ธ Good to Know: Coinbase rate-limits public endpoints. The actor handles 429 and 503 responses with exponential backoff, so feel free to fan out across hundreds of pairs. Candle queries return at most 300 buckets per pair per call, which is a Coinbase API constraint, not an actor limitation.


๐Ÿ“Š Output

Every record is one flat object combining identity, ticker, order book, candles, and recent trades.

๐Ÿงพ Schema

FieldTypeExample
๐Ÿ†” productIdstringBTC-USD
๐Ÿ”— urlstringhttps://exchange.coinbase.com/trade/BTC-USD
๐Ÿท๏ธ displayNamestringBTC/USD
๐Ÿช™ baseCurrencystringBTC
๐Ÿ’ต quoteCurrencystringUSD
๐ŸŸข statusstringonline
๐Ÿšซ tradingDisabledbooleanfalse
๐Ÿ’ฐ priceLastnumber79134.62
๐Ÿ“ฅ bidnumber79137.97
๐Ÿ“ค asknumber79137.98
โ†”๏ธ spreadnumber0.01
๐Ÿ“ spreadPercentnumber0.000013
๐ŸŒ… open24hnumber81115.99
๐Ÿ”บ high24hnumber81341.98
๐Ÿ”ป low24hnumber78591.99
๐Ÿ“Š volume24hnumber6824.59
๐Ÿ“ˆ volume30daynumber208855.98
โ†•๏ธ priceChange24hnumber-1981.37
๐Ÿ“‰ priceChangePercent24hnumber-2.44
๐Ÿงพ lastTradeIdinteger1019129105
๐Ÿ“ฆ lastTradeSizenumber0.00000047
โฑ๏ธ lastTradeTimestring2026-05-16T01:59:06.996Z
โž• baseIncrementnumber0.00000001
โž— quoteIncrementnumber0.01
๐Ÿ’ผ minMarketFundsnumber1
๐Ÿชœ orderBookLevelinteger2
๐Ÿ”ข orderBookSequenceinteger128270263663
๐Ÿ•ฐ๏ธ orderBookTimestring2026-05-16T01:59:06.846Z
๐ŸŸฉ bidsarray[{ "price": 79137.97, "size": 0.0002, "numOrders": 1 }, ...]
๐ŸŸฅ asksarray[{ "price": 79137.98, "size": 0.5977, "numOrders": 6 }, ...]
โฒ๏ธ candleGranularitySecondsinteger3600
๐Ÿ•ฏ๏ธ candlesarray[{ "time": "2026-05-16T01:00:00Z", "open": 79072.88, "high": 79112.81, ... }]
๐Ÿ” recentTradesarray[{ "tradeId": 1019129110, "price": 79137.35, "side": "sell", ... }]
๐Ÿ—“๏ธ scrapedAtstring2026-05-16T01:59:08.681Z
โ— errorstring(populated only on failure)

๐Ÿ“ฆ Sample records


โœจ Why choose this Actor

CapabilityWhat you get
๐ŸชœThree book levels in one input. Switch between L1, L2, and L3 without writing a separate workflow per use case.
๐Ÿ•ฏ๏ธSix candle intervals. From 1-minute scalping to 1-day macro analysis, picked from a dropdown.
๐Ÿ”Trades, ticker, depth, candles in one record. No joining four CSVs after the fact.
๐ŸŒEvery Coinbase pair in scope. 818 trading pairs covered, USD, EUR, GBP, BTC, ETH, stablecoins, the lot.
๐ŸšฆBuilt-in backoff. Handles 429 and 503 from Coinbase gracefully so big runs survive rate-limit spikes.
๐ŸงฎDerived metrics included. Spread, spread percentage, 24h change, percentage change, ready to chart.
๐Ÿš€No API key. Public Coinbase endpoints only, so you ship a price feed without keys, tokens, or signing logic.

๐Ÿ“Š A single run on the top 25 USD pairs returns a fully populated record in under 30 seconds, including L2 depth, 300 hourly candles, and 50 recent trades per pair.


๐Ÿ“ˆ How it compares to alternatives

ApproachCostCoverageRefreshFiltersSetup
โญ Coinbase Order Book, Candles & Trades Scraper (this Actor)Pay-per-run818 pairs, L1/L2/L3On demand or scheduledPair, quote, status, sortClick run
Paid live market data APIsHigh monthly subscriptionMulti-exchangeStreamingLimited filteringAPI key, signing
Official documentation snippetsFreeSingle pair, no depthManualNoneRead and copy
Legacy community dumpsFreeStaleQuarterly at bestNoneManual joins
Self-built websocket clientEngineering hoursWhatever you buildReal timeWhatever you buildSignificant engineering

If you want a turnkey snapshot pipeline without renting bandwidth from a paid feed or maintaining a websocket service, this actor is the shortest path.


๐Ÿš€ How to use

  1. ๐Ÿ“ Sign up for Apify. Create a free account at console.apify.com/sign-up?fpr=vmoqkp.
  2. ๐ŸŽฏ Pick your pairs. Add specific product IDs (BTC-USD, ETH-USD, ...) or leave the field empty and let the filters do the work.
  3. ๐ŸŽ›๏ธ Choose your modules. Toggle ticker, order book, candles, and trades. Pick the book level and candle interval that match your use case.
  4. โ–ถ๏ธ Run. Click Start and watch the dataset fill.
  5. ๐Ÿ“ค Export. Pull JSON, CSV, or XLSX, or wire the dataset into Make, Zapier, BigQuery, Postgres, or your own webhook.

โฑ๏ธ Total time: Under two minutes from sign-up to first dataset row.


๐Ÿ’ผ Business use cases

๐Ÿค– Trading bot operators

  • Stream order book depth into execution engines
  • Validate price marks across multiple exchanges
  • Backtest strategies against high-resolution candles
  • Detect liquidity gaps and quote spread anomalies

๐Ÿ“ˆ Quantitative analysts

  • Build factor models with consistent OHLCV history
  • Measure slippage with full L3 book reconstructions
  • Audit fills against exchange-truth recent trades
  • Compare cross-pair volatility on demand

๐Ÿ’ผ Portfolio and treasury teams

  • Refresh mark-to-market across 800+ pairs
  • Track stablecoin pegs against USD and EUR pairs
  • Generate end-of-day NAV inputs for crypto funds
  • Trigger rebalances on spread thresholds

๐Ÿ› ๏ธ Market data engineers

  • Backfill OHLCV warehouses to BigQuery or Postgres
  • Build a price alert layer for consumer apps
  • Feed dashboards in Grafana, Looker, or Metabase
  • Maintain a Coinbase mirror for compliance audits

๐ŸŒŸ Beyond business use cases

Data like this powers more than commercial workflows. The same structured records support research, education, civic projects, and personal initiatives.

๐ŸŽ“ Research and academia

  • Empirical datasets for papers, thesis work, and coursework
  • Longitudinal studies tracking changes across snapshots
  • Reproducible research with cited, versioned data pulls
  • Classroom exercises on data analysis and ethical scraping

๐ŸŽจ Personal and creative

  • Side projects, portfolio demos, and indie app launches
  • Data visualizations, dashboards, and infographics
  • Content research for bloggers, YouTubers, and podcasters
  • Hobbyist collections and personal trackers

๐Ÿค Non-profit and civic

  • Transparency reporting and accountability projects
  • Advocacy campaigns backed by public-interest data
  • Community-run databases for local issues
  • Investigative journalism on public records

๐Ÿงช Experimentation

  • Prototype AI and machine-learning pipelines with real data
  • Validate product-market hypotheses before engineering spend
  • Train small domain-specific models on niche corpora
  • Test dashboard concepts with live input

๐Ÿ”Œ Automating Coinbase Order Book, Candles & Trades Scraper

Wire this actor into the rest of your stack with a few lines of code or a saved schedule.

  • ๐ŸŸข Node.js client for calling the actor from JavaScript or TypeScript projects.
  • ๐Ÿ Python client for notebooks, FastAPI endpoints, or Airflow DAGs.
  • ๐Ÿ“š Apify API reference for raw REST integration in any language.

Schedules let you turn the actor into a low-cost market data subscription. Run it every minute for live arbitrage workflows, every hour for OHLCV warehousing, or daily for portfolio mark-to-market. The dataset chains naturally with downstream actors and webhooks, so you can branch on a spread threshold or post a Slack alert when a pair moves more than a configured percentage.


โ“ Frequently Asked Questions


๐Ÿ”Œ Integrate with any app

  • Zapier - route every new dataset row to spreadsheets, Slack, or your CRM.
  • Make - chain Apify runs into visual automations with conditional logic.
  • n8n - self-hosted workflows for full data ownership.
  • Google Sheets - drop CSV exports into shared sheets for analyst review.
  • Airtable - structured base for cross-asset trackers.
  • Slack - push spread alerts and high-volume movers straight into channels.

๐Ÿ’ก Pro Tip: browse the complete ParseForge collection for more market data and research actors.


๐Ÿ†˜ Need Help? Open our contact form and we will respond within one business day.


โš ๏ธ Disclaimer: This actor extracts publicly available market data from Coinbase Exchange for informational purposes only. None of the data returned constitutes financial advice. You are responsible for ensuring your use complies with Coinbase's terms of service, applicable securities regulations, and any tax obligations in your jurisdiction.