Send a PDF. Get clean, structured JSON. Works on any Bill of Lading, Commercial Invoice, Air Waybill, and more — regardless of carrier or format.
curl -X POST https://api.getbl.ai/api/v1/extract \
-H "X-API-Key: gbl_your_key_here" \
-H "Content-Type: application/json" \
-d '{
"pdfBase64": "JVBERi0xLjQ...",
"templateName": "BillOfLading"
}'
Response:
{
"success": true,
"data": {
"billOfLadingNumber": {
"value": "MSCU1234567",
"confidence": "high"
},
"vessel": {
"value": "MSC DIANA",
"confidence": "high"
},
"portOfLoading": {
"value": "Shanghai, CN",
"confidence": "high"
}
},
"inputTokens": 1842,
"outputTokens": 312
}
Supported document types
No custom training. No format-specific parsers. Just results.
Handwritten, printed, scanned — any carrier, any layout.
Clean structured data every time. Schema validated.
No seat licenses. No minimums. Scale up or down instantly.
Built on advanced AI models with multi-region redundancy.
Upload a freight PDF and see structured JSON extracted in real time.
Each key is the field name, each value is a plain description of what to extract.
Additional guidance sent to the AI — override field behaviour, specify units, or restrict which fields to extract.
Start free. Upgrade as you grow.
curl -X POST https://api.getbl.ai/api/v1/extract \
-H "X-API-Key: gbl_your_key" \
-H "Content-Type: application/json" \
-d '{
"pdfBase64": "'$(base64 -i document.pdf)'",
"templateName": "BillOfLading"
}'