Opper AI OCR API

The OCR API from Opper AI — 1 operation(s) for ocr.

Business capability
Language & Document Understanding AE-110.40

Operations 1

POST /v3/ocr Extract text (OCR) #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/opper:opper-ocr-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

opper-ocr-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: Schema-driven generative API that orchestrates LLM-powered workflows.
  title: Task OCR API
  version: 3.0.0
servers:
- description: Production
  url: https://api.opper.ai
- description: Local development
  url: http://localhost:8080
security:
- BearerAuth: []
tags:
- name: OCR
paths:
  /v3/ocr:
    post:
      description: Extract text from a document or image synchronously and get it back as per-page markdown. `model` and `document` are required; `document` is one of `{type:"document_url", document_url}`, `{type:"image_url", image_url}`, `{type:"base64", content, document_name}` (PDF or image), or `{type:"file", file_id}` for a `file_` from POST /v3/files. `pages` selects 0-based page indices; `include_image_base64`/`image_limit`/`image_min_size` control embedded-image extraction; everything in `parameters` is forwarded verbatim to the provider (e.g. Docling's `ocr_engine`, `lang`, `table_mode`, `do_formula_enrichment`). Billed per page processed.
      operationId: createOCR
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OCRRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OCRResponse'
          description: Successful response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad request
        '401':
          description: Unauthorized - missing or invalid API key
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal server error
      summary: Extract text (OCR)
      tags:
      - OCR
components:
  schemas:
    ErrorResponse:
      properties:
        error:
          properties:
            code:
              type: string
            details:
              description: Any value
            message:
              type: string
          required:
          - code
          - message
          type: object
        meta:
          type: object
      required:
      - error
      type: object
    OCRRequest:
      properties:
        document:
          properties:
            content:
              type: string
            document_name:
              type: string
            document_url:
              type: string
            file_id:
              type: string
            image_url:
              type: string
            type:
              type: string
          required:
          - type
          type: object
        image_limit:
          type: integer
        image_min_size:
          type: integer
        include_image_base64:
          type: boolean
        model:
          type: string
        pages:
          items:
            type: integer
          type: array
        parameters:
          type: object
      required:
      - model
      - document
      type: object
    OCRResponse:
      properties:
        id:
          type: string
        model:
          type: string
        pages:
          items:
            properties:
              blocks:
                items:
                  properties:
                    bottom_right_x:
                      type: integer
                    bottom_right_y:
                      type: integer
                    content:
                      type: string
                    top_left_x:
                      type: integer
                    top_left_y:
                      type: integer
                    type:
                      type: string
                  required:
                  - type
                  - top_left_x
                  - top_left_y
                  - bottom_right_x
                  - bottom_right_y
                  type: object
                type: array
              confidence_scores:
                type: object
              dimensions:
                additionalProperties:
                  type: integer
                type: object
              elements:
                items:
                  type: object
                type: array
              images:
                items:
                  type: object
                type: array
              index:
                type: integer
              markdown:
                type: string
            required:
            - index
            - markdown
            type: object
          type: array
        usage:
          properties:
            cost:
              type: number
            pages_processed:
              type: integer
          required:
          - cost
          - pages_processed
          type: object
      required:
      - id
      - model
      - pages
      - usage
      type: object
  securitySchemes:
    BearerAuth:
      bearerFormat: API Key
      description: API key authentication. Pass your API key as a Bearer token.
      scheme: bearer
      type: http
    MCPBearer:
      description: Delegated user OAuth access token for the Opper MCP resource. Obtain through advertised OAuth authorization; runtime and management service keys are not accepted.
      scheme: bearer
      type: http
    ManagementBearer:
      bearerFormat: Management API Key
      description: Management API authentication. Pass an `op-mak-…` management token as a Bearer token. Runtime `op-…` API keys are rejected with 403 — they belong on the data-plane endpoints. Mint a management key from the platform UI under Settings → API keys.
      scheme: bearer
      type: http