{"@context": "https://schema.org", "@type": "WebAPI", "name": "httpbin.org API", "description": "A simple HTTP Request & Response Service. Run locally: $ docker run -p 80:80 kennethreitz/httpbin", "provider": {"@type": "Organization", "name": "httpbin.org"}, "documentation": "http://httpbin.org/spec.json"}
Index / APIs / httpbin.org

httpbin.org API

A simple HTTP Request & Response Service. Run locally: $ docker run -p 80:80 kennethreitz/httpbin

Every row below was read from the vendor's own OpenAPI document. The summary text is theirs. What this registry adds is that each operation is indexed with its method, path, base URL and auth scheme, so a search for a capability can answer with a call rather than a name, and that the endpoint is probed on a schedule.

Specifications as held by the APIs.guru corpus, whose newest record is 2023-04-21. Operations the vendor has added since are not listed here; the origin links above are the vendor's own current documents.

base URLs: https://httpbin.org

find it by capability: POST /search {"query":{"text":"..."}} returns these operations with their invocation detail. Connect any agent client.

httpbin.org v0.9.2

A simple HTTP Request & Response Service. Run locally: $ docker run -p 80:80 kennethreitz/httpbin

methodpathwhat the vendor says it does
GET/absolute-redirect/{n}Absolutely 302 Redirects n times. Redirects
GET/anythingReturns anything passed in request data. Anything
POST/anythingReturns anything passed in request data. Anything
PUT/anythingReturns anything passed in request data. Anything
PATCH/anythingReturns anything passed in request data. Anything
DELETE/anythingReturns anything passed in request data. Anything
GET/anything/{anything}Returns anything passed in request data. Anything
POST/anything/{anything}Returns anything passed in request data. Anything
PUT/anything/{anything}Returns anything passed in request data. Anything
PATCH/anything/{anything}Returns anything passed in request data. Anything
DELETE/anything/{anything}Returns anything passed in request data. Anything
GET/base64/{value}Decodes base64url-encoded string. Dynamic data
GET/basic-auth/{user}/{passwd}Prompts the user for authorization using HTTP Basic Auth. Auth
GET/bearerPrompts the user for authorization using bearer authentication. Auth
GET/brotliReturns Brotli-encoded data. Response formats
GET/bytes/{n}Returns n random bytes generated with given seed Dynamic data
GET/cacheReturns a 304 if an If-Modified-Since header or If-None-Match is present. Returns the same as a GET otherwise.
GET/cache/{value}Sets a Cache-Control header for n seconds. Response inspection
GET/cookiesReturns cookie data. Cookies
GET/cookies/deleteDeletes cookie(s) as provided by the query string and redirects to cookie list. Cookies
GET/cookies/setSets cookie(s) as provided by the query string and redirects to cookie list. Cookies
GET/cookies/set/{name}/{value}Sets a cookie and redirects to cookie list. Cookies
GET/deflateReturns Deflate-encoded data. Response formats
GET/delay/{delay}Returns a delayed response (max of 10 seconds). Dynamic data
POST/delay/{delay}Returns a delayed response (max of 10 seconds). Dynamic data
PUT/delay/{delay}Returns a delayed response (max of 10 seconds). Dynamic data
PATCH/delay/{delay}Returns a delayed response (max of 10 seconds). Dynamic data
DELETE/delay/{delay}Returns a delayed response (max of 10 seconds). Dynamic data
DELETE/deleteThe request's DELETE parameters. HTTP Methods
GET/denyReturns page denied by robots.txt rules. Response formats
GET/digest-auth/{qop}/{user}/{passwd}Prompts the user for authorization using Digest Auth. Auth
GET/digest-auth/{qop}/{user}/{passwd}/{algorithm}Prompts the user for authorization using Digest Auth + Algorithm. Auth
GET/digest-auth/{qop}/{user}/{passwd}/{algorithm}/{stale_after}Prompts the user for authorization using Digest Auth + Algorithm. allow settings the stale_after argument. Aut
GET/dripDrips data over a duration after an optional initial delay. Dynamic data
GET/encoding/utf8Returns a UTF-8 encoded body. Response formats
GET/etag/{etag}Assumes the resource has the given etag and responds to If-None-Match and If-Match headers appropriately. Resp
GET/getThe request's query parameters. HTTP Methods
GET/gzipReturns GZip-encoded data. Response formats
GET/headersReturn the incoming request's HTTP headers. Request inspection
GET/hidden-basic-auth/{user}/{passwd}Prompts the user for authorization using HTTP Basic Auth. Auth

and 33 more operation(s) in this specification, all searchable.

specification origin: http://httpbin.org/spec.json

nothing on this page is a rating, an endorsement or a claim about quality. Reachability is what our probes observed from one network; answering is a floor under usefulness, not a measure of it.