💻
SoSoValue API Doc
  • Getting started
    • 🏠 Introduction
  • 🔑 Setting Up Your API Key
  • 🔓 Authentication
  • ❌ Common Errors & Rate Limit
  • API Document
    • Get all listed currencies
    • Get the featured news feed
    • Get the featured news feed by currency
    • Get ETF historical inflow chart
    • Get current ETF data metrics
  • History Document
    • (V2) SoSo Value Spot ETF API Doc
    • (V1) SoSo Value Bitcoin Spot ETF API Doc
Powered by GitBook
On this page
  • Overview
  • ​Request Specification
  • Request Parameters
  • Sample Request
  • Sample Response
  • Response Fields
  1. API Document

Get all listed currencies

Overview

🌟 Tips:

This API returns all supported cryptocurrencies listed on the SoSoValue platform, along with their default trading pairs. This is a prerequisite API before using WebSocket feeds.

​Request Specification

POST /openapi/v1/data/default/coin/list

Request Parameters

None (send empty {} in body)

Sample Request

POST "https://openapi.sosovalue.com/openapi/v1/data/default/coin/list" \
  -H "Content-Type: application/json" \
  -H "x-soso-api-key: YOUR_x-soso-api-key" \
  -d '{}'

Sample Response

{
  "code": 0, // 0:success,1 fail
  "msg": null,
  "traceId": "",
  "data": [
    {
      "id": "1673723677362319866",
      "fullName": "Bitcoin",
      "name": "btc"
    },
    {
      "id": "1673723677362319867",
      "fullName": "Ethereum",
      "name": "eth"
    }
   ]
}

Response Fields

Field
Type
Description

code

int

0 for success, 1 for failure

msg

string

Error message, if any

traceId

string

Unique request ID

data

array

List of supported currency objects

Currency Item Fields (data)

Field
Type
Description

currencyId

integer

Unique identifier for the currency,The id data returned is a long integer, please use the correct numeric type to receive the data.

fullName

string

Full name of the currency (e.g., Bitcoin, Ethereum) ✅

currencyName

string

Ticker symbol of the currency (e.g., USDT, BTC)

Previous❌ Common Errors & Rate LimitNextGet the featured news feed

Last updated 1 month ago