Documentation Last updated: 2023-03-13

The ApiCrypto API is a set of stateless RESTful JSON endpoints that are specifically designed to keep up with the requests of any project requirements implemented by software developers and data scientists.

Cryptocurrency

List

Returns a list with all cryptocurrencies.


This endpoint is available on the following API plans:

  • FREE
  • Personal
  • Standard
  • Premium

Update interval: 30 seconds.
Credits: 1 API call credit / request.

URL Path

https://apicrypto.io/api/cryptocurrency/list

Parameters

Query Parameters
* Description
key string

Your API key.

status string

Default: "active"

Values: active, inactive, untracked.

start integer >=1

Default: 1

Set the index from which from which the data is returned.

limit integer [1...5000]

Set the size of the returned batch.

sort_rank string

Default: "false"

Set "true" to sort by rank.

symbol string

This option filters the result by a list of comma-separated symbols. If you pass this parameter, other options will not be taken into consideration.

Request Example

https://apicrypto.io/api/cryptocurrency/list?key=APIKEY&status=active&start=1&limit=2&sort_rank=false

Replace APIKEY with your API key provided in your dashboard available after subscription.

Response

{
   "data":[
      {
         "id":1,
         "name":"Bitcoin",
         "symbol":"BTC",
         "slug":"bitcoin",
         "rank":1,
         "is_active":1,
         "first_historical_data":"2013-04-28T18:47:21.000Z",
         "last_historical_data":"2021-10-28T08:19:02.000Z",
         "platform":null
      },
      {
         "id":2,
         "name":"Litecoin",
         "symbol":"LTC",
         "slug":"litecoin",
         "rank":19,
         "is_active":1,
         "first_historical_data":"2013-04-28T18:47:22.000Z",
         "last_historical_data":"2021-10-28T08:19:02.000Z",
         "platform":null
      }
   ],
   "status":{
      "timestamp":"2018-06-02T22:51:28.209Z",
      "error_code":0,
      "error_message":"",
      "elapsed":10,
      "credit_count":1
   }
}

Market Latest

Returns a list with all of our market data of all active cryptocurrencies.


This endpoint is available on the following API plans:

  • FREE
  • Personal
  • Standard
  • Premium

Update interval: 60 seconds.
Credits: 1 API call credit / request.

URL Path

https://apicrypto.io/api/cryptocurrency/market/latest

Parameters

Query Parameters
* Description
key string

Your API key.

start integer >=1

Default: 1

Set the index from which from which the data is returned.

limit integer [1...5000]

Set the size of the returned batch.

price_min number [1...100000000000000000]

Optionally specify a threshold of minimum USD price to filter results by.

price_max number [1...100000000000000000]

Optionally specify a threshold of maximum USD price to filter results by.

market_cap_min number [1...100000000000000000]

Optionally specify a threshold of minimum market cap to filter results by.

market_cap_max number [1...100000000000000000]

Optionally specify a threshold of maximum market cap to filter results by.

volume_24h_min number [1...100000000000000000]

Optionally specify a threshold of minimum 24 hour USD volume to filter results by.

volume_24h_max number [1...100000000000000000]

Optionally specify a threshold of maximum 24 hour USD volume to filter results by.

circulating_supply_min number [1...100000000000000000]

Optionally specify a threshold of minimum circulating supply to filter results by.

circulating_supply_max number [1...100000000000000000]

Optionally specify a threshold of maximum circulating supply to filter results by.

percent_change_24h_min number >= -100

Optionally specify a threshold of minimum 24 hour percent change to filter results by.

percent_change_24h_max number >= -100

Optionally specify a threshold of maximum 24 hour percent change to filter results by.

convert string

Optionally calculate market quotes in up to 120 currencies at once by passing a comma-separated list of cryptocurrency or fiat currency symbols. Each additional convert option beyond the first requires an additional call credit. A list of supported fiat options can be found here. Each conversion is returned in its own "quote" object.

convert_id string

Optionally calculate market quotes by ApiCrypto ID instead of symbol. This option is identical to convert outside of ID format. Ex: convert_id=1,2781 would replace convert=BTC,USD in your query. This parameter cannot be used when convert is used.

sort string

Default: "market_cap"

Valid values: "name""symbol""date_added""market_cap""price""circulating_supply""total_supply""max_supply""num_market_pairs""volume_24h""percent_change_1h""percent_change_24h""percent_change_7d""market_cap_by_total_supply_strict""volume_7d""volume_30d"

What field to sort the list of cryptocurrencies by.

sort_dir string

Valid values: "asc""desc"

What field to sort the list of cryptocurrencies by.

cryptocurrency_type string

Default: "all"

Valid values: "all""coins""tokens"

The type of cryptocurrency to include.

tag string

Default: "all"

Valid values: "all""defi""filesharing"

The tag of cryptocurrency to include.

Request Example

https://apicrypto.io/api/cryptocurrency/market/latest?key=APIKEY&start=1&limit=2

Replace APIKEY with your API key provided in your dashboard available after subscription.

Response

{
   "data":[
      {
         "id":1,
         "name":"Bitcoin",
         "symbol":"BTC",
         "slug":"bitcoin",
         "num_market_pairs":8379,
         "date_added":"2013-04-28T00:00:00.000Z",
         "max_supply":21000000,
         "circulating_supply":18851968,
         "total_supply":18851968,
         "platform":null,
         "last_updated":"2021-10-23T13:43:02.000Z",
         "quote":{
            "USD":{
               "price":61345.15805172219,
               "volume_24h":34910029210.38455,
               "volume_change_24h":-10.0294,
               "percent_change_1h":-0.53485344,
               "percent_change_24h":-3.09622184,
               "percent_change_7d":0.5244867,
               "percent_change_30d":39.12087956,
               "percent_change_60d":26.15670475,
               "percent_change_90d":79.52683191,
               "market_cap":1156476956546.009,
               "market_cap_dominance":45.4458,
               "fully_diluted_market_cap":1288248319086.17,
               "last_updated":"2021-10-23T13:43:02.000Z"
            }
         }
      },
      {
         "id":1027,
         "name":"Ethereum",
         "symbol":"ETH",
         "slug":"ethereum",
         "num_market_pairs":4589,
         "date_added":"2015-08-07T00:00:00.000Z",
         "max_supply":null,
         "circulating_supply":118043592.6865,
         "total_supply":118043592.6865,
         "platform":null,
         "last_updated":"2021-10-23T13:43:02.000Z",
         "quote":{
            "USD":{
               "price":4030.3788822098954,
               "volume_24h":17153136959.338287,
               "volume_change_24h":-19.1245,
               "percent_change_1h":-0.35451514,
               "percent_change_24h":-1.86881829,
               "percent_change_7d":3.00456414,
               "percent_change_30d":29.46568244,
               "percent_change_60d":23.54750915,
               "percent_change_90d":89.05367595,
               "market_cap":475760403143.8561,
               "market_cap_dominance":18.7668,
               "fully_diluted_market_cap":475760403143.86,
               "last_updated":"2021-10-23T13:43:02.000Z"
            }
         }
      }
   ],
    "status":{
      "timestamp":"2021-10-23T13:44:06.381Z",
      "error_code":0,
      "error_message":null
   }
}

Market Historical

Returns a list with all of our historical market data of all active cryptocurrencies.


This endpoint is available on the following API plans:

  • Personal
  • Standard
  • Premium

Update interval: 24 hours.
Credits: 1 API call credit / request.

URL Path

https://apicrypto.io/api/cryptocurrency/market/historical

Parameters

Query Parameters
* Description
key string

Your API key.

date string required

