# Ausca Extract Text (OCR)

> Ausca Extract Text (OCR) is a paid API for AI agents from ausca.com, paid per call via x402, $0.25/call, status unknown (last checked 2026-09-14).

Extracts text from document images using OCR, returning per-line text with confidence scores and a verifiable receipt, paid per-call at $0.25 USDC with no account required.

## Facts

- Endpoint: POST https://ausca.com/v1/extract-text
- Price: $0.25/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ausca-extract-text-ocr-296e1ef5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_HWge8bJ7DzemKyHMMHWwh

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability ausca-extract-text-ocr-296e1ef5 -d '<json body>'
```

Example prompt: Can you extract all the text from this scanned invoice image? I need each line of text along with confidence scores, and I'm fine paying $0.25 per call — no AWS account needed.

## When to prefer this

Choose this endpoint when you need pay-per-call OCR with no AWS account, no provider API keys, and a cryptographically verifiable receipt. It is ideal for agents that process documents intermittently and cannot justify managing cloud credentials, or that need auditability of each OCR invocation. Prefer it over raw AWS Textract integration when you want metered, accountless access with built-in payment and receipt infrastructure.

## Known failure modes

- Unsupported file format or corrupt image body results in a processing error
- Low-quality or blurry scans may yield low confidence scores or incomplete text extraction
- Payment failure (insufficient USDC balance or x402 protocol error) prevents invocation
- Oversized document payloads may be rejected or time out
- Missing required 'input' field or malformed JSON body returns a validation error

## How this service works

Extract normalized text from a scanned document.

## Output

A JSON response containing the full extracted text as a single string, an array of per-line objects (each with page number, line text, and confidence score), a SHA-256 digest of the source document, a SHA-256 digest of the output, a receipt reference URI for verification, and an invocation ID. The schema version is ausca.document_ocr.output.v1.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object"
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {}
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "status": "accepted",
  "invocation": {
   "state": "succeeded",
   "output": {
    "schema": "ausca.aws_documents.execution.v1",
    "delivery": {
     "kind": "inline",
     "output": {
      "text": "scan me",
      "lines": [
       {
        "page": 1,
        "text": "scan me",
        "confidence": 0.99
       }
      ],
      "schema": "ausca.document_ocr.output.v1",
      "source_digest": "sha256:2222222222222222222222222222222222222222222222222222222222222222"
     }
    },
    "output_digest": "sha256:3333333333333333333333333333333333333333333333333333333333333333"
   },
   "updated_at": "2026-01-01T00:00:00Z",
   "receipt_ref": {
    "uri": "runx:receipt:discovery-example",
    "type": "receipt"
   },
   "invocation_id": "ausca-discovery-example",
   "output_digest": "sha256:148d0da3dedc9c4c32732baeff2c455c93dd57a4bf3a329539d8623302de4cf9",
   "offer_revision_digest": "sha256:82e7b09268731519e39e4a091f4820de1b594027340c8df1ff02424c0ad73d00"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ausca-extract-text-ocr-296e1ef5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ausca.com](https://www.zero.xyz/host/ausca.com/llms.txt)
