74trust / 100
Analyze Document
by Ausca Analysis in Documents & files
x402 APIPassing, checked 5 h ago
Extract normalized forms, tables, signatures, or layout from a document.
POST
https://ausca.com/v1/analyze-document- Price
- $0.3
- per call in USDC
- Uptime
- 98.0%
- last 30 days
- Response time
- 465 ms
- 625 ms slowest 5%
- Last check
- Passed
- 5 h ago, next any minute now
Reliability
All checks passedSome failedAll failedNot checked
Status and outage history · Atom feed · Watch with other listings
How to call it
POST https://ausca.com/v1/analyze-document
Each call costs $0.3 in USDC on Base, paid with the request over x402.
Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.
Example request
From the listing.
POST https://ausca.com/v1/analyze-document
content-type: application/json
{
"idempotency_key": "ausca-x402-discovery-example",
"input": {
"artifact": {
"artifact_uri": "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-r15",
"offer_revision_digest": "sha256:6e0d6fb55bf4416ad8956b54304fc0240680d0acdad5978822340fdec3ae049b",
"output_schema_digest": "sha256:a515b0864320c1a0c7ee7e6ee20ba1eadc94fe58ad955ece7044fd1043b3914c"
}Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
idempotency_key | string | Yes | |
input | object | Yes | |
input_schema_digest | any | Yes | |
offer_id | any | Yes | |
offer_revision | any | Yes | |
offer_revision_digest | any | Yes | |
output_schema_digest | any | Yes |
Example response
The provider's example. We can't check it without paying.
Example response, 36 lines
{
"inspect_url": "/v1/invocations/ausca-discovery-example",
"invocation": {
"invocation_id": "ausca-discovery-example",
"offer_revision_digest": "sha256:6e0d6fb55bf4416ad8956b54304fc0240680d0acdad5978822340fdec3ae049b",
"output": {
"feature_counts": {
"FORMS": 1,
"TABLES": 0
},
"pages": [
{
"artifact_uri": "runx:artifact:sha256:6666666666666666666666666666666666666666666666666666666666666666",
"content_digest": "sha256:7777777777777777777777777777777777777777777777777777777777777777",
"feature_counts": {
"FORMS": 1,
"TABLES": 0
},
"page_index": 1,
"size_bytes": 1024
}
],
"schema": "ausca.document_analysis.manifest.v1",
"source_digest": "sha256:5555555555555555555555555555555555555555555555555555555555555555"
},
"output_digest": "sha256:61d7fde69c0c4ce4550cc58146569cbcc9f3cf3cca3e26e963b62e739feb3574",
"receipt_ref": {
"public_url": "https://runx.ai/r/0000000000000000000000000000000000000000000000000000000000000000",
"type": "receipt",
"uri": "runx:receipt:discovery-example"
},
"state": "succeeded",
"updated_at": "2026-01-01T00:00:00Z"
},
"status": "accepted"
}Call it from code
The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.3.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://ausca.com/v1/analyze-document' \
-H 'content-type: application/json' \
--data-raw '{"idempotency_key":"ausca-x402-discovery-example","input":{"artifact":{"artifact_uri":"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-r15","offer_revision_digest":"sha256:6e0d6fb55bf4416ad8956b54304fc0240680d0acdad5978822340fdec3ae049b","output_schema_digest":"sha256:a515b0864320c1a0c7ee7e6ee20ba1eadc94fe58ad955ece7044fd1043b3914c"}'
# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - -X POST 'https://ausca.com/v1/analyze-document' \
-H 'content-type: application/json' \
--data-raw '{"idempotency_key":"ausca-x402-discovery-example","input":{"artifact":{"artifact_uri":"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-r15","offer_revision_digest":"sha256:6e0d6fb55bf4416ad8956b54304fc0240680d0acdad5978822340fdec3ae049b","output_schema_digest":"sha256:a515b0864320c1a0c7ee7e6ee20ba1eadc94fe58ad955ece7044fd1043b3914c"}' \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decodeJavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
// Pays at most $0.3 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.3" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.3 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fausca.com%2Fv1%2Fanalyze-document&method=POST
const res = await pay("https://ausca.com/v1/analyze-document", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({
"idempotency_key": "ausca-x402-discovery-example",
"input": {
"artifact": {
"artifact_uri": "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-r15",
"offer_revision_digest": "sha256:6e0d6fb55bf4416ad8956b54304fc0240680d0acdad5978822340fdec3ae049b",
"output_schema_digest": "sha256:a515b0864320c1a0c7ee7e6ee20ba1eadc94fe58ad955ece7044fd1043b3914c"
}),
});
console.log(res.status, await res.text());Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client
# Pays at most $0.3 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.3"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.post(
"https://ausca.com/v1/analyze-document",
json={
"idempotency_key": "ausca-x402-discovery-example",
"input": {
"artifact": {
"artifact_uri": "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-r15",
"offer_revision_digest": "sha256:6e0d6fb55bf4416ad8956b54304fc0240680d0acdad5978822340fdec3ae049b",
"output_schema_digest": "sha256:a515b0864320c1a0c7ee7e6ee20ba1eadc94fe58ad955ece7044fd1043b3914c",
},
)
print(res.status_code, res.text)Security scan
No findings
We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 5 h ago | Passed | 402 | 779 ms | $0.3 |
| 16 h ago | Passed | 402 | 398 ms | $0.3 |
| 26 h ago | Passed | 402 | 769 ms | $0.3 |
| 36 h ago | Passed | 402 | 461 ms | $0.3 |
| 47 h ago | Passed | 402 | 161 ms | $0.3 |
Show 10 older checks
| 2 days ago | Passed | 402 | 142 ms | $0.3 |
| 3 days ago | Passed | 402 | 178 ms | $0.3 |
| 3 days ago | Timed out | - | - | - |
| 6 days ago | Timed out | - | - | - |
| 7 days ago | Passed | 402 | 174 ms | $0.3 |
| 7 days ago | Passed | 402 | 569 ms | $0.3 |
| 7 days ago | Passed | 402 | 481 ms | $0.3 |
| 8 days ago | Passed | 402 | 559 ms | $0.3 |
| 8 days ago | Passed | 402 | 508 ms | $0.3 |
| 9 days ago | Passed | 402 | 551 ms | $0.3 |