date (Unix or ISO 8601) to reference day of snapshot.

start integer >=1

Default: 1

Set the index from which from which the data is returned.

limit integer [1...5000]

Set the size of the returned batch.

convert string

Optionally calculate market quotes in up to 120 currencies at once by passing a comma-separated list of cryptocurrency or fiat currency symbols. Each additional convert option beyond the first requires an additional call credit. A list of supported fiat options can be found here. Each conversion is returned in its own "quote" object.

convert_id string

Optionally calculate market quotes by ApiCrypto ID instead of symbol. This option is identical to convert outside of ID format. Ex: convert_id=1,2781 would replace convert=BTC,USD in your query. This parameter cannot be used when convert is used.

sort string

Default: "market_cap"

Valid values: "name""symbol""date_added""market_cap""price""circulating_supply""total_supply""max_supply""num_market_pairs""volume_24h""percent_change_1h""percent_change_24h""percent_change_7d""market_cap_by_total_supply_strict""volume_7d""volume_30d"

What field to sort the list of cryptocurrencies by.

sort_dir string

Valid values: "asc""desc"

What field to sort the list of cryptocurrencies by.

cryptocurrency_type string

Default: "all"

Valid values: "all""coins""tokens"

The type of cryptocurrency to include.

Request Example

https://apicrypto.io/api/cryptocurrency/market/historical?key=APIKEY&start=1&limit=2&date=2020-10-31T16:25:15.020Z

Replace APIKEY with your API key provided in your dashboard available after subscription.

Response

{
   "data":[
      {
         "id":1,
         "name":"Bitcoin",
         "symbol":"BTC",
         "slug":"bitcoin",
         "num_market_pairs":9191,
         "date_added":"2013-04-28T00:00:00.000Z",
         "tags":[
            "mineable",
            "pow",
            "sha-256",
            "store-of-value",
            "state-channels"
         ],
         "max_supply":21000000,
         "circulating_supply":18530743,
         "total_supply":18530743,
         "platform":null,
         "cmc_rank":1,
         "last_updated":"2020-10-31T23:00:00.000Z",
         "quote":{
            "USD":{
               "price":13780.994702494041,
               "volume_24h":30306464718.755116,
               "percent_change_1h":-0.491811878289,
               "percent_change_24h":1.730868103617,
               "percent_change_7d":5.133726553078,
               "market_cap":255372071116.27853,
               "last_updated":"2020-10-31T23:00:00.000Z"
            }
         }
      },
      {
         "id":1027,
         "name":"Ethereum",
         "symbol":"ETH",
         "slug":"ethereum",
         "num_market_pairs":5381,
         "date_added":"2015-08-07T00:00:00.000Z",
         "tags":[
            "mineable",
            "pow",
            "smart-contracts"
         ],
         "max_supply":null,
         "circulating_supply":113238291.6865,
         "total_supply":113238291.6865,
         "platform":null,
         "cmc_rank":2,
         "last_updated":"2020-10-31T23:00:00.000Z",
         "quote":{
            "USD":{
               "price":386.59033528668346,
               "volume_24h":11276963425.945831,
               "percent_change_1h":-0.416290085985,
               "percent_change_24h":0.98488672968,
               "percent_change_7d":-6.271500963445,
               "market_cap":43776829150.3753,
               "last_updated":"2020-10-31T23:00:00.000Z"
            }
         }
      }
   ],
   "status":{
      "timestamp":"2021-10-23T13:44:06.381Z",
      "error_code":0,
      "error_message":null
   }
}

Quotes Latest

Returns a list with all of our latest quotes data of all cryptocurrencies.

This endpoint is available on the following API plans:

  • FREE
  • Personal
  • Standard
  • Premium

Update interval: 24 hours.
Credits: 1 API call credit / request.

URL Path

https://apicrypto.io/api/cryptocurrency/quotes/latest

Parameters

Query Parameters
* Description
key string

Your API key.

id string

One or more comma-separated cryptocurrency ApiCrypto IDs. Example: 1,2

slug string

Alternatively pass a comma-separated list of cryptocurrency slugs. Example: "bitcoin,ethereum"

symbol string

Alternatively pass one or more comma-separated cryptocurrency symbols. Example: "BTC,ETH". At least one "id" or "slug" or "symbol" is required for this request.

convert string

Optionally calculate market quotes in up to 120 currencies at once by passing a comma-separated list of cryptocurrency or fiat currency symbols. Each additional convert option beyond the first requires an additional call credit. A list of supported fiat options can be found here. Each conversion is returned in its own "quote" object.

convert_id string

Optionally calculate market quotes by ApiCrypto ID instead of symbol. This option is identical to convert outside of ID format. Ex: convert_id=1,2781 would replace convert=BTC,USD in your query. This parameter cannot be used when convert is used.

Request Example

https://apicrypto.io/api/cryptocurrency/quotes/latest?key=APIKEY&id=1

Replace APIKEY with your API key provided in your dashboard available after subscription.

Response

{
   "data":{
      "1":{
         "id":1,
         "name":"Bitcoin",
         "symbol":"BTC",
         "slug":"bitcoin",
         "num_market_pairs":8480,
         "date_added":"2013-04-28T00:00:00.000Z",
         "tags":[
            "mineable",
            "pow",
            "sha-256",
            "store-of-value",
            "state-channels",
            "coinbase-ventures-portfolio",
            "three-arrows-capital-portfolio",
            "polychain-capital-portfolio",
            "binance-labs-portfolio",
            "arrington-xrp-capital",
            "blockchain-capital-portfolio",
            "boostvc-portfolio",
            "cms-holdings-portfolio",
            "dcg-portfolio",
            "dragonfly-capital-portfolio",
            "electric-capital-portfolio",
            "fabric-ventures-portfolio",
            "framework-ventures",
            "galaxy-digital-portfolio",
            "huobi-capital",
            "alameda-research-portfolio",
            "a16z-portfolio",
            "1confirmation-portfolio",
            "winklevoss-capital",
            "usv-portfolio",
            "placeholder-ventures-portfolio",
            "pantera-capital-portfolio",
            "multicoin-capital-portfolio",
            "paradigm-xzy-screener"
         ],
         "max_supply":21000000,
         "circulating_supply":18859943,
         "total_supply":18859943,
         "is_active":1,
         "is_market_cap_included_in_calc":1,
         "platform":null,
         "cmc_rank":1,
         "is_fiat":0,
         "last_updated":"2021-10-31T16:43:02.000Z",
         "quote":{
            "USD":{
               "price":60607.35710660016,
               "volume_24h":31555115971.941242,
               "volume_change_24h":-6.3175,
               "percent_change_1h":0.08322691,
               "percent_change_24h":-0.95656637,
               "percent_change_7d":0.62201175,
               "percent_change_30d":27.3269832,
               "percent_change_60d":25.85590624,
               "percent_change_90d":52.26875722,
               "market_cap":1143051300411.124,
               "market_cap_dominance":44.2018,
               "fully_diluted_market_cap":1272754499238.6,
               "last_updated":"2021-10-31T16:43:02.000Z"
            }
         }
      }
   },
   "status":{
      "timestamp":"2021-10-31T16:47:20.898Z",
      "error_code":0,
      "error_message":null
   },
}

Quotes Historical

Returns a list with all of our historical quotes data of all active cryptocurrencies.


This endpoint is available on the following API plans:

  • Personal
  • Standard
  • Premium

Update interval: 5 minutes.
Credits: 1 API call credit / request.

URL Path

https://apicrypto.io/api/cryptocurrency/quotes/historical

Parameters

Query Parameters
* Description
key string

