CoinDesk

App · 20 actions

Read crypto, index, forex, and news data from CoinDesk.

Actions

ActionWhat it does
Get articleGet article.
Get asset pricesGet asset prices.
Get forex daily historyGet forex daily history.
Get forex ratesGet forex rates.
Get index daily historyGet index daily history.
Get index hourly historyGet index hourly history.
Get index minute historyGet index minute history.
Get index ticksGet index ticks.
Get rate limitGet rate limit.
Get spot daily historyGet spot daily history.
Get spot hourly historyGet spot hourly history.
Get spot ticksGet spot ticks.
List articlesList articles.
List index instrumentsList index instruments.
List index marketsList index markets.
List news sourcesList news sources.
List spot instrumentsList spot instruments.
List spot marketsList spot markets.
List top assetsList top assets.
Search assetsSearch assets.

Get article

Get article.

Inputs

Source keysource_keytextRequired
The unique key for a news source; e.g cryptocompare, this works with the source_id as well, so it needs to either be a source key or a source id.
GuidguidtextRequired
Article guid

Outputs

dataobject
The response from CoinDesk.
Example output
{
  "data": {
    "Data": {
      "AUTHORS": "example",
      "BODY": "example",
      "CATEGORY_DATA": [],
      "CREATED_BY": 1,
      "CREATED_BY_USERNAME": "example",
      "CREATED_ON": 1,
      "DOWNVOTES": 1,
      "GUID": "example",
      "ID": 1,
      "IMAGE_URL": "example",
      "KEYWORDS": "example",
      "LANG": "example",
      "PUBLISHED_ON": 1,
      "PUBLISHED_ON_NS": 1,
      "SCORE": 1,
      "SENTIMENT": "example",
      "SOURCE_DATA": {
        "BENCHMARK_SCORE": 1.0,
        "CALL_TIMEOUT": 1,
        "CREATED_BY": 1,
        "CREATED_BY_USERNAME": "example",
        "CREATED_ON": 1.0,
        "ID": 1,
        "IMAGE_URL": "example",
        "LANG": "example",
        "LAST_ARTICLE_PUBLISHED_AT": 1.0,
        "LAST_CALL": 1.0,
        "LAST_CALL_SUCCESS": 1.0,
        "LAST_UPDATED_TS": 1.0,
        "LAUNCH_DATE": 1.0,
        "NAME": "example",
        "SKIP_ARTICLE_IMAGE": false,
        "SORT_ORDER": 1,
        "SOURCE_KEY": "example",
        "SOURCE_TYPE": "example",
        "STATUS": "example",
        "TYPE": "example",
        "UPDATED_BY": 1,
        "UPDATED_BY_USERNAME": "example",
        "UPDATED_ON": 1.0,
        "URL": "example"
      },
      "SOURCE_ID": 1,
      "STATUS": "example",
      "SUBTITLE": "example",
      "TITLE": "example",
      "TYPE": "example",
      "UPDATED_BY": 1,
      "UPDATED_BY_USERNAME": "example",
      "UPDATED_ON": 1,
      "UPVOTES": 1,
      "URL": "example"
    },
    "Err": {}
  }
}

Get asset prices

Get asset prices.

Inputs

Pagepagenumber
The page number for the request to get {page_size} coins at the time.From 1 to 1000. Default: 1.
Page sizepage_sizenumber
The number of items returned per page.From 10 to 100. Default: 100.
Sort bysort_bytext
Sort by field.One of: MOVING_24_HOUR_VOLUME (Moving 24 hour volume), MOVING_24_HOUR_VOLUME_USD (Moving 24 hour volume usd), MOVING_24_HOUR_TOTAL_TRADES (Moving 24 hour total trades), MARKET_BENCHMARK_TIER_AND_MOVING_24_HOUR_VOLUME (Market benchmark tier and moving 24 hour volume), MARKET_BENCHMARK_TIER_AND_MOVING_24_HOUR_VOLUME_USD (Market benchmark tier and moving 24 hour volume usd), MARKET_BENCHMARK_SCORE (Market benchmark score). Default: MARKET_BENCHMARK_TIER_AND_MOVING_24_HOUR_VOLUME.
Sort directionsort_directiontext
Sort direction.One of: DESC, ASC. Default: DESC.
Groupsgroupslist
Groups.One or more of: ID, MAPPING, MAPPING_ADVANCED (Mapping advanced), VALUE, LAST_UPDATE (Last update), LAST_ADJUSTED (Last adjusted), LAST_PROCESSED (Last processed), TOP_OF_BOOK (Top of book), CURRENT_HOUR (Current hour), CURRENT_DAY (Current day), and 10 more.
Apply mappingapply_mappingtrue/false
Apply mapping.Default: true.
AssetassettextRequired
Asset.
Asset roleasset_roletext
Filter instruments by the role of the queried asset. BASE returns instruments where the asset is the base currency, QUOTE where it is the quote currency, ALL returns both.One of: BASE, QUOTE, ALL. Default: ALL.

