Skip to the content

Scraper API

Binance

binance.candlesAvailable

Binance candles

The pair's price history, oldest candle first: open, high, low, close, volume in both assets, number of trades and the takers' share.

Give it a trading pair, the length of a candle (one minute to one month) and how many candles.

1 unit a run, for runs that return data. Runs that fail cost nothing. How units work

Counted
1 unit a run
Inputs
3, 1 required
Record
14 fields
A run takes
up to 5 minutes
Records kept
7 days
Measured
its success, on the status page

POST/v1/scrapers/binance.candles/runs

{
"input": {
"symbol": "BTCUSDT",
"interval": "1d",
"limit": 3
}
}

sent, and answered

a record of the run14 fields

{
symbol: "BTCUSDT"
interval: "1d"
open_time: "2026-11-16T00:00:00Z"
close_time: "2026-11-16T23:59:59.999000Z"
open: 65351.05
high: 65696.16
low: 63905.01
close: 64882.87
volume: 21929.23589
… 5 more fields

ok1 unit a run

A record this scraper returned for this input. The first 9 of its 14 fields are set down here; the whole record is below.

binance.com
The page Binance candles reads, as a browser shows it
The page this scraper reads, photographed in a browser on 19 November 2026. It belongs to its publisher, who has no part in this service.

What it is used for

Chart a trading pair
Open, high, low, close and volume for each candle of a pair, from one minute to one month, ready to draw or to compute an average over.
Backtest a strategy
Give your model up to a thousand candles of a pair at the interval you choose, with the number of trades and the value traded beside the prices.
See who is buying
taker_buy_volume beside volume shows how much of a candle's trading came from buyers taking the offers on the book.

What you send

A trading pair, the length of a candle (one minute to one month) and how many candles. These are its 3 inputs, as its schema has them.

symbolstring Required
The trading pair as Binance writes it, e.g. BTCUSDT.
intervalstring Optional
The length of one candle: minutes (1m to 30m), hours (1h to 12h), days (1d, 3d), a week (1w) or a month (1M).Default 1d
limitinteger Optional
How many candles, the newest last. Up to 1000.Default 100

A request, ready to send

It starts a run with the input shown at the top of this page, waits up to 60 seconds for it, and reads its records. Put your key in the variable it reads.

# Start a run and wait up to 60 seconds for it to finish
curl -X POST "https://api.enrichednow.com/v1/scrapers/binance.candles/runs?wait=60" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"symbol":"BTCUSDT","interval":"1d","limit":3}}'

# Read its records, with the id the first call answered
curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY"
from enrichednow import EnrichedNow

client = EnrichedNow()  # reads ENRICHEDNOW_API_KEY

# Start a run, wait for it to end, and get its records
result = client.scrape("binance.candles", {
    "symbol": "BTCUSDT",
    "interval": "1d",
    "limit": 3,
})
print(result.run.id, result.run.status, result.run.record_count)

# Read its records: pages are fetched as you go
for record in result.records:
    print(record)

Install it with pip install enrichednow, then save as run.py and run python3 run.py

import EnrichedNow from "enrichednow";

const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY

// Start a run, wait for it to end, and get its records
const { run, records } = await client.scrape("binance.candles", {
  symbol: "BTCUSDT",
  interval: "1d",
  limit: 3,
});
console.log(run.id, run.status, run.record_count);

// Read its records: pages are fetched as you go
for await (const record of records) console.log(record);

Install it with npm install enrichednow, then save as run.mjs and run node run.mjs

package main

import (
	"context"
	"fmt"
	"log"
	"time"

	enrichednow "github.com/enrichednow/enrichednow-go"
)

func main() {
	client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
	if err != nil {
		log.Fatal(err)
	}
	ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
	defer cancel()

	// Start a run, wait for it to end, and get its records
	run, records, err := client.Scrape(ctx, "binance.candles", map[string]any{"symbol": "BTCUSDT", "interval": "1d", "limit": 3})
	if err != nil {
		log.Fatal(err)
	}
	fmt.Println(run.ID, run.Status, run.RecordCount)

	// Read its records: pages are fetched as you go
	for records.Next() {
		fmt.Println(string(records.Current()))
	}
	if err := records.Err(); err != nil {
		log.Fatal(err)
	}
}

Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go

import com.enrichednow.EnrichedNowClient;
import com.enrichednow.ScrapeResult;
import java.util.Map;

public class Run {
    public static void main(String[] args) {
        EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY

        // Start a run, wait for it to end, and get its records
        ScrapeResult result = client.scrape("binance.candles", Map.of("symbol", "BTCUSDT", "interval", "1d", "limit", 3));
        System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());

