A

Animica · Extract

by Animica

POSTBaseanimica:1

$0.0058

per call · USD Coin on Base

Turn messy text — a web page, email, invoice, receipt, job posting, contract clause, product description — into strict JSON matching a schema YOU supply. The schema is enforced in code, not merely requested: output is parsed, validated, repaired once against the exact validation error, and the call FAILS with the violated constraint rather than returning unvalidated JSON. Fields not present in the input come back null instead of a plausible invention. Priced per call. For high-volume use, buy prepaid credits (POST /x402/credits/buy) and send X-Animica-Credits on each request — no settlement, no gas, no per-call payment round trip. Paying in ANM on the animica:1 lane is also ~25% cheaper because we sponsor no gas there.

Endpoint

POST https://animica.dev/x402/extract

3

Calls / 30d

1

Unique payers / 30d

Aug 22

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://animica.dev/x402/extract", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "input": "John is 30 years old.",
    "schema": {
      "properties": {
        "age": {
          "type": "integer"
        },
        "name": {
          "type": "string"
        }
      },
      "type": "object"
    }
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://animica.dev/x402/extract" \
  -H "Content-Type: application/json" \
  -d '{"input":"John is 30 years old.","schema":{"properties":{"age":{"type":"integer"},"name":{"type":"string"}},"type":"object"}}' \
  -H "X-PAYMENT: <signed x402 payment>"

Payment details

Pay to0x5d17c40fd6b119dc6006c4ab3c20a917fcab2acd
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, animica:1
Schemesexact

Is this your API?

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

Get featured →

More from Animica & similar services