---
title: ID Data Extraction
slug: extract-id-data
url: https://apyverse.com/apyhub/service/extract-id-data
provider: ApyHub
categories: [Data Extraction, Data Validation, Image Processing]
tags: [id-extraction, document-parsing, identity-verification, ocr, azure-document-intelligence]
auth: api_key
---

# ID Data Extraction

Extract structured data from ID documents by URL or file upload. Choose ApyHub parsing or raw Azure Document Intelligence output.

## Endpoints

| Method | Path | Description | Atoms |
| --- | --- | --- | --- |
| POST | `/ai/document/extract/id/url` | Extract id data (URL input) Analyze id at the provided URL. Note: The optional 'requestedservice' s… | 500 |
| POST | `/ai/document/extract/id/file` | What it does Uploads a file and extracts ID data from it. The response returns a JSON object with a… | 500 |

## About

## What it does
ID Data Extraction turns an ID document into structured parsing output. Send a PDF or image by URL or upload a file, and choose whether you want ApyHub extraction or raw Azure Document Intelligence output.

Use the `/url` endpoint when the document lives at a public URL, or `/file` when you have the document in hand. The request body accepts a `requested_service` value of `apyhub` or `azure`. If you use Azure, you can also pass custom credentials such as `azure.key`, `azure.region`, `azure.endpoint`, `azure.account_id`, or `azure.access_token` on the URL flow, and the equivalent Azure fields on the file upload flow.

The response is returned under `data`, with separate objects for `apyhub` and `azure`. That makes it straightforward to plug into onboarding flows, identity verification steps, document intake pipelines, or back-office review tools where you need machine-readable ID parsing rather than manual data entry.

Use ID Data Extraction when you need to extract and route identity document data from an uploaded file or a document URL without building your own parsing layer.

## Usage

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