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

Scrapes Coinbase Exchange market data for any trading pair. Returns order book depth, OHLCV candles, recent trades, and live tickers as flat rows. No API key required.

Pricing

from $22.49 / 1,000 result items

Rating

0.0

(0)

Developer

ParseForge

ParseForge

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

9 days ago

Last modified

Share

ParseForge

Coinbase Order Book, Candles & Trades Scraper

Scrape Coinbase order books, OHLCV candles, recent trades, and live tickers for any trading pair. Get market depth, price history, and executed trades in one flat dataset. No API key or login required. Export to CSV, JSON, Excel, or XML.

Coinbase's official API needs authentication, rate limits, and separate endpoints for each data type. This reads the public market data feeds directly, so you can pull order book depth, candles, trades, and tickers for hundreds of pairs in one run. Each row is a flat record with the pair, timestamp, and the data you enabled.

Who uses itWhat they scrape Coinbase Exchange for
Quantitative tradersBacktest strategies on historical candles and order book depth
Market analystsTrack liquidity and price trends across many pairs
Crypto researchersStudy order flow and trade execution patterns
Portfolio managersMonitor live prices and 24h volume for rebalancing

What it does

This Actor collects Coinbase Exchange market data for the trading pairs you choose, and returns each pair's ticker, order book snapshot, candles, and recent trades as flat rows.

  • πŸ“Š Live ticker: last price, bid, ask, best-of-book size, and 24h stats including open, high, low, volume, and 30-day volume.
  • πŸ“š Order book depth: L1 best bid/ask, L2 top 50 aggregated, or L3 full non-aggregated book, with configurable depth.
  • πŸ•―οΈ OHLCV candles: open, high, low, close, and volume for intervals from 1 minute to 1 day, with optional date range.
  • πŸ” Recent trades: the most recent executed trades per pair, with price, size, side, and timestamp.
  • 🌐 All pairs or a subset: scrape every Coinbase pair, filter by quote currency or status, or pick specific product IDs.

Results export to CSV, JSON, Excel, or XML, or straight from the API.

What you can do with Coinbase Exchange data

πŸ“ˆ Backtest trading strategies.

A quant trader pulls 1-hour candles and L2 order book snapshots for BTC-USD and ETH-USD over a month to test a mean-reversion model.

πŸ” Monitor market liquidity.

A market analyst scrapes order book depth for the top 50 pairs by volume each morning to spot thinning books before volatility.

πŸ§ͺ Study order flow.

A crypto researcher collects recent trades and L3 order books for a new token to analyze execution patterns and spoofing.

πŸ“Š Track portfolio prices.

A portfolio manager runs the Actor hourly on 20 pairs to update a dashboard with live tickers and 24h volume.

Why choose this scraper

What you get
One run, four data typesTicker, order book, candles, and trades in a single dataset
No API key or loginReads public market data directly, no authentication
Configurable depth and rangeChoose L1, L2, or L3 order book, candle interval, and date range
Flat, export-ready rowsEach record is a flat object, ready for CSV, JSON, Excel, or XML

How it compares

No other Store actor targets Coinbase Exchange the same way, so the honest comparison is with the alternatives teams actually weigh.

Coinbase Order Book, Candles & Trades ScraperBuild it in-houseBy hand
SetupRun it now, zero configDays of engineeringNone, but hours per pull
When Coinbase Exchange changesMaintained for youYou fix itYou re-learn the page
Proxies, retries, anti-botBuilt inYour problemBrowser only
OutputFixed JSON schema, CSV/Excel exportWhatever you buildCopy-paste
CostPay per resultEngineering timeAnalyst hours

Configure the run

Drive the Actor from trading pairs, quote currency, and status filters, and toggle each data module on or off so only the data you need reaches your dataset. The Input tab lists every parameter.

A first run with the defaults:

{
"productIds": [
"BTC-USD",
"ETH-USD",
"SOL-USD",
"XRP-USD",
"DOGE-USD"
],
"maxItems": 10
}

A larger pull:

{
"productIds": [
"BTC-USD",
"ETH-USD",
"SOL-USD",
"XRP-USD",
"DOGE-USD"
],
"maxItems": 200
}

Pricing

