API


Superstate offers APIs for all information about our tokens/funds including Net Asset Value per Share, AUM, total outstanding shares, pricing, and yield.

The full API Spec can be found here: https://api.superstate.com/swagger-ui/. The funds IDs are:

  • USTB = 1

  • USCC = 2

Examples

Authenticated endpoints

There are two types of authenticated endpoints:

  1. JWT authenticated endpoints

  2. API key authenticated endpoints

Using JWT authenticated endpoints

Endpoints authenticated by a JWT can be used by first logging into your Superstate account on the Superstate website. Once you've logged in, you can call that endpoint in Swagger.

Using API key authenticated endpoints

We also provide certain endpoints that require an API key to access. To receive an API key for your entity or organization, please contact us.

Once you have your API keypair, you can use our API key request npmjs package to send a request using Typescript/Javascript:

If you prefer to build the request yourself, or are using a different language, the source code and instructions are located here:

https://github.com/superstateinc/request-with-api-key

Last updated