        // Read its records: pages are fetched as you go
        for (Map<String, Object> record : result.records()) {
            System.out.println(record);
        }
    }
}

Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java

enrichednow run binance.candles --input symbol=BTCUSDT --input interval=1d --input limit=3

Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh

What comes back

The pair's price history, oldest candle first: open, high, low, close, volume in both assets, number of trades and the takers' share. A record has 14 fields. One we could not read is null, never an empty string or a zero.

A record binance.candles returned
{
  "symbol": "BTCUSDT",
  "interval": "1d",
  "open_time": "2026-11-16T00:00:00Z",
  "close_time": "2026-11-16T23:59:59.999000Z",
  "open": 65351.05,
  "high": 65696.16,
  "low": 63905.01,
  "close": 64882.87,
  "volume": 21929.23589,
  "quote_volume": 1420769295.219178,
  "trade_count": 4401625,
  "taker_buy_volume": 11262.16992,
  "taker_buy_quote_volume": 729754303.4145257,
  "fetched_at": "2026-11-19T18:07:39.099598Z"
}

The scraper returned this record for the input above, reading a saved copy of the page, not the live site.

The fields of a record

symbolstring
The trading pair, e.g. BTCUSDT.
intervalstring
The length of the candle as it was asked for, e.g. 1d.
open_timedatetime
When the candle opened, in UTC.
close_timedatetime
When the candle closes, in UTC. The newest candle of a list is usually still open.
opennumber
The price of the candle's first trade, in the quote asset.
highnumber
The highest trade price in the candle.
lownumber
The lowest trade price in the candle.
closenumber
The price of the candle's last trade so far.
volumenumber
The quantity traded in the candle, in the base asset.
quote_volumenumber or null
The value traded in the candle, in the quote asset.
trade_countinteger or null
The number of trades in the candle.
taker_buy_volumenumber or null
The part of volume bought by takers, in the base asset.
taker_buy_quote_volumenumber or null
The part of quote_volume bought by takers, in the quote asset.
fetched_atdatetime
When the candles were read, in UTC.

The whole schema, in its reference

Units and limits

Counted per request
Billed per request: a run that returns data costs 1 unit, however many records it returns.
A miss costs nothing
A run that fails, that meets something not supported yet, or that you cancel costs nothing. You pay for runs that return data.
What bounds a run
A run may take up to 5 minutes. Its records are read in pages of up to 1,000 and are kept for 7 days.

What it does not do

  • Up to 1,000 candles a run, ending now: there is no start date.
  • Spot market pairs only.
  • The newest candle is usually still open, and its figures still move.

The bounds its schema sets

interval
1m, 3m, 5m, 15m, 30m, 1h, 2h, 4h, 6h, 8h, 12h, 1d, 3d, 1w, 1M; 1d unless you say otherwise
limit
1 to 1,000; 100 unless you say otherwise

Scraper API pricing: how units workThe five ways a run ends

Questions

What does Binance candles return?

The pair's price history, oldest candle first: open, high, low, close, volume in both assets, number of trades and the takers' share. A record has 14 fields, among them symbol, interval, open_time, close_time, open and high. A value that could not be read is null, never an empty string or a zero.

What do I send?

A trading pair, the length of a candle (one minute to one month) and how many candles. The input symbol is required. Optional: interval and limit.

How is it counted?

Billed per request: a run that returns data costs 1 unit, however many records it returns. A run that fails, that meets something not supported yet, or that you cancel costs nothing. The first 1,000 units each month are free.

How much does one run return?

Its schema sets these bounds: interval 1m, 3m, 5m, 15m, 30m, 1h, 2h, 4h, 6h, 8h, 12h, 1d, 3d, 1w, 1M (1d unless you say otherwise); limit 1 to 1,000 (100 unless you say otherwise). A run may take up to 5 minutes.

What does it not do?

Up to 1,000 candles a run, ending now: there is no start date. Spot market pairs only. The newest candle is usually still open, and its figures still move.

How long are the records kept, and in what format do they come?

Records are kept for 7 days after the run ended, and read in pages of up to 1,000. They come as JSON, as NDJSON with one record a line, or as CSV with a column for each field.

Can an AI assistant call it?

Yes. Through the EnrichedNow MCP server an assistant calls the tool run_scraper with the scraper_id binance.candles and the same input. It costs what the same API call costs.

Binance

Binance's public market data for its spot market: 24-hour tickers and price history, with no account needed.

  • Up to 50 trading pairs, each as Binance writes it. For each pair: last price, 24-hour change in price and in percent, open, high, low, weighted average, volume in both assets, number of trades, and the best bid and ask.

Binance on the line-up

Where
Worldwide

Run it on an input of your own.

Create an account, make a key, and send the request above with your own input. The first 1,000 units each month are free.