Default Rate Limits (No API Key)
The following limits apply when no API key is provided:| Endpoint | Limit |
|---|---|
/quote | 50 requests per minute |
/requests | 200 requests per minute |
/transactions/status | 200 requests per minute |
| Other endpoints | 200 requests per minute |
API Key Rate Limits
When using an API key, limits increase and are applied per key:| Endpoint | Limit |
|---|---|
/quote | 10 requests per second |
/requests | 10 requests per second |
/transactions/status | 10 requests per second |
| Other endpoints | 200 requests per minute |
How to Request an API Key
Requirements:- Must have Relay integrated in a public app.
- Must have enough activity to hit default API rate limits.
- Fill out the API key request form.
- The Relay team will review within 72 hours.
- If approved, we will email your unique API key.
How to Use an API Key
HTTP Requests
Pass the API key in the request headers:SDK Usage
Proxy API
If using the sdk on the client, create a proxy api which appends the key in the headers and then pass that endpoint into thebaseApiUrl parameter. This prevents your key from being leaked while allowing you to set up the necessary protection in your proxy api.