JSON output
Every conversion can also return the estimate as structured JSON that
follows the estimate-v1 schema. It contains the same content
as the ESX, in the same order: the claim header, the section tree with
dimensions, the line items with the prices printed in the source PDF, and
the notes.
How do I request JSON output?
Add "json" to the output_formats field on
POST /v1/conversions.
The field is repeatable, so you send it once for each format you want.
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" \
-F "output_formats=esx" \
-F "output_formats=json"
When the job succeeds, the job resource
and the identical webhook body carry an
artifacts array that lists every output of the job, each with
its own time-limited signed URL.
{
"job_id": "b3f1...",
"status": "succeeded",
"artifacts": [
{ "type": "esx", "url": "https://.../job.esx?sig=...", "expired": false },
{ "type": "json", "url": "https://.../job.json?sig=...", "expired": false }
]
}
A job is metered once no matter which formats it produces, so
requesting json, esx, or both costs the same
single credit.
What conventions does the JSON follow?
- Money is always a string with two decimals (for example
"1234.56") and never a float, so parse it with a decimal type instead of floating point. - Quantities are numbers, and each one has a
unitstring next to it. - Absent values omit the key instead of using
null, so your code should handle missing optional keys. - Ordering is meaningful, because sections and line items appear in the same order as in the ESX.
- Versioning is additive-only within the 1.x line, which
means new optional keys may appear over time, existing keys never
change type or meaning, and required keys never disappear. A breaking
change would ship as a new major
schema_version.
How accurate is the JSON compared with the source PDF?
The source PDF is the only source of truth the converter has, so accuracy here means fidelity to the PDF and not to whatever estimate file originally produced it.
-
unit_price,tax, andrcvare the values as printed in the source. Thercvincludes tax and overhead & profit as printed, so it is not necessarilyquantity × unit_price, and the sum of the linercvvalues equalstotals.rcv, which matches the ESX grand total. - Repricing. Xactimate reprices catalog items against the selected price list on import, so the unit prices in this output are source values and not a prediction of the price after import. Bid items keep their own pricing.
- The
*REVIEW*convention. A description may start with*REVIEW*when the converter wrote a source line it could not confidently map to a catalog code. These lines are written as bid items with the source text kept verbatim, so an adjuster can review them after import. - No warranty on the source. The converter represents the PDF faithfully, but it cannot detect or reverse edits, overrides, or omissions made before the PDF was printed.
Top-level keys
| Key | Type | Required | Notes |
|---|---|---|---|
schema_version | string | Yes | "1.0" |
claim | object | Yes | The claim and estimate header. |
sections | array | Yes | The rooms and areas (called sections), in estimate order. |
totals | object | No | Estimate-level totals. |
claim
| Key | Type | Required | Notes |
|---|---|---|---|
estimate_name | string | Yes | The project name as it appears in the ESX (uppercase, ≤20 chars). |
claim_number | string | No | |
policy_number | string | No | |
insured_name | string | No | |
property_address | object | No | { "street", "city", "state", "zip" }, where each key is optional. |
date_of_loss | string | No | ISO YYYY-MM-DD when the source carried a parseable date. |
type_of_loss | string | No | e.g. "Water", "Wind", "Flood". |
price_list | string | No | Xactimate price-list code, e.g. FLTA8X_02MAY26. |
sections[]
| Key | Type | Required | Notes |
|---|---|---|---|
name | string | Yes | Display name, e.g. "Master Bathroom". |
path | string[] | No | The folder tree, outermost container first and ending with the section itself, for example ["Main Level", "Master Bathroom"]. |
dimensions | object | No | Only the keys the estimate actually carries, listed below. |
notes | array | No | Section-level notes: [{ "text": "..." }]. |
line_items | array | Yes | In estimate order. |
sections[].dimensions
All values are numbers, and any subset of these keys may be present.
floor_sf, ceiling_sf, wall_sf,
wall_and_ceiling_sf, floor_perimeter_lf,
ceiling_perimeter_lf, roof_surface_sf,
roof_squares, height_ft, length_ft,
width_ft
sections[].line_items[]
| Key | Type | Required | Notes |
|---|---|---|---|
cat | string | No | Xactimate category code, e.g. "DRY". |
sel | string | No | Xactimate selector code, e.g. "1/2-". |
description | string | Yes | The line description as it appears in the ESX. |
quantity | number | Yes | |
unit | string | Yes | SF, LF, EA, SQ, HR, ... |
activity | string | No | Xactimate action: + (replace), - (remove), & (remove & replace), R (reset), M (material), I (install). |
unit_price | money string | No | Per-unit price from the source estimate. |
tax | money string | No | The line's tax amount from the source estimate. |
rcv | money string | No | The line's replacement-cost value from the source estimate (includes tax and O&P as printed). |
notes | array | No | Line-level notes: [{ "text": "..." }]. |
totals
| Key | Type | Required | Notes |
|---|---|---|---|
rcv | money string | No | The sum of the line RCVs, which matches the ESX grand total. |
What does a full JSON payload look like?
{
"schema_version": "1.0",
"claim": {
"estimate_name": "SMITH_J",
"claim_number": "CLM-2026-04581",
"policy_number": "HO3-99120",
"insured_name": "John Smith",
"property_address": {
"street": "12 Oak St",
"city": "Tampa",
"state": "FL",
"zip": "33601"
},
"date_of_loss": "2026-05-01",
"type_of_loss": "Water",
"price_list": "FLTA8X_02MAY26"
},
"sections": [
{
"name": "Master Bathroom",
"path": ["Main Level", "Master Bathroom"],
"dimensions": {
"floor_sf": 96.0,
"ceiling_sf": 96.0,
"wall_sf": 320.0,
"floor_perimeter_lf": 40.0,
"height_ft": 8.0
},
"notes": [{ "text": "Flooring" }],
"line_items": [
{
"cat": "DRY",
"sel": "1/2-",
"description": "1/2\" drywall - hung, taped, floated, ready for paint",
"quantity": 320.0,
"unit": "SF",
"activity": "+",
"unit_price": "2.15",
"tax": "9.87",
"rcv": "688.00",
"notes": [{ "text": "Water damage to lower 2 feet" }]
}
]
}
],
"totals": { "rcv": "688.00" }
}
A machine-readable JSON Schema (draft-07) is available as
estimate-v1.schema.json,
and you can validate every payload against it in your integration tests.