CoinDesk
App · 20 actions
Read crypto, index, forex, and news data from CoinDesk.
Actions
| Action | What it does |
|---|---|
| Get article | Get article. |
| Get asset prices | Get asset prices. |
| Get forex daily history | Get forex daily history. |
| Get forex rates | Get forex rates. |
| Get index daily history | Get index daily history. |
| Get index hourly history | Get index hourly history. |
| Get index minute history | Get index minute history. |
| Get index ticks | Get index ticks. |
| Get rate limit | Get rate limit. |
| Get spot daily history | Get spot daily history. |
| Get spot hourly history | Get spot hourly history. |
| Get spot ticks | Get spot ticks. |
| List articles | List articles. |
| List index instruments | List index instruments. |
| List index markets | List index markets. |
| List news sources | List news sources. |
| List spot instruments | List spot instruments. |
| List spot markets | List spot markets. |
| List top assets | List top assets. |
| Search assets | Search assets. |
Get article
Get article.
Inputs
- Source key
source_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.
- Guid
guidtextRequired - 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
- Page
pagenumber - The page number for the request to get {page_size} coins at the time.From 1 to 1000. Default:
1. - Page size
page_sizenumber - The number of items returned per page.From 10 to 100. Default:
100. - Sort by
sort_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 direction
sort_directiontext - Sort direction.One of:
DESC,ASC. Default:DESC. - Groups
groupslist - 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 mapping
apply_mappingtrue/false - Apply mapping.Default:
true. - Asset
assettextRequired - Asset.
- Asset role
asset_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
- Instrument
instrumenttextRequired - A forex instrument (asset - USD) to retrieve. For example, GBP-USD.
- Groups
groupslist - Groups.One or more of:
ID,OHLC,OHLC_MESSAGE(Ohlc message),MESSAGE,VOLUME. - Limit
limitnumber - The number of data points to returnFrom 1 to 2000. Default:
30. - To ts
to_tsdate and time - To ts.
- Aggregate
aggregatenumber - Aggregate.From 1 to 30. Default:
1. - Fill
filltrue/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
- Instruments
instrumentslistRequired - A comma separated array of forex instruments (asset - USD) to retrieve.
- Groups
groupslist - 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
- Market
markettextRequired - 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. - Instrument
instrumenttextRequired - An instrument to retrieve from a specific market. For example, BTC-USD on cadli.
- Groups
groupslist - Groups.One or more of:
ID,OHLC,OHLC_MESSAGE(Ohlc message),MESSAGE,VOLUME. - Limit
limitnumber - The number of data points to returnFrom 1 to 5000. Default:
30. - To ts
to_tsdate and time - To ts.
- Aggregate
aggregatenumber - Aggregate.From 1 to 30. Default:
1. - Fill
filltrue/false - Boolean value, if set to false or 0 we will not return data points for periods with no trading activity.Default:
true. - Apply mapping
apply_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
- Market
markettextRequired - 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. - Instrument
instrumenttextRequired - An instrument to retrieve from a specific market. For example, BTC-USD on cadli.
- Groups
groupslist - Groups.One or more of:
ID,OHLC,OHLC_MESSAGE(Ohlc message),MESSAGE,VOLUME. - Limit
limitnumber - The number of data points to returnFrom 1 to 2000. Default:
30. - To ts
to_tsdate and time - To ts.
- Aggregate
aggregatenumber - Aggregate.From 1 to 30. Default:
1. - Fill
filltrue/false - Boolean value, if set to false or 0 we will not return data points for periods with no trading activity.Default:
true. - Apply mapping
apply_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
- Market
markettextRequired - 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. - Instrument
instrumenttextRequired - An instrument to retrieve from a specific market. For example, BTC-USD on cadli.
- Groups
groupslist - Groups.One or more of:
ID,OHLC,OHLC_MESSAGE(Ohlc message),MESSAGE,VOLUME. - Limit
limitnumber - The number of data points to returnFrom 1 to 2000. Default:
30. - To ts
to_tsdate and time - To ts.
- Aggregate
aggregatenumber - Aggregate.From 1 to 30. Default:
1. - Fill
filltrue/false - Boolean value, if set to false or 0 we will not return data points for periods with no trading activity.Default:
true. - Apply mapping
apply_mappingtrue/false - Apply mapping.Default:
true.
Outputs
dataobject- The response from CoinDesk.
Example output
{
"data": {
"Data": [],
"Err": {}
}
}Get index ticks
Get index ticks.
Inputs
- Market
markettextRequired - 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. - Instruments
instrumentslistRequired - A comma separated array of instruments to retrieve for a specific market.
- Groups
groupslist - 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 mapping
apply_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
- Market
markettextRequired - The exchange to obtain data fromOne of:
probit,bitbank,bitforex,zebitex,bitbns,cryptodotcom,bingx,coincheck,coinspro,paramountdax, and 172 more. - Instrument
instrumenttextRequired - Instrument.
- Groups
groupslist - Groups.One or more of:
ID,MAPPING,MAPPING_ADVANCED(Mapping advanced),OHLC,OHLC_TRADE(Ohlc trade),TRADE,VOLUME. - Limit
limitnumber - The number of data points to returnFrom 1 to 5000. Default:
30. - To ts
to_tsdate and time - To ts.
- Aggregate
aggregatenumber - Aggregate.From 1 to 30. Default:
1. - Fill
filltrue/false - Boolean value, if set to false or 0 we will not return data points for periods with no trading activity.Default:
true. - Apply mapping
apply_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
- Market
markettextRequired - The exchange to obtain data fromOne of:
probit,bitbank,bitforex,zebitex,bitbns,cryptodotcom,bingx,coincheck,coinspro,paramountdax, and 172 more. - Instrument
instrumenttextRequired - Instrument.
- Groups
groupslist - Groups.One or more of:
ID,MAPPING,MAPPING_ADVANCED(Mapping advanced),OHLC,OHLC_TRADE(Ohlc trade),TRADE,VOLUME. - Limit
limitnumber - The number of data points to returnFrom 1 to 2000. Default:
30. - To ts
to_tsdate and time - To ts.
- Aggregate
aggregatenumber - Aggregate.From 1 to 30. Default:
1. - Fill
filltrue/false - Boolean value, if set to false or 0 we will not return data points for periods with no trading activity.Default:
true. - Apply mapping
apply_mappingtrue/false - Apply mapping.Default:
true.
Outputs
dataobject- The response from CoinDesk.
Example output
{
"data": {
"Data": [],
"Err": {}
}
}Get spot ticks
Get spot ticks.
Inputs
- Market
markettextRequired - The exchange to obtain data fromOne of:
probit,bitbank,bitforex,zebitex,bitbns,cryptodotcom,bingx,coincheck,coinspro,paramountdax, and 172 more. - Instruments
instrumentslistRequired - Instruments.
- Groups
groupslist - 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 mapping
apply_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
- Lang
langtext - 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 IDs
source_idslist - Source ids.
- Categories
categorieslist - Categories.
- Exclude categories
exclude_categorieslist - Exclude categories.
- Limit
limitnumber - Number of total news articles to returnFrom 1 to 100. Default:
50. - To ts
to_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
- Market
markettext - 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. - Instruments
instrumentslist - A comma separated array of instruments to retrieve on a specific market or all available markets.
- Instrument status
instrument_statuslist - Instrument status.One or more of:
ACTIVE,IGNORED,RETIRED,EXPIRED,READY_FOR_DECOMMISSIONING(Ready for decommissioning),RETIRED_UNMAPPED(Retired unmapped). Default:["ACTIVE"]. - Groups
groupslist - 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
- Markets
marketslist - 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. - Groups
groupslist - 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
- Lang
langtext - 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 type
source_typetext - Source type.One of:
RSS,API,TWITTER. Default:RSS. - Status
statuslist - Status.One or more of:
ACTIVE,INACTIVE. Default:["ACTIVE"]. - Search string
search_stringtext - Search string.
Outputs
dataobject- The response from CoinDesk.
Example output
{
"data": {
"Data": [],
"Err": {}
}
}List spot instruments
List spot instruments.
Inputs
- Market
markettext - The exchange to obtain data fromOne of:
probit,bitbank,bitforex,zebitex,bitbns,cryptodotcom,bingx,coincheck,coinspro,paramountdax, and 172 more. - Instruments
instrumentslist - The mapped instruments to retrieve on a specific market or all available markets.
- Instrument status
instrument_statuslist - Instrument status.One or more of:
ACTIVE,IGNORED,RETIRED,EXPIRED,READY_FOR_DECOMMISSIONING(Ready for decommissioning),RETIRED_UNMAPPED(Retired unmapped). Default:["ACTIVE"]. - Groups
groupslist - 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
- Markets
marketslist - The exchanges to obtain data fromOne or more of:
probit,bitbank,bitforex,zebitex,bitbns,cryptodotcom,bingx,coincheck,coinspro,paramountdax, and 172 more. - Groups
groupslist - 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
- Page
pagenumber - The page number for the request to get {page_size} coins at the time.From 1 to 1000. Default:
1. - Page size
page_sizenumber - The number of items returned per page.From 10 to 100. Default:
100. - Sort by
sort_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 direction
sort_directiontext - Sort direction.One of:
DESC,ASC. Default:DESC. - Groups
groupslist - 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 asset
toplist_quote_assettext - Toplist quote asset.Default:
USD. - Asset type
asset_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 industry
asset_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 string
search_stringtext - Search string.
- Limit
limitnumber - 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": {}
}
}