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.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/myocr-app:myocr-app-convert-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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
OpenAPI Specification
openapi: 3.2.0
info:
title: myocr.app Convert API
version: 1.0.0
description: 'Convert PDF and image documents to structured Excel/text. Tables and full-text run on our OCR engine; specialized models return domain-specific fields.
**Base URL:** `https://api.myocr.app`
**Authentication:** `X-API-Key` header. Get a key from your dashboard.
Test keys (`sk_test_...`) and live keys (`sk_live_...`) are supported.
**Rate limits** (per API key — clients behind shared NAT/proxy do NOT share the limit):
- `/v1/convert` (sync): 60 requests/min
- `/v1/jobs` (async): 120 requests/min
- `/v1/batch` (multi-file): 30 requests/min
Requests without an API key (`/v1/status`) are rate-limited per IP.
**Response envelope:**
```json
{"success": true, "data": {...}, "request_id": "abcd1234"}
```
Or on error:
```json
{"success": false, "error": {"code": "INVALID_API_KEY", "message": "..."}, "request_id": "..."}
```
All responses include `X-MyOCR-Request-Id` header. File responses also include `X-MyOCR-Pages-Used` and `X-MyOCR-Model`.'
contact:
name: myocr.app support
email: info@myocr.app
url: https://www.myocr.app
license:
name: Proprietary
servers:
- url: https://api.myocr.app
description: Production
security:
- ApiKeyAuth: []
tags:
- name: Convert
description: Synchronous conversion (≤5MB, ≤10 pages)
paths:
/v1/convert:
post:
tags:
- Convert
summary: Sync document conversion
description: 'Multipart upload. Max 5MB, 10 pages. Synchronous — response contains the result file (or JSON if `output=json`).
For larger or batched jobs use `/v1/jobs`.'
requestBody:
required: true
content:
multipart/form-data:
schema:
type: object
required:
- file
- model
properties:
file:
type: string
format: binary
description: PDF or image (pdf/png/jpg/jpeg/tiff/tif/bmp/heif)
model:
type: string
enum:
- tables
- text
- invoice
- receipt
- bank_statement
- business_card
- fields
default: tables
output:
type: string
enum:
- xlsx
- txt
- json
- csv
default: xlsx
description: 'Override default output format. `text` model always returns txt.
`csv` exports only the first sheet of the structured workbook (use xlsx for multi-sheet).
'
page_range:
type: string
example: 1,3-5
description: 'PDF only — convert just these pages: `3`, `3-5`, `1,3-5`, `2-` (to the end).
Pages you exclude are **not billed**: the quota counts the selection, not the file.
Useful on mixed documents (an invoice followed by detail annexes that repeat the
same column headers): send `model=invoice` with the invoice page and `model=tables`
with the annex pages. A malformed value, or one that selects no page of this
document, returns 400 `INVALID_PAGE_RANGE`. Ignored for images.
'
fields:
type: string
example: invoice number,date,total
description: 'Required when `model=fields`: the field names you want as columns, comma-separated
(or a JSON array), max 60. Missing or empty → 400 `MISSING_FIELDS`.
'
fields_mode:
type: string
enum:
- page
- list
default: page
description: 'How to read a `model=fields` document.
`page` (default) returns one row per page: the document is one record.
`list` treats the document as a printed list - a register, a ledger, records
one after another - and returns **one row per entry**. In `list` the values are
assigned **by position**, following the order of the names you passed, because
these printouts carry no column headers. Any other value → 400 `INVALID_PARAMETER`.
'
responses:
'200':
description: Conversion successful
headers:
X-MyOCR-Request-Id:
schema:
type: string
X-MyOCR-Pages-Used:
schema:
type: integer
X-MyOCR-Model:
schema:
type: string
content:
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet:
schema:
type: string
format: binary
description: XLSX file with structured fields based on model
text/plain:
schema:
type: string
description: Plain text (model=text or output=txt)
application/json:
schema:
$ref: '#/components/schemas/SuccessResponse'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'402':
$ref: '#/components/responses/QuotaExceeded'
'413':
$ref: '#/components/responses/PayloadTooLarge'
'429':
$ref: '#/components/responses/RateLimit'
'502':
$ref: '#/components/responses/OcrError'
operationId: postV1Convert
x-operation-id-source: derived
components:
schemas:
ErrorResponse:
type: object
properties:
success:
type: boolean
example: false
error:
type: object
properties:
code:
type: string
enum:
- MISSING_API_KEY
- INVALID_API_KEY
- UNSUPPORTED_MODEL
- UNSUPPORTED_OUTPUT
- UNSUPPORTED_FILE_TYPE
- MISSING_FILE
- INVALID_FILE
- INVALID_PARAMETER
- FILE_TOO_LARGE
- TOO_MANY_PAGES
- INVALID_WEBHOOK_URL
- INVALID_PAGE_RANGE
- MISSING_FIELDS
- CARD_REQUIRED
- NO_ACTIVE_PLAN
- INSUFFICIENT_PAGES
- QUOTA_EXCEEDED
- SPEND_CAP_REACHED
- SMART_EXTRACT_LIMIT
- NOT_READY
- NOT_FOUND
- SERVICE_BUSY
- OCR_ERROR
- STORAGE_ERROR
- SERVICE_NOT_READY
- INTERNAL_ERROR
message:
type: string
request_id:
type: string
SuccessResponse:
type: object
properties:
success:
type: boolean
example: true
data:
type: object
request_id:
type: string
example: abcd1234efgh5678
warnings:
type: array
description: 'Optional and additive — present only when there is something worth telling you.
The conversion itself is unaffected: ignore the field and the response is what it
has always been. Today the only code is `PAGE_RANGE_SUGGESTED`, returned when a
single-document model (invoice, receipt, business_card) is asked to read a PDF of
more than 3 pages without `page_range`. File responses (xlsx/csv/txt) carry the
code in the `X-MyOCR-Warning` header instead, since they have no JSON body.
'
items:
type: object
properties:
code:
type: string
example: PAGE_RANGE_SUGGESTED
message:
type: string
responses:
QuotaExceeded:
description: Monthly quota exhausted
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
RateLimit:
description: Rate limit exceeded
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
PayloadTooLarge:
description: File too large or too many pages
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
Unauthorized:
description: Missing or invalid API key
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
OcrError:
description: Upstream OCR engine error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
BadRequest:
description: Validation error (missing/invalid field)
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
securitySchemes:
ApiKeyAuth:
type: apiKey
in: header
name: X-API-Key
description: Send your API key in the `X-API-Key` header. Get one at /account/api.