Developer API
Developer API · v1

PDF to Xactimate ESX API

The Antero Trail API converts a carrier estimate PDF into a Xactimate-ready .ESX file with rooms, line items, folder hierarchy, and dimensioned measurements, matched against a real Xactimate price list. You upload the PDF over HTTP, wait for the job to finish by polling or by receiving a webhook, and then download the ESX.

Base URL

Every endpoint lives under a single versioned base URL:

https://est.anterotrail.com/v1

How a conversion works

Conversions are asynchronous: parsing a PDF and generating an ESX takes real time, so there is no call that returns the ESX immediately. The full round trip is three steps.

Flow
1. POST /v1/conversions           → 202 { job_id, status: "queued" }
2. GET  /v1/conversions/{job_id}  → poll until "succeeded" or "failed"
3. follow esx_url                 → download the .ESX (time-limited link)

If you would rather not poll, register a webhook and we will POST the finished job to your endpoint when it completes, which replaces step 2.

Quickstart

With a test key, a single curl command uploads a PDF and starts a conversion, and after that you poll the returned job_id until the job is done.

curl
curl -s -X POST https://est.anterotrail.com/v1/conversions \
  -H "X-API-Key: at_test_xxxxxxxxxxxxxxxxxxxxxxxx" \
  -F "file=@estimate.pdf;type=application/pdf" \
  -F "price_list=FLTA8X_02MAY26"
202 Accepted
{ "job_id": "b3f1...", "status": "queued" }

From here, poll the job every few seconds. Most conversions finish in under a minute, and a successful job carries an esx_url that you follow to download the file.

Access

Antero Trail issues API keys directly, so there is no self-serve signup. Request access and we will send you an at_test_ key to build against, then a live key when you are ready. Test keys run the identical pipeline but never appear on an invoice.

Where to find each part of the API

PageWhat it covers
AuthenticationAPI keys, the difference between test and live keys, and auth errors.
ConversionsThe two core endpoints, one to start a conversion and one to read its result.
JSON outputThe converted estimate as structured JSON, using the estimate-v1 schema.
WebhooksHow to receive the finished job instead of polling, and how to verify the signature.
Errors & limitsEvery error code, plus rate limits, retention, and idempotency.
PostmanA collection you can import, then set your key and run GET /v1/ping.
New

JSON output. Besides the ESX file, a conversion can return the estimate as structured JSON with the claim header, sections with dimensions, line items with pricing, and notes. Add "json" to output_formats and the conversion still costs a single credit. The JSON output page documents the estimate-v1 schema.