A

AI Extract · AI Extract

by AI Extract

GETBasePolygon

$0.05

per call · USD Coin on Base

Turn ANY text into clean, schema-enforced JSON: pass text= plus the fields you want (fields=name,email,price,date — up to 10) and get exactly those keys back, guaranteed-valid JSON via Claude structured outputs. Add list=true to extract EVERY repeated record (invoice lines, listings, table rows) as an array. Up to 16K chars per call. Not crypto-specific — the universal parse step for agent pipelines: pages, emails, receipts, logs. Many documents? ai-extract-batch: 10 in one call for $0.10.

Endpoint

GET https://402.com.tr/api/x402/ai-extract

8

Calls / 30d

2

Unique payers / 30d

Sep 9

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://402.com.tr/api/x402/ai-extract", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://402.com.tr/api/x402/ai-extract?fields=invoice_no%2Ccompany%2Cdue_date%2Ctotal%2Cemail&list=false&text=Invoice+%2318+from+Acme+Corp%2C+due+2026-08-01%2C+total+%24420.50%2C+contact+billing%40acme.io" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "checkedAt": "2026-09-05T04:19:43.693Z",
  "fieldsCount": 5,
  "generatedAt": "2026-09-05T04:19:43.693Z",
  "mode": "single",
  "model": "claude-haiku-4-5",
  "outputTruncated": false,
  "truncated": false
}

Payment details

Pay to0x973a31858f4d2125f48c880542da11a2796f12d6
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Polygon
Schemesexact

Is this your API?

Pin it to the top of AI & Inference and the homepage with a featured placement.

Get featured →

More from AI Extract & similar services