Affinda Documents API

Upload documents (PDF, images, DOCX, XLSX, TXT, HTML) and Affinda returns structured JSON extraction with confidence scores, bounding boxes, and OCR text. Supports invoices, resumes, receipts, contracts, passports, and custom document types. 20 MB file size limit (5 MB for resumes), 20 pages default. Returns parsing status, raw text, parsed fields, and original file references.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).
Business capability
Language & Document Understanding AE-110.40

Operations 6

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /v3/documents List my parsed documents · Get list of all documents #
Ask an LLM
“Which documents have I uploaded for parsing?”
“Can I list only documents in one workspace or collection?”
Tell an agent
List all my parsed documents.
List documents in workspace {workspace}.
POST /v3/documents Upload a document for parsing · Upload a document for parsing #
Ask an LLM
“How do I upload a PDF so Affinda extracts its data?”
“Can I upload a document by URL instead of a file?”
Tell an agent
Upload {file} for parsing.
Parse the document at {url} and wait for results.
GET /v3/documents/{identifier} Get a parsed document's results · Get specific document #
Ask an LLM
“What data did Affinda extract from a document I uploaded?”
“Can I get the parsed result of one document by its identifier?”
Tell an agent
Get document {identifier}.
Show the parsed result of {identifier} in {format} format.
PATCH /v3/documents/{identifier} Rename, move or expire a parsed document · Update a document #
Ask an LLM
“Can I change the expiry time of a document?”
“How do I move an uploaded document to another collection?”
Tell an agent
Set the expiry of document {identifier} to {expiryTime}.
Move document {identifier} to collection {collection}.
DELETE /v3/documents/{identifier} Delete a parsed document · Delete a document #
Ask an LLM
“How do I remove a document from my account?”
“Can I delete a parsed document I no longer need?”
Tell an agent destructive · confirm first
Delete document {identifier}.
Remove the parsed document {identifier} from my account.
GET /v3/documents/{identifier}/redacted Download a redacted copy of a document · Get redacted document #
Ask an LLM
“Can I get a redacted version of a document without changing the original?”
“Where do I download the redacted copy of a parsed document?”
Tell an agent
Get the redacted version of document {identifier}.
Download a redacted copy of {identifier}.

Documentation

Specifications

Schemas & Data

Other Resources

🔗
JSONLD
https://artifacts.apis.io/affinda/json-ld/affinda-context.jsonld
🔗
APIsJSON
https://artifacts.apis.io/affinda/apis.yml
🔗
Arazzo
https://artifacts.apis.io/affinda/arazzo/affinda-add-collection-data-field-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/affinda/arazzo/affinda-add-workspace-member-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/affinda/arazzo/affinda-bootstrap-organization-workspace-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/affinda/arazzo/affinda-configure-resume-search-embed-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/affinda/arazzo/affinda-create-data-point-with-choices-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/affinda/arazzo/affinda-create-data-source-and-add-value-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/affinda/arazzo/affinda-create-document-from-data-and-index-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/affinda/arazzo/affinda-create-extractor-with-data-point-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/affinda/arazzo/affinda-create-index-and-add-document-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/affinda/arazzo/affinda-create-tag-and-tag-documents-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/affinda/arazzo/affinda-document-type-to-json-schema-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/affinda/arazzo/affinda-find-and-move-document-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/affinda/arazzo/affinda-invite-member-and-respond-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/affinda/arazzo/affinda-job-description-search-and-detail-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/affinda/arazzo/affinda-parse-and-correct-annotations-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/affinda/arazzo/affinda-parse-and-reject-document-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/affinda/arazzo/affinda-parse-and-validate-rule-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/affinda/arazzo/affinda-provision-and-ingest-document-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/affinda/arazzo/affinda-provision-workspace-collection-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/affinda/arazzo/affinda-rename-document-type-and-refresh-schema-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/affinda/arazzo/affinda-resume-search-and-detail-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/affinda/arazzo/affinda-split-document-and-reparse-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/affinda/arazzo/affinda-update-resume-data-and-reindex-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/affinda/arazzo/affinda-upload-and-parse-document-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/affinda/arazzo/affinda-upload-from-url-and-validate-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/affinda/arazzo/affinda-webhook-subscribe-and-activate-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/affinda/arazzo/affinda-workspace-usage-report-workflow.yml

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/affinda:affinda-documents-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

affinda-documents-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: '# Introduction

    Affinda uses the latest advancements in AI technology to rapidly process documents with better-than-human accuracy.'
  version: v3
  title: Affinda Documents API
  contact:
    email: contact@affinda.com
  license:
    name: MIT
    url: https://raw.githubusercontent.com/affinda/affinda-api-spec/master/LICENSE
  x-logo:
    url: https://api.affinda.com/static/documentation/affinda_logo.png
    backgroundColor: '#FFFFFF'
    altText: Affinda logo
servers:
- url: https://{region}.affinda.com
  description: 'Select the correct server for your instance: api (AUS/Global), api.us1 (US), or api.eu1 (EU).'
  variables:
    region:
      default: api
      description: The instance region. Use 'api' for AUS/Global, 'api.us1' for US, or 'api.eu1' for EU. You can find your region in the Affinda web app URL.
      enum:
      - api
      - api.eu1
      - api.us1
      x-ms-parameter-location: client
security:
- ApiKeyAuth: []
tags:


# --- truncated at 32 KB (35 KB total) ---
# Full source: https://artifacts.apis.io/affinda/openapi/affinda-documents-api-openapi.yml