# REST reference: Offer

After-tax proceeds and offer comparison.

| Operation | Call | Price | MCP tool |
| --- | --- | --- | --- |
| [Seller's after-tax proceeds by structure and state](#compute-after-tax) | `POST /v1/offer/after-tax` | 5 credits | `compute_after_tax_proceeds` |
| [Rank offers by risk-adjusted present value](#compare-offers) | `POST /v1/offer/compare` | 5 credits | `compare_offers` |

## Seller's after-tax proceeds by structure and state {#compute-after-tax}

```http
POST /v1/offer/after-tax
```

Federal tax (capital gain, recapture, NIIT, corporate tax where it applies) and state tax for modeled states. Unmodeled states return a gap; entity-level state taxes such as Texas franchise tax are flagged, not computed.

**Price:** 5 credits · **MCP tool:** `compute_after_tax_proceeds` · **Key scope:** `tools:run`

**Parameters**

| Parameter | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `Acquestor-Max-Credits` | header | No | number (min 0) | The most this call may charge. If its price is higher, it returns 402 `over_max_credits` and runs nothing. |
| `Idempotency-Key` | header | No | string (at least 1 character, up to 255 characters) | 1 to 255 characters. Recommended on every write and on priced calls: a retry with the same key and body replays the first result and isn't charged again. |

**Body** (`application/json`)

| Field | Required | Type | Description |
| --- | --- | --- | --- |
| `price` | Yes | number | Sale price in whole US dollars, equal to the allocation. |
| `entity_type` | Yes | one of `sole_proprietorship`, `single_member_llc`, `partnership_llc`, `s_corp`, `c_corp` | The selling business's tax entity. |
| `allocation` | Yes | object | Form 8594 classes in plain terms. |
| `allocation.receivables` | No | number | Price allocated to receivables in whole US dollars. |
| `allocation.inventory_cost` | No | number | Price allocated to inventory in whole US dollars. |
| `allocation.equipment_value` | No | number | Price allocated to equipment in whole US dollars. |
| `allocation.equipment_tax_basis` | No | number | Equipment tax basis in whole US dollars; needed with equipment. |
| `allocation.real_estate_value` | No | number | Price allocated to real estate in whole US dollars. |
| `allocation.real_estate_basis` | No | number | Real estate tax basis in whole US dollars; needed with real estate. |
| `allocation.non_compete` | No | number | Price allocated to the non-compete in whole US dollars. |
| `allocation.goodwill` | No | number | Price allocated to goodwill in whole US dollars; taken as goodwill the business built unless goodwill_basis or goodwill_original_cost is given. |
| `allocation.receivables_basis` | No | number (min 0) | Receivables tax basis in whole US dollars; omit for a cash-basis business (zero basis, all ordinary income). |
| `allocation.inventory_tax_basis` | No | number (min 0) | Inventory tax basis in whole US dollars; omit when inventory sells at cost (no gain). |
| `allocation.equipment_original_cost` | No | number (min 0) | Equipment original cost in whole US dollars, which caps section 1245 recapture; omit to use equipment_value. |
| `allocation.real_estate_depreciation` | No | number (min 0) | Depreciation taken on buildings in whole US dollars; real estate gain up to it is unrecaptured section 1250 gain. |
| `allocation.goodwill_basis` | No | number (min 0) | Tax basis left in goodwill the business bought, in whole US dollars, after section 197 amortization; omit for goodwill the business built (zero basis, all capital gain). |
| `allocation.goodwill_original_cost` | No | number (min 0) | What the business paid for bought goodwill in whole US dollars, which caps section 197 amortization recapture; omit to use goodwill. |
| `stock_or_interest_basis` | No | number | Owner's stock or LLC interest basis in whole US dollars; needed for an S corp, C corp or partnership LLC. |
| `corporate_asset_basis` | No | number | C corp asset basis in whole US dollars; defaults to the allocation. |
| `built_in_gain` | No | number | S corp built-in gain in whole US dollars. |
| `seller_state` | Yes | two-letter US state (`TX`) (pattern `^[A-Z]{2}$`) | Seller's state as a 2-letter code. |
| `seller_city` | No | string | Used where a city tax applies (New York City). |
| `filing_status` | No | one of `single`, `married_joint`, `married_separate`, `head_of_household` (default `"single"`) | Federal filing status; defaults to single. |
| `material_participation` | No | boolean (default `true`) | Whether the seller materially participated; defaults to true. |
| `qsbs` | No | object | Qualified small business stock (section 1202), for a C corp stock sale. |
| `qsbs.eligible` | No | boolean | Whether the stock is QSBS under section 1202. |
| `qsbs.acquired_date` | No | date | QSBS acquisition date, YYYY-MM-DD; needed when eligible. |
| `structures` | No | array of one of `asset`, `stock`, `deemed_asset_338h10`, `deemed_asset_336e`, `f_reorganization` | Structures to compute; defaults to all the entity allows. |
| `tax_year` | Yes | integer (min 2025) | Tax year, 2025 or later. Only 2026 is modeled; another year returns a not_yet_supported gap. |
| `deal_id` | No | string | Granted deal id; not saved over MCP. |
| `other_taxable_income` | No | number (min 0, default `0`) | The seller's other income for the year in whole US dollars, before the standard deduction, taken as wages or other non-investment income; defaults to 0. |
| `wa_family_business_qualifies` | No | boolean | Whether Washington's qualified family-owned small business deduction (RCW 82.87.070) applies. |
| `closing_date` | No | date | Closing date, YYYY-MM-DD, in tax_year, for the QSBS holding period; defaults to December 31 of tax_year. |

**Response** `200`: Proceeds by structure

Returned in [the envelope](/concepts/figures#the-envelope) (`computation`, `sources`, `gaps`, `warnings`, `disclaimer`, `card`, `actions`, `run_id`, `charge`, `truncated`); `data` holds:

| Field | Required | Type | Description |
| --- | --- | --- | --- |
| `data` | No | object, nullable | The result; null over REST and absent over MCP when the run produced only gaps. |
| `data.rows` | Yes | array of objects | One row per sale structure that applies to the entity type, each with its taxes and net proceeds. |
| `data.rows[].structure` | No | one of `asset`, `stock`, `deemed_asset_338h10`, `deemed_asset_336e`, `f_reorganization` | The sale structure this row models. |
| `data.rows[].label` | No | string | The structure in words. |
| `data.rows[].federal_tax` | No | [Figure](/concepts/figures#figure) | Federal income tax on the owner from the sale, before NIIT. |
| `data.rows[].niit` | No | [Figure](/concepts/figures#figure) | Net investment income tax on the owner from the sale, in whole US dollars; 0 below the threshold. |
| `data.rows[].state_tax` | No | [Figure](/concepts/figures#figure) | State (and New York City) income tax on the owner; null when the state is not modeled. |
| `data.rows[].city_tax` | No | [Figure](/concepts/figures#figure) | New York City resident income tax, in whole US dollars, already inside `state_tax`. Present only for a New York City resident. |
| `data.rows[].corporate_tax` | No | [Figure](/concepts/figures#figure) | Federal entity-level tax: C corp income tax at 21%, or the S corp built-in gains tax. |
| `data.rows[].total_federal_tax` | No | [Figure](/concepts/figures#figure) | Federal tax, NIIT and corporate tax together. |
| `data.rows[].total_tax` | No | [Figure](/concepts/figures#figure) | Federal, NIIT, corporate and state tax together, in whole US dollars. |
| `data.rows[].ordinary_income` | No | [Figure](/concepts/figures#figure) | Ordinary income to the owner from the sale, including the non-compete. |
| `data.rows[].capital_gain` | No | [Figure](/concepts/figures#figure) | Long-term capital gain to the owner, including unrecaptured section 1250 and 28%-rate gain. |
| `data.rows[].unrecaptured_1250_gain` | No | [Figure](/concepts/figures#figure) | Gain from depreciation on real property, taxed at up to 25%, in whole US dollars; part of `capital_gain`. |
| `data.rows[].qsbs_excluded_gain` | No | [Figure](/concepts/figures#figure) | Gain excluded under section 1202 on the stock sale, in whole US dollars. Present only when QSBS details are given; 0 when the holding period isn't met. |
| `data.rows[].net_proceeds` | No | [Figure](/concepts/figures#figure) | Price minus `total_tax`, in whole US dollars. Before state tax when the state isn't modeled, and the note says so. |
| `data.rows[].effective_rate` | No | [Figure](/concepts/figures#figure) | `total_tax` divided by the price, as a decimal. |
| `data.best_structure` | No | one of `asset`, `stock`, `deemed_asset_338h10`, `deemed_asset_336e`, `f_reorganization` | The structure with the highest net proceeds among the rows. |
| `data.entity_level_tax_flags` | No | array of strings | Taxes on the entity that may apply but aren't computed, such as Texas franchise tax, one sentence each. Each is also reported in `gaps`, with field `entity_level_tax`. |

**Call**

```sh
curl -X POST "https://api.acquestor.com/v1/offer/after-tax" \
  -H "Authorization: Bearer $ACQUESTOR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"price":1450000,"entity_type":"s_corp","allocation":{"inventory_cost":50000,"equipment_value":150000,"equipment_tax_basis":40000,"non_compete":50000,"goodwill":1200000},"stock_or_interest_basis":200000,"seller_state":"TX","filing_status":"married_joint","tax_year":2026}'
```

**Example** (captured from the running code; lists in the answer cut to 3 items; `card` left out)

Request body:

```json
{
  "price": 1450000,
  "entity_type": "s_corp",
  "allocation": {
    "inventory_cost": 50000,
    "equipment_value": 150000,
    "equipment_tax_basis": 40000,
    "non_compete": 50000,
    "goodwill": 1200000
  },
  "stock_or_interest_basis": 200000,
  "seller_state": "TX",
  "filing_status": "married_joint",
  "tax_year": 2026
}
```

Response `200`:

```json
{
  "data": {
    "rows": [
      {
        "structure": "asset",
        "label": "S corp asset sale",
        "federal_tax": {
          "value": 211245,
          "unit": "USD",
          "source": "c1"
        },
        "niit": {
          "value": 0,
          "unit": "USD",
          "source": "c1"
        },
        "state_tax": {
          "value": 0,
          "unit": "USD",
          "source": "c1"
        },
        "net_proceeds": {
          "value": 1238755,
          "unit": "USD",
          "source": "c1"
        },
        "effective_rate": {
          "value": 0.1457,
          "unit": "rate",
          "source": "c1"
        },
        "corporate_tax": {
          "value": 0,
          "unit": "USD",
          "source": "c1"
        },
        "total_federal_tax": {
          "value": 211245,
          "unit": "USD",
          "source": "c1"
        },
        "total_tax": {
          "value": 211245,
          "unit": "USD",
          "source": "c1"
        },
        "ordinary_income": {
          "value": 160000,
          "unit": "USD",
          "source": "c1"
        },
        "capital_gain": {
          "value": 1090000,
          "unit": "USD",
          "source": "c1"
        },
        "unrecaptured_1250_gain": {
          "value": 0,
          "unit": "USD",
          "source": "c1"
        }
      },
      {
        "structure": "stock",
        "label": "S corp stock sale",
        "federal_tax": {
          "value": 199820,
          "unit": "USD",
          "source": "c1"
        },
        "niit": {
          "value": 0,
          "unit": "USD",
          "source": "c1"
        },
        "state_tax": {
          "value": 0,
          "unit": "USD",
          "source": "c1"
        },
        "net_proceeds": {
          "value": 1250180,
          "unit": "USD",
          "source": "c1"
        },
        "effective_rate": {
          "value": 0.1378,
          "unit": "rate",
          "source": "c1"
        },
        "corporate_tax": {
          "value": 0,
          "unit": "USD",
          "source": "c1"
        },
        "total_federal_tax": {
          "value": 199820,
          "unit": "USD",
          "source": "c1"
        },
        "total_tax": {
          "value": 199820,
          "unit": "USD",
          "source": "c1"
        },
        "ordinary_income": {
          "value": 50000,
          "unit": "USD",
          "source": "c1"
        },
        "capital_gain": {
          "value": 1200000,
          "unit": "USD",
          "source": "c1"
        },
        "unrecaptured_1250_gain": {
          "value": 0,
          "unit": "USD",
          "source": "c1"
        }
      },
      {
        "structure": "deemed_asset_338h10",
        "label": "§338(h)(10) election",
        "federal_tax": {
          "value": 211245,
          "unit": "USD",
          "source": "c1"
        },
        "niit": {
          "value": 0,
          "unit": "USD",
          "source": "c1"
        },
        "state_tax": {
          "value": 0,
          "unit": "USD",
          "source": "c1"
        },
        "net_proceeds": {
          "value": 1238755,
          "unit": "USD",
          "source": "c1"
        },
        "effective_rate": {
          "value": 0.1457,
          "unit": "rate",
          "source": "c1"
        },
        "corporate_tax": {
          "value": 0,
          "unit": "USD",
          "source": "c1"
        },
        "total_federal_tax": {
          "value": 211245,
          "unit": "USD",
          "source": "c1"
        },
        "total_tax": {
          "value": 211245,
          "unit": "USD",
          "source": "c1"
        },
        "ordinary_income": {
          "value": 160000,
          "unit": "USD",
          "source": "c1"
        },
        "capital_gain": {
          "value": 1090000,
          "unit": "USD",
          "source": "c1"
        },
        "unrecaptured_1250_gain": {
          "value": 0,
          "unit": "USD",
          "source": "c1"
        }
      }
    ],
    "best_structure": "stock",
    "entity_level_tax_flags": [
      "Texas franchise tax may apply to the entity; not computed"
    ]
  },
  "sources": [
    {
      "id": "u1",
      "basis": "client_supplied",
      "route": "served_directly",
      "as_of": "2026-10-05",
      "name": "Supplied by the calling client",
      "line": "Supplied by the calling AI client or API caller, Oct 5, 2026; used for this request only"
    },
    {
      "id": "r1",
      "source_id": "irs-rev-proc-2025-32",
      "name": "Rev. Proc. 2025-32, 2026 inflation-adjusted tax items",
      "publisher": "Internal Revenue Service",
      "dataset": "Rev. Proc. 2025-32",
      "basis": "rule",
      "route": "served_directly",
      "licence_status": "cleared",
      "as_of": "2026-01-01",
      "effective_from": "2026-01-01",
      "effective_to": "2026-12-31",
      "url": "https://www.irs.gov/pub/irs-drop/rp-25-32.pdf",
      "line": "Source: IRS, Rev. Proc. 2025-32 (2026 tax rates), effective Jan 1, 2026"
    },
    {
      "id": "r2",
      "source_id": "usc-title-26",
      "name": "Internal Revenue Code (26 U.S.C.) §§1(h), 11(b), 1202, 1211(b), 1366(f), 1374, 1411",
      "publisher": "Office of the Law Revision Counsel, U.S. House of Representatives",
      "dataset": "United States Code, Title 26",
      "basis": "rule",
      "route": "served_directly",
      "licence_status": "cleared",
      "as_of": "2026-01-01",
      "effective_from": "2026-01-01",
      "effective_to": "2026-12-31",
      "url": "https://uscode.house.gov/browse/prelim@title26&edition=prelim",
      "line": "Source: Internal Revenue Code, 26 U.S.C. §§1(h), 11(b), 1202, 1374 and 1411, effective Jan 1, 2026"
    },
    {
      "id": "r3",
      "source_id": "tx-constitution-art-8-24a",
      "name": "Texas Constitution, art. VIII, §24-a",
      "publisher": "State of Texas",
      "dataset": "Texas Constitution, art. VIII, §24-a",
      "basis": "rule",
      "route": "served_directly",
      "licence_status": "cleared",
      "as_of": "2026-01-01",
      "effective_from": "2026-01-01",
      "effective_to": "2026-12-31",
      "url": "https://statutes.capitol.texas.gov/Docs/CN/htm/CN.8.htm#8.24-a",
      "line": "Source: Texas Constitution, art. VIII, §24-a (no personal income tax), effective Jan 1, 2026"
    }
  ],
  "gaps": [
    {
      "field": "entity_level_tax",
      "reason": "not_yet_supported",
      "detail": "Texas franchise tax may apply to the entity. It is not in these figures, and I won't estimate it."
    }
  ],
  "disclaimer": "informational",
  "computation": {
    "id": "c1",
    "method": "after_tax_proceeds",
    "method_version": "1.2.0",
    "computed_at": "2026-10-05T15:02:11.000Z",
    "rule_sets": [
      "us-federal-income-tax@2026",
      "us-federal-statutory-rates@2026",
      "tx-personal-income-tax@2026"
    ],
    "inputs": {
      "price": {
        "value": 1450000,
        "unit": "USD",
        "source": "u1"
      },
      "allocation.inventory_cost": {
        "value": 50000,
        "unit": "USD",
        "source": "u1"
      },
      "allocation.equipment_value": {
        "value": 150000,
        "unit": "USD",
        "source": "u1"
      },
      "allocation.equipment_tax_basis": {
        "value": 40000,
        "unit": "USD",
        "source": "u1"
      },
      "allocation.non_compete": {
        "value": 50000,
        "unit": "USD",
        "source": "u1"
      },
      "allocation.goodwill": {
        "value": 1200000,
        "unit": "USD",
        "source": "u1"
      },
      "stock_or_interest_basis": {
        "value": 200000,
        "unit": "USD",
        "source": "u1"
      },
      "federal_standard_deduction": {
        "value": 32200,
        "unit": "USD",
        "source": "r1"
      },
      "federal_max_zero_rate_amount": {
        "value": 98900,
        "unit": "USD",
        "source": "r1"
      },
      "federal_max_15_rate_amount": {
        "value": 613700,
        "unit": "USD",
        "source": "r1"
      },
      "niit_rate": {
        "value": 0.038,
        "unit": "rate",
        "source": "r2"
      },
      "niit_threshold": {
        "value": 250000,
        "unit": "USD",
        "source": "r2"
      },
      "state_personal_income_tax_rate": {
        "value": 0,
        "unit": "rate",
        "source": "r3"
      }
    }
  },
  "warnings": [
    {
      "code": "goodwill_zero_basis",
      "detail": "Goodwill is taken as built by the business: zero basis, all capital gain. If the business bought it, give goodwill_basis and goodwill_original_cost."
    }
  ],
  "charge": {
    "credits": 5,
    "price_class": "quick_tool",
    "balance_after": 490,
    "ledger_entry_id": "00000000-0000-4000-8000-000000000001"
  }
}
```

**Errors**

| Status | Code | Meaning |
| --- | --- | --- |
| 400 | [`invalid_header`](/problems/invalid_header) | A header has an invalid value |
| 400 | [`invalid_json`](/problems/invalid_json) | The body isn't valid JSON |
| 401 | [`unauthorized`](/problems/unauthorized) | Sign-in required |
| 402 | [`insufficient_credits`](/problems/insufficient_credits) | Not enough credits |
| 402 | [`over_limit`](/problems/over_limit) | Monthly limit reached |
| 402 | [`over_max_credits`](/problems/over_max_credits) | Over your Acquestor-Max-Credits |
| 403 | [`cross_origin`](/problems/cross_origin) | Cross-site request refused |
| 403 | [`deal_access_off`](/problems/deal_access_off) | This client has no grant for this deal |
| 403 | [`insufficient_scope`](/problems/insufficient_scope) | The key lacks a scope |
| 404 | [`not_found`](/problems/not_found) | Not found |
| 409 | [`idempotency_in_progress`](/problems/idempotency_in_progress) | The same request is still running |
| 413 | [`file_too_large`](/problems/file_too_large) | File too large |
| 415 | [`unsupported_media_type`](/problems/unsupported_media_type) | Unsupported content type |
| 422 | [`idempotency_key_reused`](/problems/idempotency_key_reused) | Idempotency-Key used for a different call |
| 422 | [`invalid_input`](/problems/invalid_input) | An input is out of range or the wrong type |
| 422 | [`missing_input`](/problems/missing_input) | A required input is missing |
| 503 | [`not_configured`](/problems/not_configured) | Not available on this server |

On a 402: Nothing ran and nothing was charged. `code` is `insufficient_credits` (balance below the price), `over_max_credits` (price above `Acquestor-Max-Credits`) or `over_limit` (a grant's, key's or org member's monthly limit reached). The problem carries `price` and `balance`.

Codes any request can meet, such as `internal_error`, are on [problem types](/problems). Errors are [problem details](/concepts/errors).

## Rank offers by risk-adjusted present value {#compare-offers}

```http
POST /v1/offer/compare
```

**Price:** 5 credits · **MCP tool:** `compare_offers` · **Key scope:** `tools:run`

**Parameters**

| Parameter | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `Acquestor-Max-Credits` | header | No | number (min 0) | The most this call may charge. If its price is higher, it returns 402 `over_max_credits` and runs nothing. |
| `Idempotency-Key` | header | No | string (at least 1 character, up to 255 characters) | 1 to 255 characters. Recommended on every write and on priced calls: a retry with the same key and body replays the first result and isn't charged again. |

**Body** (`application/json`)

| Field | Required | Type | Description |
| --- | --- | --- | --- |
| `offers` | Yes | array of objects (at least 2 items, at most 10 items) | Offers to rank, 2 to 10. |
| `offers[].label` | Yes | string | Unique name for the offer. |
| `offers[].headline_price` | Yes | number | Headline price in whole US dollars. |
| `offers[].cash_at_close` | Yes | number | Cash at close in whole US dollars. |
| `offers[].notes` | No | array of objects | Seller notes in the offer. |
| `offers[].notes[].amount` | Yes | number | Note principal in whole US dollars. |
| `offers[].notes[].rate` | No | number (min 0, max 1) | Note annual rate as a decimal; required unless full_standby, where a note with no rate accrues nothing. |
| `offers[].notes[].term_months` | Yes | integer | Note term in months. |
| `offers[].notes[].full_standby` | No | boolean | True if the note pays only at term end; defaults to false. |
| `offers[].notes[].payments_start_month` | No | integer | Months after close before payments; defaults to 0. |
| `offers[].earnout` | No | object | Earnout in the offer. |
| `offers[].earnout.max_amount` | No | number | Most the earnout pays in whole US dollars. |
| `offers[].earnout.years` | No | number | Years the earnout runs. |
| `note_discount_rate` | Yes | number (min 0, max 1) | Note discount rate as a decimal; you set it, with no default. |
| `earnout_discount_rate` | Yes | number (min 0, max 1) | Earnout discount rate as a decimal; you set it, with no default. |
| `earnout_expected_payout_share` | Yes | number (min 0, max 1) | Expected earnout payout share as a decimal; you set it, with no default. |
| `deal_id` | No | string | Granted deal id; not saved over MCP. |

**Response** `200`: Ranked offers

Returned in [the envelope](/concepts/figures#the-envelope) (`computation`, `sources`, `gaps`, `warnings`, `disclaimer`, `card`, `actions`, `run_id`, `charge`, `truncated`); `data` holds:

| Field | Required | Type | Description |
| --- | --- | --- | --- |
| `data` | No | object, nullable | The result; null over REST and absent over MCP when the run produced only gaps. |
| `data.ranked` | No | array of objects | The offers, highest risk-adjusted value first; ties keep the order given. |
| `data.ranked[].rank` | No | integer (min 1) | 1 for the highest risk-adjusted value. |
| `data.ranked[].label` | No | string | The offer's label, as given. |
| `data.ranked[].headline_price` | No | [Figure](/concepts/figures#figure) | The offer's headline price as given, in whole US dollars. |
| `data.ranked[].risk_adjusted_value` | No | [Figure](/concepts/figures#figure) | Cash at close plus the present value of the seller notes and the expected earnout at your discount rates, in whole US dollars. |
| `data.ranked[].share_of_headline` | No | [Figure](/concepts/figures#figure) | Risk-adjusted value divided by the headline price, as a decimal. |
| `data.ranked[].cash_component` | No | [Figure](/concepts/figures#figure) | Cash at close, in whole US dollars. |
| `data.ranked[].note_component` | No | [Figure](/concepts/figures#figure) | Present value of the offer's seller notes at `note_discount_rate`, in whole US dollars; 0 with no notes. |
| `data.ranked[].earnout_component` | No | [Figure](/concepts/figures#figure) | Present value of the expected earnout (maximum times payout share) at `earnout_discount_rate`, in whole US dollars; 0 with no earnout. |
| `data.ranked[].note_face` | No | [Figure](/concepts/figures#figure) | Face amount of the offer's seller notes together, in whole US dollars; 0 with no notes. |
| `data.ranked[].earnout_max` | No | [Figure](/concepts/figures#figure) | The offer's maximum earnout as given, in whole US dollars; 0 with no earnout. |
| `data.lead` | No | [Figure](/concepts/figures#figure) | Risk-adjusted value of the first offer over the second. |
| `data.sensitivity` | No | object | The assumption that moves the ranking most, and the value at which the top two offers tie, if one exists between 0 and 1. |
| `data.sensitivity.assumption` | No | one of `note_discount_rate`, `earnout_discount_rate`, `earnout_expected_payout_share`, nullable | The assumption closest to tying the top two offers, or the one that moves their lead most; null when none moves it. |
| `data.sensitivity.flip_value` | No | [Figure](/concepts/figures#figure), nullable | The value of that assumption, between 0 and 1, at which the top two offers tie: a rate or a share. Null when no tie exists in that range. |

**Call**

```sh
curl -X POST "https://api.acquestor.com/v1/offer/compare" \
  -H "Authorization: Bearer $ACQUESTOR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"offers":[{"label":"All cash at close","headline_price":1400000,"cash_at_close":1400000},{"label":"Seller note on standby","headline_price":1450000,"cash_at_close":1305000,"notes":[{"amount":145000,"full_standby":true,"term_months":120}]},{"label":"Earnout","headline_price":1600000,"cash_at_close":1300000,"notes":[{"amount":150000,"rate":0.06,"term_months":60}],"earnout":{"max_amount":150000,"years":2}}],"note_discount_rate":0.1,"earnout_discount_rate":0.2,"earnout_expected_payout_share":0.5}'
```

**Example** (captured from the running code; `card` left out)

Request body:

```json
{
  "offers": [
    {
      "label": "All cash at close",
      "headline_price": 1400000,
      "cash_at_close": 1400000
    },
    {
      "label": "Seller note on standby",
      "headline_price": 1450000,
      "cash_at_close": 1305000,
      "notes": [
        {
          "amount": 145000,
          "full_standby": true,
          "term_months": 120
        }
      ]
    },
    {
      "label": "Earnout",
      "headline_price": 1600000,
      "cash_at_close": 1300000,
      "notes": [
        {
          "amount": 150000,
          "rate": 0.06,
          "term_months": 60
        }
      ],
      "earnout": {
        "max_amount": 150000,
        "years": 2
      }
    }
  ],
  "note_discount_rate": 0.1,
  "earnout_discount_rate": 0.2,
  "earnout_expected_payout_share": 0.5
}
```

Response `200`:

```json
{
  "data": {
    "ranked": [
      {
        "rank": 1,
        "label": "Earnout",
        "headline_price": {
          "value": 1600000,
          "unit": "USD",
          "source": "c1"
        },
        "risk_adjusted_value": {
          "value": 1495150,
          "unit": "USD",
          "source": "c1"
        },
        "share_of_headline": {
          "value": 0.9345,
          "unit": "share",
          "source": "c1"
        },
        "cash_component": {
          "value": 1300000,
          "unit": "USD",
          "source": "c1"
        },
        "note_component": {
          "value": 137858,
          "unit": "USD",
          "source": "c1"
        },
        "earnout_component": {
          "value": 57292,
          "unit": "USD",
          "source": "c1"
        },
        "note_face": {
          "value": 150000,
          "unit": "USD",
          "source": "c1"
        },
        "earnout_max": {
          "value": 150000,
          "unit": "USD",
          "source": "c1"
        }
      },
      {
        "rank": 2,
        "label": "All cash at close",
        "headline_price": {
          "value": 1400000,
          "unit": "USD",
          "source": "c1"
        },
        "risk_adjusted_value": {
          "value": 1400000,
          "unit": "USD",
          "source": "c1"
        },
        "share_of_headline": {
          "value": 1,
          "unit": "share",
          "source": "c1"
        },
        "cash_component": {
          "value": 1400000,
          "unit": "USD",
          "source": "c1"
        },
        "note_component": {
          "value": 0,
          "unit": "USD",
          "source": "c1"
        },
        "earnout_component": {
          "value": 0,
          "unit": "USD",
          "source": "c1"
        },
        "note_face": {
          "value": 0,
          "unit": "USD",
          "source": "c1"
        },
        "earnout_max": {
          "value": 0,
          "unit": "USD",
          "source": "c1"
        }
      },
      {
        "rank": 3,
        "label": "Seller note on standby",
        "headline_price": {
          "value": 1450000,
          "unit": "USD",
          "source": "c1"
        },
        "risk_adjusted_value": {
          "value": 1360904,
          "unit": "USD",
          "source": "c1"
        },
        "share_of_headline": {
          "value": 0.9386,
          "unit": "share",
          "source": "c1"
        },
        "cash_component": {
          "value": 1305000,
          "unit": "USD",
          "source": "c1"
        },
        "note_component": {
          "value": 55904,
          "unit": "USD",
          "source": "c1"
        },
        "earnout_component": {
          "value": 0,
          "unit": "USD",
          "source": "c1"
        },
        "note_face": {
          "value": 145000,
          "unit": "USD",
          "source": "c1"
        },
        "earnout_max": {
          "value": 0,
          "unit": "USD",
          "source": "c1"
        }
      }
    ],
    "lead": {
      "value": 95150,
      "unit": "USD",
      "source": "c1"
    },
    "sensitivity": {
      "assumption": "note_discount_rate",
      "flip_value": null
    }
  },
  "sources": [
    {
      "id": "u1",
      "basis": "client_supplied",
      "route": "served_directly",
      "as_of": "2026-10-05",
      "name": "Supplied by the calling client",
      "line": "Supplied by the calling AI client or API caller, Oct 5, 2026; used for this request only"
    }
  ],
  "gaps": [],
  "disclaimer": "informational",
  "computation": {
    "id": "c1",
    "method": "offer_compare",
    "method_version": "1.0.0",
    "computed_at": "2026-10-05T15:02:11.000Z",
    "rule_sets": [],
    "inputs": {
      "note_discount_rate": {
        "value": 0.1,
        "unit": "rate",
        "source": "u1",
        "note": "Effective annual rate; your assumption."
      },
      "earnout_discount_rate": {
        "value": 0.2,
        "unit": "rate",
        "source": "u1",
        "note": "Effective annual rate; your assumption."
      },
      "earnout_expected_payout_share": {
        "value": 0.5,
        "unit": "share",
        "source": "u1",
        "note": "Expected share of the maximum earnout paid; your assumption."
      },
      "offers_0_headline_price": {
        "value": 1400000,
        "unit": "USD",
        "source": "u1",
        "note": "All cash at close"
      },
      "offers_0_cash_at_close": {
        "value": 1400000,
        "unit": "USD",
        "source": "u1"
      },
      "offers_1_headline_price": {
        "value": 1450000,
        "unit": "USD",
        "source": "u1",
        "note": "Seller note on standby"
      },
      "offers_1_cash_at_close": {
        "value": 1305000,
        "unit": "USD",
        "source": "u1"
      },
      "offers_1_note_0_amount": {
        "value": 145000,
        "unit": "USD",
        "source": "u1",
        "note": "Full standby: paid as a lump sum at the end of the term."
      },
      "offers_1_note_0_rate": {
        "value": 0,
        "unit": "rate",
        "source": "u1"
      },
      "offers_1_note_0_term_months": {
        "value": 120,
        "unit": "months",
        "source": "u1"
      },
      "offers_2_headline_price": {
        "value": 1600000,
        "unit": "USD",
        "source": "u1",
        "note": "Earnout"
      },
      "offers_2_cash_at_close": {
        "value": 1300000,
        "unit": "USD",
        "source": "u1"
      },
      "offers_2_note_0_amount": {
        "value": 150000,
        "unit": "USD",
        "source": "u1",
        "note": "Amortizing monthly."
      },
      "offers_2_note_0_rate": {
        "value": 0.06,
        "unit": "rate",
        "source": "u1"
      },
      "offers_2_note_0_term_months": {
        "value": 60,
        "unit": "months",
        "source": "u1"
      },
      "offers_2_earnout_max_amount": {
        "value": 150000,
        "unit": "USD",
        "source": "u1"
      },
      "offers_2_earnout_years": {
        "value": 2,
        "unit": "years",
        "source": "u1"
      }
    }
  },
  "charge": {
    "credits": 5,
    "price_class": "quick_tool",
    "balance_after": 485,
    "ledger_entry_id": "00000000-0000-4000-8000-000000000001"
  }
}
```

**Errors**

| Status | Code | Meaning |
| --- | --- | --- |
| 400 | [`invalid_header`](/problems/invalid_header) | A header has an invalid value |
| 400 | [`invalid_json`](/problems/invalid_json) | The body isn't valid JSON |
| 401 | [`unauthorized`](/problems/unauthorized) | Sign-in required |
| 402 | [`insufficient_credits`](/problems/insufficient_credits) | Not enough credits |
| 402 | [`over_limit`](/problems/over_limit) | Monthly limit reached |
| 402 | [`over_max_credits`](/problems/over_max_credits) | Over your Acquestor-Max-Credits |
| 403 | [`cross_origin`](/problems/cross_origin) | Cross-site request refused |
| 403 | [`deal_access_off`](/problems/deal_access_off) | This client has no grant for this deal |
| 403 | [`insufficient_scope`](/problems/insufficient_scope) | The key lacks a scope |
| 404 | [`not_found`](/problems/not_found) | Not found |
| 409 | [`idempotency_in_progress`](/problems/idempotency_in_progress) | The same request is still running |
| 413 | [`file_too_large`](/problems/file_too_large) | File too large |
| 415 | [`unsupported_media_type`](/problems/unsupported_media_type) | Unsupported content type |
| 422 | [`idempotency_key_reused`](/problems/idempotency_key_reused) | Idempotency-Key used for a different call |
| 422 | [`invalid_input`](/problems/invalid_input) | An input is out of range or the wrong type |
| 422 | [`missing_input`](/problems/missing_input) | A required input is missing |
| 503 | [`not_configured`](/problems/not_configured) | Not available on this server |

On a 402: Nothing ran and nothing was charged. `code` is `insufficient_credits` (balance below the price), `over_max_credits` (price above `Acquestor-Max-Credits`) or `over_limit` (a grant's, key's or org member's monthly limit reached). The problem carries `price` and `balance`.

Codes any request can meet, such as `internal_error`, are on [problem types](/problems). Errors are [problem details](/concepts/errors).


One section per endpoint, generated from `openapi/acquestor.yaml` (version 0.10.19) on 2026-11-12. Base URL, authentication and the definition to download are under [basics](/reference/rest#basics).

---

Source: https://docs.acquestor.com/reference/rest/offer

Help: support@acquestor.com · [Report a security problem](https://docs.acquestor.com/security)

Information, not advice. Acquestor doesn't represent buyers or sellers and takes no fee on any deal.

Not affiliated with or endorsed by the U.S. Small Business Administration. Claude, ChatGPT and Grok are trademarks of their owners. Fonts: Source Serif 4, Public Sans and Source Code Pro, SIL Open Font License.
