Skip to main content

Errors & status codes

Standard HTTP semantics. Error responses are JSON with status, error, message, and path fields.

CodeMeaning
200Success.
400Bad request — missing required params, invalid date range, etc.
401Missing or invalid API key.
403Authenticated, but the partner isn't permitted (e.g. no channel mapped on /api/rates).
404Resource not found.
429Rate limited. Retry with exponential backoff.
5xxServer error. Safe to retry idempotent calls (GET).

Examples

Missing auth header

HTTP/1.1 401 Unauthorized

Bad request

{
"status": 400,
"error": "Bad Request",
"message": "Provide at least one of listingIds or propertyIds",
"path": "/api/rates"
}

Forbidden

{
"status": 403,
"error": "Forbidden",
"message": "API key is not authorized for rate access.",
"path": "/api/rates"
}