Base URL
Required Headers
Example Request
- Sonoran.lua
- SonoranCADFiveM
- Sonoran.js
- Sonoran.py
- Sonoran.Net
- cURL
- JavaScript
- PowerShell
Response Formats
Successful Requests
Successful responses returnapplication/json.
Failed Requests
Failed requests returnapplication/problem+json.
Example:
Common Authentication Errors
Rate Limits
All v2 endpoints are rate limited per API key. Limits vary by endpoint, so check the individual endpoint page for the current enforced limit. When a request is rate limited, the API returns429 Too Many Requests.
Example:
Retry-After header, your client should wait that long before retrying.
Our official libraries already help with this:
Sonoran.jsautomatically retries v2 CAD requests on429responses up to 2 times.Sonoran.luaautomatically retries v2 CAD requests on429responses up to 2 times.Sonoran.Netautomatically retries v2 CAD requests on429responses up to 2 times and respectsRetry-Afterwhen it is provided.Sonoran.pyautomatically retries v2 CAD requests on429responses up to 2 times and respectsRetry-Afterwhen it is provided.

