{
  "x402Version": 2,
  "id": 6817,
  "slug": "6817",
  "resource": "https://ausca.com/v1/extract-text",
  "description": "Extract normalized text from a scanned document.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x26572ff23c6c52bfb1a69cb0c9114a8be443b422",
      "asset": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
      "amount": "250000",
      "maxTimeoutSeconds": 60
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "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-r7",
            "offer_revision_digest": "sha256:024ce18fdfd7d108528b2a4780dbbc5dd9988bcb328a729b7ff2b498697e02b9",
            "output_schema_digest": "sha256:d9f05704955fca53ed5813e2522f56d4b9fb95e072f84771a369f780b77741d6"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "inspect_url": "/v1/invocations/ausca-discovery-example",
            "invocation": {
              "invocation_id": "ausca-discovery-example",
              "offer_revision_digest": "sha256:024ce18fdfd7d108528b2a4780dbbc5dd9988bcb328a729b7ff2b498697e02b9",
              "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"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "idempotency_key": {
                    "maxLength": 128,
                    "minLength": 16,
                    "type": "string"
                  },
                  "input": {
                    "additionalProperties": false,
                    "properties": {
                      "artifact": {
                        "allOf": [
                          {
                            "additionalProperties": false,
                            "properties": {
                              "artifact_ref": {
                                "maxLength": 512,
                                "minLength": 1,
                                "type": "string"
                              },
                              "content_digest": {
                                "pattern": "^sha256:[a-f0-9]{64}$",
                                "type": "string"
                              },
                              "media_type": {
                                "maxLength": 200,
                                "minLength": 1,
                                "type": "string"
                              }
                            },
                            "required": [
                              "artifact_ref",
                              "content_digest",
                              "media_type"
                            ],
                            "type": "object"
                          },
                          {
                            "properties": {
                              "media_type": {
                                "enum": [
                                  "application/pdf",
                                  "image/jpeg",
                                  "image/png",
                                  "image/tiff"
                                ]
                              }
                            }
                          }
                        ]
                      }
                    },
                    "required": [
                      "artifact"
                    ],
                    "type": "object"
                  },
                  "input_schema_digest": {
                    "const": "sha256:aa86a0fc7e01438f3f99dc35550f4c3d710795e4302e489de32eae7e403ffd5d"
                  },
                  "offer_id": {
                    "const": "document.ocr"
                  },
                  "offer_revision": {
                    "const": "ocr-fixed-r7"
                  },
                  "offer_revision_digest": {
                    "const": "sha256:024ce18fdfd7d108528b2a4780dbbc5dd9988bcb328a729b7ff2b498697e02b9"
                  },
                  "output_schema_digest": {
                    "const": "sha256:d9f05704955fca53ed5813e2522f56d4b9fb95e072f84771a369f780b77741d6"
                  }
                },
                "required": [
                  "offer_id",
                  "offer_revision",
                  "offer_revision_digest",
                  "input_schema_digest",
                  "output_schema_digest",
                  "input",
                  "idempotency_key"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "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:024ce18fdfd7d108528b2a4780dbbc5dd9988bcb328a729b7ff2b498697e02b9"
                      },
                      "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"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "ausca.com",
  "lastUpdated": "2026-09-18T12:31:49.147Z",
  "quality": {
    "calls30d": 18,
    "uniquePayers30d": 6,
    "lastCalledAt": "2026-09-18T12:32:35.48Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "ausca.com",
    "manifest_name": "ausca.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}