All trading, account, and transfer endpoints require authentication. Market data endpoints are public and need no credentials.
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.Authentication Methods
All authenticated endpoints support two authentication methods.- JWT Token
- API Key (HMAC)
Obtained via the Supported by all authenticated endpoints.
/auth/verify endpoint. Include the token in the Authorization header: