HTTP Authentication
Every HTTP request must be authenticated using your API token passed in the Authorization header.
Get a token
Sign in with your Solana wallet, open Builder → Access, and create a token. You can issue and revoke tokens there at any time.
To try the API before signing up, use the shared demo token raptor-demo-token - it is rate-limited and intended only for testing.
Authorization Header
Send the token in an Authorization: Bearer header on all POST requests to https://rpc.raptor.trade.
curl -X POST https://rpc.raptor.trade \
-H "Authorization: Bearer $RAPTOR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"token","params":{"mint":"So11111111111111111111111111111111111111112"}}'Next steps
Now that you've authenticated, explore the HTTP SDK or view the available Methods Catalog.