Your API key.

id string

One or more comma-separated ApiCrypto cryptocurrency IDs. Example: "1,2"

symbol string

Alternatively pass one or more comma-separated cryptocurrency symbols. Example: "BTC,ETH". At least one "id" or "symbol" is required for this request.

time_start string

Timestamp (Unix or ISO 8601) to start returning quotes for. Optional, if not passed, we'll return quotes calculated in reverse from "time_end".

time_end string

Timestamp (Unix or ISO 8601) to stop returning quotes for (inclusive). Optional, if not passed, we'll default to the current time. If no "time_start" is passed, we return quotes in reverse order starting from this time.

count number [1 .. 10000]

Default: "10"

The number of interval periods to return results for. Optional, required if both "time_start" and "time_end" aren't supplied. The default is 10 items. The current query limit is 10000.

interval string

Default: "5m"

Valid values: "yearly""monthly""weekly""daily""hourly""5m""10m" "15m""30m""45m""1h""2h""3h""4h" "6h""12h""24h""1d""3d""7d""14d""15d" "30d""60d""90d""365d"

What field to sort the list of cryptocurrencies by.

convert string

Optionally calculate market quotes in up to 120 currencies at once by passing a comma-separated list of cryptocurrency or fiat currency symbols. Each additional convert option beyond the first requires an additional call credit. A list of supported fiat options can be found here. Each conversion is returned in its own "quote" object.

convert_id string

Optionally calculate market quotes by ApiCrypto ID instead of symbol. This option is identical to convert outside of ID format. Ex: convert_id=1,2781 would replace convert=BTC,USD in your query. This parameter cannot be used when convert is used.

Request Example

https://apicrypto.io/api/cryptocurrency/quotes/historical?key=APIKEY&time_start=2020-10-30T17:09:24.083Z&id=2&convert=USD,BTC

Replace APIKEY with your API key provided in your dashboard available after subscription.

Response

{
   "data":{
      "2020-10-30T17:14:03.000Z":{
         "BTC":[
            0.003981101567841958
         ],
         "USD":[
            53.97723769335442,
            2738077605.9715023,
            3550212619.300475
         ]
      },
      "2020-10-30T17:19:03.000Z":{
         "BTC":[
            0.003983521520989685
         ],
         "USD":[
            53.84767814533476,
            2741440891.080306,
            3541691176.522256
         ]
      },
      "2020-10-30T17:24:03.000Z":{
         "BTC":[
            0.003997091572671926
         ],
         "USD":[
            53.98381321897117,
            2738675972.53751,
            3550645107.4199257
         ]
      },
      "2020-10-30T17:29:03.000Z":{
         "BTC":[
            0.003989930042637048
         ],
         "USD":[
            53.88973796376406,
            2698832993.5634246,
            3544457551.8414507
         ]
      },
      "2020-10-30T17:34:03.000Z":{
         "BTC":[
            0.003985991925744194
         ],
         "USD":[
            53.7424031191822,
            2686024234.9984603,
            3534766985.097951
         ]
      },
      "2020-10-30T17:39:03.000Z":{
         "BTC":[
            0.0039837921828940115
         ],
         "USD":[
            53.78540819297064,
            2680918075.244921,
            3537595532.1333704
         ]
      },
      "2020-10-30T17:44:03.000Z":{
         "BTC":[
            0.003981473022927608
         ],
         "USD":[
            53.75469021060578,
            2678847406.72533,
            3535575136.624235
         ]
      },
      "2020-10-30T17:49:03.000Z":{
         "BTC":[
            0.003981991224475986
         ],
         "USD":[
            53.75436389037459,
            2675223614.792026,
            3535553673.758549
         ]
      },
      "2020-10-30T17:54:03.000Z":{
         "BTC":[
            0.003982198960359642
         ],
         "USD":[
            53.79586423956167,
            2676471734.0504885,
            3538283251.4413934
         ]
      },
      "2020-10-30T17:59:03.000Z":{
         "BTC":[
            0.003979598246874729
         ],
         "USD":[
            53.768707315555,
            2672584984.6049194,
            3536497075.2969675
         ]
      }
   },
   "status":{
      "timestamp":"2021-10-31T17:17:58.151Z",
      "error_code":0,
      "error_message":null
   }
}

Pairs

Lists all active market pairs that ApiCrypto tracks for a given cryptocurrency or fiat currency.


This endpoint is available on the following API plans:

  • Standard
  • Premium

Update interval: 60 seconds.
Credits: 1 API call credit / request.

URL Path

https://apicrypto.io/api/cryptocurrency/pairs

Parameters

Query Parameters
* Description
key string

Your API key.

id string

One or more comma-separated ApiCrypto cryptocurrency IDs. Example: "1,2"

slug string

Alternatively pass a cryptocurrency by slug. Example: "bitcoin"

symbol string

Alternatively pass one or more comma-separated cryptocurrency symbols. Example: "BTC,ETH". At least one "id" or "symbol" is required for this request.

start integer >=1

Default: 1

Set the index from which from which the data is returned.

limit integer [1...5000]

Set the size of the returned batch.

convert string

Optionally calculate market quotes in up to 120 currencies at once by passing a comma-separated list of cryptocurrency or fiat currency symbols. Each additional convert option beyond the first requires an additional call credit. A list of supported fiat options can be found here. Each conversion is returned in its own "quote" object.

convert_id string

Optionally calculate market quotes by ApiCrypto ID instead of symbol. This option is identical to convert outside of ID format. Ex: convert_id=1,2781 would replace convert=BTC,USD in your query. This parameter cannot be used when convert is used.

Request Example

https://apicrypto.io/api/cryptocurrency/pairs?key=APIKEY&id=1&start=1&limit=2

Replace APIKEY with your API key provided in your dashboard available after subscription.

Response

{
   "data":{
      "id":1,
      "name":"Bitcoin",
      "symbol":"BTC",
      "num_market_pairs":8499,
      "market_pairs":[
         {
            "exchange":{
               "id":561,
               "name":"PayBito",
               "slug":"paybito"
            },
            "outlier_detected":1,
            "exclusions":[
               "price",
               "volume"
            ],
            "market_pair_base":{
               "exchange_symbol":"COMP",
               "currency_symbol":"COMP",
               "currency_id":5692,
               "currency_type":"cryptocurrency"
            },
            "market_pair_quote":{
               "exchange_symbol":"BTC",
               "currency_symbol":"BTC",
               "currency_id":1,
               "currency_type":"cryptocurrency"
            },
            "quote":{
               "exchange_reported":{
                  "price":0.00547006,
                  "volume_24h_base":51059848.39035789,
                  "volume_24h_quote":279300.43428616,
                  "last_updated":"2021-10-31T17:45:10.000Z"
               },
               "USD":{
                  "price":332.03100158739375,
                  "volume_24h":16953452601.951004,
                  "depth_negative_two":9269010916.327156,
                  "depth_positive_two":24250496306.721,
                  "last_updated":"2021-10-31T17:45:10.000Z"
               }
            },
            "market_id":373111,
            "market_pair":"COMP/BTC",
            "category":"spot",
            "fee_type":"percentage"
         },
         {
            "exchange":{
               "id":270,
               "name":"Binance",
               "slug":"binance"
            },
            "outlier_detected":0,
            "exclusions":[
               "price",
               "volume"
            ],
            "market_pair_base":{
               "exchange_symbol":"BTC",
               "currency_symbol":"BTC",
               "currency_id":1,
               "currency_type":"cryptocurrency"
            },
            "market_pair_quote":{
               "exchange_symbol":"USDT",
               "currency_symbol":"USDT",
               "currency_id":825,
               "currency_type":"cryptocurrency"
            },
            "quote":{
               "exchange_reported":{
                  "price":60665.05,
                  "volume_24h_base":177958.293,
                  "volume_24h_quote":10795848742.75965,
                  "last_updated":"2021-10-31T17:45:44.000Z"
               },
               "USD":{
                  "price":60714.70272076777,
                  "volume_24h":10804684856.190289,
                  "last_updated":"2021-10-31T17:45:44.000Z"
               }
            },
            "market_id":47150,
            "market_pair":"BTC/USDT",
            "category":"derivatives",
            "fee_type":"percentage"
         }
      ]
   },
   "status":{
      "timestamp":"2021-10-31T17:50:49.222Z",
      "error_code":0,
      "error_message":null
   }
}

