Authentication

Information on how to authenticate to the Step API endpoints

You can pass an API key in the query string as shown below:

curl https://api.step.finance/v1/endpoint?apiKey=<your-api-key>

Alternatively, you can provide the JWT in the Authorization header of the request:

curl -H "Authorization: Bearer <your_access_token>" https://api.step.finance/v1/endpoint

To obtain a JWT, send a POST request to the /auth/login endpoint. The request body should contain either an API Key or a Solana wallet with an on-chain subscription. See AuthApiKeyDto and AuthSignDto below.

Examples:

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
authone ofRequired
or
or
Responses
post
/auth/login
201Success

No content

Last updated