Discovery and markets API
What is the latest crypto news, market-wide or about one coin?
The newest crypto headlines from many outlets, with publisher, time and link, 20 a page, in 34 languages; optionally only about one coin.
/api/external/discovery/newsWhat it returns
Crypto news from many outlets, newest first, 20 items a page. Market-wide by default; coin narrows it to one coin, by the coin id market-movers lists. Twenty pages reach back about ten hours market-wide, and much further for a single coin. Items are headlines with a link to the article, not the article text. A coin with no coverage answers an empty list, and so can a page past the end. A coin id that names no coin returns 404.
Chains
This endpoint is not tied to a chain: it takes no chain in its request.
Request
Send your key in the x-dex-data-key header. Replace each <placeholder> with a real value.
curl -H "x-dex-data-key: $DEXDATA_API_KEY" \ "https://api.dexdata.io/api/external/discovery/news"
| Parameter | Description |
|---|---|
coinquery · string · optional | Only news about this coin, by its coin id (e.g. bitcoin). Case-insensitive. Omit for market-wide news. |
languagequery · string · optional | Language of the news. Defaults to en.enzhzh-twdefresjaidrukoarthviitptpltrhunlrosvcsdaelhinoskukhefibghrltsl |
pagequery · integer · optional | Page of 20 items, 1 the newest. At most 20. |
Response fields
A JSON response. Every field is always present; null means the value could not be established, never zero.
| Field | Type | Description |
|---|---|---|
coin | string | null | The coin id answered, lowercased. Null for market-wide news. |
language | string | The language answered. |
page | integer | The page answered. |
items | object[] | Newest first. |
items[].title | string | Headline. |
items[].url | string | The article on its publisher's site. |
items[].publisher | string | null | The outlet that published it. |
items[].author | string | null | Byline. Null when not stated; often the outlet itself. |
items[].publishedAt | integer | When it was published, in unix seconds. |
items[].imageUrl | string | null | The article's cover image. |
Start building with DexData today
Sign in, create a key and make your first call in a minute. Free credits every month, and you only pay for calls that succeed.
Get a free API key