Use Cases

Use Case: Multi-Exchange BTC/USDT Quotes Cost Estimate

A sample Flat Files pricing simulation for downloading Quotes data for Spot BTC/USDT across 10 exchanges.

Use Case: Multi-Exchange BTC/USDT Quotes Cost Estimate

This example estimates the Flat Files cost for downloading Quotes data for Spot BTC/USDT across 10 exchanges in a single order.

Assumptions

ItemValue
DatasetQuotes
ScopeSpot BTC/USDT symbols
ExchangesBINANCE, GATEIO, BYBITSPOT, MEXC, OKEX, BITGET, BITMART, KUCOIN, KRAKEN, LBANK
Total size49.07 GB
Total files3,716

Data included

ExchangeSizeFiles
BINANCE11.40 GB365
BITGET1.90 GB281
BITMART1.09 GB365
BYBITSPOT2.17 GB365
GATEIO3.50 GB365
KRAKEN6.43 GB364
KUCOIN13.57 GB320
LBANK0.50 GB594
MEXC5.00 GB335
OKEX3.52 GB362
Total49.07 GB3,716

Pricing

ComponentRate
Quotes data transfer1 UC per GB
GET / HEAD / LIST requests10 UC per 1,000 requests

Scenario A: GET only

Assumption:

1 GET per file, no HEAD, no LIST, no multipart

Data transfer:

49.07 GB ร— 1 UC = 49.07 UC

GET requests:

3,716 GET รท 1,000 ร— 10 UC = 37.16 UC

Total:

49.07 UC + 37.16 UC = 86.23 UC

Scenario B: LIST + HEAD + GET

Assumption:

10 LIST + 3,716 HEAD + 3,716 GET = 7,442 requests

Request usage:

7,442 รท 1,000 ร— 10 UC = 74.42 UC

Total:

49.07 UC + 74.42 UC = 123.49 UC

Plan comparison

PlanIncluded creditsScenario A: 86.23 UCScenario B: 123.49 UC
Pay As You GoN/A$86.23$123.49
Committed 64~75.29 UC$74.94$112.20
Committed 256~341.33 UC$256.00$256.00
Committed 512~731.43 UC$512.00$512.00
Committed 1024~1,575.38 UC$1,024.00$1,024.00

Result

For this sample, Committed 64 has the lowest estimated cost in both scenarios:

  • GET only: $74.94
  • LIST + HEAD + GET: $112.20

Pay As You Go may still be simpler for a one-time or uncertain download. Larger committed plans are better suited for customers with higher recurring monthly usage.

Caveat

Actual request usage may be higher depending on the download tool. Some tools may perform extra LIST or HEAD requests, use multipart or ranged GET downloads, retry failed downloads, or re-download files.

Service StatusGitHub SDK