API Acre · WEB Extract

by API Acre

POSTBaseSolana

$0.01

per call · USD Coin on Base

Convert and extract a public website URL into clean Markdown or readable text plus bounded structured links, canonical and heading signals, Schema.org types, redirect evidence, content hashes, and response provenance for RAG, research, or agent context.

Endpoint

POST https://apiacre.com/v1/web/extract

2

Calls / 30d

1

Unique payers / 30d

Aug 31

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

Example response

{
  "data": {
    "characters": 167,
    "content": "# Example Domain\n\nThis domain is for use in documentation examples without ne...",
    "contentSha256": "5945db6fd8137aa377638814ca9bb1ac0a663fd90a97f11f86c3f5c09cfb40e3",
    "description": null,
    "extraction": {
      "javascriptRendered": false,
      "limitations": [
        "Client-rendered content is not executed.",
        "Markdown preserves readable block text, not the complete page layout.",
        "Structured links are bounded and exclude non-HTTP(S) targets."
      ],
      "linksPreserved": true,
      "method": "bounded HTML DOM extraction",
      "version": "apiacre-content-extract/3"
    },
    "format": "markdown",
    "language": "en",
    "links": {
      "detected": 1,
      "external": 1,
      "internal": 0,
      "returned": 1,
      "truncated": false
    },
    "pageSignals": {
      "alternateLanguageCount": 0,
      "canonicalUrl": null,
      "feedCount": 0,
      "headings": {
        "h1": [
          "Example Domain"
        ],
        "h2Count": 0,
        "h3Count": 0
      },
      "structuredData": {
        "blocks": 0,
        "invalidBlocks": 0,
        "truncated": false,
        "types": [],
        "validBlocks": 0
      }
    },
    "redirected": false,
    "requestedUrl": "https://example.com/",
    "response": {
      "bodySha256": "ff67a9d764d6a2367a187734e697f6a53217db9a21c101d410a113ca871a299d",
      "bytes": 559,
      "contentType": "text/html",
      "elapsedMs": 36,
      "statusCode": 200
    },
    "sha256": "5945db6fd8137aa377638814ca9bb1ac0a663fd90a97f11f86c3f5c09cfb40e3",
    "title": "Example Domain",
    "url": "https://example.com/",
    "words": 19
  },
  "meta": {
    "cached": false,
    "duration_ms": 42,
    "next_actions": [],
    "sources": [],
    "warnings": []
  },
  "request_id": "018f1f54-7f38-7ba2-8dc3-5f90272d9f1a",
  "service": "web.extract",
  "version": "1"
}

Payment details

Pay to0xa0bfa4f07281c9b248dc3aed2217836bca24869b
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 API Acre & similar services