
About httpbin
httpbin is an HTTP testing service that returns the requests you send, in the format you ask for. The source code is open under the ISC license and is on GitHub.
What it does
The service echoes requests back to you, so you can see headers, bodies and query data exactly as they arrived. It also returns the status code you choose, redirect responses, caching headers, images and data in several formats. Its endpoints generate random data and show how a client handles different authentication methods and failures. You can call it from a browser, a terminal or a test suite.
Key features
- Return any HTTP status code you ask for
- Echo back request headers, data and query values
- Test redirects and authentication methods
- Generate random and dynamic data
- Return images and responses in several formats
Who it's for
API developers checking how their HTTP clients behave, QA engineers writing automated tests and teams that need a quick target while building a feature.
Pricing and good to know
The public service has usage limits. Each client IP can make about 17 requests per second, and about 2 per second to endpoints that send the request body back. Bodies can be up to 1 MiB. Over a limit you receive a 429 response with a Retry-After header, and clients that keep exceeding limits may be blocked for a while. For heavy testing, you can run your own copy of the code.
Highlights
- Return any HTTP status code you ask for
- Echo back request headers, data and query values
- Test redirects and authentication methods
- Generate random and dynamic data
- Return images and responses in several formats












