API Integration
Authentication
Most API endpoints require you to authenticate your requests using a Json Web Token (JWT). You can obtain a JWT by making a POST
request to https://api.rhino.fi/authentication/auth/apiKey and including your API key in the payload.
Using the JWT
Once you have a JWT, you need to include it in your API requests using the Authorization
header. Example:
A JWT obtained from an API key is only valid for one hour. Once expired, you can just use your API key again in the same way to obtain a fresh JWT.
We recommend using the SDK if you use JavaScript/TypeScript for your application as it will take care of handling the JWT flow for you.