82trust / 100

Curl

by Curl HTTP Request in Search & web

x402 APIPassing, checked 5 h ago

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.

POST https://curl-http-request.underscoredone.com/curl

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
236 ms typical, 236 ms slowest 5%
Last check
5 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://curl-http-request.underscoredone.com/curl" \
  -H "content-type: application/json" \
  -d '{"method":"GET","url":"https://httpbin.org/get"}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fcurl-http-request.underscoredone.com%2Fcurl
const res = await pay("https://curl-http-request.underscoredone.com/curl", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"method":"GET","url":"https://httpbin.org/get"}),
});
console.log(await res.json());

Example input

{
  "method": "GET",
  "url": "https://httpbin.org/get"
}

Example output

{
  "api_version": "1.0.0",
  "body": "{\n  \"args\": {}, \n  \"headers\": {\n    \"Host\": \"httpbin.org\"\n  }, \n  \"url\": \"https://httpbin.org/get\"\n}",
  "durationMs": 312,
  "error": "",
  "headers": {
    "content-length": "307",
    "content-type": "application/json",
    "server": "gunicorn/19.9.0"
  },
  "method": "GET",
  "redirectChain": [],
  "statusCode": 200,
  "url": "https://httpbin.org/get"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
5 h agoPassed402236 ms$0.01