Developer & Reference
HTTP Status Codes API
Explain any HTTP status code with its phrase, meaning, and source RFC.
Request Headers
| Name | Required | Description |
|---|---|---|
X-RapidAPI-Key | required | Your RapidAPI key. Get one free. |
X-RapidAPI-Host | required | http-status.p.rapidapi.com |
Endpoints
GET
/v1/httpstatus Look up an HTTP status code's reason phrase, description, and category
Parameters
| Name | Type | Required | Default | Constraints |
|---|---|---|---|---|
code | integer | required | — | 100-599 |
Code Examples
curl --request GET \
--url 'https://http-status.p.rapidapi.com/v1/httpstatus?code=0' \
--header 'x-rapidapi-key: YOUR_API_KEY' \
--header 'x-rapidapi-host: http-status.p.rapidapi.com' const url = "https://http-status.p.rapidapi.com/v1/httpstatus?code=0";
const options = {
method: "GET",
headers: {
"x-rapidapi-key": "YOUR_API_KEY",
"x-rapidapi-host": "http-status.p.rapidapi.com"
}
};
const response = await fetch(url, options);
const data = await response.json();
console.log(data); import requests
url = "https://http-status.p.rapidapi.com/v1/httpstatus"
querystring = {"code": 0}
headers = {
"x-rapidapi-key": "YOUR_API_KEY",
"x-rapidapi-host": "http-status.p.rapidapi.com"
}
response = requests.get(url, headers=headers, params=querystring)
print(response.json()) Interactive Example
$ GET /v1/httpstatus?code=404
{"code":404,"phrase":"Not Found","description":"The server cannot find the requested resource.","category":"Client Error","rfc":"RFC 9110"} Subscribe & License
Access this API with commercial-ready tiers on RapidAPI. Flexible plans designed for side-projects, startups, and high-volume production architectures.
Developer Support
Need help integrating or have a custom endpoint request? Our engineering team is here to assist with authentication, payload schemas, and high-frequency rate limit increases.
System Performance
Monitored 24/7 with a 99.9% uptime SLA. Built atop cloud-native microservices with globally distributed edge caching to ensure ultra-low latency response times.
All Systems Operational