Get Available News Platforms#

Retrieve a list of all available news source platforms. Use the returned domain values as the platform parameter in other news endpoints to filter by source.

Request Path#

GET
https://web3.okx.com/api/v6/dex/market/social/news/platforms

Request Parameters#

No request parameters required.

Response Parameters#

FieldTypeDescription
platformsarrayList of available news platform domain names

Request Example#

shell
curl --location --request GET 'https://web3.okx.com/api/v6/dex/market/social/news/platforms' \
--header 'OK-ACCESS-KEY: 37c541a1-****-****-****-10fe7a038418' \
--header 'OK-ACCESS-SIGN: leaV********3uw=' \
--header 'OK-ACCESS-PASSPHRASE: 1****6' \
--header 'OK-ACCESS-TIMESTAMP: 2023-10-18T12:21:41.274Z'

Response Example#

json
{
    "code": "0",
    "msg": "",
    "data": {
        "platforms": [
            "coindesk.com",
            "cointelegraph.com",
            "theblock.co",
            "decrypt.co",
            "cryptoslate.com",
            "bitcoinmagazine.com",
            "beincrypto.com",
            "cryptobriefing.com",
            "newsbtc.com",
            "ambcrypto.com",
            "u.today",
            "cryptopotato.com"
        ]
    }
}