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.

Operations 6

GET /v3/documents Get list of all documents #
POST /v3/documents Upload a document for parsing #
GET /v3/documents/{identifier} Get specific document #
PATCH /v3/documents/{identifier} Update a document #
DELETE /v3/documents/{identifier} Delete a document #
GET /v3/documents/{identifier}/redacted Get redacted document #

Documentation

Specifications

Schemas & Data

Other Resources

🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/affinda/refs/heads/main/json-ld/affinda-context.jsonld
🔗
APIsJSON
https://raw.githubusercontent.com/api-evangelist/affinda/refs/heads/main/apis.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/affinda/refs/heads/main/arazzo/affinda-add-collection-data-field-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/affinda/refs/heads/main/arazzo/affinda-add-workspace-member-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/affinda/refs/heads/main/arazzo/affinda-bootstrap-organization-workspace-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/affinda/refs/heads/main/arazzo/affinda-configure-resume-search-embed-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/affinda/refs/heads/main/arazzo/affinda-create-data-point-with-choices-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/affinda/refs/heads/main/arazzo/affinda-create-data-source-and-add-value-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/affinda/refs/heads/main/arazzo/affinda-create-document-from-data-and-index-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/affinda/refs/heads/main/arazzo/affinda-create-extractor-with-data-point-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/affinda/refs/heads/main/arazzo/affinda-create-index-and-add-document-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/affinda/refs/heads/main/arazzo/affinda-create-tag-and-tag-documents-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/affinda/refs/heads/main/arazzo/affinda-document-type-to-json-schema-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/affinda/refs/heads/main/arazzo/affinda-find-and-move-document-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/affinda/refs/heads/main/arazzo/affinda-invite-member-and-respond-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/affinda/refs/heads/main/arazzo/affinda-job-description-search-and-detail-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/affinda/refs/heads/main/arazzo/affinda-parse-and-correct-annotations-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/affinda/refs/heads/main/arazzo/affinda-parse-and-reject-document-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/affinda/refs/heads/main/arazzo/affinda-parse-and-validate-rule-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/affinda/refs/heads/main/arazzo/affinda-provision-and-ingest-document-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/affinda/refs/heads/main/arazzo/affinda-provision-workspace-collection-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/affinda/refs/heads/main/arazzo/affinda-rename-document-type-and-refresh-schema-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/affinda/refs/heads/main/arazzo/affinda-resume-search-and-detail-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/affinda/refs/heads/main/arazzo/affinda-split-document-and-reparse-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/affinda/refs/heads/main/arazzo/affinda-update-resume-data-and-reindex-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/affinda/refs/heads/main/arazzo/affinda-upload-and-parse-document-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/affinda/refs/heads/main/arazzo/affinda-upload-from-url-and-validate-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/affinda/refs/heads/main/arazzo/affinda-webhook-subscribe-and-activate-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/affinda/refs/heads/main/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-documents-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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

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://raw.githubusercontent.com/api-evangelist/affinda/refs/heads/main/openapi/affinda-documents-api-openapi.yml