OHLCV Latest

Returns a list with all of our latest open-high-low-close-volume data of all active cryptocurrencies.


This endpoint is available on the following API plans:

  • Personal
  • Standard
  • Premium

Update interval: 5 minutes.
Credits: 1 API call credit / request.

URL Path

https://apicrypto.io/api/cryptocurrency/ohlcv/latest

Parameters

Query Parameters
* Description
key string

Your API key.

id string

One or more comma-separated cryptocurrency ApiCrypto IDs. Example: 1,2

symbol string

Alternatively pass one or more comma-separated cryptocurrency symbols. Example: "BTC,ETH". At least one "id" or "symbol" is required.

convert string

Optionally calculate market quotes in up to 120 currencies at once by passing a comma-separated list of cryptocurrency or fiat currency symbols. Each additional convert option beyond the first requires an additional call credit. A list of supported fiat options can be found here. Each conversion is returned in its own "quote" object.

convert_id string

Optionally calculate market quotes by ApiCrypto ID instead of symbol. This option is identical to convert outside of ID format. Ex: convert_id=1,2781 would replace convert=BTC,USD in your query. This parameter cannot be used when convert is used.

Request Example

https://apicrypto.io/api/cryptocurrency/ohlcv/latest?key=APIKEY&symbol=btc

Replace APIKEY with your API key provided in your dashboard available after subscription.

Response

{
   "data":{
      "BTC":{
         "id":1,
         "name":"Bitcoin",
         "symbol":"BTC",
         "last_updated":"2021-10-31T17:49:02.000Z",
         "time_open":"2021-10-31T00:00:00.000Z",
         "time_close":null,
         "time_high":"2021-10-31T01:14:02.000Z",
         "time_low":"2021-10-31T13:39:02.000Z",
         "quote":{
            "USD":{
               "open":62166.971669998034,
               "high":62386.965338089714,
               "low":60211.022724054994,
               "close":60823.494044710154,
               "volume":31607341495.75486,
               "last_updated":"2021-10-31T17:49:02.000Z"
            }
         }
      }
   },
   "status":{
      "timestamp":"2021-10-31T17:57:57.021Z",
      "error_code":0,
      "error_message":null
   }
}

OHLCV Historical

Returns a list with all of our historical open-high-low-close-volume data of all active cryptocurrencies.


This endpoint is available on the following API plans:

  • Personal
  • Standard
  • Premium

Update interval: 24 hours.
Credits: 1 API call credit / request.

URL Path

https://apicrypto.io/api/cryptocurrency/ohlcv/historical

Parameters

Query Parameters
* Description
key string

Your API key.

id string

One or more comma-separated ApiCrypto cryptocurrency IDs. Example: "1,2"

slug string

Alternatively pass a comma-separated list of cryptocurrency slugs. Example: "bitcoin,ethereum"

symbol string

Alternatively pass one or more comma-separated cryptocurrency symbols. Example: "BTC,ETH". At least one "id" or "symbol" is required for this request.

time_period string

Default: "daily"

Values: "daily","hourly"

Time period to return OHLCV data for. The default is "daily". See the main endpoint description for details.

time_start string

Timestamp (Unix or ISO 8601) to start returning quotes for. Optional, if not passed, we'll return quotes calculated in reverse from "time_end".

time_end string

Timestamp (Unix or ISO 8601) to stop returning quotes for (inclusive). Optional, if not passed, we'll default to the current time. If no "time_start" is passed, we return quotes in reverse order starting from this time.

count number [1 .. 10000]

Default: "10"

The number of interval periods to return results for. Optional, required if both "time_start" and "time_end" aren't supplied. The default is 10 items. The current query limit is 10000.

interval string

Default: "5m"

Valid values: "yearly""monthly""weekly""daily""hourly""5m""10m" "15m""30m""45m""1h""2h""3h""4h" "6h""12h""24h""1d""3d""7d""14d""15d" "30d""60d""90d""365d"

What field to sort the list of cryptocurrencies by.

convert string

Optionally calculate market quotes in up to 120 currencies at once by passing a comma-separated list of cryptocurrency or fiat currency symbols. Each additional convert option beyond the first requires an additional call credit. A list of supported fiat options can be found here. Each conversion is returned in its own "quote" object.

convert_id string

Optionally calculate market quotes by ApiCrypto ID instead of symbol. This option is identical to convert outside of ID format. Ex: convert_id=1,2781 would replace convert=BTC,USD in your query. This parameter cannot be used when convert is used.

Request Example

https://apicrypto.io/api/cryptocurrency/ohlcv/historical?key=APIKEY&time_start=2020-10-30T17:09:24.083Z&id=1&count=2

Replace APIKEY with your API key provided in your dashboard available after subscription.

Response

{
   "data":{
      "id":1,
      "name":"Bitcoin",
      "symbol":"BTC",
      "quotes":[
         {
            "time_open":"2020-10-31T00:00:00.000Z",
            "time_close":"2020-10-31T23:59:59.999Z",
            "time_high":"2020-10-31T10:07:43.000Z",
            "time_low":"2020-10-31T04:07:39.000Z",
            "quote":{
               "USD":{
                  "open":13546.5326493,
                  "high":14028.21429317,
                  "low":13457.52983298,
                  "close":13780.99470249,
                  "volume":30306464718.755116,
                  "market_cap":255372071116.27853,
                  "timestamp":"2020-10-31T23:59:59.999Z"
               }
            }
         },
         {
            "time_open":"2020-11-01T00:00:00.000Z",
            "time_close":"2020-11-01T23:59:59.999Z",
            "time_high":"2020-11-01T00:13:42.000Z",
            "time_low":"2020-11-01T04:19:39.000Z",
            "quote":{
               "USD":{
                  "open":13780.99480514,
                  "high":13862.03362917,
                  "low":13628.37821941,
                  "close":13737.10982864,
                  "volume":24453857900.087803,
                  "market_cap":254569759062.58606,
                  "timestamp":"2020-11-01T23:59:59.999Z"
               }
            }
         }
      ]
   },
   "status":{
      "timestamp":"2021-10-31T18:08:48.077Z",
      "error_code":0,
      "error_message":null
   }
}

Statistics

Returns a list with all of our price statistics data of all active cryptocurrencies.


This endpoint is available on the following API plans:

  • Personal
  • Standard
  • Premium

Update interval: 60 seconds.
Credits: 1 API call credit / request.

URL Path

https://apicrypto.io/api/cryptocurrency/statistics

Parameters

Query Parameters
* Description
key string

Your API key.

id string

One or more comma-separated ApiCrypto cryptocurrency IDs. Example: "1,2"

slug string

Alternatively pass a comma-separated list of cryptocurrency slugs. Example: "bitcoin,ethereum"

symbol string

