Soren · AI Extract

by Soren

POSTBasebase

$0.03

per call · USD Coin on Base

Named fields pulled out of unstructured text as GUARANTEED-VALID JSON. POST the text as the raw body with fields=comma,separated,names (max 12). Every requested field is present in the answer — null when the text does not contain it — and the JSON is validated server-side BEFORE you are charged: no parse errors, no missing keys, ever. A failed inference costs nothing.

Endpoint

POST https://soren.com/v1/ai/extract

2

Calls / 30d

1

Unique payers / 30d

Sep 8

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://soren.com/v1/ai/extract", {
  method: "POST",
});
const data = await res.json();
cURL
curl -X POST \
  "https://soren.com/v1/ai/extract?fields=vendor%2Cinvoice_number%2Ctotal%2Cdue_date" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "data": {
    "total": "<number|null>",
    "vendor": "<string|null>"
  },
  "fields_requested": [
    "vendor",
    "total"
  ],
  "guarantee": "every requested field present; validated before charging"
}

Payment details

Pay to0xadc3a47efbd82ed724a0e9a3d08d5a1a8e6586fd
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, base
Schemesexact

Is this your API?

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

Get featured →

More from Soren & similar services