
Binance Market Data Scraper
hipersoft/binance-market-data-scraper
Fetch Binance spot market data in bulk: 24h ticker stats (price, change %, high/low, volume), OHLC klines (candlesticks) for any interval, and order book depth (top bids/asks) for any symbol. Fast, clean and cheap.
Total users
5Monthly users
1Total runs
110Per symbol scraped
$0.001Last rebuilt
Oct 26, 2026Overview
Pull Binance spot market data in bulk and export it as clean JSON, CSV or Excel. Get 24-hour ticker statistics (price, change %, high, low, volume), OHLC klines (candlesticks) at any interval, and order book depth (top bids and asks) for any trading pair — one tidy row per symbol or per candle.
Perfect for crypto trading bots, price dashboards, backtesting, portfolio trackers, alerting and automated watchlists.
What you get
- 🪙 Every spot pair — request specific symbols like
BTCUSDTandETHUSDT, or leave the list empty to snapshot all ~3,700 spot symbols at once (24h ticker). - 📈 Three datasets in one Actor — 24h ticker stats, OHLC klines, and order book depth. Pick one with a single
dataTypefield. - 🕯️ Candlesticks at any interval — 1m, 5m, 15m, 1h, 4h, 1d, 1w and more, up to 1,000 candles per symbol.
- 📖 Order book snapshots — top bids and asks per side, with best bid, best ask and spread computed for you.
- ⚡ Fast & clean — flat records with numeric fields (not strings), ready for spreadsheets, databases or code.
Example input
Top pairs, 24-hour statistics:
{ "symbols": ["BTCUSDT", "ETHUSDT", "BNBUSDT"], "dataType": "ticker24hr" }
Every spot symbol's 24h stats in one run (leave symbols empty):
{ "symbols": [], "dataType": "ticker24hr" }
Hourly candles for two pairs (last 200 each):
{ "symbols": ["BTCUSDT", "ETHUSDT"], "dataType": "klines", "interval": "1h", "limit": 200 }
Order book depth, top 50 levels per side:
{ "symbols": ["BTCUSDT"], "dataType": "depth", "limit": 50 }
Output
24h ticker (ticker24hr) — one row per symbol
{
"symbol": "BTCUSDT",
"dataType": "ticker24hr",
"price": 78671.31,
"priceChange": 543.32,
"priceChangePercent": 0.695,
"high": 79400.0,
"low": 77962.49,
"volume": 7162.52209,
"quoteVolume": 562647622.43,
"count": 1792347,
"openTime": 1788036551013,
"closeTime": 1788122951013
}
Klines (klines) — one row per candle
{
"symbol": "BTCUSDT",
"dataType": "klines",
"interval": "1h",
"openTime": 1788116400000,
"open": 79036.68,
"high": 79041.96,
"low": 78721.98,
"close": 78856.39,
"volume": 232.19118,
"closeTime": 1788119999999,
"quoteAssetVolume": 18323014.75,
"numberOfTrades": 73674
}
Order book depth (depth) — one row per symbol
{
"symbol": "BTCUSDT",
"dataType": "depth",
"bestBid": 78671.31,
"bestAsk": 78671.32,
"spread": 0.01,
"bids": [{ "price": 78671.31, "quantity": 0.23938 }],
"asks": [{ "price": 78671.32, "quantity": 1.871 }]
}
Input fields
| Field | Description |
|---|---|
symbols |
Trading pairs in Binance format (e.g. BTCUSDT, ETHUSDT). Empty = all spot symbols (24h ticker only; klines and depth need at least one symbol). |
dataType |
ticker24hr (24h stats), klines (OHLC candles), or depth (order book). Default ticker24hr. |
interval |
Candle interval for klines: 1m, 5m, 15m, 1h, 4h, 1d, 1w, etc. Default 1h. |
limit |
Rows per symbol: number of candles for klines, or order-book depth per side for depth. Ignored for ticker24hr. |
FAQ
Which symbols can I request?
Any Binance spot trading pair, written as base + quote with no separator — BTCUSDT, ETHUSDT, BNBBTC, SOLUSDT, and so on. For a full 24h snapshot of every pair, leave symbols empty.
What interval options are there for klines?
1m, 3m, 5m, 15m, 30m, 1h, 2h, 4h, 6h, 8h, 12h, 1d, 3d, 1w and 1M. You can pull up to 1,000 of the most recent candles per symbol.
How is order book depth returned?
One row per symbol containing the top bids and asks (each a price + quantity), plus the best bid, best ask and the computed spread. Use limit to choose how many levels per side.
What's the output format? Structured JSON — one clean record per symbol or per candle, with numeric fields. Export as JSON, CSV, Excel or via the API.
Can I use this in n8n? Yes. Apify has an official n8n community node — run this Actor from an n8n workflow and pipe the returned market data straight into your automation, database or spreadsheet. It also works with Make, Zapier and many more.
Can I integrate this with other tools? The Binance Market Data Scraper connects with almost any cloud service or web app via integrations on the Apify platform: Make, Zapier, Slack, Google Drive and more, plus the Apify API, JavaScript/Python clients, webhooks and MCP.
Notes
Market data is © Binance and the respective venues, and is provided for informational purposes — respect their terms and any redistribution restrictions. Original clean-room implementation.
Input
| Field | Type | Description |
|---|---|---|
symbolsSymbols | array | Trading pairs to fetch, in Binance format (base + quote, no separator), e.g. "BTCUSDT", "ETHUSDT", "BNBBTC". Leave empty to fetch every spot symbol (only supported for the 24h ticker data type; klines and order book depth require at least one symbol). |
dataTypeData type | string · ticker24hr, klines, depth | Which market dataset to return. "ticker24hr" = rolling 24-hour price statistics (one row per symbol). "klines" = OHLC candlesticks (one row per candle). "depth" = order book snapshot with the top bids and asks (one row per symbol). Default: "ticker24hr" |
intervalKline interval | string · 1m, 3m, 5m, 15m, 30m, 1h… | Candlestick interval, used only when Data type is "klines". One of: 1m, 3m, 5m, 15m, 30m, 1h, 2h, 4h, 6h, 8h, 12h, 1d, 3d, 1w, 1M. Default: "1h" |
limitLimit | integer | How many rows to return per symbol. For "klines" it is the number of most recent candles (1-1000). For "depth" it is the order book depth per side (valid values: 5, 10, 20, 50, 100, 500, 1000). Ignored for "ticker24hr". Default: 500 |
API
curl -X POST "https://api.apify.com/v2/acts/hipersoft~binance-market-data-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"symbols": [
"BTCUSDT",
"ETHUSDT"
]
}'from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("hipersoft/binance-market-data-scraper").call(run_input={
"symbols": [
"BTCUSDT",
"ETHUSDT"
]
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item)import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const run = await client.actor('hipersoft/binance-market-data-scraper').call({
"symbols": [
"BTCUSDT",
"ETHUSDT"
]
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);Pricing
| Event | Price | Paid plans from |
|---|---|---|
| Symbol Scraped Charged per item returned. | $0.001 | $0.0005 |
You pay only for what the run returns. Set a maximum cost per run and it stops cleanly at that limit.
Related scrapers
Dribbble Shots Scraper
Scrape public design shots from Dribbble: title, high-res image, tags, likes, views and designer credit. Filter by category or sort, export JSON, CSV or Excel.
359 runs · 5 users · $0.003 / shot scrapedComputrabajo Scraper
Scrape Computrabajo job listings across Latin America (Mexico, Colombia, Argentina, Chile, Peru and more): title, company, location, salary, posted date and apply URL. Filter by country and keyword. No setup.
206 runs · 4 users · $0.002 / listing scrapedKraken Market Data Scraper
Fetch Kraken spot market data in bulk: ticker stats (ask, bid, last, 24h high/low/volume/vwap), OHLC candles for any interval, order book depth (top bids/asks), and tradable pair metadata. Fast, clean and cheap.
165 runs · 4 users · $0.001 / pair scrapedBayt Scraper
Scrape Bayt.com job listings across the Middle East (UAE, Saudi Arabia, Egypt, Qatar and more): title, company, location, posted date and apply URL. Filter by country and keyword.
134 runs · 4 users · $0.003 / job scrapedGitHub Scraper
Search GitHub and scrape repositories (stars, forks, language, topics, license, dates) or user profiles (name, company, location, bio, followers, public email, repos). Uses the GitHub REST API; optional token for higher rate limits. For developer lead generation, OSS research and recruiting.
131 runs · 7 users · $0.0008 / item scrapedHacker News Scraper
Scrape Hacker News stories, comments, Ask HN, Show HN, jobs and polls by keyword, points, comments and date range. Sort by relevance or newest. Title, URL, author, points, comment count, text and HN link. Fast clean HTTP via the HN Algolia API, no setup.
130 runs · 2 users · $0.004 / item scrapedSend the site and the fields. We build it and you get it first.