Errors

The Searoutesnav API uses conventional HTTP response codes to indicate success or failure of an API request. Below is a list of the most common status codes you may encounter.

Status CodeMeaning
200OK – The request was successful.
400Bad Request – Invalid parameters or malformed request.
401Unauthorized – Missing or invalid API key.
403Forbidden – Your account does not have access to this resource.
404Not Found – The requested resource could not be found.
429Too Many Requests – Rate limit exceeded.
500Internal Server Error – Something went wrong on our side.

Error Response Example

{ "status": 401, "error": "Unauthorized", "message": "Missing or invalid API key." }