Quick calc

Quick calc: the public estimate page and API

Quick calc gives a property owner or a firm's website visitor a preliminary range of reclassifiable basis from three inputs: property type, purchase price and ZIP code. It uses a rule-of-thumb reclassification range for each property type and a land share taken from the ZIP code's state. It does not read documents or images, and it is not a study. Its purpose is to start a conversation that a study then answers. SegFlow writes the study itself from what the preparer uploads, in under an hour.

The public page

The page at /v2/estimate takes the same three inputs as a form and shows the range. It accepts the inputs as query-string parameters, so a link from your own site can arrive with the fields filled in:

https://segflowai.com/v2/estimate?propertyType=multifamily_5plus&purchasePrice=1250000&zip=77479

No account is needed to use the page. No API (application programming interface) key is needed to call the endpoint below.

API reference

For developers who prefer to call the endpoint directly. The endpoint is deterministic: the same inputs always return the same range.

Endpoint

POST https://segflowai.com/api/v2/estimate

Content-Type: application/json

Cross-origin requests are allowed from any site (Access-Control-Allow-Origin: *); the endpoint answers OPTIONS preflight requests with a 204.

Request body

FieldType and requirementValidation
propertyTypestring (enum), requiredOne of the values in the property type table below.
purchasePricenumber, requiredMinimum 50,000. Maximum 50,000,000.
zipstring, optionalUp to 10 characters. The first three digits pick the state for the land share; an unrecognised or missing ZIP uses the 15 percent default.

Property type enum

Enum valueLabelBuilding class
residential_ltrResidential, long-term rental27.5-year
residential_strResidential, short-term rental, furnished39-year
multifamily_2_4Small multifamily, 2–4 units27.5-year
multifamily_5plusMultifamily, 5+ units27.5-year
officeLight commercial: office39-year
retailLight commercial: retail39-year
warehouse_flexLight commercial: warehouse or flex39-year
mixed_useMixed-use39-year
other_light_commercialOther light commercial39-year

Example request

curl -X POST https://segflowai.com/api/v2/estimate \
  -H "Content-Type: application/json" \
  -d '{
    "propertyType": "multifamily_5plus",
    "purchasePrice": 1250000,
    "zip": "77479"
  }'

Example response

The response is JSON (JavaScript Object Notation). depreciableBasis is the purchase price less the land share. Each of low, typical and high gives the share of depreciable basis moved to the 5-, 7- and 15-year classes (pct) and that share in dollars (reclassified).

{
  "label": "Multifamily, 5+ units",
  "depreciableBasis": 1000000,
  "landShare": 0.2,
  "low": { "pct": 0.18, "reclassified": 180000 },
  "typical": { "pct": 0.24, "reclassified": 240000 },
  "high": { "pct": 0.3, "reclassified": 300000 },
  "disclaimer": "Estimated range from property type and purchase price only; an actual study depends on the property's components."
}
FieldMeaning
labelDisplay label for the property type.
depreciableBasisPurchase price less the land value, in dollars.
landShareLand share of the purchase price used (0–1), from the ZIP code's state or the 15 percent default.
low, typical, highThe reclassification range: pct (0–1) and reclassified (dollars) for each case.
disclaimerThe sentence to show beside the range.

The response carries no tax-savings figure. A marginal rate belongs to the taxpayer's return, and the study form is where the preparer enters one.

Error responses

400, validation error:

{
  "error": "invalid_request",
  "issues": ["Number must be greater than or equal to 50000"]
}

429, rate limit:

{
  "error": "rate_limited"
}

Rate limits

60 requests per minute per IP (Internet Protocol) address. Above that the endpoint returns a 429 response; wait 60 seconds before retrying.

From estimate to study

The estimate is a range from published rules of thumb. The study is a component-by-component workpaper written from the photographs you upload, plus any documents you add, checked twice, and delivered as a PDF (Portable Document Format) study, a Word version and an Excel ledger for the preparer's review and signature. Residential studies (one to four units, including short-term rentals) are $299; light commercial and multifamily studies are $699. Email admin@segflowai.com for 50% off your first study, answered within one business day. See pricing and the sample study.

Try the public page
The same range the endpoint returns, as a form.
Open Quick calc