API · /httpbin

HTTPBin Demo (oanor)

Public HTTP request inspection — see your IP, headers, body. Great for testing the gateway.

api.oanor.com/httpbin

Endpoints

6 documented endpoints. Click any one to pre-fill the try-it form below.

  • Returns args, headers, origin IP, url

Try it live

One free call per session — no signup, no API key needed. Goes through oanor's gateway, your data stays on the server.

Code snippets

Sign up to get an API key, then call any path under your slug.

curl https://api.oanor.com/httpbin/SOME_PATH \
  -H "x-oanor-key: oanor_test_..."
const res = await fetch("https://api.oanor.com/httpbin/SOME_PATH", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
const data = await res.json();
$ch = curl_init("https://api.oanor.com/httpbin/SOME_PATH");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
$response = curl_exec($ch);
import requests
r = requests.get(
    "https://api.oanor.com/httpbin/SOME_PATH",
    headers={"x-oanor-key": "oanor_test_..."},
)
print(r.json())

Documentation

Loading…