OCRRouterObter chave de API

Table OCR API

Pull tables out of PDFs and images with merged cells and multi-row headers intact, as Markdown or as rows.

Resultado

Seu Markdown ou JSON aparecerá aqui.

What makes tables hard to read

  • Borderless tables
  • Merged and spanning cells
  • Tables that continue on the next page

What you can pull out

table fields
{
  "rows[][]": "[[\"Item\",\"Qty\"],[\"A\",\"2\"]]",
  "markdown": "| Item | Qty |",
  "bbox": "[96, 260, 1144, 520]",
  "page": "3"
}

Best models for tables

Call it from your code

curl https://api.ocrrouter.ai/v1/ocr \
  -H "Authorization: Bearer $OCRROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "reducto/parse",
    "file_url": "https://example.com/invoice.pdf",
    "format": "json"
  }'

Questions

Other documents