Coinbase Order Book, Candles & Trades Scraper
Pricing
from $22.49 / 1,000 result items
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
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
9 days ago
Last modified
Categories
Share
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 it | What they scrape Coinbase Exchange for |
|---|---|
| Quantitative traders | Backtest strategies on historical candles and order book depth |
| Market analysts | Track liquidity and price trends across many pairs |
| Crypto researchers | Study order flow and trade execution patterns |
| Portfolio managers | Monitor 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 types | Ticker, order book, candles, and trades in a single dataset |
| No API key or login | Reads public market data directly, no authentication |
| Configurable depth and range | Choose L1, L2, or L3 order book, candle interval, and date range |
| Flat, export-ready rows | Each 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 Scraper | Build it in-house | By hand | |
|---|---|---|---|
| Setup | Run it now, zero config | Days of engineering | None, but hours per pull |
| When Coinbase Exchange changes | Maintained for you | You fix it | You re-learn the page |
| Proxies, retries, anti-bot | Built in | Your problem | Browser only |
| Output | Fixed JSON schema, CSV/Excel export | Whatever you build | Copy-paste |
| Cost | Pay per result | Engineering time | Analyst 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 collected | Approximate 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
- Create a free Apify account with $5 in credit.
- Open the Coinbase Order Book, Candles & Trades Scraper.
- Set your inputs and any filters, then click Start.
- 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
| Question | Answer |
|---|---|
| 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. |
Related actors
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.
