A

Ausca Analysis · Analyze Document

by Ausca Analysis

POSTBase

$0.3

per call · USDC on Base

Extract normalized forms, tables, signatures, or layout from a document.

Endpoint

POST https://ausca.com/v1/analyze-document

3

Calls / 30d

1

Unique payers / 30d

Sep 7

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://ausca.com/v1/analyze-document", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "canonicalizer_version": "runx.receipt.c14n.v1",
    "idempotency_key": "ausca-x402-discovery-example",
    "input": {
      "artifact": {
        "artifact_ref": "runx:artifact:sha256:4444444444444444444444444444444444444444444444444444444444444444",
        "content_digest": "sha256:5555555555555555555555555555555555555555555555555555555555555555",
        "media_type": "application/pdf"
      },
      "feature_types": [
        "FORMS",
        "TABLES"
      ]
    },
    "input_schema_digest": "sha256:7093216a29925031972d61a7ab5f6013936aac9f81c3c54f51a00a3fef66759b",
    "offer_id": "document.analysis",
    "offer_revision": "analysis-bytes-r5",
    "offer_revision_digest": "sha256:cd8234fa3f599d975f1915bbc9c702aefa04cd4933d41d1914431c7a334f6fa2",
    "output_schema_digest": "sha256:f42f96f66e7ea9a7f2ec579d0edf92e5bfafbfa070005de7b56917866e2b8a55"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://ausca.com/v1/analyze-document" \
  -H "Content-Type: application/json" \
  -d '{"canonicalizer_version":"runx.receipt.c14n.v1","idempotency_key":"ausca-x402-discovery-example","input":{"artifact":{"artifact_ref":"runx:artifact:sha256:4444444444444444444444444444444444444444444444444444444444444444","content_digest":"sha256:5555555555555555555555555555555555555555555555555555555555555555","media_type":"application/pdf"},"feature_types":["FORMS","TABLES"]},"input_schema_digest":"sha256:7093216a29925031972d61a7ab5f6013936aac9f81c3c54f51a00a3fef66759b","offer_id":"document.analysis","offer_revision":"analysis-bytes-r5","offer_revision_digest":"sha256:cd8234fa3f599d975f1915bbc9c702aefa04cd4933d41d1914431c7a334f6fa2","output_schema_digest":"sha256:f42f96f66e7ea9a7f2ec579d0edf92e5bfafbfa070005de7b56917866e2b8a55"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "invocation": {
    "invocation_id": "ausca-discovery-example",
    "offer_revision_digest": "sha256:cd8234fa3f599d975f1915bbc9c702aefa04cd4933d41d1914431c7a334f6fa2",
    "output": {
      "pages": [
        {
          "artifact_ref": "runx:artifact:sha256:6666666666666666666666666666666666666666666666666666666666666666",
          "content_digest": "sha256:7777777777777777777777777777777777777777777777777777777777777777",
          "page_index": 1,
          "size_bytes": 1024
        }
      ],
      "schema": "ausca.document_analysis.manifest.v1",
      "source_digest": "sha256:5555555555555555555555555555555555555555555555555555555555555555"
    },
    "output_digest": "sha256:082400ba83dac1dfdf19d80f2401dc4d8d9d66870a8629a73bced51c79754792",
    "receipt_ref": {
      "type": "receipt",
      "uri": "runx:receipt:discovery-example"
    },
    "state": "succeeded",
    "updated_at": "2026-01-01T00:00:00Z"
  },
  "status": "accepted"
}

Payment details

Pay to0x26572ff23c6c52bfb1a69cb0c9114a8be443b422
AssetUSDC · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Media & Generation and the homepage with a featured placement.

Get featured →

More from Ausca Analysis & similar services