# httpbin

Category: [Testing and mock data](https://free-web-services.com/web-services/web-development/testing/)  
Page: https://free-web-services.com/web-services/web-development/testing/httpbin.html  
Documentation: https://httpbin.org/

httpbin is a simple HTTP request and response service for testing HTTP clients. It echoes back your request (headers, query string, body, form data, cookies), returns any status code you ask for, and can simulate redirects, delays, compression, authentication and streaming. Responses are JSON. Free and open source, no key needed; you can also run it yourself in Docker.

- API key: Not needed
- Pricing: Free and open source, no key needed; you can also run it yourself in Docker.
- From the browser: Yes (CORS)
- Formats: JSON
- Interface: REST, HTTP-GET
- Provider: httpbin.org
- Last checked: Working on November 15th, 2026

Example request:

```sh
curl 'https://httpbin.org/get'
```

The JavaScript works in a web page as well as in Node.js 18 or newer.

