💻
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
  1. API Document

Get ETF historical inflow chart

Overview

🌟 Tips:

This API provides historical inflow chart (US BTC or ETH Spot ETFs) for BTC or ETH spot Exchange-Traded Funds (ETFs), enabling users to access detailed information and metrics that are essential for market analysis and investment decisions.

Obtain historical day-by-day data for all spot US BTC or ETH ETFs over the past 300 days.

​Request Specification

POST /openapi/v2/etf/historicalInflowChart

Request Parameters

type is required (String), samples: "us-btc-spot" or "us-eth-spot"

Sample Request

POST 'https://api.sosovalue.xyz/openapi/v2/etf/historicalInflowChart' \
-H 'x-soso-api-key: YOUR_x-soso-api-key' \
-H 'Content-Type: application/json' \
-d '{"type": "us-btc-spot"}'

Sample Response

{
  "code": 0, // 0 for success, 1 for fail
  "msg": null,
  "data": {
    "list": [
      {
        "date": "2024-04-12",
        "totalNetInflow": -55066297.0000000000000000,
        "totalValueTraded": 4706120449.0000000000000000,
        "totalNetAssets": 56216535367.0000000000000000,
        "cumNetInflow": 13534833596.0950000000000000
      },
      {
        "date": "2024-04-11",
        "totalNetInflow": 91269283.0000000000000000,
        "totalValueTraded": 2498627928.0000000000000000,
        "totalNetAssets": 59225065270.0000000000000000,
        "cumNetInflow": 12581438056.0950000000000000
      },
      ...
    ]
  }
}
  • code field, only 0 for success, 1 means fail.

  • Be mindful of the 300-days data provision limit when requesting historical data.

Field
Type
Description

date

string

Date of the daily data. Format: YYYY-MM-DD

totalNetInflow

float

Net inflow into all BTC or ETH ETFs in the day, in USD.

totalValueTraded

float

Total value traded across all BTC or ETH spot ETFs in the day, in USD.

totalNetAssets

float

Combined Value of all BTC or ETH ETFs until the day, in USD.

cumNetInflow

float

Cumulative net inflows since launch of all spot BTC or ETH ETFs until the day, in USD.

PreviousGet the featured news feed by currencyNextGet current ETF data metrics

Last updated 2 months ago