Developer API
API reference

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
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.

200 · succeeded (excerpt)
{
  "job_id": "b3f1...",
  "status": "succeeded",
  "artifacts": [
    { "type": "esx",  "url": "https://.../job.esx?sig=...",  "expired": false },
    { "type": "json", "url": "https://.../job.json?sig=...", "expired": false }
  ]
}
Billing

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 unit string 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, and rcv are the values as printed in the source. The rcv includes tax and overhead & profit as printed, so it is not necessarily quantity × unit_price, and the sum of the line rcv values equals totals.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

KeyTypeRequiredNotes
schema_versionstringYes"1.0"
claimobjectYesThe claim and estimate header.
sectionsarrayYesThe rooms and areas (called sections), in estimate order.
totalsobjectNoEstimate-level totals.

claim

KeyTypeRequiredNotes
estimate_namestringYesThe project name as it appears in the ESX (uppercase, ≤20 chars).
claim_numberstringNo
policy_numberstringNo
insured_namestringNo
property_addressobjectNo{ "street", "city", "state", "zip" }, where each key is optional.
date_of_lossstringNoISO YYYY-MM-DD when the source carried a parseable date.
type_of_lossstringNoe.g. "Water", "Wind", "Flood".
price_liststringNoXactimate price-list code, e.g. FLTA8X_02MAY26.

sections[]

KeyTypeRequiredNotes
namestringYesDisplay name, e.g. "Master Bathroom".
pathstring[]NoThe folder tree, outermost container first and ending with the section itself, for example ["Main Level", "Master Bathroom"].
dimensionsobjectNoOnly the keys the estimate actually carries, listed below.
notesarrayNoSection-level notes: [{ "text": "..." }].
line_itemsarrayYesIn 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[]

KeyTypeRequiredNotes
catstringNoXactimate category code, e.g. "DRY".
selstringNoXactimate selector code, e.g. "1/2-".
descriptionstringYesThe line description as it appears in the ESX.
quantitynumberYes
unitstringYesSF, LF, EA, SQ, HR, ...
activitystringNoXactimate action: + (replace), - (remove), & (remove & replace), R (reset), M (material), I (install).
unit_pricemoney stringNoPer-unit price from the source estimate.
taxmoney stringNoThe line's tax amount from the source estimate.
rcvmoney stringNoThe line's replacement-cost value from the source estimate (includes tax and O&P as printed).
notesarrayNoLine-level notes: [{ "text": "..." }].

totals

KeyTypeRequiredNotes
rcvmoney stringNoThe sum of the line RCVs, which matches the ESX grand total.

What does a full JSON payload look like?

estimate-v1
{
  "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" }
}
Schema

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.