curl --request POST \
--url https://api.ferofill.com/api/v1/submission/workers-comp \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"files": [
null
]
}'
{
"data": [
{
"template_confidence": 96,
"template": "acord_130_2023",
"processing_time": "2.5s",
"start_page": 1,
"end_page": 3,
"extracted_fields": [
{
"field_name": "employer_name",
"value": "Construction Solutions Inc",
"confidence": 99,
"location": {"page": 1, "x": 0.15, "y": 0.12, "width": 0.3, "height": 0.02},
"data_type": "text"
},
{
"field_name": "total_employees",
"value": "45",
"confidence": 97,
"location": {"page": 1, "x": 0.6, "y": 0.35, "width": 0.05, "height": 0.02},
"data_type": "number"
}
],
"tables": [
{
"table_id": "payroll_by_class_code",
"title": "Payroll by Classification",
"confidence": 94,
"location": {"page": 2, "x": 0.05, "y": 0.15, "width": 0.9, "height": 0.6},
"structure": {
"headers": ["Class Code", "Classification", "Payroll", "Rate", "Premium"],
"rows": [
{
"row_index": 0,
"cells": [
{"column": "Class Code", "value": "5645"},
{"column": "Classification", "value": "Carpentry"},
{"column": "Payroll", "value": "850000"},
{"column": "Rate", "value": "12.50"},
{"column": "Premium", "value": "10625"}
]
}
]
}
}
]
}
],
"error": null
}
Extract data from any workers compensation insurance document. The system will automatically identify the document type and extract relevant information.
curl --request POST \
--url https://api.ferofill.com/api/v1/submission/workers-comp \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"files": [
null
]
}'
{
"data": [
{
"template_confidence": 96,
"template": "acord_130_2023",
"processing_time": "2.5s",
"start_page": 1,
"end_page": 3,
"extracted_fields": [
{
"field_name": "employer_name",
"value": "Construction Solutions Inc",
"confidence": 99,
"location": {"page": 1, "x": 0.15, "y": 0.12, "width": 0.3, "height": 0.02},
"data_type": "text"
},
{
"field_name": "total_employees",
"value": "45",
"confidence": 97,
"location": {"page": 1, "x": 0.6, "y": 0.35, "width": 0.05, "height": 0.02},
"data_type": "number"
}
],
"tables": [
{
"table_id": "payroll_by_class_code",
"title": "Payroll by Classification",
"confidence": 94,
"location": {"page": 2, "x": 0.05, "y": 0.15, "width": 0.9, "height": 0.6},
"structure": {
"headers": ["Class Code", "Classification", "Payroll", "Rate", "Premium"],
"rows": [
{
"row_index": 0,
"cells": [
{"column": "Class Code", "value": "5645"},
{"column": "Classification", "value": "Carpentry"},
{"column": "Payroll", "value": "850000"},
{"column": "Rate", "value": "12.50"},
{"column": "Premium", "value": "10625"}
]
}
]
}
}
]
}
],
"error": null
}
Show Document Data Object
{
"data": [
{
"template_confidence": 96,
"template": "acord_130_2023",
"processing_time": "2.5s",
"start_page": 1,
"end_page": 3,
"extracted_fields": [
{
"field_name": "employer_name",
"value": "Construction Solutions Inc",
"confidence": 99,
"location": {"page": 1, "x": 0.15, "y": 0.12, "width": 0.3, "height": 0.02},
"data_type": "text"
},
{
"field_name": "total_employees",
"value": "45",
"confidence": 97,
"location": {"page": 1, "x": 0.6, "y": 0.35, "width": 0.05, "height": 0.02},
"data_type": "number"
}
],
"tables": [
{
"table_id": "payroll_by_class_code",
"title": "Payroll by Classification",
"confidence": 94,
"location": {"page": 2, "x": 0.05, "y": 0.15, "width": 0.9, "height": 0.6},
"structure": {
"headers": ["Class Code", "Classification", "Payroll", "Rate", "Premium"],
"rows": [
{
"row_index": 0,
"cells": [
{"column": "Class Code", "value": "5645"},
{"column": "Classification", "value": "Carpentry"},
{"column": "Payroll", "value": "850000"},
{"column": "Rate", "value": "12.50"},
{"column": "Premium", "value": "10625"}
]
}
]
}
}
]
}
],
"error": null
}