C

Curl HTTP Request · Curl

by Curl HTTP Request

POSTBaseSolana

$0.01

per call · USD Coin on Base

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.

Endpoint

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

6

Calls / 30d

4

Unique payers / 30d

Sep 7

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://curl-http-request.underscoredone.com/curl", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "method": "GET",
    "url": "https://httpbin.org/get"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://curl-http-request.underscoredone.com/curl" \
  -H "Content-Type: application/json" \
  -d '{"method":"GET","url":"https://httpbin.org/get"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "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"
}

Payment details

Pay to0xe9740820225b3918b4ddd1292c7ca4ca0e2c2f08
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Solana
Schemesexact

Is this your API?

Pin it to the top of Search & Web and the homepage with a featured placement.

Get featured →

More from Curl HTTP Request & similar services