---
title: OCR Document Data Extraction API
slug: ocr-data-extraction
url: https://apyverse.com/apyhub/service/ocr-data-extraction
provider: ApyHub
categories: [Artificial Intelligence, Data Extraction, Image Processing]
tags: [document-extraction, ocr, pdf-parsing, azure-document-intelligence, layout-transcription]
auth: api_key
---

# OCR Document Data Extraction API

Extract read data from a document URL or uploaded file. Returns ApyHub or Azure parsing output for OCR and document ingestion workflows.

## Endpoints

| Method | Path | Description | Atoms |
| --- | --- | --- | --- |
| POST | `/url` | What it does Extracts read data from a document at the provided URL and returns a JSON object with… | 500 |
| POST | `/file` | What it does Uploads a file for read-data extraction and returns parsing output in a JSON response.… | 500 |

## About

## What it does
Read Data Extraction pulls structured read data from a document URL or uploaded file and returns parsing output you can work with in your app. Send a PDF or other supported file input, choose `apyhub` or `azure`, and get the extracted result back in the `data` object.

Use `POST /url` when your source is a file at a public URL, or `POST /file` when you want to upload the document directly. Both endpoints accept an optional Azure configuration: `key`, `region`, `endpoint`, `account_id`, and `access_token`. You can also set `requested_service` to select the parser, with `apyhub` as the default.

The response keeps the service output separated under `data.azure` and `data.apyhub`. That makes it easier to compare the raw Azure Document Intelligence output with ApyHub's structured Read Layout Transcription output, or to route the result into your own extraction pipeline.

Use Read Data Extraction for document ingestion workflows, OCR-backed content capture, or internal tools that need to turn read-heavy files into machine-readable data without building the parsing layer yourself.

## Usage

Authenticate with an ApyHub API key in the `apy-token` header.
Full docs and a live playground: https://apyverse.com/apyhub/service/ocr-data-extraction