Alternatively pass one or more comma-separated cryptocurrency symbols. Example: "BTC,ETH". At least one "id" or "symbol" is required for this request.

time_period string

Default: "daily"

Values: "daily","hourly"

Time period to return OHLCV data for. The default is "daily". See the main endpoint description for details.

convert string

Optionally calculate market quotes in up to 120 currencies at once by passing a comma-separated list of cryptocurrency or fiat currency symbols. Each additional convert option beyond the first requires an additional call credit. A list of supported fiat options can be found here. Each conversion is returned in its own "quote" object.

convert_id string

Optionally calculate market quotes by ApiCrypto ID instead of symbol. This option is identical to convert outside of ID format. Ex: convert_id=1,2781 would replace convert=BTC,USD in your query. This parameter cannot be used when convert is used.

Request Example

https://apicrypto.io/api/cryptocurrency/statistics?key=APIKEY&symbol=btc

Replace APIKEY with your API key provided in your dashboard available after subscription.

Response

{
   "data":{
      "BTC":{
         "id":1,
         "name":"Bitcoin",
         "symbol":"BTC",
         "slug":"bitcoin",
         "last_updated":"2021-10-31T18:16:02.000Z",
         "periods":{
            "all_time":{
               "open_timestamp":"2013-04-28T00:00:00.000Z",
               "high_timestamp":"2021-10-20T14:53:02.000Z",
               "low_timestamp":"2013-07-05T00:00:00.000Z",
               "close_timestamp":"2021-10-31T18:16:44.564Z",
               "quote":{
                  "USD":{
                     "open":135.3,
                     "open_timestamp":"2013-04-28T00:00:00.000Z",
                     "high":66930.38727099,
                     "high_timestamp":"2021-10-20T14:53:02.000Z",
                     "low":65.52600098,
                     "low_timestamp":"2013-07-05T00:00:00.000Z",
                     "close":60532.326932587035,
                     "close_timestamp":"2021-10-31T18:16:44.564Z",
                     "percent_change":44639.33993539322,
                     "price_change":60397.02693258703
                  }
               }
            }
         }
      }
   },
   "status":{
      "timestamp":"2021-10-31T18:16:44.565Z",
      "error_code":0,
      "error_message":null
   }
}

Logo

Return the logo for a given cryptocurrency.


This endpoint is available on the following API plans:

  • FREE
  • Personal
  • Standard
  • Premium

Update interval: 60 seconds.
Credits: 0 API call credit / request.

URL Path

https://apicrypto.io/api/cryptocurrency/logo/{size}/{id}.png

Parameters

Query Parameters
* Description
key string

Your API key.

size string

Values: 16x16, 32x32, 64x64, 128x128

id string

Pass the id for which you want to get the logo.

Request Example

https://apicrypto.io/api/cryptocurrency/logo/128x128/1.png?key=APIKEY

Replace APIKEY with your API key provided in your dashboard available after subscription.

Response


                                                    

                            

Fiat

List

Returns a list with all fiat currencies.


This endpoint is available on the following API plans:

  • FREE
  • Personal
  • Standard
  • Premium

Update interval: 30 seconds.
Credits: 1 API call credit / request.

URL Path

https://apicrypto.io/api/fiat/list

Parameters

Query Parameters
* Description
key string

Your API key.

start integer >=1

Default: 1

Set the index from which from which the data is returned.

limit integer [1...5000]

Set the size of the returned batch.

sort string

Default: "id"

Values: "id", "name"

What field to sort the list by.

Request Example

https://apicrypto.io/api/fiat/list?key=APIKEY&limit=2

Replace APIKEY with your API key provided in your dashboard available after subscription.

Response

{
   "data":[
      {
         "id":2781,
         "name":"United States Dollar",
         "sign":"$",
         "symbol":"USD"
      },
      {
         "id":2782,
         "name":"Australian Dollar",
         "sign":"$",
         "symbol":"AUD"
      }
   ],
   "status":{
      "timestamp":"2021-10-31T18:24:01.655Z",
      "error_code":0,
      "error_message":null
   }
}

Exchange

List

Returns a list with all cryptocurrencies exchanges.


This endpoint is available on the following API plans:

  • FREE
  • Personal
  • Standard
  • Premium

Update interval: 30 seconds.
Credits: 1 API call credit / request.

URL Path

https://apicrypto.io/api/exchange/list

Parameters

Query Parameters
* Description
key string

Your API key.

status string

Default: "active"

Values: active, inactive, untracked.

slug string

Optionally pass a comma-separated list of exchange slugs (lowercase URL friendly shorthand name with spaces replaced with dashes) to return ApiCrypto IDs for. If this option is passed, other options will be ignored.

start integer >=1

Default: 1

Set the index from which from which the data is returned.

limit integer [1...5000]

Set the size of the returned batch.

sort string

Default: "id"

Values: "volume_24h", "id"

What field to sort the list of exchanges by.

Request Example

https://apicrypto.io/api/exchange/list?key=APIKEY&limit=2

Replace APIKEY with your API key provided in your dashboard available after subscription.

Response

{
   "data":[
      {
         "id":16,
         "name":"Poloniex",
         "slug":"poloniex",
         "is_active":1,
         "first_historical_data":"2018-04-26T00:45:00.000Z",
         "last_historical_data":"2021-11-01T19:55:11.000Z"
      },
      {
         "id":22,
         "name":"Bittrex",
         "slug":"bittrex",
         "is_active":1,
         "first_historical_data":"2018-04-26T00:45:00.000Z",
         "last_historical_data":"2021-11-01T19:55:11.000Z"
      }
   ],
   "status":{
      "timestamp":"2021-11-01T20:07:24.779Z",
      "error_code":0,
      "error_message":null
   }
}

Market Latest

Returns a list with all of our exchanges market data of all active cryptocurrencies.


This endpoint is available on the following API plans:

  • Personal
  • Standard
  • Premium

Update interval: 60 seconds.
Credits: 1 API call credit / request.

URL Path

https://apicrypto.io/api/cryptocurrency/market/latest

Parameters

Query Parameters
* Description
key string

Your API key.

start integer >=1

Default: 1

Set the index from which from which the data is returned.

limit integer [1...5000]

Set the size of the returned batch.

sort string

Default: "volume_24h"

Values: "name","volume_24h","volume_24h_adjusted","exchange_score"

What field to sort the list of exchanges by.

sort_dir string

Values: "asc""desc"

The direction in which to order exchanges against the specified sort.

category string

Default: "all"

Values: "all","spot","derivatives","dex","lending"

The category for this exchange.

convert string

Optionally calculate market quotes in up to 120 currencies at once by passing a comma-separated list of cryptocurrency or fiat currency symbols.

convert_id string

Optionally calculate market quotes by ApiCrypto ID instead of symbol.

Request Example

https://apicrypto.io/api/exchange/market/latest?key=APIKEY&limit=1

Replace APIKEY with your API key provided in your dashboard available after subscription.

Response

{
   "data":[
      {
         "id":270,
         "name":"Binance",
         "slug":"binance",
         "num_coins":395,
         "num_market_pairs":1493,
         "traffic_score":1000,
         "rank":1,
         "exchange_score":9.8201,
         "last_updated":"2021-11-01T20:23:11.000Z",
         "quote":{
            "USD":{
               "volume_24h":114117731123.53967,
               "volume_24h_adjusted":114117731123.53967,
               "volume_7d":834412721917.8774,
               "volume_30d":3115054422459.8354,
               "percent_change_volume_24h":-6.06681279,
               "percent_change_volume_7d":35.36500541,
               "percent_change_volume_30d":52.70765994,
               "effective_liquidity_24h":703.362,
               "last_updated":"2021-11-01T20:23:11.000Z",
               "derivative_volume":81609546411.78363,
               "open_interest":22561893781.194,
               "derivative_volume_usd":81609546411.78363,
               "spot_volume":35371983995.661125,
               "spot_volume_usd":35371983995.661125
            }
         }
      }
   ],
   "status":{
      "timestamp":"2021-11-01T20:25:06.421Z",
      "error_code":0,
      "error_message":null
   }
}

