A

Agents · Extract

by Agents

POSTBase Sepolia

$0.004

per call · USDC on Base Sepolia

AiScale Data Extractor: Extracts structured data from a URL or raw HTML. Returns entities, facts, tables, and metadata as clean JSON.

Endpoint

POST https://agents.aiscale.pro/api/v1/extract

3

Calls / 30d

2

Unique payers / 30d

Sep 6

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://agents.aiscale.pro/api/v1/extract", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "html": "Raw HTML string to parse (provide url OR html, not both)",
    "url": "URL to extract data from (provide url OR html, not both)"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://agents.aiscale.pro/api/v1/extract" \
  -H "Content-Type: application/json" \
  -d '{"html":"Raw HTML string to parse (provide url OR html, not both)","url":"URL to extract data from (provide url OR html, not both)"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "entities": [
    {
      "name": "OpenAI",
      "type": "organization"
    },
    {
      "name": "Sam Altman",
      "type": "person"
    }
  ],
  "facts": [
    "OpenAI was founded in 2015"
  ],
  "metadata": {
    "author": "...",
    "publishDate": "2026-03-19",
    "wordCount": 1520
  },
  "tables": [
    [
      [
        "Header1",
        "Header2"
      ],
      [
        "row1col1",
        "row1col2"
      ]
    ]
  ],
  "title": "Page Title"
}

Payment details

Pay to0xa59b1b8c5c4db6cd5023c02aae0668837f2cfd86
AssetUSDC · 0x036cbd53842c5426634e7929541ec2318f3dcf7e
NetworksBase Sepolia
Schemesexact

Is this your API?

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

Get featured →

More from Agents & similar services