Outputs

dataobject
The response from CoinDesk.
Example output
{
  "data": {
    "Data": {
      "LIST": [],
      "STATS": {
        "PAGE": 1,
        "PAGE_SIZE": 1,
        "TOTAL_INSTRUMENTS": 1
      }
    },
    "Err": {}
  }
}

Get forex daily history

Get forex daily history.

Inputs

InstrumentinstrumenttextRequired
A forex instrument (asset - USD) to retrieve. For example, GBP-USD.
Groupsgroupslist
Groups.One or more of: ID, OHLC, OHLC_MESSAGE (Ohlc message), MESSAGE, VOLUME.
Limitlimitnumber
The number of data points to returnFrom 1 to 2000. Default: 30.
To tsto_tsdate and time
To ts.
Aggregateaggregatenumber
Aggregate.From 1 to 30. Default: 1.
Fillfilltrue/false
Boolean value, if set to false or 0 we will not return data points for periods with no trading activity.Default: true.

Outputs

dataobject
The response from CoinDesk.
Example output
{
  "data": {
    "Data": [],
    "Err": {}
  }
}

Get forex rates

Get forex rates.

Inputs

InstrumentsinstrumentslistRequired
A comma separated array of forex instruments (asset - USD) to retrieve.
Groupsgroupslist
Groups.One or more of: ID, VALUE, LAST_UPDATE (Last update), CURRENT_HOUR (Current hour), CURRENT_DAY (Current day), CURRENT_WEEK (Current week), CURRENT_MONTH (Current month), CURRENT_YEAR (Current year), MOVING_24_HOUR (Moving 24 hour), MOVING_7_DAY (Moving 7 day), and 5 more.

Outputs

dataobject
The response from CoinDesk.
Example output
{
  "data": {
    "Data": {},
    "Err": {
      "message": "example",
      "other_info": {
        "param": "example",
        "values": []
      },
      "type": 1
    }
  }
}

Get index daily history

Get index daily history.

Inputs

MarketmarkettextRequired
The index family to obtain data from. The default value is cadli, our 24-hour volume-weighted average with time penalty and outlier adjustment index.One of: cber, ccmvda_coint (Ccmvda coint), ccmvda_virt (Ccmvda virt), cdmcdev, ccixdev, rr_vwap (Rr vwap), cbrsett, cdi_b (Cdi b), sgx_rr (Sgx rr), ccix, and 16 more.
InstrumentinstrumenttextRequired
An instrument to retrieve from a specific market. For example, BTC-USD on cadli.
Groupsgroupslist
Groups.One or more of: ID, OHLC, OHLC_MESSAGE (Ohlc message), MESSAGE, VOLUME.
Limitlimitnumber
The number of data points to returnFrom 1 to 5000. Default: 30.
To tsto_tsdate and time
To ts.
Aggregateaggregatenumber
Aggregate.From 1 to 30. Default: 1.
Fillfilltrue/false
Boolean value, if set to false or 0 we will not return data points for periods with no trading activity.Default: true.
Apply mappingapply_mappingtrue/false
Apply mapping.Default: true.

Outputs

dataobject
The response from CoinDesk.
Example output
{
  "data": {
    "Data": [],
    "Err": {}
  }
}

Get index hourly history

Get index hourly history.

Inputs

