Make a real HTTP request from the cloud and get back the status code, headers, and body instantly.
Send an HTTP request to any URL from our servers and receive the full response — including the status code, all response headers, and the body content. Supports GET, POST, PUT, PATCH, DELETE, and HEAD. Automatically follows up to 3 redirects. Useful for testing endpoints, verifying servers are responding correctly, debugging redirect chains, or fetching raw data without needing a local setup.
https://curl-http-request.underscoredone.com/curl
$0.01 per request — pay via x402/USDC. No account needed.
Send a JSON body with a 'url' (required, must start with http:// or https://) and an optional 'method' field (defaults to GET). The response includes 'statusCode' (integer), 'headers' (object of key-value strings), 'body' (string, may be HTML, JSON, or plain text), 'durationMs' (how long the request took in milliseconds), and 'error' (null on success, or a plain-English message if the request could not be completed). Do not use this for private or internal network addresses. Redirects are followed automatically up to 3 times. If the target server is unreachable or times out, a 400 error is returned with a description of what went wrong.
{
"url": "https://httpbin.org/get",
"method": "GET"
}
{
"api_version": "1.0.0",
"url": "https://httpbin.org/get",
"method": "GET",
"statusCode": 200,
"headers": {
"content-type": "application/json",
"content-length": "307",
"server": "gunicorn/19.9.0"
},
"body": "{\n \"args\": {}, \n \"headers\": {\n \"Host\": \"httpbin.org\"\n }, \n \"url\": \"https://httpbin.org/get\"\n}",
"durationMs": 312,
"redirectChain": [],
"error": null
}
{
"detail": "Could not reach the address 'not-a-real-url'. Please make sure the URL starts with http:// or https:// and points to a real, publicly accessible server."
}