Skip to main content
This guide walks you through authenticating with the Yellow.pro API so you can start calling endpoints.
All trading, account, and transfer endpoints require authentication. Market data endpoints are public and need no credentials.
For API base URLs, see Base URLs.

Authentication Flow

Yellow.pro uses Ethereum wallet-based authentication with a challenge-response mechanism:
1

Request a challenge

POST to /auth/challenge with your wallet address.
2

Sign the challenge

Sign the returned challenge text with your Ethereum wallet.
3

Verify the signature

POST to /auth/verify with your wallet address, the challenge, and the signature.
4

Receive tokens

Get a JWT access token and a refresh token for API access.
5

Use the access token

Include the JWT in the Authorization header on authenticated endpoints.
See the Authentication Service API for full request and response details on each endpoint.

Authentication Methods

All authenticated endpoints support two authentication methods.
Obtained via the /auth/verify endpoint. Include the token in the Authorization header:
Supported by all authenticated endpoints.

Security Notes

  • Access tokens expire in 15 minutes
  • Refresh tokens expire in 7 days
  • Sessions can be invalidated via logout
  • Rate limiting is enforced on authentication endpoints

Next Steps

Create an API key