BYTETOOLS

httpbingo API

Free HTTP request testing API with no key: a Go reimplementation of httpbin with HTTP/2, streaming, status codes, auth and redirect endpoints. Tested.

No API key requiredCORS enabledHTTPSFree tier

Endpoint tested and returned HTTP 200 on 2026-08-20

What is the httpbingo API?

httpbingo is a free, key-free HTTP request and response testing service — a Go reimplementation of httpbin — providing endpoints to inspect requests and simulate status codes, redirects, delays, authentication and streaming responses.

httpbingo reimplements httpbin's endpoint surface in Go, which makes it faster and considerably more reliable than the original Python service that has suffered long outages.

One schema difference is worth knowing before you swap it in: httpbingo returns headers and query parameters as arrays of values rather than single strings, because HTTP genuinely permits repeated headers. Code written against httpbin will need adjusting.

Quick facts

Base URL
https://httpbingo.org
Authentication
No API key required.
Rate limit
No published limit; intended for interactive testing.
Pricing
Free and open source, self-hostable.
CORS
Enabled — callable directly from browser JavaScript
Official docs
Read the docs

How to use the httpbingo API

Every request below was executed against the live API on 2026-08-20, and the response shown is the real body it returned — not an illustration.

1. Inspect a request

GET https://httpbingo.org/get?x=1

curl
curl 'https://httpbingo.org/get?x=1'
JavaScript (fetch)
const res = await fetch("https://httpbingo.org/get?x=1");
if (!res.ok) throw new Error(`Request failed: ${res.status}`);
const data = await res.json();
console.log(data);
Python (requests)
import requests

res = requests.get("https://httpbingo.org/get?x=1", timeout=20)
res.raise_for_status()
print(res.json())
Response — HTTP 200
{
  "args": {
    "x": [
      "1"
    ]
  },
  "headers": {
    "Accept": [
      "application/json, */*"
    ],
    "Accept-Encoding": [
      "identity"
    ],
    "Host": [
      "httpbingo.org"
    ],
    "User-Agent": [
      "ByteTools-APIDirectory/1.0 (+https://bytetools.bytevancer.com; contact@bytevancer.com)"
    ],
    "Via": [
      "1.1 fly.io, 1.1 fly.io"
    ],
    "X-Forwarded-For": [
      "39.49.152.69, 66.241.125.232"
    ],
    "X-Forwarded-Port": [
      "443"
    ],
    "X-Forwarded-Proto": [
      "https"
    ],
    "X-Forwarded-Ssl": [
      "on"
    ],
    "X-Request-Start": [
      "t=1787208374685753"
    ]
  },
  "method": "GET",
  "origin": "39.49.152.69",
  "url": "https://httpbingo.org/get?x=1"
}

Parameters

ParameterTypeRequiredDescription
get / post / put / deletepathOptionalEcho the request for that method. get
status/<code>pathOptionalReturn a specific status code. status/418
delay/<seconds>pathOptionalDelayed response for timeout testing. delay/2
stream/<n>pathOptionalStream n JSON lines, for streaming tests. stream/5
basic-auth/<user>/<pass>pathOptionalBasic auth challenge. basic-auth/u/p

Response fields

argsobject
Query parameters, each as an ARRAY of values.
headersobject
Request headers, each as an ARRAY of values.
originstring
Client IP as seen by the server.
urlstring
Full request URL.
json / dataobject|string
Parsed and raw request body on write methods.

What you can build with the httpbingo API

  • Verify what your HTTP client actually transmits
  • Test streaming response handling
  • Exercise retry and timeout logic against forced failures
  • Replace httpbin in tutorials and CI with something reliable

Common errors and how to fix them

Headers are arrays, not strings

httpbingo differs from httpbin here.

Fix: Read headers['Content-Type'][0] — HTTP allows repeated headers, and httpbingo models that correctly.

Empty json on POST

Content-Type was not set.

Fix: Set Content-Type: application/json so the body is parsed.

Code written for httpbin breaks

The array-valued schema is the difference.

Fix: Adjust field access; the endpoints themselves are compatible.

httpbingo API — frequently asked questions

What is httpbingo?

A Go reimplementation of httpbin providing the same HTTP testing endpoints — request echo, status codes, delays, redirects, auth and streaming — but faster and more reliably hosted.

Why are headers arrays instead of strings?

Because HTTP genuinely allows repeated headers, and httpbingo models that accurately. It is the main incompatibility when migrating from httpbin.

Is it free?

Yes, free with no API key, and open source so you can self-host it in a CI environment.

How does it compare with httpbun?

Both are maintained httpbin alternatives. httpbun keeps httpbin's string-valued schema; httpbingo uses arrays. Pick based on whether you are porting existing httpbin code.

Tools that pair with this API

httpbingo is an independent third-party service and is not affiliated with ByteTools or ByteVancer. Details on this page were verified on 2026-08-20; always check the official documentation before relying on this API in production, as terms and limits can change.