Quotes Latest

Returns a list with all of our latest quotes data of all exchanges.

This endpoint is available on the following API plans:

  • Personal
  • Standard
  • Premium

Update interval: 24 hours.
Credits: 1 API call credit / request.

URL Path

https://apicrypto.io/api/exchange/quotes/latest

Parameters

Query Parameters
* Description
key string

Your API key.

id string

One or more comma-separated exchanges ApiCrypto IDs. Example: 2,3

slug string

Alternatively pass a comma-separated list of exchanges slugs.

convert string

Optionally calculate market quotes in up to 120 currencies at once by passing a comma-separated list of cryptocurrency or fiat currency symbols. Each additional convert option beyond the first requires an additional call credit. A list of supported fiat options can be found here. Each conversion is returned in its own "quote" object.

convert_id string

Optionally calculate market quotes by ApiCrypto ID instead of symbol. This option is identical to convert outside of ID format. Ex: convert_id=1,2781 would replace convert=BTC,USD in your query. This parameter cannot be used when convert is used.

Request

https://apicrypto.io/api/exchange/quotes/latest?key=APIKEY&id=2

Replace APIKEY with your API key provided in your dashboard available after subscription.

Response

{
   "data":{
      "270":{
         "id":270,
         "name":"Binance",
         "slug":"binance",
         "num_coins":395,
         "num_market_pairs":1493,
         "traffic_score":1000,
         "rank":1,
         "exchange_score":9.7582,
         "liquidity_score":699.3619,
         "last_updated":"2021-11-01T20:41:11.000Z",
         "quote":{
            "USD":{
               "volume_24h":113838752337.9722,
               "volume_24h_adjusted":113838752337.9722,
               "volume_7d":834311101114.414,
               "volume_30d":3115722025507.086,
               "percent_change_volume_24h":-6.45863164,
               "percent_change_volume_7d":35.35540401,
               "percent_change_volume_30d":54.14421132,
               "effective_liquidity_24h":699.3619,
               "last_updated":"2021-11-01T20:41:11.000Z",
               "derivative_volume":81432504579.34181,
               "open_interest":22526968951.768,
               "derivative_volume_usd":81432504579.34181,
               "spot_volume":35197542768.71621,
               "spot_volume_usd":35197542768.71621
            }
         }
      }
   },
   "status":{
      "timestamp":"2021-11-01T20:43:37.722Z",
      "error_code":0,
      "error_message":null
   }
}

Quotes Historical

Returns a list with all of our historical quotes data of all exchanges.

This endpoint is available on the following API plans:

  • Personal
  • Standard
  • Premium

Update interval: 24 hours.
Credits: 1 API call credit / request.

URL Path

https://apicrypto.io/api/exchange/quotes/historical

Parameters

Query Parameters
* Description
key string

Your API key.

id string

One or more comma-separated exchanges ApiCrypto IDs. Example: 2,3

slug string

Alternatively pass a comma-separated list of exchanges slugs.

time_start string

Timestamp (Unix or ISO 8601) to start returning quotes for. Optional, if not passed, we'll return quotes calculated in reverse from "time_end".

time_end string

Timestamp (Unix or ISO 8601) to stop returning quotes for (inclusive). Optional, if not passed, we'll default to the current time. If no "time_start" is passed, we return quotes in reverse order starting from this time.

count number [1 .. 10000]

Default: "10"

The number of interval periods to return results for. Optional, required if both "time_start" and "time_end" aren't supplied. The default is 10 items. The current query limit is 10000.

interval string

Default: "5m"

Valid values: "yearly""monthly""weekly""daily""hourly""5m""10m" "15m""30m""45m""1h""2h""3h""4h" "6h""12h""24h""1d""3d""7d""14d""15d" "30d""60d""90d""365d"

What field to sort the list of cryptocurrencies by.

convert string

Optionally calculate market quotes in up to 120 currencies at once by passing a comma-separated list of cryptocurrency or fiat currency symbols. Each additional convert option beyond the first requires an additional call credit. A list of supported fiat options can be found here. Each conversion is returned in its own "quote" object.

convert_id string

Optionally calculate market quotes by ApiCrypto ID instead of symbol. This option is identical to convert outside of ID format. Ex: convert_id=1,2781 would replace convert=BTC,USD in your query. This parameter cannot be used when convert is used.

Request

https://apicrypto.io/api/exchange/quotes/historical?key=APIKEY&time_start=2020-11-01T20:40:26.028Z&id=270

Replace APIKEY with your API key provided in your dashboard available after subscription.

Response

{
   "data":{
      "quotes":[
         {
            "timestamp":"2020-11-01T20:45:12.000Z",
            "quote":{
               "USD":{
                  "volume_24h":5071232028.902779,
                  "timestamp":"2020-11-01T20:45:12.000Z"
               }
            },
            "num_market_pairs":844
         },
         {
            "timestamp":"2020-11-01T20:50:11.000Z",
            "quote":{
               "USD":{
                  "volume_24h":5115104340.459877,
                  "timestamp":"2020-11-01T20:50:11.000Z"
               }
            },
            "num_market_pairs":844
         },
         {
            "timestamp":"2020-11-01T20:55:12.000Z",
            "quote":{
               "USD":{
                  "volume_24h":5109164016.303885,
                  "timestamp":"2020-11-01T20:55:12.000Z"
               }
            },
            "num_market_pairs":844
         },
         {
            "timestamp":"2020-11-01T21:00:13.000Z",
            "quote":{
               "USD":{
                  "volume_24h":5120704696.093031,
                  "timestamp":"2020-11-01T21:00:13.000Z"
               }
            },
            "num_market_pairs":844
         },
         {
            "timestamp":"2020-11-01T21:05:12.000Z",
            "quote":{
               "USD":{
                  "volume_24h":5139143815.9157295,
                  "timestamp":"2020-11-01T21:05:12.000Z"
               }
            },
            "num_market_pairs":844
         },
         {
            "timestamp":"2020-11-01T21:10:11.000Z",
            "quote":{
               "USD":{
                  "volume_24h":5144451500.237157,
                  "timestamp":"2020-11-01T21:10:11.000Z"
               }
            },
            "num_market_pairs":844
         },
         {
            "timestamp":"2020-11-01T21:15:12.000Z",
            "quote":{
               "USD":{
                  "volume_24h":5167147076.531532,
                  "timestamp":"2020-11-01T21:15:12.000Z"
               }
            },
            "num_market_pairs":844
         },
         {
            "timestamp":"2020-11-01T21:20:12.000Z",
            "quote":{
               "USD":{
                  "volume_24h":5191598090.844317,
                  "timestamp":"2020-11-01T21:20:12.000Z"
               }
            },
            "num_market_pairs":844
         },
         {
            "timestamp":"2020-11-01T21:25:12.000Z",
            "quote":{
               "USD":{
                  "volume_24h":5200630837.938525,
                  "timestamp":"2020-11-01T21:25:12.000Z"
               }
            },
            "num_market_pairs":844
         },
         {
            "timestamp":"2020-11-01T21:30:12.000Z",
            "quote":{
               "USD":{
                  "volume_24h":5209754985.294133,
                  "timestamp":"2020-11-01T21:30:12.000Z"
               }
            },
            "num_market_pairs":844
         }
      ],
      "id":270,
      "name":"Binance",
      "slug":"binance"
   },
   "status":{
      "timestamp":"2021-11-01T20:42:10.412Z",
      "error_code":0,
      "error_message":null
   }
}

