
HTTP Status Lookup API
Development
Free HTTP status code lookup tool. Search, understand, and debug API responses with comprehensive status code meanings.
Authentication
All API requests require a valid API key passed in the Authorization header as a Bearer token.
Rate Limit
120 requests per minute
Endpoints
2 endpoints available
Overview
Look up HTTP status codes (1xx to 5xx) with their title, description, category and the RFC that defines them.
Results are returned inside a data object.
Two ways to call it
- GET with
?code=404returns that one status asdata. An unknown code returns 404. - POST (or GET without
code) takes the optional filterscode,searchandcategory(as JSON on POST, as query parameters on GET) and returnsdata.results,data.totalanddata.categories. With no filters you get every code. A POST with an unknown code returns an empty list, not a 404.
Notes
- Filters combine:
searchandcategorytogether return codes that match both. searchis matched against the code number, title and description.
Endpoints
GET
https://opentools.ca/api/v1/tools/http-status-lookupLook up one status code with ?code=404, or filter with ?search= and ?category=. With no query parameters, returns every code.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| code | number | Optional | Exact status code, e.g. 404. |
| search | string | Optional | Case-insensitive text matched against the code, title and description (max 200 characters). |
| category | string Enum: Informational, Success, Redirection, Client Error, Server Error | Optional | Only return codes in this class. |
Response Example
{
"success": true,
"data": {
"code": 404,
"title": "Not Found",
"description": "The requested resource could not be found but may be available in the future.",
"reference": "RFC9110, Section 15.5.5",
"category": "Client Error"
}
}Error Codes
400
Invalid request. Validation problems are listed in details.401
Missing or invalid API key403
API key is deactivated or expired, or this IP address is not allowed for the key404
GET with code: no status code with that number429
Rate limit exceeded (120 requests per minute per key)500
Internal server errorPOST
https://opentools.ca/api/v1/tools/http-status-lookupSearch and filter status codes. Send an empty body to get every code.
Request Body
Content-Type: application/json
| Parameter | Type | Required | Description |
|---|---|---|---|
| code | number | Optional | Exact status code, e.g. 404. |
| search | string | Optional | Case-insensitive text matched against the code, title and description (max 200 characters). |
| category | string Enum: Informational, Success, Redirection, Client Error, Server Error | Optional | Only return codes in this class. |
Response Example
{
"success": true,
"data": {
"results": [
{
"code": 408,
"title": "Request Timeout",
"description": "The server timed out waiting for the request.",
"reference": "RFC9110, Section 15.5.9",
"category": "Client Error"
},
{
"code": 504,
"title": "Gateway Timeout",
"description": "The server was acting as a gateway or proxy and did not receive a timely response from the upstream server.",
"reference": "RFC9110, Section 15.6.5",
"category": "Server Error"
}
],
"total": 2,
"categories": {
"1xx": "Informational - Request received, continuing process",
"2xx": "Success - The action was successfully received, understood, and accepted",
"3xx": "Redirection - Further action must be taken in order to complete the request",
"4xx": "Client Error - The request contains bad syntax or cannot be fulfilled",
"5xx": "Server Error - The server failed to fulfill an apparently valid request"
}
}
}Error Codes
400
Invalid request. Validation problems are listed in details.401
Missing or invalid API key403
API key is deactivated or expired, or this IP address is not allowed for the key429
Rate limit exceeded (120 requests per minute per key)500
Internal server errorCode Examples
# One status code
curl "https://opentools.ca/api/v1/tools/http-status-lookup?code=404" -H "Authorization: Bearer YOUR_API_KEY"
# Search
curl -X POST https://opentools.ca/api/v1/tools/http-status-lookup -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/json" -d '{"search": "timeout"}'
# Every 4xx code
curl -X POST https://opentools.ca/api/v1/tools/http-status-lookup -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/json" -d '{"category": "Client Error"}'Rather use it in your browser? Open the HTTP Status Lookup