RESTful API

The StablecoinStats API is available without authentication and free of charge. Please be gentle with your request frequency while the platform is built. This API is offered early in development and the endpoints and their responses may change. If you have any issues, feedback, or requests please contact us.


URL

Public Endpoints

Available Symbols:
USDT, TUSD, USDC, PAX, DAI, GUSD, USDS
GET Live Summary (24h)

Request:
https://stablecoinstats.com/api/summary
https://stablecoinstats.com/api/summary/<symbol> (optional, specific coin)

Response:

                      {
                        "SYMBOL 1": {
                          "circulation":                      # circulating supply,
                          "circulation_change_24h":           # circulation change (24h),
                          "circulation_percent_change_24h":   # circulation percentage change (24h),
                          "name":                             # full name of stablecoin,
                          "price":                            # stablecoin market price (USD),
                          "price_percent_change_24h":         # price percent change (24h),
                          "symbol":                           # stablecoin symbol
                          "volume":                           # tracked exchange volume (24h),
                          "volume_change_24h":                # volume change (24h),
                          "volume_percent_change_24h":        # volume percent change (24h)
                        },
                        "SYMBOL 2": {
                          "circulation": ,
                          "circulation_change_24h": ,
                          "circulation_percent_change_24h": ,
                          "name": ,
                          "price": ,
                          "price_percent_change_24h": ,
                          "symbol": ,
                          "volume": ,
                          "volume_change_24h": ,
                          "volume_percent_change_24h":
                        }
                      }, ...
                  

GET Tickers (24h)

Request:
https://stablecoinstats.com/api/tickers
https://stablecoinstats.com/api/tickers/<symbol> (optional, specific coin)

Response:

                    {
                      "DAI": {                               # stablecoin symbol
                        "bitfinex": {                        # exchange name
                          "DAI_BTC": {                       # ticker pair (base_quote)
                            "price": 0.00015391,             # ticker price
                            "price_usd": 0.9835445243064114, # stablecoin price (USD)
                            "quotevolume": 0.6666788431026,  # quote volume
                            "volume": 4331.61486             # base volume
                          },
                          "DAI_ETH": {
                            "price": ,
                            "price_usd": ,
                            "quotevolume": ,
                            "volume":
                          },
                          "DAI_USDT": {
                            "price": ,
                            "quotevolume": ,
                            "volume":
                          }
                        },
                        "gate": {
                          "DAI_USDT": {
                            "price": ,
                            "quotevolume": ,
                            "volume":
                          }
                        }
                      },
                      "GUSD": {
                        "okex": {
                          "GUSD_BTC": {
                            "price": ,
                            "price_usd": ,
                            "quotevolume": ,
                            "volume":
                          },
                          "GUSD_USDT": {
                            "price": ,
                            "quotevolume": ,
                            "volume":
                          }
                        }
                      }, ...
                  

GET Historical Summary

Request:
https://stablecoinstats.com/api/historical/<date>
https://stablecoinstats.com/api/historical/YYYY-MM-DD
https://stablecoinstats.com/api/historical/YYYY-MM-DD/<symbol> (optional, specific coin)
Syntax: YYYY-MM-DD, Earliest date: 2018-10-11, Latest date: yesterday

Response:

                      {
                        "SYMBOL 1": {
                          "circulation":                      # circulating supply,
                          "circulation_change_24h":           # circulation change (24h),
                          "circulation_percent_change_24h":   # circulation percentage change (24h),
                          "name":                             # full name of stablecoin,
                          "price":                            # stablecoin market price (USD),
                          "price_percent_change_24h":         # price percent change (24h),
                          "symbol":                           # stablecoin symbol,
                          "volume":                           # tracked exchange volume (24h),
                          "volume_change_24h":                # volume change (24h),
                          "volume_percent_change_24h":        # volume percent change (24h)
                        },
                        "SYMBOL 2": {
                          "circulation": ,
                          "circulation_change_24h": ,
                          "circulation_percent_change_24h": ,
                          "name": ,
                          "price": ,
                          "price_percent_change_24h": ,
                          "symbol": ,
                          "volume": ,
                          "volume_change_24h": ,
                          "volume_percent_change_24h":
                        }
                      }, ...
                  

GET Date Range Summary

Request:
https://stablecoinstats.com/api/range/<start_date>/<end_date>
https://stablecoinstats.com/api/range/YYYY-MM-DD/YYYY-MM-DD
https://stablecoinstats.com/api/range/YYYY-MM-DD/YYYY-MM-DD/<symbol> (optional, specific coin)
Syntax: YYYY-MM-DD, Earliest date: 2018-10-11, Latest date: yesterday

Response:

                      {
                        "YYYY-MM-DD": {
                          "SYMBOL 1": {
                            "circulation":                      # circulating supply,
                            "circulation_change_24h":           # circulation change (24h),
                            "circulation_percent_change_24h":   # circulation percentage change (24h),
                            "name":                             # full name of stablecoin,
                            "price":                            # stablecoin market price (USD),
                            "price_percent_change_24h":         # price percent change (24h),
                            "symbol":                           # stablecoin symbol,
                            "volume":                           # tracked exchange volume (24h),
                            "volume_change_24h":                # volume change (24h),
                            "volume_percent_change_24h":        # volume percent change (24h)
                          },
                          "SYMBOL 2": {
                            "circulation": ,
                            "circulation_change_24h": ,
                            "circulation_percent_change_24h": ,
                            "name": ,
                            "price": ,
                            "price_percent_change_24h": ,
                            "symbol": ,
                            "volume": ,
                            "volume_change_24h": ,
                            "volume_percent_change_24h":
                          },...
                        },
                        {
                          "YYYY-MM-DD": {
                            "SYMBOL 1": {
                              "circulation": ,
                              "circulation_change_24h": ,
                              "circulation_percent_change_24h": ,
                              "name": ,
                              "price": ,
                              "price_percent_change_24h": ,
                              "symbol": ,
                              "volume": ,
                              "volume_change_24h": ,
                              "volume_percent_change_24h":
                            },
                            "SYMBOL 2": {
                              "circulation": ,
                              "circulation_change_24h": ,
                              "circulation_percent_change_24h": ,
                              "name": ,
                              "price": ,
                              "price_percent_change_24h": ,
                              "symbol": ,
                              "volume": ,
                              "volume_change_24h": ,
                              "volume_percent_change_24h":
                            },...
                        },...