Httpbin
A Simple HTTP Request & Response Service
- Authentication
- No auth
- HTTPS
- Yes
- CORS
- Yes
- Category
- Development
- Documentation / URL
- https://httpbin.org/
Overview
httpbin is a HTTP request & response test service — echo your requests back, test auth headers, redirects, delays, status codes, and more. Keyless, CORS-enabled (verified live), and the de-facto tool for testing HTTP clients, proxies, and webhooks.
Quick Start
Echo the request (verified live):
curl "https://httpbin.org/get"
{
"args": {},
"headers": { "Accept": "*/*", "User-Agent": "curl/8.14.1" },
"origin": "210.61.187.110",
"url": "https://httpbin.org/get"
}
Inspect a POST:
curl -X POST "https://httpbin.org/post" -d 'hello=world'
Test a status code:
curl -o /dev/null -w '%{http_code}' "https://httpbin.org/status/418" # I'm a teapot
Test redirects:
curl -sI "https://httpbin.org/redirect/3"
Delay / slow responses:
curl "https://httpbin.org/delay/2"
Authentication
None — keyless (/basic-auth/{user}/{pass} and /bearer help you test auth clients).
Rate Limits & Notes
- Free, no hard documented limit — be polite (it’s a public test service).
- Useful endpoints:
/get,/post,/status/{code},/redirect/{n},/delay/{s},/headers,/ip,/user-agent,/response-headers,/bytes/{n}. - CORS is enabled — great for browser-side fetch tests.
- Also runs on Docker (
kennethreitz/httpbin) if you need a local instance.
FAQ
Is httpbin free? Yes — free and keyless.
How do I test webhooks?
Point your webhook at httpbin and use /anything or /post to capture the payload.
Can I run it locally?
Yes — docker run -p 8000:8000 kennethreitz/httpbin.
More in Development
| API | Auth | HTTPS | CORS | |
|---|---|---|---|---|
| 24 Pull Requests Project to promote open source collaboration during December | No auth | Yes | Yes | ↗ |
| Agify.io Estimates the age from a first name | No auth | Yes | Yes | ↗ |
| Amazonscraperapi Amazon product, search & batch scraping API with residential proxies (1000 free) | API Key | Yes | No | ↗ |
| AmberOne Turn any website into a build-ready Android, iOS, PWA or Electron app project | API Key | Yes | No | ↗ |
| API Grátis Multiples services and public APIs | No auth | Yes | Unknown | ↗ |