Inject order
Send an order from any aggregator or source into Fire for processing.
Environments
| Environment | Base URL |
|---|---|
| Staging | https://stg.api.fire.rest |
| Production | https://api.fire.rest |
Authentication
Every request requires a Bearer token obtained from the Login endpoint, plus three identification headers:Request and response format
- All request bodies must be JSON with
Content-Type: application/json - All responses are JSON
- Dates and timestamps use ISO 8601 format (
2024-11-15T14:30:00Z)
Errors
Fire uses standard HTTP status codes. All error responses include a JSON body with a machine-readablecode and a human-readable message.
| Status | Meaning |
|---|---|
200 | Success |
400 | Bad request — invalid or missing fields in the payload |
401 | Unauthorized — missing or invalid API key |
404 | Resource not found |
409 | Conflict — duplicate external_order_id |
429 | Rate limit exceeded — back off and retry |
5xx | Fire-side error — retry with exponential backoff |
Rate limits
Requests are rate-limited per API key. If you exceed the limit, Fire returns429 Too Many Requests. Implement exponential backoff starting at 1 second.
