PDF Extraction and Document AI API

DocuStruct - PDF & Image to Structured JSON

DocuStruct is a PDF Extraction and Image to Structured JSON API. Upload a PDF, PNG, JPG or WebP with a requested JSON shape; the service verifies the file signature, stores it securely and runs multimodal Document AI extraction.

Use this site to verify the contract and demo. Select a plan and receive marketplace credentials through RapidAPI.

RapidAPI discovery posture

DocuStruct - PDF & Image to Structured JSON Extraction API

PDF Extraction and Image to Structured JSON API for Document AI workflows. Extract factual B2B data from PDFs, invoices and technical images with schema-validated JSON output.

PDF-ExtractionDocument-AIImage-ExtractionOCRStructured-Data

Search intent: PDF extraction · image to JSON · document AI · OCR · structured data

Open listing & choose a plan
Live document extraction

A real file in. Strict JSON out.

The playground sends the selected file to the protected server pipeline. The server validates its binary signature before storage and asks the multimodal model to return only the requested JSON shape.

docustruct.extract / PDF · PNG · JPG · WebP
Source documentup to 10 MB
Structured resultawaiting file
Select a document and press Extract.

No result is fabricated before the server completes a request.
Binary MIME validation · 25 PDF pages max · idempotent retry
Reference workflow

See how one authorized document can move into a reviewable record.

The reference case makes the input boundary, requested JSON fields, validation state and human hand-off explicit. It is a workflow model, not a customer result or accuracy claim.

Marketplace activation

Verify here. Activate through RapidAPI.

Foundry/API provides the product explanation, demo boundaries and contract reference. The public RapidAPI listing is the single commercial path for plan selection, billing and marketplace credentials.

01

Inspect fit

Review the request shape, limits and a bounded demo using only authorized inputs.

02

Choose a RapidAPI plan

Open the listing and select the plan that matches your expected usage. 50 processed pages/month

03

Call through the gateway

Use the RapidAPI snippets and marketplace credentials shown on the listing; do not expose credentials in source code or templates.

Integration notes

RapidAPI-ready endpoint contracts.

Every endpoint documents a testable request shape or an explicit public-source requirement, plus a response example, so a developer can inspect the contract before running it through RapidAPI.

POST/api/v1/docustruct/extract
curl --request POST \
  --url https://YOUR_RAPIDAPI_HOST/api/v1/docustruct/extract \
  --header 'x-rapidapi-key: YOUR_KEY' \
  --header 'x-rapidapi-host: YOUR_RAPIDAPI_HOST' \
  --header 'Idempotency-Key: invoice-demo-001' \
  --header 'Content-Type: application/json' \
  --data '{"filename":"invoice.png","mimeType":"image/png","base64":"BASE64_FILE","schema":"{\"vendor\":\"string\",\"total\":\"number\"}"}'
200Example response
{"id":"ds_...","status":"completed","pageCount":1,"result":{"vendor":"ACME","total":149.5},"model":"gemini-3-flash-preview"}
Marketplace FAQ

Commercial and integration questions.

Where do I activate this API?

Choose a plan on the linked RapidAPI listing. The marketplace manages billing and provides the credentials and request snippets for the gateway.

How are limits enforced?

50 processed pages/month The listing shows the applicable plan and the request contract documents product-level safeguards.

What data is retained?

Retention differs by workflow and is documented in the Privacy notice. Do not send secrets, credentials, regulated data or content you are not authorized to process.

What support is included?

This site explains verified integration boundaries and support guidance. Marketplace plan questions and billing are handled through RapidAPI.