Pairs

Lists all active market pairs that ApiCrypto tracks for a given exchange.


This endpoint is available on the following API plans:

  • Standard
  • Premium

Update interval: 60 seconds.
Credits: 1 API call credit / request.

URL Path

https://apicrypto.io/api/exchange/pairs

Parameters

Query Parameters
* Description
key string

Your API key.

id string

A ApiCrypto exchange ID. Example: "1"

slug string

Alternatively pass an exchange slug

start integer >=1

Default: 1

Set the index from which from which the data is returned.

limit integer [1...5000]

Set the size of the returned batch.

convert string

Optionally calculate market quotes in up to 120 currencies at once by passing a comma-separated list of cryptocurrency or fiat currency symbols. Each additional convert option beyond the first requires an additional call credit. A list of supported fiat options can be found here. Each conversion is returned in its own "quote" object.

convert_id string

Optionally calculate market quotes by ApiCrypto ID instead of symbol. This option is identical to convert outside of ID format. Ex: convert_id=1,2781 would replace convert=BTC,USD in your query. This parameter cannot be used when convert is used.

Request Example

https://apicrypto.io/api/exchange/pairs?key=APIKEY&id=270&limit=1

Replace APIKEY with your API key provided in your dashboard available after subscription.

Response

{
   "data":{
      "id":270,
      "name":"Binance",
      "slug":"binance",
      "num_market_pairs":1476,
      "volume_24h":113844939905.32774,
      "market_pairs":[
         {
            "outlier_detected":0,
            "exclusions":[
               "price",
               "volume"
            ],
            "market_pair_base":{
               "exchange_symbol":"BTC",
               "currency_symbol":"BTC",
               "currency_id":1,
               "currency_type":"cryptocurrency"
            },
            "market_pair_quote":{
               "exchange_symbol":"USDT",
               "currency_symbol":"USDT",
               "currency_id":825,
               "currency_type":"cryptocurrency"
            },
            "quote":{
               "exchange_reported":{
                  "price":60533.59,
                  "volume_24h_base":250173.855,
                  "volume_24h_quote":15143921567.28945,
                  "last_updated":"2021-11-01T21:06:44.000Z",
                  "volume_percentage":null
               },
               "USD":{
                  "price":60593.89483611912,
                  "volume_24h":15159008260.616512,
                  "last_updated":"2021-11-01T21:06:44.000Z"
               }
            },
            "market_id":47150,
            "market_pair":"BTC/USDT",
            "category":"derivatives",
            "fee_type":"percentage"
         }
      ]
   },
   "status":{
      "timestamp":"2021-11-01T21:10:17.504Z",
      "error_code":0,
      "error_message":null
   }
}

Logo

Return the logo for a given exchange.


This endpoint is available on the following API plans:

  • FREE
  • Personal
  • Standard
  • Premium

Update interval: 60 seconds.
Credits: 0 API call credit / request.

URL Path

https://apicrypto.io/api/exchange/logo/{size}/{id}.png

Parameters

Query Parameters
* Description
key string

Your API key.

size string

Values: 16x16, 32x32, 64x64, 128x128

id string

Pass the id for which you want to get the logo.

Request Example

https://apicrypto.io/api/exchange/logo/128x128/270.png?key=APIKEY

Replace APIKEY with your API key provided in your dashboard available after subscription.

Response


                            
                            

Global Metrics

Quotes Latest

Returns a list with all of our latest quotes data of all global metrics.

This endpoint is available on the following API plans:

  • FREE
  • Personal
  • Standard
  • Premium

Update interval: 5 minutes.
Credits: 1 API call credit / request.

URL Path

https://apicrypto.io/api/global-metrics/quotes/latest

Parameters

Query Parameters
* Description
key string

Your API key.

convert string

Optionally calculate market quotes in up to 120 currencies at once by passing a comma-separated list of cryptocurrency or fiat currency symbols. Each additional convert option beyond the first requires an additional call credit. A list of supported fiat options can be found here. Each conversion is returned in its own "quote" object.

convert_id string

Optionally calculate market quotes by ApiCrypto ID instead of symbol. This option is identical to convert outside of ID format. Ex: convert_id=1,2781 would replace convert=BTC,USD in your query. This parameter cannot be used when convert is used.

Request

https://apicrypto.io/api/global-metrics/quotes/latest?key=APIKEY

Replace APIKEY with your API key provided in your dashboard available after subscription.

Response

{
   "data":{
      "active_cryptocurrencies":6969,
      "total_cryptocurrencies":13438,
      "active_market_pairs":47791,
      "active_exchanges":424,
      "total_exchanges":1517,
      "eth_dominance":19.353346991728,
      "btc_dominance":43.599776691914,
      "eth_dominance_yesterday":19.33401224,
      "btc_dominance_yesterday":44.03154867,
      "eth_dominance_24h_percentage_change":0.019334751728,
      "btc_dominance_24h_percentage_change":-0.431771978086,
      "defi_volume_24h":18920491260.037724,
      "defi_volume_24h_reported":18920491260.037724,
      "defi_market_cap":150967035241.1295,
      "defi_24h_percentage_change":-1.447051409244,
      "stablecoin_volume_24h":102460900808.5678,
      "stablecoin_volume_24h_reported":102460900808.5678,
      "stablecoin_market_cap":131114551914.03943,
      "stablecoin_24h_percentage_change":-7.8435542354,
      "derivatives_volume_24h":205609382099.07657,
      "derivatives_volume_24h_reported":205609382099.07657,
      "derivatives_24h_percentage_change":1.84660294645,
      "quote":{
         "USD":{
            "total_market_cap":2623368119735.1714,
            "total_volume_24h":133278889084.54,
            "total_volume_24h_reported":133278889084.54,
            "altcoin_volume_24h":96432883240.06297,
            "altcoin_volume_24h_reported":96432883240.06297,
            "altcoin_market_cap":1479585477723.7837,
            "defi_volume_24h":18920491260.037724,
            "defi_volume_24h_reported":18920491260.037724,
            "defi_24h_percentage_change":-1.447051409244,
            "defi_market_cap":150967035241.1295,
            "stablecoin_volume_24h":102460900808.5678,
            "stablecoin_volume_24h_reported":102460900808.5678,
            "stablecoin_24h_percentage_change":-7.8435542354,
            "stablecoin_market_cap":131114551914.03943,
            "derivatives_volume_24h":205609382099.07657,
            "derivatives_volume_24h_reported":205609382099.07657,
            "derivatives_24h_percentage_change":1.84660294645,
            "last_updated":"2021-11-01T21:16:10.999Z",
            "total_market_cap_yesterday":2611822049574.1504,
            "total_volume_24h_yesterday":148545231727.26,
            "total_market_cap_yesterday_percentage_change":0.4420695568790194,
            "total_volume_24h_yesterday_percentage_change":-10.27723506517539
         }
      },
      "last_updated":"2021-11-01T21:16:10.999Z"
   },
   "status":{
      "timestamp":"2021-11-01T21:16:40.269Z",
      "error_code":0,
      "error_message":null
   }
}

Quotes Historical

Returns a list with all of our historical quotes data of all global metrics.

This endpoint is available on the following API plans:

  • Personal
  • Standard
  • Premium

