AU
Media · x402 · active demand
Extract normalized text from a scanned document
Extract normalized text from a scanned document.
by ausca.com · discovered, not yet claimed by its owner · updated 2026-10-13
30d calls59
30d payers16
MethodPOST
Outputjson
Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.
What it does
Extract normalized text from a scanned document.
Tags: documents · ocr · bazaar
Call contract
- Method
- POST
- Input
- json
- Output
- json
- Last paid call
- 2026-10-13
Input example from Bazaar metadata
{
"idempotency_key": "ausca-x402-discovery-example",
"input": {
"artifact": {
"artifact_ref": "runx:artifact:sha256:1111111111111111111111111111111111111111111111111111111111111111",
"content_digest": "sha256:2222222222222222222222222222222222222222222222222222222222222222",
"media_type": "application/pdf"
}
},
"input_schema_digest": "sha256:aa86a0fc7e01438f3f99dc35550f4c3d710795e4302e489de32eae7e403ffd5d",
"offer_id": "document.ocr",
"offer_revision": "ocr-fixed-r9",
"offer_revision_digest": "sha256:7948206419344081cfaf033975ce54a8dd9e934ed4006d790dc94375a80f0c13",
"output_schema_digest": "sha256:d9f05704955fca53ed5813e2522f56d4b9fb95e072f84771a369f780b77741d6"
}Output example
{
"inspect_url": "/v1/invocations/ausca-discovery-example",
"invocation": {
"invocation_id": "ausca-discovery-example",
"offer_revision_digest": "sha256:7948206419344081cfaf033975ce54a8dd9e934ed4006d790dc94375a80f0c13",
"output": {
"lines": [
{
"confidence": 0.99,
"page": 1,
"text": "scan me"
}
],
"schema": "ausca.document_ocr.output.v1",
"source_digest": "sha256:2222222222222222222222222222222222222222222222222222222222222222",
"text": "scan me"
},
"output_digest": "sha256:1b1057f8369deda528ab95671b785812745810d7dbc259a414adc190ac14c068",
"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"
}Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/25908.jsonfor the price and payment options. - Pay. Call
GET https://ausca.com/v1/extract-text. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- $0.25 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base
- Demand
- 59 calls · 16 unique payers in 30d (public x402 Bazaar data)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.25 | 0x26572ff23c6c52bfb1a69cb0c9114a8be443b422 | 60s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x26572ff23c6c52bfb1a69cb0c9114a8be443b422",
"asset": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"amount": "250000",
"amountUsd": 0.25,
"maxTimeoutSeconds": 60
}
]Schemas
Output schema (JSON Schema)
{
"properties": {
"example": {
"properties": {
"inspect_url": {
"pattern": "^/v1/invocations/[A-Za-z0-9][A-Za-z0-9._:-]*$",
"type": "string"
},
"invocation": {
"properties": {
"invocation_id": {
"maxLength": 128,
"minLength": 1,
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$",
"type": "string"
},
"offer_revision_digest": {
"const": "sha256:7948206419344081cfaf033975ce54a8dd9e934ed4006d790dc94375a80f0c13"
},
"output": {
"additionalProperties": false,
"properties": {
"lines": {
"items": {
"additionalProperties": false,
"properties": {
"confidence": {
"maximum": 1,
"minimum": 0,
"type": "number"
},
"page": {
"maximum": 100000,
"minimum": 1,
"type": "integer"
},
"text": {
"maxLength": 10000,
"minLength": 1,
"type": "string"
}
},
"required": [
"text"
],
"type": "object"
},
"maxItems": 20000,
"type": "array"
},
"schema": {
"const": "ausca.document_ocr.output.v1",
"type": "string"
},
"source_digest": {
"pattern": "^sha256:[0-9a-f]{64}$",
"type": "string"
},
"text": {
"maxLength": 200000,
"type": "string"
}
},
"required": [
"schema",
"source_digest",
"text",
"lines"
],
"type": "object"
},
"output_digest": {
"pattern": "^sha256:[a-f0-9]{64}$",
"type": "string"
},
"receipt_ref": {
"properties": {
"public_url": {
"format": "uri",
"maxLength": 2048,
"pattern": "^https://[^?#]+/r/[a-f0-9]{64}$",
"type": "string"
},
"type": {
"const": "receipt"
},
"uri": {
"maxLength": 512,
"minLength": 1,
"type": "string"
}
},
"required": [
"type",
"uri"
],
"type": "object"
},
"state": {
"enum": [
"admitted",
"running",
"succeeded",
"failed",
"cancellation_requested",
"cancelled"
],
"type": "string"
},
"updated_at": {
"format": "date-time",
"type": "string"
}
},
"required": [
"invocation_id",
"offer_revision_digest",
"state",
"updated_at"
],
"type": "object"
},
"status": {
"const": "accepted"
}
},
"required": [
"status",
"invocation",
"inspect_url"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}Example shape — generated from the schema, not a captured live response
{
"example": {
"inspect_url": "string",
"invocation": {
"invocation_id": "string",
"offer_revision_digest": null,
"output": {
"lines": [
{
"confidence": 0,
"page": 0,
"text": "string"
}
],
"schema": "string",
"source_digest": "string",
"text": "string"
},
"output_digest": "string",
"receipt_ref": {
"public_url": "https://example.com",
"type": null,
"uri": "string"
},
"state": "admitted",
"updated_at": "2026-01-01T00:00:00Z"
},
"status": null
},
"type": "string"
}Examples
curl
curl "https://ausca.com/v1/extract-text"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paidJavaScript
const res = await fetch("https://ausca.com/v1/extract-text");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://ausca.com/v1/extract-text")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- ausca.com
- Endpoint
- https://ausca.com/v1/extract-text
- Machine-readable
/resources/25908.json