H

HTTP Header Checker · Check

by HTTP Header Checker

POSTBaseSolana

$0.01

per call · USD Coin on Base

Sends a request to a web address you provide and reports back everything the server said in response: the status code, all the response headers, how many times it got redirected, and how long the whole thing took.

Endpoint

POST https://http-header-checker.underscoredone.com/check

4

Calls / 30d

3

Unique payers / 30d

Sep 1

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://http-header-checker.underscoredone.com/check", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "follow_redirects": true,
    "method": "GET",
    "url": "https://example.com"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://http-header-checker.underscoredone.com/check" \
  -H "Content-Type: application/json" \
  -d '{"follow_redirects":true,"method":"GET","url":"https://example.com"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "api_version": "1.0.0",
  "final_url": "https://example.com/",
  "headers": {
    "cache-control": "max-age=600",
    "content-length": "1256",
    "content-type": "text/html; charset=UTF-8",
    "server": "nginx"
  },
  "missing_security_headers": [
    "strict-transport-security",
    "content-security-policy"
  ],
  "redirect_chain": [
    {
      "status_code": 301,
      "url": "http://example.com"
    }
  ],
  "response_time_ms": 214,
  "status_code": 200,
  "url": "https://example.com"
}

Payment details

Pay to0xe9740820225b3918b4ddd1292c7ca4ca0e2c2f08
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Solana
Schemesexact

Is this your API?

Pin it to the top of Developer Tools and the homepage with a featured placement.

Get featured →

More from HTTP Header Checker & similar services