C

Clawca · Link Inspect

by Clawca

POSTBase

$0.002

per call · USD Coin on Base

Inspect a public HTTPS URL for redirects, metadata, content type, word count, and content hash.

Endpoint

POST https://pixels.gateway.clawca.sh/v1/link-inspect

9

Calls / 30d

3

Unique payers / 30d

Sep 10

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://pixels.gateway.clawca.sh/v1/link-inspect", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "url": "https://example.com"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://pixels.gateway.clawca.sh/v1/link-inspect" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://example.com"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "canonical_url": null,
  "content_hash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "content_type": "text/html",
  "description": null,
  "fetched_bytes": 1256,
  "final_url": "https://example.com/",
  "language": "en",
  "requested_url": "https://example.com",
  "status_code": 200,
  "title": "Example Domain",
  "word_count": 2
}

Payment details

Pay to0x9acfdc5a3d6bfbb127615751e0f0e44014e32abf
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

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

Get featured →

More from Clawca & similar services