K

Kairostamp · Text Extract

by Kairostamp

GETBase

$0.003

per call · USD Coin on Base

Readable text extraction: fetches one public HTML page server-side and returns clean plain text with the page title, final URL, HTTP status, content type, SHA-256 of the response body, a timestamp and a tamper-evident receipt. Single GET query parameter (url). Text is capped at 12000 characters; no JavaScript is executed.

Endpoint

GET https://kairostamp.com/api/v1/text-extract

1

Calls / 30d

1

Unique payers / 30d

Aug 23

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://kairostamp.com/api/v1/text-extract", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://kairostamp.com/api/v1/text-extract?url=https%3A%2F%2Fexample.com%2F" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "chain_hash": "d084fff3e5d852089814f7d4d3ffe9d04d1a39ce9d2e0573a95f24cf78fb584d",
  "char_count": 75,
  "content_type": "text/html",
  "fetched_at": "2026-08-23T05:32:12.771Z",
  "max_chars": 12000,
  "note": "Static extraction: scripts, styles and markup are stripped from the fetched bytes. No JavaScript is executed and no browser rendering is performed, so client-rendered content will be absent. Text is capped at 12000 characters; `truncated` is true when the page exceeded the cap or the fetch limit.",
  "receipt_id": "85cd424c-b68b-440e-8f4f-e02147799f30",
  "sha256": "ff67a9d764d6a2367a187734e697f6a53217db9a21c101d410a113ca871a299d",
  "status_code": 200,
  "text": "Example Domain\nThis domain is for use in illustrative examples in documents.",
  "title": "Example Domain",
  "truncated": false,
  "url": "https://example.com/"
}

Payment details

Pay to0xdb6f694ae695c632c82677a50593b46137808453
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

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

Get featured →

More from Kairostamp & similar services