CryptoCompare · Schema
CryptoCompare News Article
News article record emitted by min-api /v2/news/ and data-api /news/v1/article/list. Aggregated across hundreds of crypto-native sources.
CryptocurrencyMarket DataReference RatesNewsSocialBlockchainOn-ChainOrder BookStreamingIndex
Properties
| Name | Type | Description |
|---|---|---|
| TYPE | string | |
| ID | integer | |
| GUID | string | Canonical URL or feed-supplied unique identifier. |
| PUBLISHED_ON | integer | Unix timestamp when the source published the article. |
| PUBLISHED_ON_NS | integernull | |
| IMAGE_URL | string | |
| TITLE | string | |
| SUBTITLE | stringnull | |
| AUTHORS | string | |
| URL | string | |
| SOURCE_ID | integer | |
| BODY | string | Full-text body of the article. |
| KEYWORDS | string | Pipe-delimited keyword list. |
| LANG | string | ISO 639-1 language code. |
| UPVOTES | integer | |
| DOWNVOTES | integer | |
| SCORE | integer | |
| SENTIMENT | string | |
| STATUS | string | |
| CREATED_ON | integer | |
| UPDATED_ON | integernull | |
| SOURCE_DATA | object | Source feed metadata. |
| CATEGORY_DATA | array |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://www.cryptocompare.com/schemas/cryptocompare/newsarticle.json",
"title": "CryptoCompare News Article",
"description": "News article record emitted by min-api /v2/news/ and data-api /news/v1/article/list. Aggregated across hundreds of crypto-native sources.",
"type": "object",
"required": ["ID", "TITLE", "URL", "PUBLISHED_ON", "LANG"],
"properties": {
"TYPE": {"type": "string"},
"ID": {"type": "integer"},
"GUID": {"type": "string", "description": "Canonical URL or feed-supplied unique identifier."},
"PUBLISHED_ON": {"type": "integer", "description": "Unix timestamp when the source published the article."},
"PUBLISHED_ON_NS": {"type": ["integer", "null"]},
"IMAGE_URL": {"type": "string", "format": "uri"},
"TITLE": {"type": "string"},
"SUBTITLE": {"type": ["string", "null"]},
"AUTHORS": {"type": "string"},
"URL": {"type": "string", "format": "uri"},
"SOURCE_ID": {"type": "integer"},
"BODY": {"type": "string", "description": "Full-text body of the article."},
"KEYWORDS": {"type": "string", "description": "Pipe-delimited keyword list."},
"LANG": {"type": "string", "description": "ISO 639-1 language code."},
"UPVOTES": {"type": "integer"},
"DOWNVOTES": {"type": "integer"},
"SCORE": {"type": "integer"},
"SENTIMENT": {"type": "string", "enum": ["POSITIVE", "NEUTRAL", "NEGATIVE"]},
"STATUS": {"type": "string", "enum": ["ACTIVE", "INACTIVE", "DELETED"]},
"CREATED_ON": {"type": "integer"},
"UPDATED_ON": {"type": ["integer", "null"]},
"SOURCE_DATA": {"type": "object", "description": "Source feed metadata."},
"CATEGORY_DATA": {
"type": "array",
"items": {
"type": "object",
"properties": {
"TYPE": {"type": "string"},
"ID": {"type": "integer"},
"NAME": {"type": "string"},
"CATEGORY": {"type": "string"}
}
}
}
}
}