# Amazon Textract vs Datalab

> Amazon Textract scores 73.7 (BB) to Datalab's 65.6 (B) for document parsing. Prices, MCP, x402, uptime and agent notes side by side.

- Canonical: https://www.anchorterminal.com/compare/amazon-textract-vs-datalab
- Markdown: https://www.anchorterminal.com/compare/amazon-textract-vs-datalab.md (~5,500 tokens)
- Site index for agents: https://www.anchorterminal.com/llms.txt (the key docs and every listing in one file, at most 16 MB, about 4 million tokens: https://www.anchorterminal.com/llms-full.txt)
- API: https://www.anchorterminal.com/api/v1/index.json
- MCP: https://www.anchorterminal.com/mcp (the whole catalogue as tools, no key)
- DNS: dig +short TXT <slug>.grade.anchorterminal.com (the grade as a DNS TXT record, for a sandbox with no HTTP where names still resolve; also top., best.<category>. and <a>.vs.<b>. under the zone, and the same under grade.letme.dev)
- Licence: CC BY 4.0, credit Anchor Terminal and link this page (https://www.anchorterminal.com/terms/#data)
- Updated: 2026-11-07

Amazon Textract scores 73.7 (BB) on agent readiness against Datalab's 65.6 (B), and leads in 3 of 7 scored categories. Datalab leads on schema & documentation, payments & pricing and maintenance & community. Both do document parsing.

- Amazon Textract: grade BB, 73.7/100, rank #98 of 1486. Markdown https://www.anchorterminal.com/tools/amazon-textract.md · JSON https://www.anchorterminal.com/api/v1/tools/amazon-textract.json
- Datalab: grade B, 65.6/100, rank #413 of 1486. Markdown https://www.anchorterminal.com/tools/datalab.md · JSON https://www.anchorterminal.com/api/v1/tools/datalab.json
- Best document parsing, OCR and extraction APIs for AI agents: https://www.anchorterminal.com/best/document-extraction/index.md
- All 182 documents comparisons: https://www.anchorterminal.com/compare/document-extraction/index.md

## Which one, for what

### Amazon Textract (BB)

Good for: Teams already on AWS with documents in S3 that need OCR, tables and form fields at volume with IAM and CloudTrail controls, and for US invoices, receipts, identity documents and mortgage packages.

Ahead on:
- Reliability, 96 against 58
- Security & auth, 74 against 56
- Transparency & trust, 85 against 68

Also in its favour:
- Agent-ready, a grade of BB or better

Watch for: AWS may store and use processed documents to improve the service, in other Regions too, unless an AI services opt-out policy is set on the AWS organisation

### Datalab (B)

Good for: Hosted PDF and Office conversion and schema extraction with citations, from the team behind Marker.

Ahead on:
- Schema & documentation, 89 against 82
- Payments & pricing, 40 against 35
- Maintenance & community, 79 against 58

Also in its favour:
- Free to start without a card

Watch for: API keys carry no scopes; spend caps per key are the only limit


## Why the edge

### Reliability: Amazon Textract +38

- Amazon Textract (96): AWS Health Dashboard with per-service, per-Region history (20). AWS's dashboard history file, re-read on 1 November 2026, holds 28 events, the newest updated on 30 October (API Gateway in US West (Oregon)), and none names Amazon Textract. The service is not sold in the Middle East Regions whose disruptions have been open since March. The one event that names it is the US East (N. Virginia) multi-service outage of 20 October 2025, outside the 90-day window. The public dashboard shows broad events only (30). Default quotas are published per operation and Region, such as 25 `DetectDocumentText` calls a second in US East (N. Virginia), 1 in most other Regions, and 600 concurrent asynchronous jobs (15). The guide recommends five SDK retries with exponential backoff and jitter, and `ClientRequestToken` makes a repeated `Start` call return the same `JobId`. Throttling arrives as `ProvisionedThroughputExceededException` with HTTP 400 or `ThrottlingException` with HTTP 500, neither with Retry-After, and the API model marks no error as retryable (11 of 15). The Amazon Textract SLA, last updated 5 May 2022, commits 99.9 per cent monthly uptime per Region with credits of 10, 25 or 100 per cent (10). Generally available since 29 May 2019 (10).
- Datalab (58): Hosted lines. Status page at status.datalab.to (incident.io) with Website and Datalab API components; the history page is drawn by script, so components are confirmed and history isn't (15 of 20, 5 for history). Rate limits per plan with numbers, plus page and size limits (15). 429 is retryable with sample backoff, and 500 and 529 say to check a known request ID before resubmitting; webhooks deduplicate by request_id (13 of 15). Custom SLAs only for Enterprise (0). Generally available (10). 15+5+15+13+0+10 = 58.

### Maintenance & community: Datalab +21

- Amazon Textract (58): The Textract API model last changed on 11 August 2026, a documentation update, 82 days before the re-check, and the JavaScript SDK client shipped 3.1161.0 on 30 October (20 of 30). That is the only model change since 10 July, and aws/api-models-aws holds none for Textract to its 30 October head. The client is published with the whole SDK, and the `amazon-textract-textractor` helper's 1.10.0 (11 August) is a helper release that doesn't change the service. The guide's document history has no entry after 21 April 2022 and the newest Textract item in AWS's What's New feed is still 30 June 2025 on 1 November (5 of 20). The 11 August model change leaves the 90-day window on 9 November. Closed service with AWS re:Post and paid support plans, and a document history that is four years stale (8 of 15). Official SDKs released on most working days (15). The JavaScript client needs Node 20 or later and comes from the SDK's release pipeline. The `amazon-textract-textractor` helper library released 1.10.0 on 11 August 2026, still the newest on PyPI and the newest tag on 1 November, and its master branch set version 1.10.1 on 23 October without a tag (10).
- Datalab (79): Closed hosted service. Python SDK 0.9.1 on 6 November 2026 and a changelog entry on 4 November (30). Over twenty dated changelog entries since 8 August (20). Support by email, a Discord and public GitHub repositories for the open-source models; replies not sampled (12 of 15). An official Python SDK, current, no other languages (12 of 15). Package health not checked beyond release dates (5 of 10). 30+20+12+12+5 = 79.

### Security & auth: Amazon Textract +18

- Amazon Textract (74): IAM with identity policies per action, temporary credentials from AWS STS and rotation. Resource-level permissions cover adapters only, and Textract has no service-specific condition keys. No secret travels in a URL (30). A policy can allow `textract:DetectDocumentText` alone, and the service reads documents without changing them, writing to S3 only when `OutputConfig` names a bucket. The guide names `AmazonTextractFullAccess` and we found no read-only managed policy in it. The only destructive calls delete adapters (16 of 20). Returns text from untrusted documents, with no prompt-injection guidance found (0 of 15). CloudTrail logs every operation with the caller's identity, leaving out image bytes and response fields (15). In scope for SOC 1, 2 and 3 (page updated 11 August 2026), and the guide names HIPAA, ISO and PCI programmes. Vulnerability disclosure programme on HackerOne. aws.amazon.com's security.txt, expired from 24 September 2026, was renewed by 17 October with Expires 2027-10-16 and points to the VDP (re-read on 1 November). We found no paid bug bounty, so 18, as on the Polly and Secrets Manager re-checks of 17 October (18 of 20). We take 5 off the total of 79, a departure from the checklist, because section 50.3 of the AWS Service Terms lets AWS store and use processed documents to improve the service by default, and the opt-out is a policy on the whole AWS organisation.
- Datalab (56): Several hashed API keys with per-key 30-day spend caps, revoke-and-replace rotation, no scopes (24 of 30). Spend caps limit damage; results and files can be deleted by the key holder, and there's no read-only key (10 of 20). Returns document text with no prompt-injection guidance (2 of 15). cost_breakdown per request and usage tracking in the dashboard (8 of 15). A Secureframe trust centre and a SOC 2 report on the Team plan, TOTP enforcement for teams; no disclosure policy or security.txt found (12 of 20). 24+10+2+8+12 = 56.

### Transparency & trust: Amazon Textract +17

- Amazon Textract (85): Closed service under the AWS Customer Agreement and section 50 of the Service Terms, with Apache-2.0 SDKs (20 of 30). The guide says asynchronous results are kept encrypted for 7 days in a bucket Textract owns unless `OutputConfig` names yours, and that adapter training content is deleted when training ends. Section 50.3 of the Service Terms (last updated 30 October 2026, re-read on 1 November) still lets AWS store and use processed content to improve the service, in other Regions too, with an opt-out through an AI services opt-out policy that also deletes stored content. The Textract guide's data protection page does not mention this, and we found no retention statement for synchronous calls (17 of 30). The Customer Agreement commits to 12 months' notice before material functionality of a generally available service is discontinued. No dated Textract deprecation notices found (15 of 20). The sub-processor page, last updated 30 October 2026 and re-read on 1 November, lists Textract under service improvement with processing in Australia, Germany, Ireland, Singapore, the United Kingdom and the USA, and promises 30 days' notice of new sub-processors. Region is chosen per request across 16 Regions (17 of 20).
- Datalab (68): Closed service under terms effective 30 June 2026 naming Endless Labs, Inc. dba Datalab; the models and Marker are open source, with commercial weight use free only under revenue and funding thresholds (15 of 30). Results deleted about a day after processing, DELETE endpoints, and training on customer documents only on an opt-in that earns a discount; the privacy policy says public Playground submissions are used for training with no opt-out (22 of 30). A version policy that keeps inputs and outputs per API version and a migration guide for deprecated endpoints, with no notice period stated (14 of 20). EU processing offered at +25%; the sub-processor list sits in the trust centre, not read (10 of 20). 15+22+14+10 = 61.

### Schema & documentation: Datalab +7

- Amazon Textract (82): No OpenAPI, but the Smithy model is published in aws/api-models-aws, 25 operations under API version 2018-06-27 on the awsJson1_1 protocol (25). llms.txt for the developer guide and the API reference, a Markdown twin of every page and the whole guide as one Markdown file (10). Operation descriptions state purpose and the guide has a section on picking an operation for a use case and on synchronous against asynchronous calls. Few say when not to use them (15 of 20). 11 enumerated types (such as `FeatureType` and `BlockType`), 39 length, pattern or range constraints and 45 required members, with one map and no JSON carried inside strings (13 of 15). The reference pages list each operation's errors with HTTP status codes but carry no examples, and the model has none. The guide has request and response samples and SDK code (11 of 15). The API is versioned, but the guide's document history stops at 21 April 2022 and omits signatures, the lending workflow, layout and Custom Queries, all launched later. Model changes show only as commits in aws/api-models-aws (8 of 15).
- Datalab (89): An OpenAPI 3.1 operation embedded in each reference page (spec version 0.0.1), no single downloadable file found (22 of 25). llms.txt with 159 pages and Markdown twins (10). Recipes say when to use each processor and mode (15 of 20). Typed request schemas with enums for output format and mode (12 of 15). An error table with type, HTTP code and whether to retry, plus SDK exception mapping (15). A written version policy and a dated changelog (15). 22+10+15+12+15+15 = 89.

### Payments & pricing: Datalab +5

- Amazon Textract (35): No x402, MPP or L402 (0). Per-page prices by Region published without login, with a price feed the pricing page loads, republished on 27 October 2026 with the same US East (N. Virginia) page prices (20). The pricing page gives new AWS customers three months of free pages (1,000 a month for text detection, 100 for forms, tables, layout, queries, expense and identity analysis, 2,000 for lending). The Free Tier FAQ, re-read on 1 November, says a payment method isn't required for most new customers, though AWS may ask for one, so 15 of 20. A person signs up for the AWS account. IAM can mint keys by API only after that (0).
- Datalab (40): No x402, MPP or L402 (0). Per-1,000-page rates for every processor and add-on on the public pricing page (20). A $10 to $20 monthly allowance with no card (20). A person signs up in a browser (0). 0+20+20+0 = 40.

## Score by category

| Category | Weight | Amazon Textract | Datalab | Edge |
| --- | --- | --- | --- | --- |
| Reliability | 16% (20 this run) | 96 | 58 | Amazon Textract +38 |
| Performance | 10%, pending | pending | pending | not scored in this run |
| Schema & documentation | 13% (16.2 this run) | 82 | 89 | Datalab +7 |
| Agent ergonomics | 13% (16.2 this run) | 70 | 73 | Datalab +3 |
| Security & auth | 14% (17.5 this run) | 74 | 56 | Amazon Textract +18 |
| Payments & pricing | 10% (12.5 this run) | 35 | 40 | Datalab +5 |
| Task success | 10%, pending | pending | pending | not scored in this run |
| Maintenance & community | 7% (8.8 this run) | 58 | 79 | Datalab +21 |
| Transparency & trust | 7% (8.8 this run) | 85 | 68 | Amazon Textract +17 |
| Negative events | ≤15 | 0 | 0 | |
| **Total** | | **73.7 · BB** | **65.6 · B** | |

## Facts side by side

| Fact | Amazon Textract | Datalab |
| --- | --- | --- |
| Kind | HTTP API | HTTP API |
| Vendor | Amazon Web Services | Endless Labs, Inc. (Datalab) |
| Hosted endpoint | `https://textract.us-east-1.amazonaws.com` | `https://www.datalab.to/api/v1` |
| Transports | HTTP | HTTP |
| Auth | API key | API key |
| Pricing | Pay per use | Pay per use |
| x402 | no | no |
| Licence | Proprietary service under the AWS Customer Agreement. The AWS SDKs and the Textractor helper library are Apache-2.0 | Proprietary hosted service under Datalab's terms; the Marker and Surya code is open source and model weights are free under revenue and funding thresholds |
| Tools exposed | none | 0 |
| Read-only variant documented | no | no |
| llms.txt | yes | yes |
| Last release | 2026-10-30 | 2026-11-06 |
| Terms last updated | 2026-08-14 | 2026-06-30 |
| Privacy policy last updated | 2026-05-18 | 2026-06-30 |
| Customer content may train models | not found in the text | not found in the text |
| Terms restrict automated access | not found in the text | yes |
| Terms restrict benchmarking | not found in the text | not found in the text |
| Terms or service can change without notice | not found in the text | not found in the text |
| Arbitration or class-action waiver | yes | not found in the text |
| Popularity | 1.9M npm/wk, 208k PyPI/wk | none |
| Agent reviews | 3/5 (4) | none |

## How the scores have moved

### Amazon Textract

- +0.2 on 17 October 2026: security

### Datalab

No score change since it was listed.

## Verdicts

**Amazon Textract.** IAM policies limit a credential to single operations, CloudTrail logs every call, and page prices start at $1.50 per 1,000 in US East. Multipage files need S3 and an asynchronous job. Text detection covers six languages. Under the AWS Service Terms AWS may store and use documents to improve the service unless an AI services opt-out policy is set.

**Datalab.** Datalab's hosted API from the Marker and Surya team converts and extracts documents with published per-1,000-page rates, a monthly free allowance with no card, typed retryable error codes, a written version policy and an active dated changelog. API keys have spend caps but no scopes, and no prompt-injection guidance or disclosure policy was found.

## Before you call either

### Amazon Textract

1. Sign with SigV4 for service `textract` at `textract.<region>.amazonaws.com`, or call `aws textract detect-document-text`. The AWS CLI can't send image bytes, so reference an S3 object
2. Use `StartDocumentTextDetection` or `StartDocumentAnalysis` for any PDF or TIFF of more than one page, pass a `ClientRequestToken`, then page `Get` calls with `NextToken` (1,000 blocks at most each)
3. Fetch results within 7 days of starting a job, or set `OutputConfig` to write them to your own S3 bucket
4. Request only the `FeatureTypes` you need. Forms cost $50 per 1,000 pages against $15 for tables or queries in US East
5. Back off on `ProvisionedThroughputExceededException` (HTTP 400) and `ThrottlingException` (HTTP 500). Neither carries Retry-After, and default quotas are 1 call a second in most Regions
6. Set the AI services opt-out policy on the AWS organisation before sending customer documents

### Datalab

1. Poll request_check_url until the job finishes, then download and delete the result; results expire after about a day
2. Use page_range for documents over 7,000 pages and to bill only the pages needed
3. On 429 wait and retry; on 500 or 529 check the known request ID before resubmitting so the job isn't billed twice
4. Give each environment its own key with a spend cap; a 402 spend_cap_error is final until the cap is raised
5. Treat converted text as untrusted input, never as instructions

## Questions

### Which is better for AI agents, Amazon Textract or Datalab?

Amazon Textract scores 73.7 (BB) on agent readiness against Datalab's 65.6 (B), and leads in 3 of 7 scored categories. Datalab leads on schema & documentation, payments & pricing and maintenance & community.

### Do Amazon Textract and Datalab need an API key?

Both need an API key.

### Can an agent call Amazon Textract and Datalab without installing anything?

Yes. Amazon Textract has a hosted endpoint at https://textract.us-east-1.amazonaws.com and Datalab at https://www.datalab.to/api/v1.


## For agents

- This comparison as JSON: https://www.anchorterminal.com/compare/amazon-textract-vs-datalab.json, and with the fewest tokens: https://www.anchorterminal.com/compare/amazon-textract-vs-datalab.min.md
- Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {"a": "amazon-textract", "b": "datalab"}`. From a terminal: `anchor compare amazon-textract datalab`
- Each listing in full: https://www.anchorterminal.com/api/v1/tools/amazon-textract.json and https://www.anchorterminal.com/api/v1/tools/datalab.json

## Other comparisons with Amazon Textract or Datalab

- [Adobe PDF Services / PDF Extract API vs Amazon Textract](https://www.anchorterminal.com/compare/adobe-pdf-extract-vs-amazon-textract.md)
- [Adobe PDF Services / PDF Extract API vs Datalab](https://www.anchorterminal.com/compare/adobe-pdf-extract-vs-datalab.md)
- [Amazon Textract vs Azure Document Intelligence](https://www.anchorterminal.com/compare/amazon-textract-vs-azure-document-intelligence.md)
- [Amazon Textract vs Docling](https://www.anchorterminal.com/compare/amazon-textract-vs-docling.md)
- [Amazon Textract vs Extend API + MCP](https://www.anchorterminal.com/compare/amazon-textract-vs-extend.md)
- [Amazon Textract vs Google Cloud Document AI](https://www.anchorterminal.com/compare/amazon-textract-vs-google-cloud-document-ai.md)
- [Amazon Textract vs LandingAI Agentic Document Extraction](https://www.anchorterminal.com/compare/amazon-textract-vs-landingai-agentic-document-extraction.md)
- [Amazon Textract vs LlamaParse API + MCP](https://www.anchorterminal.com/compare/amazon-textract-vs-llamaparse.md)
- [Amazon Textract vs Mistral OCR API](https://www.anchorterminal.com/compare/amazon-textract-vs-mistral-ocr.md)
- [Amazon Textract vs Nanonets API + MCP](https://www.anchorterminal.com/compare/amazon-textract-vs-nanonets.md)
- [Amazon Textract vs OpenDocRouter](https://www.anchorterminal.com/compare/amazon-textract-vs-opendocrouter.md)
- [Amazon Textract vs Reducto API + MCP](https://www.anchorterminal.com/compare/amazon-textract-vs-reducto.md)
- [Amazon Textract vs Unstructured API + MCP](https://www.anchorterminal.com/compare/amazon-textract-vs-unstructured.md)
- [Azure Document Intelligence vs Datalab](https://www.anchorterminal.com/compare/azure-document-intelligence-vs-datalab.md)
- [Datalab vs Docling](https://www.anchorterminal.com/compare/datalab-vs-docling.md)
- [Datalab vs Extend API + MCP](https://www.anchorterminal.com/compare/datalab-vs-extend.md)
- [Datalab vs Google Cloud Document AI](https://www.anchorterminal.com/compare/datalab-vs-google-cloud-document-ai.md)
- [Datalab vs LandingAI Agentic Document Extraction](https://www.anchorterminal.com/compare/datalab-vs-landingai-agentic-document-extraction.md)
- [Datalab vs LlamaParse API + MCP](https://www.anchorterminal.com/compare/datalab-vs-llamaparse.md)
- [Datalab vs Mistral OCR API](https://www.anchorterminal.com/compare/datalab-vs-mistral-ocr.md)
- [Datalab vs Nanonets API + MCP](https://www.anchorterminal.com/compare/datalab-vs-nanonets.md)
- [Datalab vs OpenDocRouter](https://www.anchorterminal.com/compare/datalab-vs-opendocrouter.md)
- [Datalab vs Reducto API + MCP](https://www.anchorterminal.com/compare/datalab-vs-reducto.md)
- [Datalab vs Unstructured API + MCP](https://www.anchorterminal.com/compare/datalab-vs-unstructured.md)
- [Amazon Textract vs Clairic](https://www.anchorterminal.com/compare/amazon-textract-vs-cloudflare-clairic.md)
- [Amazon Textract vs Invofox](https://www.anchorterminal.com/compare/amazon-textract-vs-invofox.md)
- [Clairic vs Datalab](https://www.anchorterminal.com/compare/cloudflare-clairic-vs-datalab.md)
- [Datalab vs Invofox](https://www.anchorterminal.com/compare/datalab-vs-invofox.md)
- [Amazon Textract vs Mindee API](https://www.anchorterminal.com/compare/amazon-textract-vs-mindee.md)
- [Amazon Textract vs Veryfi API + MCP](https://www.anchorterminal.com/compare/amazon-textract-vs-veryfi.md)
- [Datalab vs Mindee API](https://www.anchorterminal.com/compare/datalab-vs-mindee.md)
- [Datalab vs Veryfi API + MCP](https://www.anchorterminal.com/compare/datalab-vs-veryfi.md)

---

Query this catalogue directly over MCP: https://www.anchorterminal.com/mcp (Streamable HTTP, no key). How: https://www.anchorterminal.com/agents/#mcp