MarketmarkettextRequired
The index family to obtain data from. The default value is cadli, our 24-hour volume-weighted average with time penalty and outlier adjustment index.One of: cber, ccmvda_coint (Ccmvda coint), ccmvda_virt (Ccmvda virt), cdmcdev, ccixdev, rr_vwap (Rr vwap), cbrsett, cdi_b (Cdi b), sgx_rr (Sgx rr), ccix, and 16 more.
InstrumentinstrumenttextRequired
An instrument to retrieve from a specific market. For example, BTC-USD on cadli.
Groupsgroupslist
Groups.One or more of: ID, OHLC, OHLC_MESSAGE (Ohlc message), MESSAGE, VOLUME.
Limitlimitnumber
The number of data points to returnFrom 1 to 2000. Default: 30.
To tsto_tsdate and time
To ts.
Aggregateaggregatenumber
Aggregate.From 1 to 30. Default: 1.
Fillfilltrue/false
Boolean value, if set to false or 0 we will not return data points for periods with no trading activity.Default: true.
Apply mappingapply_mappingtrue/false
Apply mapping.Default: true.

Outputs

dataobject
The response from CoinDesk.
Example output
{
  "data": {
    "Data": [],
    "Err": {}
  }
}

Get index minute history

Get index minute history.

Inputs

MarketmarkettextRequired
The index family to obtain data from. The default value is cadli, our 24-hour volume-weighted average with time penalty and outlier adjustment index.One of: cber, ccmvda_coint (Ccmvda coint), ccmvda_virt (Ccmvda virt), cdmcdev, ccixdev, rr_vwap (Rr vwap), cbrsett, cdi_b (Cdi b), sgx_rr (Sgx rr), ccix, and 16 more.
InstrumentinstrumenttextRequired
An instrument to retrieve from a specific market. For example, BTC-USD on cadli.
Groupsgroupslist
Groups.One or more of: ID, OHLC, OHLC_MESSAGE (Ohlc message), MESSAGE, VOLUME.
Limitlimitnumber
The number of data points to returnFrom 1 to 2000. Default: 30.
To tsto_tsdate and time
To ts.
Aggregateaggregatenumber
Aggregate.From 1 to 30. Default: 1.
Fillfilltrue/false
Boolean value, if set to false or 0 we will not return data points for periods with no trading activity.Default: true.
Apply mappingapply_mappingtrue/false
Apply mapping.Default: true.

Outputs

dataobject
The response from CoinDesk.
Example output
{
  "data": {
    "Data": [],
    "Err": {}
  }
}

Get index ticks

Get index ticks.

Inputs

MarketmarkettextRequired
The index family to obtain data from. The default value is cadli, our 24-hour volume-weighted average with time penalty and outlier adjustment index.One of: cber, ccmvda_coint (Ccmvda coint), ccmvda_virt (Ccmvda virt), cdmcdev, ccixdev, rr_vwap (Rr vwap), cbrsett, cdi_b (Cdi b), sgx_rr (Sgx rr), ccix, and 16 more.
InstrumentsinstrumentslistRequired
A comma separated array of instruments to retrieve for a specific market.
Groupsgroupslist
Groups.One or more of: ID, VALUE, LAST_UPDATE (Last update), LAST_ADJUSTED (Last adjusted), CURRENT_HOUR (Current hour), CURRENT_DAY (Current day), CURRENT_WEEK (Current week), CURRENT_MONTH (Current month), CURRENT_YEAR (Current year), MOVING_24_HOUR (Moving 24 hour), and 6 more.
Apply mappingapply_mappingtrue/false
Apply mapping.Default: true.

Outputs

dataobject
The response from CoinDesk.
Example output
{
  "data": {
    "Data": {},
    "Err": {
      "message": "example",
      "other_info": {
        "param": "example",
        "values": []
      },
      "type": 1
    }
  }
}

Get rate limit

Get rate limit.

Inputs

None.

Outputs

