Skip to main content

Flat Files - Billing and Usage

The Flat Files uses a consumption-based billing model. Charges are calculated based on two dimensions: API requests made and data downloaded.

Billing Dimensions

  1. API Requests: This includes GET and LIST operations.
  2. Data Downloaded: The volume of data retrieved, varying by data type.

Pricing

API Requests

Request typePrice per 1,000 requests
GET$10.00
LIST$10.00
HEAD$10.00

Data Downloaded

Data TypePrice per GB
Limit Book Data$1.00
Quotes$1.00
Trades$3.00

Detailed Data Volumes

The following table shows the breakdown of data volumes for 2024-06-20 across major exchanges. Please note that these volumes are representative of a single day and may vary for different dates.

Data TypeExchangeSize (MB)Files
Limit Book DataKRAKEN9,651694
Limit Book DataBINANCE8,6271,282
Limit Book DataCOINBASE4,978401
Limit Book DataBITSTAMP1,893203
Limit Book DataGEMINI671110
Limit Book DataLMAXDIGITAL6316
QuotesKRAKEN2,506702
QuotesBINANCE1,8331,282
QuotesCOINBASE1,100401
QuotesBITSTAMP525205
QuotesGEMINI192110
QuotesLMAXDIGITAL5016
TradesBINANCE1,8231,281
TradesCOINBASE225391
TradesKRAKEN21697
TradesBITSTAMP4178
TradesGEMINI3109
TradesLMAXDIGITAL116

Realistic Usage Scenarios

Let's explore some realistic usage scenarios based on the data volumes from 2024-06-20, assuming users typically access a subset of available data, focusing on specific symbols or a portion of an exchange's data.

Scenario 1: Daily Download of Top Cryptocurrencies from Multiple Exchanges

A user downloads data for the top 10 cryptocurrencies (approximately 25% of the data) from BINANCE, COINBASE, and KRAKEN each day:

  1. API Requests:

    • LIST requests: 9 (one for each data type per exchange)
    • GET requests: 670 (estimated 25% of files for these exchanges)
    • Total requests: 679
    • Cost for requests: (679 / 1,000) * $10.00 = $6.79
  2. Data Downloaded (25% of total volume):

    • Limit Book: (8,627 + 4,978 + 9,651) * 0.25 MB * $1.00/GB = $5.78
    • Quotes: (1,833 + 1,100 + 2,506) * 0.25 MB * $1.00/GB = $1.36
    • Trades: (1,823 + 225 + 21) * 0.25 MB * $3.00/GB = $1.55
    • Total cost for data: $8.69

Total cost for this scenario (per day): $6.79 + $8.69 = $15.48 Estimated monthly cost (30 days): $15.48 * 30 = $464.40

Scenario 2: Weekly Analysis of Specific Trading Pairs

A user downloads data for 5 specific trading pairs (approximately 10% of the data) from BINANCE and COINBASE once a week:

  1. API Requests (per week):

    • LIST requests: 6 (one for each data type per exchange)
    • GET requests: 168 (estimated 10% of files for these exchanges)
    • Total requests: 174
    • Cost for requests: (174 / 1,000) * $10.00 = $1.74
  2. Data Downloaded (10% of total volume, for 7 days):

    • Limit Book: (8,627 + 4,978) * 0.10 MB * $1.00/GB * 7 = $9.52
    • Quotes: (1,833 + 1,100) * 0.10 MB * $1.00/GB * 7 = $2.05
    • Trades: (1,823 + 225) * 0.10 MB * $3.00/GB * 7 = $4.31
    • Total cost for data: $15.88

Total cost for this scenario (per week): $1.74 + $15.88 = $17.62 Estimated monthly cost (4 weeks): $17.62 * 4 = $70.48

Scenario 3: Monthly Deep Dive on a Single Exchange

A user performs a comprehensive analysis of KRAKEN data (100% of KRAKEN data) for the past month:

  1. API Requests (per month):

    • LIST requests: 3 (one for each data type)
    • GET requests: 2,093 (all KRAKEN files)
    • Total requests: 2,096
    • Cost for requests: (2,096 / 1,000) * $10.00 = $20.96
  2. Data Downloaded (100% of KRAKEN volume, for 30 days):

    • Limit Book: 9,651 MB * $1.00/GB * 30 = $289.53
    • Quotes: 2,506 MB * $1.00/GB * 30 = $75.18
    • Trades: 21 MB * $3.00/GB * 30 = $1.89
    • Total cost for data: $366.60

Total cost for this scenario (per month): $20.96 + $366.60 = $387.56

Scenario 4: Daily Monitoring of Emerging Cryptocurrencies

A user tracks 20 emerging cryptocurrencies (approximately 5% of the data) across all exchanges daily:

  1. API Requests (per day):

    • LIST requests: 18 (one for each data type per exchange)
    • GET requests: 355 (estimated 5% of total files)
    • Total requests: 373
    • Cost for requests: (373 / 1,000) * $10.00 = $3.73
  2. Data Downloaded (5% of total volume):

    • Limit Book: (9,651 + 8,627 + 4,978 + 1,893 + 671 + 63) * 0.05 MB * $1.00/GB = $1.27
    • Quotes: (2,506 + 1,833 + 1,100 + 525 + 192 + 50) * 0.05 MB * $1.00/GB = $0.30
    • Trades: (1,823 + 225 + 21 + 4 + 3 + 1) * 0.05 MB * $3.00/GB = $0.31
    • Total cost for data: $1.88

Total cost for this scenario (per day): $3.73 + $1.88 = $5.61 Estimated monthly cost (30 days): $5.61 * 30 = $168.30

Best Practices for Cost Optimization

  1. Focus on specific symbols or trading pairs relevant to your analysis to reduce data volume and costs.
  2. Use efficient querying to minimize unnecessary API calls, especially when checking for new data.
  3. Implement delta downloads to retrieve only new or updated data since your last download.
  4. Consider the frequency of data downloads based on your analysis needs. Daily downloads may not always be necessary.
  5. Cache downloaded data locally to avoid re-downloading unchanged historical data.
  6. Regularly review your data usage patterns and adjust your download strategy to optimize costs.
  7. Use LIST operations judiciously to minimize API requests when you know the exact files you need.

Remember, data volumes and file counts may vary from day to day based on market activity and other factors. The scenarios presented here are based on the data from 2024-06-20 and should be considered as examples. Your actual usage and costs may differ.

For more information on optimizing your usage and understanding your bill, please contact our support team.