curl --request GET \
--url https://openapiv1.coinstats.app/news/{id} \
--header 'X-API-KEY: <api-key>'
{
"id": "<string>",
"searchKeyWords": [
"<string>"
],
"feedDate": 123,
"source": "<string>",
"title": "<string>",
"isFeatured": true,
"description": "<string>",
"imgURL": "<string>",
"link": "<string>",
"sourceLink": "<string>",
"imgUrl": "<string>",
"reactionsCount": {},
"reactions": [
"<string>"
],
"shareURL": "<string>",
"relatedCoins": [
"<string>"
],
"content": true,
"bigImg": true,
"coins": {}
}
curl --request GET \
--url https://openapiv1.coinstats.app/news/{id} \
--header 'X-API-KEY: <api-key>'
{
"id": "<string>",
"searchKeyWords": [
"<string>"
],
"feedDate": 123,
"source": "<string>",
"title": "<string>",
"isFeatured": true,
"description": "<string>",
"imgURL": "<string>",
"link": "<string>",
"sourceLink": "<string>",
"imgUrl": "<string>",
"reactionsCount": {},
"reactions": [
"<string>"
],
"shareURL": "<string>",
"relatedCoins": [
"<string>"
],
"content": true,
"bigImg": true,
"coins": {}
}
API key needed to access the endpoints. Example: 'demo-api-key'
Get news by id
The response is of type object
.
Was this page helpful?