All Commercial Auto Documents
curl --request POST \
--url https://api.ferofill.com/api/v1/submission/commercial-auto \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"files": [
null
]
}
'import requests
url = "https://api.ferofill.com/api/v1/submission/commercial-auto"
payload = { "files": [None] }
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({files: [null]})
};
fetch('https://api.ferofill.com/api/v1/submission/commercial-auto', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.ferofill.com/api/v1/submission/commercial-auto",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'files' => [
null
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.ferofill.com/api/v1/submission/commercial-auto"
payload := strings.NewReader("{\n \"files\": [\n null\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.ferofill.com/api/v1/submission/commercial-auto")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"files\": [\n null\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.ferofill.com/api/v1/submission/commercial-auto")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"files\": [\n null\n ]\n}"
response = http.request(request)
puts response.read_body{
"data": [
{
"template_confidence": 94,
"template": "acord_127_2023",
"processing_time": "2.8s",
"start_page": 1,
"end_page": 4,
"extracted_fields": [
{
"field_name": "applicant_name",
"value": "ABC Trucking LLC",
"confidence": 98,
"location": {"page": 1, "x": 0.15, "y": 0.12, "width": 0.25, "height": 0.02},
"data_type": "text"
},
{
"field_name": "total_vehicles",
"value": "25",
"confidence": 95,
"location": {"page": 1, "x": 0.6, "y": 0.35, "width": 0.05, "height": 0.02},
"data_type": "number"
}
],
"tables": [
{
"table_id": "vehicle_schedule",
"title": "Schedule of Vehicles",
"confidence": 92,
"location": {"page": 2, "x": 0.05, "y": 0.15, "width": 0.9, "height": 0.7},
"structure": {
"headers": ["Unit", "Year", "Make", "Model", "VIN", "Cost New", "Liability Limit"],
"rows": [
{
"row_index": 0,
"cells": [
{"column": "Unit", "value": "001"},
{"column": "Year", "value": "2022"},
{"column": "Make", "value": "Freightliner"},
{"column": "Model", "value": "Cascadia"},
{"column": "VIN", "value": "1FUJGBDV8NLXXXXXX"}
]
}
]
}
}
]
}
],
"error": null
}
Commercial Auto
All Commercial Auto Documents
Extract data from any commercial auto insurance document. The system will automatically identify the document type and extract relevant information.
POST
/
api
/
v1
/
submission
/
commercial-auto
All Commercial Auto Documents
curl --request POST \
--url https://api.ferofill.com/api/v1/submission/commercial-auto \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"files": [
null
]
}
'import requests
url = "https://api.ferofill.com/api/v1/submission/commercial-auto"
payload = { "files": [None] }
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({files: [null]})
};
fetch('https://api.ferofill.com/api/v1/submission/commercial-auto', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.ferofill.com/api/v1/submission/commercial-auto",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'files' => [
null
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.ferofill.com/api/v1/submission/commercial-auto"
payload := strings.NewReader("{\n \"files\": [\n null\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.ferofill.com/api/v1/submission/commercial-auto")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"files\": [\n null\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.ferofill.com/api/v1/submission/commercial-auto")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"files\": [\n null\n ]\n}"
response = http.request(request)
puts response.read_body{
"data": [
{
"template_confidence": 94,
"template": "acord_127_2023",
"processing_time": "2.8s",
"start_page": 1,
"end_page": 4,
"extracted_fields": [
{
"field_name": "applicant_name",
"value": "ABC Trucking LLC",
"confidence": 98,
"location": {"page": 1, "x": 0.15, "y": 0.12, "width": 0.25, "height": 0.02},
"data_type": "text"
},
{
"field_name": "total_vehicles",
"value": "25",
"confidence": 95,
"location": {"page": 1, "x": 0.6, "y": 0.35, "width": 0.05, "height": 0.02},
"data_type": "number"
}
],
"tables": [
{
"table_id": "vehicle_schedule",
"title": "Schedule of Vehicles",
"confidence": 92,
"location": {"page": 2, "x": 0.05, "y": 0.15, "width": 0.9, "height": 0.7},
"structure": {
"headers": ["Unit", "Year", "Make", "Model", "VIN", "Cost New", "Liability Limit"],
"rows": [
{
"row_index": 0,
"cells": [
{"column": "Unit", "value": "001"},
{"column": "Year", "value": "2022"},
{"column": "Make", "value": "Freightliner"},
{"column": "Model", "value": "Cascadia"},
{"column": "VIN", "value": "1FUJGBDV8NLXXXXXX"}
]
}
]
}
}
]
}
],
"error": null
}
Processing time may vary based on document complexity. For faster processing when you know the specific document type, use the template-specific endpoints.
Request
file[]
required
Upload one or more commercial auto documents for extraction. Supported file formats: pdf, jpeg, png, xlsx, docx, pptx, csv, and txt.
Response
array
required
Array of extracted document data objects
Show Document Data Object
Show Document Data Object
string
Identified document template. Supported templates: acord_127_2023, loss_run_commercial_auto, mvr, ifta_mileage, drivers_license, vehicle_schedule.
array
Array of extracted field objects. Fields vary by document type but commonly include: applicant_name, business_name, policy_number, policy_period, driver_name, license_number, vehicle_vin,
vehicle_year, vehicle_make, vehicle_model, coverage_limits, deductibles, premium_amount, claim_date, claim_amount, violation_date, violation_type
array
Array of extracted table objects. Common tables include: vehicle_schedule, driver_schedule, coverage_summary, loss_history, violation_history, ifta_quarterly_summary, mileage_by_jurisdiction
{
"data": [
{
"template_confidence": 94,
"template": "acord_127_2023",
"processing_time": "2.8s",
"start_page": 1,
"end_page": 4,
"extracted_fields": [
{
"field_name": "applicant_name",
"value": "ABC Trucking LLC",
"confidence": 98,
"location": {"page": 1, "x": 0.15, "y": 0.12, "width": 0.25, "height": 0.02},
"data_type": "text"
},
{
"field_name": "total_vehicles",
"value": "25",
"confidence": 95,
"location": {"page": 1, "x": 0.6, "y": 0.35, "width": 0.05, "height": 0.02},
"data_type": "number"
}
],
"tables": [
{
"table_id": "vehicle_schedule",
"title": "Schedule of Vehicles",
"confidence": 92,
"location": {"page": 2, "x": 0.05, "y": 0.15, "width": 0.9, "height": 0.7},
"structure": {
"headers": ["Unit", "Year", "Make", "Model", "VIN", "Cost New", "Liability Limit"],
"rows": [
{
"row_index": 0,
"cells": [
{"column": "Unit", "value": "001"},
{"column": "Year", "value": "2022"},
{"column": "Make", "value": "Freightliner"},
{"column": "Model", "value": "Cascadia"},
{"column": "VIN", "value": "1FUJGBDV8NLXXXXXX"}
]
}
]
}
}
]
}
],
"error": null
}
⌘I