Bulk Exports
Two endpoints return the whole dataset in one request instead of one coin at a time: a snapshot of every current rate, and daily rate history for a date range. Both return CSV or JSON.
Bulk exports need a ck_live_ API key on a plan with bulk access (Pro or a Data licence). Session tokens are not accepted. Other requests receive 403 PLAN_UPGRADE_REQUIRED. The examples read your key from the BITCOMPARE_API_KEY environment variable. Compare plans at pro.bitcompare.net/pricing.
Current snapshot
Every servable current rate — the same rows the Rates endpoints return — in one file.
Query parameters
- Name
format- Type
- string
- Description
csvorjson. Defaultjson.
- Name
category- Type
- string
- Description
Optional:
lending,stakingorborrowing.
- Name
symbol- Type
- string
- Description
Optional: one asset symbol, for example
USDT.
Request
curl "https://api.bitcompare.net/api/v1/export/rates/current?format=csv&category=lending" \
-H "Authorization: Bearer $BITCOMPARE_API_KEY" \
-o rates-current.csv
Daily history
Daily average rate per provider, symbol and category. Each row is provider, symbol, category, day, avg_rate.
Query parameters
- Name
from- Type
- string
- Description
Required. First day,
YYYY-MM-DD(UTC).
- Name
to- Type
- string
- Description
Required. Last day,
YYYY-MM-DD(UTC). At most 31 days afterfrom. For longer ranges, make one request per month.
- Name
format- Type
- string
- Description
csvorjson. Defaultjson.
- Name
category- Type
- string
- Description
Optional:
lending,stakingorborrowing.
- Name
symbol- Type
- string
- Description
Optional: one asset symbol.
Request
curl "https://api.bitcompare.net/api/v1/export/rates/daily?from=2026-10-01&to=2026-10-31&format=csv" \
-H "Authorization: Bearer $BITCOMPARE_API_KEY" \
-o rates-2026-10.csv
History depth
from is moved forward to the oldest day your plan can see: one year on Pro, everything we hold on a Data licence. Daily history starts on 18 December 2025, so earlier dates return no rows.
Limits
Each export counts as one request against your per-minute and monthly limits. See Rate Limiting.