Pay-per-result: $0.02999 per result collected. You pay only for the results written to your dataset.

Results collectedApproximate cost
100 results$3.00
1,000 results$29.99
10,000 results$299.90

New Apify accounts start with $5 in free credit.

Free users

Free-plan runs return up to 10 results as a preview. Upgrade your Apify plan to collect up to 1,000,000 results per run.

Run it

  1. Create a free Apify account with $5 in credit.
  2. Open the Coinbase Order Book, Candles & Trades Scraper.
  3. Set your inputs and any filters, then click Start.
  4. Export the results as CSV, Excel, JSON, or XML from the Dataset tab.

Run it programmatically through the Apify API (run-sync-get-dataset-items) or the ApifyClient for JavaScript and Python.

Use with AI agents (MCP)

Give an AI agent live access to Coinbase Exchange through the Model Context Protocol. Add the Actor to Claude, Cursor, or any MCP client:

$claude mcp add --transport http apify "https://mcp.apify.com?tools=parseforge/coinbase-orderbook-candles-scraper"

Then prompt it in plain language to run the scraper and read back the results.

Troubleshooting

Why am I getting no results?

Check your filters. If Status is set to Online but the pair is delisted, or if Quote Currency Filter excludes your pairs, no data will be returned. Also verify the Trading Pairs IDs are valid Coinbase product IDs.

Why are my candles limited to 300 per request?

Coinbase's API caps each candle request at 300 candles. The Actor paginates automatically, but if you set a very wide date range with a small granularity, it may take longer. Reduce the range or increase the interval.

Why is the order book depth less than I set?

Coinbase may return fewer levels than requested if the book is thin. Set Order book depth to 0 to keep all levels returned by Coinbase, or choose L3 for the full book.

Why does the run take a long time?

Scraping many pairs with L3 order books and full candle history is heavy. Disable data modules you don't need, reduce the number of pairs, or lower the order book depth.

Why do I get an error about invalid product ID?

Make sure the product ID is in the exact format BASE-QUOTE, like BTC-USD. The input field has a dropdown with all valid IDs, so use that to avoid typos.

FAQ

QuestionAnswer
Do I need a Coinbase API key?No. This Actor reads Coinbase's public market data endpoints, so no authentication or API key is required.
Which trading pairs can I scrape?You can scrape any Coinbase Exchange product ID, like BTC-USD or ETH-EUR. Leave the Trading Pairs field empty to scrape all available pairs, optionally filtered by quote currency or status.
What is the difference between L1, L2, and L3 order book?L1 returns only the best bid and ask. L2 returns the top 50 aggregated price levels. L3 returns the full non-aggregated order book with individual orders.
How many candles can I get per run?You can set Maximum candles up to 1,000,000. Coinbase caps each request at 300 candles, so the Actor paginates automatically to reach your limit.
Can I set a date range for candles?Yes. Use Candle range start and Candle range end in ISO 8601 format, like 2026-05-01T00:00:00Z. Leave them blank for the most recent ~300 candles.
How many recent trades can I get per pair?Up to 100 per pair, which is Coinbase's API page limit. Set Recent trades count to any value from 1 to 100.
Can I scrape all pairs at once?Yes. Leave Trading Pairs empty and the Actor will scrape all available pairs, subject to your plan's data limits. Use Quote Currency Filter to narrow the list.
What does the live ticker include?The ticker includes last trade price, bid, ask, best-of-book size, and 24h stats: open, high, low, volume, and 30-day volume.
Can I disable data modules I don't need?Yes. Toggle Include live ticker, Include order book, Include OHLCV candles, and Include recent trades independently to speed up runs and reduce data usage.
What export formats are supported?You can export the dataset as CSV, JSON, Excel, or XML from the Apify platform.

Browse the full ParseForge collection for more scrapers.

πŸ†˜ Need help? Email parseforge@protonmail.com with your run ID, your input, and what you expected.

⚠️ Disclaimer. This Actor is unofficial and is not affiliated with, endorsed by, or sponsored by Coinbase, Inc. It collects only publicly available data. You are responsible for using the collected data in compliance with the source's terms of service and applicable data-protection laws, including GDPR, CCPA, and PIPL. Do not use it to collect personal data unlawfully.