Httpbin
A Simple HTTP Request & Response Service
- Authentication
- No auth
- HTTPS
- Yes
- CORS
- Yes
- Category
- Development
- Data source
- public-apis + marcelscruz
- 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 | ↗ |
| Abacus Free and simple counting service. You can use it to track page hits and specific events | No auth | Yes | Unknown | ↗ |
| Agent Gateway 34+ AI agent infrastructure services including memory, wallets, and scheduling | API Key | Yes | Unknown | ↗ |
| AgentDeals Search and compare developer free tiers, startup credits, and pricing changes | No auth | Yes | Unknown | ↗ |
| Agify.io Estimates the age from a first name | No auth | Yes | Yes | ↗ |