dataobject
The response from CoinDesk.
Example output
{
  "data": {
    "Data": {
      "API_KEY": {
        "MAX": {
          "DAY": 1,
          "HOUR": 1,
          "MINUTE": 1,
          "MONTH": 1,
          "SECOND": 1,
          "SOFT_CAP_ALLOWANCE_MULTIPLIER": 1,
          "TYPE": "example"
        },
        "REMAINING": {
          "DAY": 1,
          "HOUR": 1,
          "MINUTE": 1,
          "MONTH": 1,
          "SECOND": 1,
          "TYPE": "example"
        },
        "TYPE": "example",
        "USED": {
          "DAY": 1,
          "HOUR": 1,
          "MINUTE": 1,
          "MONTH": 1,
          "SECOND": 1,
          "TYPE": "example"
        }
      },
      "AUTH_KEY": {
        "MAX": {
          "DAY": 1,
          "HOUR": 1,
          "MINUTE": 1,
          "MONTH": 1,
          "SECOND": 1,
          "SOFT_CAP_ALLOWANCE_MULTIPLIER": 1,
          "TYPE": "example"
        },
        "REMAINING": {
          "DAY": 1,
          "HOUR": 1,
          "MINUTE": 1,
          "MONTH": 1,
          "SECOND": 1,
          "TYPE": "example"
        },
        "TYPE": "example",
        "USED": {
          "DAY": 1,
          "HOUR": 1,
          "MINUTE": 1,
          "MONTH": 1,
          "SECOND": 1,
          "TYPE": "example"
        }
      },
      "TYPE": "example"
    },
    "Err": {}
  }
}

Get spot daily history

Get spot daily history.

Inputs

MarketmarkettextRequired
The exchange to obtain data fromOne of: probit, bitbank, bitforex, zebitex, bitbns, cryptodotcom, bingx, coincheck, coinspro, paramountdax, and 172 more.
InstrumentinstrumenttextRequired
Instrument.
Groupsgroupslist
Groups.One or more of: ID, MAPPING, MAPPING_ADVANCED (Mapping advanced), OHLC, OHLC_TRADE (Ohlc trade), TRADE, VOLUME.
Limitlimitnumber
The number of data points to returnFrom 1 to 5000. Default: 30.
To tsto_tsdate and time
To ts.
Aggregateaggregatenumber
Aggregate.From 1 to 30. Default: 1.
Fillfilltrue/false
Boolean value, if set to false or 0 we will not return data points for periods with no trading activity.Default: true.
Apply mappingapply_mappingtrue/false
Apply mapping.Default: true.

Outputs

dataobject
The response from CoinDesk.
Example output
{
  "data": {
    "Data": [],
    "Err": {}
  }
}

Get spot hourly history

Get spot hourly history.

Inputs

MarketmarkettextRequired
The exchange to obtain data fromOne of: probit, bitbank, bitforex, zebitex, bitbns, cryptodotcom, bingx, coincheck, coinspro, paramountdax, and 172 more.
InstrumentinstrumenttextRequired
Instrument.
Groupsgroupslist
Groups.One or more of: ID, MAPPING, MAPPING_ADVANCED (Mapping advanced), OHLC, OHLC_TRADE (Ohlc trade), TRADE, VOLUME.
Limitlimitnumber
The number of data points to returnFrom 1 to 2000. Default: 30.
To tsto_tsdate and time
To ts.
Aggregateaggregatenumber
Aggregate.From 1 to 30. Default: 1.
Fillfilltrue/false
Boolean value, if set to false or 0 we will not return data points for periods with no trading activity.Default: true.
Apply mappingapply_mappingtrue/false
Apply mapping.Default: true.

Outputs

dataobject
The response from CoinDesk.
Example output
{
  "data": {
    "Data": [],
    "Err": {}
  }
}

Get spot ticks

Get spot ticks.

Inputs

MarketmarkettextRequired
The exchange to obtain data fromOne of: probit, bitbank, bitforex, zebitex, bitbns, cryptodotcom, bingx, coincheck, coinspro, paramountdax, and 172 more.
InstrumentsinstrumentslistRequired
Instruments.
Groupsgroupslist
Groups.One or more of: ID, MAPPING, MAPPING_ADVANCED (Mapping advanced), VALUE, LAST_UPDATE (Last update), LAST_ADJUSTED (Last adjusted), LAST_PROCESSED (Last processed), TOP_OF_BOOK (Top of book), CURRENT_HOUR (Current hour), CURRENT_DAY (Current day), and 10 more.
Apply mappingapply_mappingtrue/false
Apply mapping.Default: true.

Outputs

dataobject
The response from CoinDesk.
Example output
{
  "data": {
    "Data": {},
    "Err": {
      "message": "example",
      "other_info": {
        "param": "example",
        "values": []
      },
      "type": 1
    }
  }
}

List articles

List articles.

Inputs