Update interval: 5 minutes.
Credits: 1 API call credit / request.

URL Path

https://apicrypto.io/api/global-metrics/quotes/historical

Parameters

Query Parameters
* Description
key string

Your API key.

time_start string

Timestamp (Unix or ISO 8601) to start returning quotes for. Optional, if not passed, we'll return quotes calculated in reverse from "time_end".

time_end string

Timestamp (Unix or ISO 8601) to stop returning quotes for (inclusive). Optional, if not passed, we'll default to the current time. If no "time_start" is passed, we return quotes in reverse order starting from this time.

count number [1 .. 10000]

Default: "10"

The number of interval periods to return results for. Optional, required if both "time_start" and "time_end" aren't supplied. The default is 10 items. The current query limit is 10000.

interval string

Default: "5m"

Valid values: "yearly""monthly""weekly""daily""hourly""5m""10m" "15m""30m""45m""1h""2h""3h""4h" "6h""12h""24h""1d""3d""7d""14d""15d" "30d""60d""90d""365d"

What field to sort the list of cryptocurrencies by.

convert string

Optionally calculate market quotes in up to 120 currencies at once by passing a comma-separated list of cryptocurrency or fiat currency symbols. Each additional convert option beyond the first requires an additional call credit. A list of supported fiat options can be found here. Each conversion is returned in its own "quote" object.

convert_id string

Optionally calculate market quotes by ApiCrypto ID instead of symbol. This option is identical to convert outside of ID format. Ex: convert_id=1,2781 would replace convert=BTC,USD in your query. This parameter cannot be used when convert is used.

Request

https://apicrypto.io/api/global-metrics/quotes/historical?key=APIKEY

Replace APIKEY with your API key provided in your dashboard available after subscription.

Response

{
   "data":{
      "quotes":[
         {
            "timestamp":"2021-10-23T21:19:10.999Z",
            "quote":{
               "USD":{
                  "total_market_cap":2541683496209.387,
                  "total_volume_24h":81522992261.84,
                  "total_volume_24h_reported":81522992261.84,
                  "altcoin_market_cap":1391434437420.636,
                  "altcoin_volume_24h":53847801540.71077,
                  "altcoin_volume_24h_reported":53847801540.71077,
                  "timestamp":"2021-10-23T21:19:10.999Z"
               }
            },
            "btc_dominance":45.255401016854,
            "active_cryptocurrencies":6733,
            "active_exchanges":422,
            "active_market_pairs":46722
         },
         {
            "timestamp":"2021-10-24T21:19:10.999Z",
            "quote":{
               "USD":{
                  "total_market_cap":2539010369099.7896,
                  "total_volume_24h":94268351048.36,
                  "total_volume_24h_reported":94268351048.36,
                  "altcoin_market_cap":1387530802832.5725,
                  "altcoin_volume_24h":67141921526.45028,
                  "altcoin_volume_24h_reported":67141921526.45028,
                  "timestamp":"2021-10-24T21:19:10.999Z"
               }
            },
            "btc_dominance":45.351510977699,
            "active_cryptocurrencies":6738,
            "active_exchanges":422,
            "active_market_pairs":46729
         }
      ]
   },
   "status":{
      "timestamp":"2021-11-01T21:21:15.250Z",
      "error_code":0,
      "error_message":null
   }
}

Tools

Price Conversion

Convert an amount of one cryptocurrency or fiat currency into one or more different currencies utilizing the latest market rate for each currency.

This endpoint is available on the following API plans:

  • Personal
  • Standard
  • Premium

Update interval: 60 seconds.
Credits: 1 API call credit / request.

URL Path

https://apicrypto.io/api/tools/price-conversion

Parameters

Query Parameters
* Description
key string

Your API key.

amount number

An amount of currency to convert.

id string

The currency ID of the base cryptocurrency or fiat to convert from. Example: "1"

symbol string

Alternatively the currency symbol of the base cryptocurrency or fiat to convert from. Example: "BTC". One "id" or "symbol" is required.

time string

Optional timestamp (Unix or ISO 8601) to reference historical pricing during conversion. If not passed, the current time will be used. If passed, we'll reference the closest historic values available for this conversion.

convert string

Optionally calculate market quotes in up to 120 currencies at once by passing a comma-separated list of cryptocurrency or fiat currency symbols. Each additional convert option beyond the first requires an additional call credit. A list of supported fiat options can be found here. Each conversion is returned in its own "quote" object.

convert_id string

Optionally calculate market quotes by ApiCrypto ID instead of symbol. This option is identical to convert outside of ID format. Ex: convert_id=1,2781 would replace convert=BTC,USD in your query. This parameter cannot be used when convert is used.

Request

https://apicrypto.io/api/tools/price-conversion?key=APIKEY&amount=1&id=1

Replace APIKEY with your API key provided in your dashboard available after subscription.

Response

{
   "data":{
      "id":1,
      "symbol":"BTC",
      "name":"Bitcoin",
      "amount":1,
      "last_updated":"2021-11-01T21:25:02.000Z",
      "quote":{
         "USD":{
            "price":60742.92092911767,
            "last_updated":"2021-11-01T21:25:02.000Z"
         }
      }
   },
   "status":{
      "timestamp":"2021-11-01T21:26:31.798Z",
      "error_code":0,
      "error_message":null
   }
}

Blockchain

Price Conversion

Returns the latest blockchain statistics data for 1 or more blockchains. Bitcoin, Litecoin, and Ethereum are currently supported. Additional blockchains will be made available on a regular basis.

This endpoint is available on the following API plans:

  • Premium

Update interval: 15 seconds.
Credits: 1 API call credit / request.

URL Path

https://apicrypto.io/api/blockchain/statistics/latest

Parameters

Query Parameters
* Description
key string

Your API key.

id string

One or more comma-separated cryptocurrency ApiCrypto IDs to return blockchain data for. Pass 1,2,1027 to request all currently supported blockchains.

symbol string

Alternatively pass one or more comma-separated cryptocurrency symbols. Pass BTC,LTC,ETH to request all currently supported blockchains.

slug string

Alternatively pass a comma-separated list of cryptocurrency slugs. Pass bitcoin,litecoin,ethereum to request all currently supported blockchains.

Request

https://apicrypto.io/api/blockchain/statistics/latest?key=APIKEY&id=1

Replace APIKEY with your API key provided in your dashboard available after subscription.

Response

{
   "data":{
      "1":{
         "block_reward_static":"6.25",
         "consensus_mechanism":"proof-of-work",
         "difficulty":"21659344833265",
         "first_block_timestamp":"1231469665",
         "hashrate_24h":"155043629519432900000",
         "id":1,
         "pending_transactions":"214",
         "reduction_rate":"50%",
         "slug":"bitcoin",
         "symbol":"BTC",
         "total_blocks":"707763",
         "total_transactions":"683205517",
         "tps_24h":"3.1283449074074072"
      }
   },
   "status":{
      "timestamp":"2021-11-01T21:34:20.667Z",
      "error_code":0,
      "error_message":null
   }
}

Status Exceptions

Error codes

400 Bad Request

{
	"status": {
		"timestamp": "2020-11-01T21:49:52.359Z",
		"error_code": 400,
		"error_message": "Invalid value for \"id\"",
	}
}

403 Forbidden

{
	"status": {
		"timestamp": "2020-11-01T21:49:52.359Z",
		"error_code": 403,
		"error_message": "The time range is too large.",
	}
}

500 Internal Server Error

{
	"status": {
		"timestamp": "2020-11-01T21:49:52.359Z",
		"error_code": 500,
		"error_message": "Something went wrong.",
	}
}