Tereno Webpage to Markdown · WEB Compile Invoke

by Tereno Webpage to Markdown

GETBase

$0.03

per call · USD Coin on Base

Convert a public web page into bounded, LLM-ready Markdown with resolved links, citations and a SHA-256 content-addressed artifact any agent can independently re-verify before citing it. Optionally pass a claim to check it is textually supported by the page. Every response includes source/final URL, content hash, validity window and x402 receipt; the first settled payer earns a bounded credit when another wallet reuses it.

Endpoint

GET https://www.tereno.xyz/api/v1/capabilities/web.compile/invoke

5

Calls / 30d

1

Unique payers / 30d

Aug 18

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://www.tereno.xyz/api/v1/capabilities/web.compile/invoke", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://www.tereno.xyz/api/v1/capabilities/web.compile/invoke?url=https%3A%2F%2Fexample.com%2Farticle&wallet=0x1111111111111111111111111111111111111111" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "artifact": {
    "artifactId": "sha256:content-address",
    "cacheStatus": "miss",
    "expiresAt": "2026-07-16T13:00:00.000Z",
    "inputHash": "sha256-input-hash"
  },
  "capabilityId": "web.compile",
  "capabilityVersion": "1.0.0",
  "claimVerification": {
    "claim": "the example domain is reserved for documentation",
    "matchScore": 0.8,
    "matchType": "fuzzy",
    "matchedSnippet": "…this domain is for use in illustrative examples…",
    "supported": true
  },
  "invocationId": "invocation-uuid",
  "output": {
    "content": "# Example\n\nCompiled agent-ready context.",
    "contentHash": "sha256-content-hash",
    "links": [],
    "sourceUrl": "https://example.com/article",
    "title": "Example"
  },
  "pricing": {
    "currency": "USDC",
    "pricePaidUsd": 0.005
  }
}

Payment details

Pay to0xfbf218accbb0d57fc4e8fc3e2a885c910c4c9e94
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 Tereno Webpage to Markdown & similar services