Langlangtext
The preferred language for the sources or articles - English (EN), Espanol (ES), Turkish (TR), French (FR), Japanese (JP), Portuguese (PT)One of: EN, ES, TR, FR, JP, PT. Default: EN.
Source IDssource_idslist
Source ids.
Categoriescategorieslist
Categories.
Exclude categoriesexclude_categorieslist
Exclude categories.
Limitlimitnumber
Number of total news articles to returnFrom 1 to 100. Default: 50.
To tsto_tsdate and time
Articles published on or before this timestamp

Outputs

dataobject
The response from CoinDesk.
Example output
{
  "data": {
    "Data": [],
    "Err": {}
  }
}

List index instruments

List index instruments.

Inputs

Marketmarkettext
The index family to obtain data from. The default value is cadli, our 24-hour volume-weighted average with time penalty and outlier adjustment index.One of: cber, ccmvda_coint (Ccmvda coint), ccmvda_virt (Ccmvda virt), cdmcdev, ccixdev, rr_vwap (Rr vwap), cbrsett, cdi_b (Cdi b), sgx_rr (Sgx rr), ccix, and 16 more.
Instrumentsinstrumentslist
A comma separated array of instruments to retrieve on a specific market or all available markets.
Instrument statusinstrument_statuslist
Instrument status.One or more of: ACTIVE, IGNORED, RETIRED, EXPIRED, READY_FOR_DECOMMISSIONING (Ready for decommissioning), RETIRED_UNMAPPED (Retired unmapped). Default: ["ACTIVE"].
Groupsgroupslist
Groups.One or more of: ID, INTERNAL, INSTRUMENT_SUMMARY (Instrument summary).

Outputs

dataobject
The response from CoinDesk.
Example output
{
  "data": {
    "Data": {},
    "Err": {}
  }
}

List index markets

List index markets.

Inputs

Marketsmarketslist
The index families to obtain data from. The default value is cadli, our 24-hour volume-weighted average with time penalty and outlier adjustment index.One or more of: cber, ccmvda_coint (Ccmvda coint), ccmvda_virt (Ccmvda virt), cdmcdev, ccixdev, rr_vwap (Rr vwap), cbrsett, cdi_b (Cdi b), sgx_rr (Sgx rr), ccix, and 16 more.
Groupsgroupslist
Groups.One or more of: ID, INTERNAL, INSTRUMENT_SUMMARY (Instrument summary).

Outputs

dataobject
The response from CoinDesk.
Example output
{
  "data": {
    "Data": {},
    "Err": {}
  }
}

List news sources

List news sources.

Inputs

Langlangtext
The preferred language for the sources or articles - English (EN), Espanol (ES), Turkish (TR), French (FR), Japanese (JP), Portuguese (PT)One of: EN, ES, TR, FR, JP, PT. Default: EN.
Source typesource_typetext
Source type.One of: RSS, API, TWITTER. Default: RSS.
Statusstatuslist
Status.One or more of: ACTIVE, INACTIVE. Default: ["ACTIVE"].
Search stringsearch_stringtext
Search string.

Outputs

dataobject
The response from CoinDesk.
Example output
{
  "data": {
    "Data": [],
    "Err": {}
  }
}

List spot instruments

List spot instruments.

Inputs

Marketmarkettext
The exchange to obtain data fromOne of: probit, bitbank, bitforex, zebitex, bitbns, cryptodotcom, bingx, coincheck, coinspro, paramountdax, and 172 more.
Instrumentsinstrumentslist
The mapped instruments to retrieve on a specific market or all available markets.
Instrument statusinstrument_statuslist
Instrument status.One or more of: ACTIVE, IGNORED, RETIRED, EXPIRED, READY_FOR_DECOMMISSIONING (Ready for decommissioning), RETIRED_UNMAPPED (Retired unmapped). Default: ["ACTIVE"].
Groupsgroupslist
Groups.One or more of: ID, INSTRUMENT_SUMMARY (Instrument summary), BASIC, INTERNAL, INTEGRATION_SPOT (Integration spot), RESOURCE_LINKS (Resource links), DESCRIPTION, DESCRIPTION_SUMMARY (Description summary), BENCHMARK.

Outputs

dataobject
The response from CoinDesk.
Example output
{
  "data": {
    "Data": {},
    "Err": {}
  }
}

