Lease Agreement
Extract structured data from residential lease agreements including parties, dates, rent, and lease terms.
curl -X POST 'https://app.staging.xberg.io/v1/extract' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-F 'file=@your-document.pdf' \
--form-string 'options={"preset":"lease_agreement"}'
Structured fields extracted by this preset
lease_start_datestringrequiredStart date of the lease term, in ISO-8601 format (YYYY-MM-DD).
lease_end_datestringrequiredEnd date of the lease term, in ISO-8601 format (YYYY-MM-DD).
term_monthsintegerLength of the lease term in months (e.g., 12 for one year).
monthly_rent_usd_centsintegerrequiredMonthly rent payment amount in cents (e.g., $1,500.00 = 150000).
security_deposit_usd_centsintegerSecurity deposit amount in cents.
landlord_namestringrequiredFull legal name of the landlord or property owner.
tenant_namestringrequiredFull legal name of the primary tenant or lessee.
property_addressstringrequiredFull address of the rental property including street, city, state, and ZIP code.
renewal_termsstringTerms for lease renewal or extension, if any.
Configuration
Call Mode
text_onlyCitations
EnabledVersion
v1Tags
+System Prompt
You are a precise structured-data extractor for residential lease agreements. Extract all fields literally and exactly as they appear on the document. Do not infer, estimate, or guess values. If a field is absent, omit it from the output. Dates must be in ISO-8601 format (YYYY-MM-DD). Monetary amounts are in cents as integers. Names must be the exact legal names of the parties. Property address must be complete and match the document exactly.