List spot markets

List spot markets.

Inputs

Marketsmarketslist
The exchanges to obtain data fromOne or more of: probit, bitbank, bitforex, zebitex, bitbns, cryptodotcom, bingx, coincheck, coinspro, paramountdax, and 172 more.
Groupsgroupslist
Groups.One or more of: ID, INSTRUMENT_SUMMARY (Instrument summary), BASIC, INTERNAL, INTEGRATION_SPOT (Integration spot), RESOURCE_LINKS (Resource links), DESCRIPTION, DESCRIPTION_SUMMARY (Description summary), BENCHMARK.

Outputs

dataobject
The response from CoinDesk.
Example output
{
  "data": {
    "Data": {},
    "Err": {}
  }
}

List top assets

List top assets.

Inputs

Pagepagenumber
The page number for the request to get {page_size} coins at the time.From 1 to 1000. Default: 1.
Page sizepage_sizenumber
The number of items returned per page.From 10 to 100. Default: 100.
Sort bysort_bytext
Sort by field.One of: CREATED_ON (Created on), LAUNCH_DATE (Launch date), UPDATED_ON (Updated on), PRICE_USD (Price usd), CIRCULATING_MKT_CAP_USD (Circulating mkt cap usd), TOTAL_MKT_CAP_USD (Total mkt cap usd), SPOT_MOVING_24_HOUR_QUOTE_VOLUME_TOP_TIER_DIRECT_USD (Spot moving 24 hour quote volume top tier direct usd), SPOT_MOVING_24_HOUR_QUOTE_VOLUME_DIRECT_USD (Spot moving 24 hour quote volume direct usd), SPOT_MOVING_24_HOUR_QUOTE_VOLUME_TOP_TIER_USD (Spot moving 24 hour quote volume top tier usd), SPOT_MOVING_24_HOUR_QUOTE_VOLUME_USD (Spot moving 24 hour quote volume usd), and 15 more. Default: CIRCULATING_MKT_CAP_USD.
Sort directionsort_directiontext
Sort direction.One of: DESC, ASC. Default: DESC.
Groupsgroupslist
When requesting asset data you can filter by specific groups of interestOne or more of: ID, BASIC, SUPPORTED_PLATFORMS (Supported platforms), CUSTODIANS, CONTROLLED_ADDRESSES (Controlled addresses), SECURITY_METRICS (Security metrics), SUPPLY, SUPPLY_ADDRESSES (Supply addresses), ASSET_TYPE_SPECIFIC_METRICS (Asset type specific metrics), AI_INSIGHTS (Ai insights), and 15 more. Default: ["ID", "BASIC", "SUPPLY", "PRICE", "MKT_CAP", "VOLUME", "CHANGE", "TOPLIST_RANK"].
Toplist quote assettoplist_quote_assettext
Toplist quote asset.Default: USD.
Asset typeasset_typetext
This parameter can be used to filter the returned assets based on their type. Allowed values: BLOCKCHAIN,FIAT,TOKEN,STOCK,INDEX,COMMODITY or it can be left empty to get all types.One of: BLOCKCHAIN, TOKEN, FIAT, STOCK, INDEX, COMMODITY, ETF, BOND, REIT, FUND.
Asset industryasset_industrytext
Asset industry.One of: PAYMENT, PLATFORM, STABLECOIN, CROSS_CHAIN_INFRASTRUCTURE (Cross chain infrastructure), DECENTRALIZED_INFRASTRUCTURE (Decentralized infrastructure), IDENTITY, MEMBERSHIP, COLLECTIBLE, REPUTATION, GOVERNANCE, and 12 more.

Outputs

dataobject
The response from CoinDesk.
Example output
{
  "data": {
    "Data": {
      "LIST": [],
      "STATS": {
        "PAGE": 1,
        "PAGE_SIZE": 1,
        "TOTAL_ASSETS": 1
      }
    },
    "Err": {}
  }
}

Search assets

Search assets.

Inputs

Search stringsearch_stringtext
Search string.
Limitlimitnumber
The number of search results to return.From 1 to 100. Default: 20.

Outputs

dataobject
The response from CoinDesk.
Example output
{
  "data": {
    "Data": {
      "LIST": []
    },
    "Err": {}
  }
}

On this page