Deals
One party’s private workspace for one transaction.
| Operation | Call | Price | MCP tool |
|---|---|---|---|
| The caller's deals | GET /v1/deals |
Lookup: 1,000 free a month, then 0.5 credits | list_deals |
| One deal with its saved runs and extracted summary figures | GET /v1/deals/{deal_id} |
Lookup: 1,000 free a month, then 0.5 credits | list_deals |
| Rename a deal, move its stage, or change outside AI access | PATCH /v1/deals/{deal_id} |
Free | |
| Upload a document to a deal | POST /v1/deals/{deal_id}/documents |
3 credits a page | |
| Document status and extracted figures | GET /v1/deals/{deal_id}/documents/{document_id} |
Lookup: 1,000 free a month, then 0.5 credits | |
| Save a computed result to a deal | POST /v1/deals/{deal_id}/runs |
Free | save_to_deal |
| Type figures onto a deal (bank deposits, P&L revenue, tax-return receipts) | POST /v1/deals/{deal_id}/figures |
Free |
The caller's deals#
GET/v1/deals
- Lookup: 1,000 free a month, then 0.5 credits
- Scope
deals:read - MCP
list_deals
Parameters
cursorstringquerynext_cursorfrom the previous page.limitinteger (min 1, max 100, default25)queryMax results; defaults to 25.
Response 200
Deals
itemsarray of objectsrequiredThe caller's deals on this page, newest activity first, by name and stage, with business and listing names when the caller can read them.Show 11 fieldsHide 11 fields
idstringrequiredThe deal's ID, passed asdeal_idto deal calls and computed tools.namestringThe deal's name; Untitled deal when none was given.perspectiveone ofbuyer,seller,brokerrequiredWhose side the deal is worked from, set when the deal was created.stageone ofexplore,value,market,offer,diligence,finance,close,transitionrequiredWhere the deal stands, as last set.business_idstringnullableThe caller's business record the deal is about; null when none.business_namestringThe business's name, beside its ID; absent when it has none or the caller can't read it.listing_idstringnullableThe listing the deal is about; null when none.listing_headlinestringThe listing's headline, beside its ID: broker-written text. Absent when the caller can't read the listing.outside_ai_accessbooleanrequiredWhether outside AI clients may be granted this deal. Changed on acquestor.com only; turning it off revokes every grant.created_atdate-timeWhen the deal was created, as an ISO 8601 timestamp.updated_atdate-timeWhen the deal was last changed, as an ISO 8601 timestamp.
next_cursorstringnullablePass ascursorfor the next page; null on the last.has_morebooleanTrue when another page follows.notestringPresent only when the first page is empty: why, and what to do. An outside client sees no deal until a deal's owner grants it one on acquestor.com, so an empty list there does not mean the owner has no deals. Prose that may be reworded.chargeobjectWhat this call charged in credits, and the balance after.Show 5 fieldsHide 5 fields
creditsnumberrequiredCredits this call charged; 0 when it was free or produced no result.price_classone offree,lookup,quick_tool,deep_tool,ai_job,chat_answerrequiredThe price class the call was charged under.balance_afternumberYour credit balance after this call, also on a free call; absent when the run produced no result.ledger_entry_idstringThe ID of this charge's entry in your credit ledger. REST only: an MCP result leaves it out.free_callbooleanTrue when a lookup was covered by the monthly free calls.
Errors
| Status | Code | Meaning |
|---|---|---|
| 400 | invalid_cursor |
That cursor isn't from this list |
| 400 | invalid_header |
A header has an invalid value |
| 401 | unauthorized |
Sign-in required |
| 402 | insufficient_credits |
Not enough credits |
| 402 | over_limit |
Monthly limit reached |
| 402 | over_max_credits |
Over your Acquestor-Max-Credits |
| 403 | beta_terms_not_accepted |
Accept the Beta Terms first |
| 403 | beta_terms_unavailable |
The Beta Terms aren't published yet |
| 403 | insufficient_scope |
The key lacks a scope |
| 422 | invalid_input |
An input is out of range or the wrong type |
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. Errors are problem details.
Call
curl "https://api.acquestor.com/v1/deals" \
-H "Authorization: Bearer $ACQUESTOR_API_KEY"const res = await fetch("https://api.acquestor.com/v1/deals", {
headers: {
Authorization: `Bearer ${process.env.ACQUESTOR_API_KEY}`,
},
});
const result = await res.json();import os, requests
r = requests.get(
"https://api.acquestor.com/v1/deals",
headers={"Authorization": f"Bearer {os.environ['ACQUESTOR_API_KEY']}"},
)
r.raise_for_status()
result = r.json()Example captured from the running code
{
"items": [
{
"id": "00000000-0000-4000-8000-000000000001",
"name": "Abilene HVAC",
"perspective": "buyer",
"stage": "diligence",
"business_id": "00000000-0000-4000-8000-000000000002",
"listing_id": "00000000-0000-4000-8000-000000000003",
"outside_ai_access": true,
"created_at": "2026-10-05T15:02:11.000Z",
"updated_at": "2026-10-05T15:02:11.000Z",
"business_name": "Abilene HVAC",
"listing_headline": "HVAC service company with recurring maintenance contracts"
}
],
"next_cursor": null,
"has_more": false,
"charge": {
"credits": 0,
"price_class": "lookup",
"balance_after": 62,
"ledger_entry_id": "00000000-0000-4000-8000-000000000004",
"free_call": true
}
}One deal with its saved runs and extracted summary figures#
GET/v1/deals/{deal_id}
- Lookup: 1,000 free a month, then 0.5 credits
- Scope
deals:read - MCP
list_dealswithdeal_id
Parameters
deal_idstringpathrequiredDeal id fromlist_deals.
Response 200
Deal
idstringrequiredThe deal's ID, passed asdeal_idto deal calls and computed tools.namestringThe deal's name; Untitled deal when none was given.perspectiveone ofbuyer,seller,brokerrequiredWhose side the deal is worked from, set when the deal was created.stageone ofexplore,value,market,offer,diligence,finance,close,transitionrequiredWhere the deal stands, as last set.business_idstringnullableThe caller's business record the deal is about; null when none.business_namestringThe business's name, beside its ID; absent when it has none or the caller can't read it.listing_idstringnullableThe listing the deal is about; null when none.listing_headlinestringThe listing's headline, beside its ID: broker-written text. Absent when the caller can't read the listing.outside_ai_accessbooleanrequiredWhether outside AI clients may be granted this deal. Changed on acquestor.com only; turning it off revokes every grant.created_atdate-timeWhen the deal was created, as an ISO 8601 timestamp.updated_atdate-timeWhen the deal was last changed, as an ISO 8601 timestamp.runsarray of objectsSaved runs of computed tools on this deal, newest first, up to 50.Show 8 fieldsHide 8 fields
idstringrequiredThe saved run's ID.deal_idstringrequiredThe ID of the deal the run is saved to.operation_idstringrequiredThe computed operation that ran, such as computeSbaCeiling.labelstringnullableThe name given when the run was saved; null when none was given. GET /deals/{deal_id} doesn't keep it yet, so a saved run reads null there.requestobjectThe inputs the operation ran with. In getDeal, returned to the owner on acquestor.com only.resultobjectThe operation's full result as it was saved, with its figures, sources and charge.rule_setsarray of stringsIDs of the rule sets the result applied, with their dates, such assba-sop-50-10-8.1@2026-09-25.created_atdate-timerequiredWhen the run was saved, as an ISO 8601 timestamp.
summary_figuresobjectThe deal's figures read from its documents or typed in, keyed by label and year (such aspl_revenue_2024), each citing its document page or who typed it.sourcesarray of SourceThe sources the summary figures cite: document pages and typed entries.gapsarray of GapGaps in the deal detail; currently always empty.disclaimerinformationalAlwaysinformational: the figures are information, not advice.chargeobjectWhat this call charged in credits, its price class and the balance after.Show 5 fieldsHide 5 fields
creditsnumberrequiredCredits this call charged; 0 when it was free or produced no result.price_classone offree,lookup,quick_tool,deep_tool,ai_job,chat_answerrequiredThe price class the call was charged under.balance_afternumberYour credit balance after this call, also on a free call; absent when the run produced no result.ledger_entry_idstringThe ID of this charge's entry in your credit ledger. REST only: an MCP result leaves it out.free_callbooleanTrue when a lookup was covered by the monthly free calls.
documentsarray of objectsNames, types and status only; contents are never returned to MCP clients.Show 3 fieldsHide 3 fields
idstringThe document's ID, for GET /deals/{deal_id}/documents/{document_id}.typeone ofbank_statement,tax_return,profit_and_loss,balance_sheet,ar_aging,payroll_register,lease,customer_list,teaser,cim,otherThe kind of document, as given at upload;otherwhen none was given.statusstringWhere reading the document stands:uploaded(stored, not read),extracting,extractedorfailed.
Errors
| Status | Code | Meaning |
|---|---|---|
| 400 | invalid_header |
A header has an invalid value |
| 401 | unauthorized |
Sign-in required |
| 402 | insufficient_credits |
Not enough credits |
| 402 | over_limit |
Monthly limit reached |
| 402 | over_max_credits |
Over your Acquestor-Max-Credits |
| 403 | beta_terms_not_accepted |
Accept the Beta Terms first |
| 403 | beta_terms_unavailable |
The Beta Terms aren't published yet |
| 403 | deal_access_off |
This client has no grant for this deal |
| 403 | insufficient_scope |
The key lacks a scope |
| 404 | not_found |
Not found |
| 503 | 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. Errors are problem details.
Call
curl "https://api.acquestor.com/v1/deals/00000000-0000-4000-8000-000000000001" \
-H "Authorization: Bearer $ACQUESTOR_API_KEY"const res = await fetch("https://api.acquestor.com/v1/deals/00000000-0000-4000-8000-000000000001", {
headers: {
Authorization: `Bearer ${process.env.ACQUESTOR_API_KEY}`,
},
});
const result = await res.json();import os, requests
r = requests.get(
"https://api.acquestor.com/v1/deals/00000000-0000-4000-8000-000000000001",
headers={"Authorization": f"Bearer {os.environ['ACQUESTOR_API_KEY']}"},
)
r.raise_for_status()
result = r.json()Example captured from the running code; lists in the answer cut to 3 items
{
"id": "00000000-0000-4000-8000-000000000001",
"name": "Abilene HVAC",
"perspective": "buyer",
"stage": "diligence",
"business_id": "00000000-0000-4000-8000-000000000002",
"listing_id": "00000000-0000-4000-8000-000000000003",
"outside_ai_access": true,
"created_at": "2026-10-05T15:02:11.000Z",
"updated_at": "2026-10-05T15:02:11.000Z",
"business_name": "Abilene HVAC",
"listing_headline": "HVAC service company with recurring maintenance contracts",
"runs": [
{
"id": "00000000-0000-4000-8000-000000000004",
"deal_id": "00000000-0000-4000-8000-000000000001",
"operation_id": "computeSbaCeiling",
"label": null,
"rule_sets": [
"sba-sop-50-10-8.1@2026-09-25",
"sba-rate-caps@2026-03-01"
],
"created_at": "2026-10-05T15:02:11.000Z",
"result": {
"data": {
"cash_flow_for_debt": {
"value": 295000,
"unit": "USD",
"source": "c1"
},
"interest_rate": {
"value": 0.1,
"unit": "rate",
"source": "c1"
},
"annual_debt_service": {
"value": 236000,
"unit": "USD",
"source": "c1"
},
"max_loan": {
"value": 1488200,
"unit": "USD",
"source": "c1"
},
"max_price": {
"value": 1653555,
"unit": "USD",
"source": "c1"
},
"price_to_sde": {
"value": 4.13,
"unit": "x",
"source": "c1"
},
"grid": [
{
"manager_salary": {
"value": 60000,
"unit": "USD",
"source": "c1"
},
"interest_rate": {
"value": 0.1,
"unit": "rate",
"source": "c1"
},
"coverage": {
"value": 1.25,
"unit": "x",
"source": "c1"
},
"price_to_sde": {
"value": 4.41,
"unit": "x",
"source": "c1"
},
"max_price": {
"value": 1765660,
"unit": "USD",
"source": "c1"
}
},
{
"manager_salary": {
"value": 60000,
"unit": "USD",
"source": "c1"
},
"interest_rate": {
"value": 0.0925,
"unit": "rate",
"source": "c1"
},
"coverage": {
"value": 1.25,
"unit": "x",
"source": "c1"
},
"price_to_sde": {
"value": 4.56,
"unit": "x",
"source": "c1"
},
"max_price": {
"value": 1822451,
"unit": "USD",
"source": "c1"
}
},
{
"manager_salary": {
"value": 60000,
"unit": "USD",
"source": "c1"
},
"interest_rate": {
"value": 0.085,
"unit": "rate",
"source": "c1"
},
"coverage": {
"value": 1.25,
"unit": "x",
"source": "c1"
},
"price_to_sde": {
"value": 4.7,
"unit": "x",
"source": "c1"
},
"max_price": {
"value": 1881938,
"unit": "USD",
"source": "c1"
}
}
],
"flags": {
"qoe_required": false,
"internal_valuation_path": false,
"loan_capped_at_program_max": false
},
"gap_to_asking": {
"value": -228555,
"unit": "USD",
"source": "c1"
},
"bridge_needed": {
"value": 0,
"unit": "USD",
"source": "c1"
}
},
"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": "sba-sop-50-10-8.1",
"name": "SOP 50 10 8.1, Lender and Development Company Loan Programs",
"publisher": "U.S. Small Business Administration",
"dataset": "SOP 50 10 8.1",
"basis": "rule",
"route": "served_directly",
"licence_status": "cleared",
"as_of": "2026-10-01",
"effective_from": "2026-10-01",
"effective_to": null,
"url": "https://legacy.sba.gov/document/information-notice-5000-882227-issuance-technical-updates-sop-50-10-81",
"line": "Source: SBA SOP 50 10 8.1, effective Oct 1, 2026"
},
{
"id": "s1",
"source_id": "frb-h15-prime",
"name": "H.15 Selected Interest Rates: bank prime loan rate",
"publisher": "Board of Governors of the Federal Reserve System",
"dataset": "H.15 bank prime loan rate",
"basis": "public_record",
"route": "served_directly",
"licence_status": "cleared",
"as_of": "2026-10-02",
"url": "https://www.federalreserve.gov/releases/h15/",
"line": "Source: Federal Reserve, H.15 bank prime loan rate, as of Oct 2, 2026",
"retrieved_at": "2026-10-05"
},
{
"id": "r2",
"source_id": "sba-notice-5000-875051",
"name": "Procedural Notice 5000-875051, 7(a) maximum interest rates",
"publisher": "U.S. Small Business Administration",
"dataset": "Procedural Notice 5000-875051",
"basis": "rule",
"route": "served_directly",
"licence_status": "cleared",
"as_of": "2026-03-01",
"effective_from": "2026-03-01",
"effective_to": null,
"url": "https://www.sba.gov/document/procedural-notice-5000-875051-7a-alternative-base-rate-options",
"line": "Source: SBA Procedural Notice 5000-875051, effective Mar 1, 2026"
}
],
"gaps": [],
"disclaimer": "informational",
"computation": {
"id": "c1",
"method": "sba_ceiling",
"method_version": "1.0.0",
"computed_at": "2026-10-05T15:02:11.000Z",
"rule_sets": [
"sba-sop-50-10-8.1@2026-09-25",
"sba-rate-caps@2026-03-01"
],
"inputs": {
"sde": {
"value": 400000,
"unit": "USD",
"source": "u1"
},
"manager_salary": {
"value": 80000,
"unit": "USD",
"source": "u1"
},
"capex_reserve": {
"value": 25000,
"unit": "USD",
"source": "u1"
},
"prime_rate": {
"value": 0.07,
"unit": "rate",
"source": "s1",
"as_of": "2026-10-02"
},
"coverage": {
"value": 1.25,
"unit": "x",
"source": "r1"
},
"term_months": {
"value": 120,
"unit": "months",
"source": "r1"
},
"equity_injection_share": {
"value": 0.1,
"unit": "share",
"source": "r1"
},
"asking_price": {
"value": 1425000,
"unit": "USD",
"source": "u1"
},
"max_spread": {
"value": 0.03,
"unit": "rate",
"source": "r2"
}
}
},
"card": {
"card_type": "sba_ceiling",
"card_version": "1.0.0",
"title": "SBA price ceiling",
"subtitle": "At 10.00% and 1.25x coverage, 10 years",
"headline": [
"max_price",
"max_loan",
"price_to_sde"
],
"body": {
"headline_items": [
{
"key": "max_price",
"label": "SBA price ceiling",
"display": "$1,654,000",
"figure": {
"value": 1653555,
"unit": "USD",
"source": "c1"
}
},
{
"key": "max_loan",
"label": "Highest SBA loan",
"display": "$1,488,000",
"figure": {
"value": 1488200,
"unit": "USD",
"source": "c1"
}
},
{
"key": "price_to_sde",
"label": "Price to SDE",
"display": "4.13x",
"figure": {
"value": 4.13,
"unit": "x",
"source": "c1"
}
}
],
"meaning": "The highest price an SBA 7(a)-financed buyer can pay at 1.25x coverage with 10% down.",
"inputs": [
{
"label": "SDE",
"display": "$400,000",
"provenance": "supplied by the caller",
"source": "u1"
},
{
"label": "manager salary",
"display": "$80,000",
"provenance": "supplied by the caller",
"source": "u1"
},
{
"label": "capex reserve",
"display": "$25,000",
"provenance": "supplied by the caller",
"source": "u1"
},
{
"label": "rate",
"display": "10.00%, the SBA cap: prime 7.00% (Federal Reserve, H.15 bank prime loan rate, as of Oct 2, 2026) plus 3.00%",
"provenance": "SBA maximum rate under Procedural Notice 5000-875051, effective Mar 1, 2026",
"source": "r2"
},
{
"label": "coverage",
"display": "1.25x",
"provenance": "SBA SOP 50 10 8.1, effective Oct 1, 2026",
"source": "r1"
},
{
"label": "term",
"display": "10-year",
"provenance": "SBA SOP 50 10 8.1, effective Oct 1, 2026",
"source": "r1"
},
{
"label": "equity",
"display": "10%",
"provenance": "SBA SOP 50 10 8.1, effective Oct 1, 2026",
"source": "r1"
},
{
"label": "asking price",
"display": "$1,425,000",
"provenance": "supplied by the caller",
"source": "u1"
}
],
"moves": "each $20,000 of salary moves the ceiling about $112,000.",
"not": "**Not a valuation.** A price above this needs a seller note or more buyer cash.",
"lines": [
"Asking is $229,000 below the ceiling."
],
"grid_columns": [
"10.00%",
"9.25%",
"8.50%"
],
"grid_rows": [
"$60,000",
"$80,000",
"$100,000"
]
},
"as_of": "2026-10-02",
"source_refs": [
"u1",
"r1",
"s1",
"r2",
"c1"
],
"actions": [
{
"label": "Stress test this",
"tool": "stress_test_deal",
"arguments": {
"sde": 400000,
"manager_salary": 80000,
"capex_reserve": 25000,
"loan_amount": 1488200,
"interest_rate": 0.1,
"term_months": 120
}
},
{
"label": "Find lenders",
"tool": "find_sba_lenders",
"arguments": {}
}
],
"disclaimers": [
"informational"
],
"deal_id": "00000000-0000-4000-8000-000000000001"
},
"run_id": "00000000-0000-4000-8000-000000000004",
"charge": {
"credits": 5,
"price_class": "quick_tool"
}
}
},
{
"id": "00000000-0000-4000-8000-000000000005",
"deal_id": "00000000-0000-4000-8000-000000000001",
"operation_id": "computeProofOfCash",
"label": null,
"rule_sets": [],
"created_at": "2026-10-05T15:02:11.000Z",
"result": {
"data": {
"periods": [
{
"period": "2025",
"deposits": {
"value": 2100000,
"unit": "USD",
"source": "c1"
},
"excluded": {
"value": 0,
"unit": "USD",
"source": "c1"
},
"net_deposits": {
"value": 2100000,
"unit": "USD",
"source": "c1"
},
"pl_revenue": {
"value": 2100000,
"unit": "USD",
"source": "c1"
},
"return_receipts": {
"value": 2080000,
"unit": "USD",
"source": "c1"
},
"variance_to_pl": {
"value": 0,
"unit": "share",
"source": "c1"
},
"variance_to_return": {
"value": 0.009615,
"unit": "share",
"source": "c1"
},
"flagged": false,
"months_covered": 12
}
]
},
"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": [
{
"field": "sde_over_tax_income_share",
"reason": "insufficient_records",
"detail": "No 2025 SDE or tax-return taxable income is among the deal's figures, so SDE isn't compared to taxable income."
}
],
"disclaimer": "informational",
"computation": {
"id": "c1",
"method": "proof_of_cash",
"method_version": "1.0.0",
"computed_at": "2026-10-05T15:02:11.000Z",
"rule_sets": [],
"inputs": {
"variance_threshold": {
"value": 0.05,
"unit": "share",
"source": "u1"
},
"bank_deposits_2025_01": {
"value": 175000,
"unit": "USD",
"source": "u1",
"as_of": "2026-10-05"
},
"bank_deposits_2025_02": {
"value": 175000,
"unit": "USD",
"source": "u1",
"as_of": "2026-10-05"
},
"bank_deposits_2025_03": {
"value": 175000,
"unit": "USD",
"source": "u1",
"as_of": "2026-10-05"
},
"bank_deposits_2025_04": {
"value": 175000,
"unit": "USD",
"source": "u1",
"as_of": "2026-10-05"
},
"bank_deposits_2025_05": {
"value": 175000,
"unit": "USD",
"source": "u1",
"as_of": "2026-10-05"
},
"bank_deposits_2025_06": {
"value": 175000,
"unit": "USD",
"source": "u1",
"as_of": "2026-10-05"
},
"bank_deposits_2025_07": {
"value": 175000,
"unit": "USD",
"source": "u1",
"as_of": "2026-10-05"
},
"bank_deposits_2025_08": {
"value": 175000,
"unit": "USD",
"source": "u1",
"as_of": "2026-10-05"
},
"bank_deposits_2025_09": {
"value": 175000,
"unit": "USD",
"source": "u1",
"as_of": "2026-10-05"
},
"bank_deposits_2025_10": {
"value": 175000,
"unit": "USD",
"source": "u1",
"as_of": "2026-10-05"
},
"bank_deposits_2025_11": {
"value": 175000,
"unit": "USD",
"source": "u1",
"as_of": "2026-10-05"
},
"bank_deposits_2025_12": {
"value": 175000,
"unit": "USD",
"source": "u1",
"as_of": "2026-10-05"
},
"pl_revenue_2025": {
"value": 2100000,
"unit": "USD",
"source": "u1",
"as_of": "2026-10-05"
},
"return_gross_receipts_2025": {
"value": 2080000,
"unit": "USD",
"source": "u1",
"as_of": "2026-10-05"
}
}
},
"card": {
"card_type": "proof_of_cash",
"card_version": "1.0.0",
"title": "Proof of cash",
"subtitle": "Bank deposits against P&L revenue and tax-return receipts, 2025",
"headline": [
"net_deposits",
"pl_revenue",
"variance_to_return"
],
"body": {
"headline_items": [
{
"key": "net_deposits",
"label": "Net deposits, 2025",
"display": "$2,100,000",
"figure": {
"value": 2100000,
"unit": "USD",
"source": "c1"
}
},
{
"key": "pl_revenue",
"label": "P&L revenue, 2025",
"display": "$2,100,000",
"figure": {
"value": 2100000,
"unit": "USD",
"source": "c1"
}
},
{
"key": "variance_to_return",
"label": "Biggest variance, 2025 (to tax return)",
"display": "1.0%",
"figure": {
"value": 0.009615,
"unit": "share",
"source": "c1"
}
}
],
"meaning": "Deposits matched P&L revenue in 2025.",
"inputs": [
{
"label": "variance threshold",
"display": "5%",
"provenance": "supplied by the caller",
"source": "u1"
}
],
"table": {
"columns": [
"Period",
"Deposits",
"Excluded",
"Net deposits",
"P&L revenue",
"Return receipts",
"Variance to P&L",
"Variance to return",
"Flagged"
],
"rows": [
[
"2025",
"$2,100,000",
"$0",
"$2,100,000",
"$2,100,000",
"$2,080,000",
"0.0%",
"1.0%",
"No"
]
],
"cell_sources": [
[
null,
"c1",
"c1",
"c1",
"c1",
"c1",
"c1",
"c1",
null
]
]
},
"lines": [],
"moves": "each confirmed exclusion lowers net deposits dollar for dollar; months missing from the bank statements lower deposits.",
"not": "A reconciliation of the documents you uploaded, not an audit or a quality of earnings report."
},
"as_of": "2026-10-05",
"source_refs": [
"u1",
"c1"
],
"actions": [
{
"label": "Check red flags",
"tool": "check_red_flags",
"arguments": {
"deal_id": "00000000-0000-4000-8000-000000000001"
}
}
],
"disclaimers": [
"informational"
],
"deal_id": "00000000-0000-4000-8000-000000000001"
},
"run_id": "00000000-0000-4000-8000-000000000005",
"charge": {
"credits": 50,
"price_class": "deep_tool"
}
}
}
],
"summary_figures": {
"bank_deposits_2025-01": {
"value": 175000,
"unit": "USD",
"source": "u1",
"as_of": "2026-10-05"
},
"bank_deposits_2025-02": {
"value": 175000,
"unit": "USD",
"source": "u1",
"as_of": "2026-10-05"
},
"bank_deposits_2025-03": {
"value": 175000,
"unit": "USD",
"source": "u1",
"as_of": "2026-10-05"
},
"bank_deposits_2025-04": {
"value": 175000,
"unit": "USD",
"source": "u1",
"as_of": "2026-10-05"
},
"bank_deposits_2025-05": {
"value": 175000,
"unit": "USD",
"source": "u1",
"as_of": "2026-10-05"
},
"bank_deposits_2025-06": {
"value": 175000,
"unit": "USD",
"source": "u1",
"as_of": "2026-10-05"
},
"bank_deposits_2025-07": {
"value": 175000,
"unit": "USD",
"source": "u1",
"as_of": "2026-10-05"
},
"bank_deposits_2025-08": {
"value": 175000,
"unit": "USD",
"source": "u1",
"as_of": "2026-10-05"
},
"bank_deposits_2025-09": {
"value": 175000,
"unit": "USD",
"source": "u1",
"as_of": "2026-10-05"
},
"bank_deposits_2025-10": {
"value": 175000,
"unit": "USD",
"source": "u1",
"as_of": "2026-10-05"
},
"bank_deposits_2025-11": {
"value": 175000,
"unit": "USD",
"source": "u1",
"as_of": "2026-10-05"
},
"bank_deposits_2025-12": {
"value": 175000,
"unit": "USD",
"source": "u1",
"as_of": "2026-10-05"
},
"pl_revenue_2025": {
"value": 2100000,
"unit": "USD",
"source": "u2",
"as_of": "2026-10-05"
},
"return_gross_receipts_2025": {
"value": 2080000,
"unit": "USD",
"source": "u1",
"as_of": "2026-10-05"
}
},
"sources": [
{
"id": "u1",
"basis": "user_entered",
"route": "served_directly",
"as_of": "2026-10-05",
"name": "You entered this",
"line": "You entered this, Oct 5, 2026"
},
{
"id": "u2",
"basis": "user_upload",
"route": "served_directly",
"as_of": "2026-10-05",
"document_id": "00000000-0000-4000-8000-000000000006",
"page": 1,
"name": "abilene-hvac-pl-2025.csv",
"line": "From abilene-hvac-pl-2025.csv, page 1, uploaded Oct 5, 2026"
}
],
"documents": [
{
"id": "00000000-0000-4000-8000-000000000006",
"type": "profit_and_loss",
"status": "extracted"
}
],
"gaps": [],
"disclaimer": "informational",
"charge": {
"credits": 0,
"price_class": "lookup",
"balance_after": 62,
"ledger_entry_id": "00000000-0000-4000-8000-000000000007",
"free_call": true
}
}Where each figure comes from
- u1You entered this, Oct 5, 2026
- u2From abilene-hvac-pl-2025.csv, page 1, uploaded Oct 5, 2026
Rename a deal, move its stage, or change outside AI access#
PATCH/v1/deals/{deal_id}
- Free
- Scope
deals:write
Changing outside_ai_access requires a signed-in session (interface); API keys and OAuth clients cannot grant themselves deal access.
Parameters
deal_idstringpathrequiredDeal id fromlist_deals.Idempotency-Keystring (at least 1 character, up to 255 characters)header1 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/merge-patch+json
namestring (up to 200 characters)A name for the deal, up to 200 characters; SSNs and account numbers are removed. Defaults to Untitled deal.perspectiveone ofbuyer,seller,brokerWhose side the deal is worked from, set at creation; defaults to broker or seller by the account's role, otherwise buyer.stageone ofexplore,value,market,offer,diligence,finance,close,transitionWhere the deal stands; defaults toexplore.business_idstringOne of the caller's own business records, from POST /businesses, that the deal is about.listing_idstringThe listing the deal is about, from search_listings or GET /listings.outside_ai_accessbooleanInterface sessions only. Default false.
Response 200
Updated
idstringrequiredThe deal's ID, passed asdeal_idto deal calls and computed tools.namestringThe deal's name; Untitled deal when none was given.perspectiveone ofbuyer,seller,brokerrequiredWhose side the deal is worked from, set when the deal was created.stageone ofexplore,value,market,offer,diligence,finance,close,transitionrequiredWhere the deal stands, as last set.business_idstringnullableThe caller's business record the deal is about; null when none.business_namestringThe business's name, beside its ID; absent when it has none or the caller can't read it.listing_idstringnullableThe listing the deal is about; null when none.listing_headlinestringThe listing's headline, beside its ID: broker-written text. Absent when the caller can't read the listing.outside_ai_accessbooleanrequiredWhether outside AI clients may be granted this deal. Changed on acquestor.com only; turning it off revokes every grant.created_atdate-timeWhen the deal was created, as an ISO 8601 timestamp.updated_atdate-timeWhen the deal was last changed, as an ISO 8601 timestamp.
Errors
| Status | Code | Meaning |
|---|---|---|
| 400 | invalid_header |
A header has an invalid value |
| 400 | invalid_json |
The body isn't valid JSON |
| 401 | unauthorized |
Sign-in required |
| 403 | beta_terms_not_accepted |
Accept the Beta Terms first |
| 403 | beta_terms_unavailable |
The Beta Terms aren't published yet |
| 403 | cross_origin |
Cross-site request refused |
| 403 | deal_access_off |
This client has no grant for this deal |
| 403 | insufficient_scope |
The key lacks a scope |
| 403 | interface_only |
Only acquestor.com can do this |
| 404 | not_found |
Not found |
| 409 | idempotency_in_progress |
The same request is still running |
| 413 | file_too_large |
File too large |
| 415 | unsupported_media_type |
Unsupported content type |
| 422 | idempotency_key_reused |
Idempotency-Key used for a different call |
| 422 | invalid_input |
An input is out of range or the wrong type |
Codes any request can meet, such as internal_error, are on problem types. Errors are problem details.
Call
curl -X PATCH "https://api.acquestor.com/v1/deals/00000000-0000-4000-8000-000000000001" \
-H "Authorization: Bearer $ACQUESTOR_API_KEY" \
-H "Content-Type: application/merge-patch+json" \
-d '{"stage":"diligence"}'const res = await fetch("https://api.acquestor.com/v1/deals/00000000-0000-4000-8000-000000000001", {
method: "PATCH",
headers: {
Authorization: `Bearer ${process.env.ACQUESTOR_API_KEY}`,
"Content-Type": "application/merge-patch+json",
},
body: JSON.stringify({ stage: "diligence" }),
});
const result = await res.json();import os, requests
r = requests.patch(
"https://api.acquestor.com/v1/deals/00000000-0000-4000-8000-000000000001",
headers={"Authorization": f"Bearer {os.environ['ACQUESTOR_API_KEY']}"},
json={"stage": "diligence"},
)
r.raise_for_status()
result = r.json()Example captured from the running code
{
"id": "00000000-0000-4000-8000-000000000001",
"name": "Abilene HVAC",
"perspective": "buyer",
"stage": "diligence",
"business_id": "00000000-0000-4000-8000-000000000002",
"listing_id": "00000000-0000-4000-8000-000000000003",
"outside_ai_access": true,
"created_at": "2026-10-05T15:02:11.000Z",
"updated_at": "2026-10-05T15:02:11.000Z"
}Upload a document to a deal#
POST/v1/deals/{deal_id}/documents
- 3 credits a page
- Scope
deals:write
Stored under the deal's own key. Bank statements, P&Ls and tax returns are read for figures at 3 credits a page, quoted from the page count and checked against the balance before reading; a failed read is not charged. Without the model connected, the document is stored and the user types the figures. Files that look like a marketplace printout are refused.
Parameters
Acquestor-Max-Creditsnumber (min 0)headerThe most this call may charge. If its price is higher, it returns 402over_max_creditsand runs nothing.deal_idstringpathrequiredDeal id fromlist_deals.Idempotency-Keystring (at least 1 character, up to 255 characters)header1 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 multipart/form-data
typeone ofbank_statement,tax_return,profit_and_loss,balance_sheet,ar_aging,payroll_register,lease,customer_list,teaser,cim,otherWhat the document is. Bank statements, P&Ls and tax returns are read for figures; other types are stored only. Defaults tootherwhen left out.filefilerequiredThe document file, up to 25 MB.
Response 201
Stored, and read when the type supports it. Returned in the envelope (computation, sources, gaps, warnings, disclaimer, card, actions, run_id, charge, truncated); data holds the fields below. The stored document: its status, page count, a message on what was read, and the figures read from it.
idstringrequiredThe document's ID; use it with getDocument or asdocument_idon a typed figure.deal_idstringrequiredThe ID of the deal the document was uploaded to.typeone ofbank_statement,tax_return,profit_and_loss,balance_sheet,ar_aging,payroll_register,lease,customer_list,teaser,cim,otherrequiredThe kind of document, as given on upload; bank statements, P&Ls and tax returns are read for figures.filenamestringnullableThe file name as uploaded. Returned on acquestor.com only; null for API callers.pagesintegerNumber of pages counted on upload; reading is priced at 3 credits a page.statusone ofuploaded,extracting,extracted,failedrequireduploaded when stored and not read, extracting while figures are read, extracted when the read finished, failed when it didn't.extracted_figuresarray of objectsFigures read from the document. uploadDocument returns them infiguresinstead and leaves this out.Show 4 fieldsHide 4 fields
labelstringWhat the figure is, such as bank_deposits or pl_revenue.periodstringThe period the figure covers: YYYY for a year, YYYY-MM for a month.figureFigureThe amount in dollars, sourced to this document and page.pageintegerThe page the figure was read from, counting from 1.
redactions_appliedbooleanTrue when account numbers or other identifiers were removed from what was read. uploadDocument doesn't return it.messagestringnullableA note on the read: figures left out, nothing found, or why it failed, and whether anything was charged. Null when there is nothing to add.figuresarray of objectsFigures read from this document and saved to the deal, each with its document and page. Empty when nothing was read.Show 6 fieldsHide 6 fields
idstringnullableThe saved figure's ID.labelone ofbank_deposits,pl_revenue,return_gross_receipts,return_taxable_income,sderequiredWhat the figure is: monthly bank deposits, P&L revenue, tax-return gross receipts or taxable income, or SDE.periodstring (pattern^[0-9]{4}(-[0-9]{2})?$)requiredThe period the figure covers: YYYY for a year, YYYY-MM for a month.document_idstringnullableThe document the figure came from; null when it was typed without one.pageintegernullableThe page in that document; null when none was given.- The amount in dollars, sourced to its document and page or to the person who typed it, dated the day it was recorded.
Errors
| Status | Code | Meaning |
|---|---|---|
| 400 | invalid_header |
A header has an invalid value |
| 400 | invalid_json |
The body isn't valid JSON |
| 401 | unauthorized |
Sign-in required |
| 402 | insufficient_credits |
Not enough credits |
| 402 | over_limit |
Monthly limit reached |
| 402 | over_max_credits |
Over your Acquestor-Max-Credits |
| 403 | beta_terms_not_accepted |
Accept the Beta Terms first |
| 403 | beta_terms_unavailable |
The Beta Terms aren't published yet |
| 403 | cross_origin |
Cross-site request refused |
| 403 | deal_access_off |
This client has no grant for this deal |
| 403 | insufficient_scope |
The key lacks a scope |
| 404 | not_found |
Not found |
| 409 | idempotency_in_progress |
The same request is still running |
| 413 | file_too_large |
File too large |
| 415 | unsupported_media_type |
Unsupported content type |
| 422 | idempotency_key_reused |
Idempotency-Key used for a different call |
| 422 | invalid_input |
An input is out of range or the wrong type |
| 422 | marketplace_printout |
This looks like a marketplace printout |
| 422 | missing_input |
A required input is missing |
| 503 | 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. Errors are problem details.
Call
curl -X POST "https://api.acquestor.com/v1/deals/00000000-0000-4000-8000-000000000001/documents" \
-H "Authorization: Bearer $ACQUESTOR_API_KEY" \
-F "file=@<file>"Example captured from the running code
{
"data": {
"id": "00000000-0000-4000-8000-000000000002",
"deal_id": "00000000-0000-4000-8000-000000000001",
"type": "profit_and_loss",
"filename": null,
"pages": 1,
"status": "extracted",
"message": null,
"figures": [
{
"id": "00000000-0000-4000-8000-000000000003",
"label": "pl_revenue",
"period": "2025",
"document_id": "00000000-0000-4000-8000-000000000002",
"page": 1,
"value": {
"value": 2100000,
"unit": "USD",
"source": "u1",
"as_of": "2026-10-05"
}
}
]
},
"sources": [
{
"id": "u1",
"basis": "user_upload",
"route": "served_directly",
"as_of": "2026-10-05",
"name": "a document on this deal",
"document_id": "00000000-0000-4000-8000-000000000002",
"page": 1,
"line": "From a document on this deal, page 1, uploaded Oct 5, 2026"
}
],
"gaps": [],
"disclaimer": "informational",
"charge": {
"credits": 3,
"price_class": "ai_job",
"balance_after": 472,
"ledger_entry_id": "00000000-0000-4000-8000-000000000004"
}
}Where each figure comes from
- u1From a document on this deal, page 1, uploaded Oct 5, 2026
Document status and extracted figures#
GET/v1/deals/{deal_id}/documents/{document_id}
- Lookup: 1,000 free a month, then 0.5 credits
- Scope
deals:read
Parameters
deal_idstringpathrequiredDeal id fromlist_deals.document_idstringpathrequiredThe document's ID, from POST /deals/{deal_id}/documents or the deal'sdocumentslist in get_deal.
Response 200
Document
idstringrequiredThe document's ID.deal_idstringrequiredThe deal the document belongs to.typeone ofbank_statement,tax_return,profit_and_loss,balance_sheet,ar_aging,payroll_register,lease,customer_list,teaser,cim,otherrequiredThe kind of document, as given at upload;otherwhen none was given.statusone ofuploaded,extracting,extracted,failedrequiredWhere reading the document stands:uploaded(stored, not read),extractingwhile figures are read,extractedwhen done, orfailed.filenamestringSigned in on acquestor.com only.pagesintegernullableSigned in on acquestor.com only; null until the document is read.uploaded_atdate-timeSigned in on acquestor.com only.summary_figuresobjectrequiredThe deal's summary figures, each a Figure whose source names the document and page it was read from, or the person who typed it.- The sources the summary figures cite: document pages and typed entries.
- Gaps in the result; currently always empty.
disclaimerinformationalrequiredAlwaysinformational: the figures are information, not advice.chargeobjectWhat this call charged in credits, its price class and the balance after.Show 5 fieldsHide 5 fields
creditsnumberrequiredCredits this call charged; 0 when it was free or produced no result.price_classone offree,lookup,quick_tool,deep_tool,ai_job,chat_answerrequiredThe price class the call was charged under.balance_afternumberYour credit balance after this call, also on a free call; absent when the run produced no result.ledger_entry_idstringThe ID of this charge's entry in your credit ledger. REST only: an MCP result leaves it out.free_callbooleanTrue when a lookup was covered by the monthly free calls.
Errors
| Status | Code | Meaning |
|---|---|---|
| 400 | invalid_header |
A header has an invalid value |
| 401 | unauthorized |
Sign-in required |
| 402 | insufficient_credits |
Not enough credits |
| 402 | over_limit |
Monthly limit reached |
| 402 | over_max_credits |
Over your Acquestor-Max-Credits |
| 403 | beta_terms_not_accepted |
Accept the Beta Terms first |
| 403 | beta_terms_unavailable |
The Beta Terms aren't published yet |
| 403 | deal_access_off |
This client has no grant for this deal |
| 403 | insufficient_scope |
The key lacks a scope |
| 404 | not_found |
Not found |
| 503 | 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. Errors are problem details.
Call
curl "https://api.acquestor.com/v1/deals/00000000-0000-4000-8000-000000000001/documents/00000000-0000-4000-8000-000000000002" \
-H "Authorization: Bearer $ACQUESTOR_API_KEY"const res = await fetch("https://api.acquestor.com/v1/deals/00000000-0000-4000-8000-000000000001/documents/00000000-0000-4000-8000-000000000002", {
headers: {
Authorization: `Bearer ${process.env.ACQUESTOR_API_KEY}`,
},
});
const result = await res.json();import os, requests
r = requests.get(
"https://api.acquestor.com/v1/deals/00000000-0000-4000-8000-000000000001/documents/00000000-0000-4000-8000-000000000002",
headers={"Authorization": f"Bearer {os.environ['ACQUESTOR_API_KEY']}"},
)
r.raise_for_status()
result = r.json()Example captured from the running code
{
"id": "00000000-0000-4000-8000-000000000002",
"type": "profit_and_loss",
"status": "extracted",
"deal_id": "00000000-0000-4000-8000-000000000001",
"summary_figures": {
"bank_deposits_2025-01": {
"value": 175000,
"unit": "USD",
"source": "u1",
"as_of": "2026-10-05"
},
"bank_deposits_2025-02": {
"value": 175000,
"unit": "USD",
"source": "u1",
"as_of": "2026-10-05"
},
"bank_deposits_2025-03": {
"value": 175000,
"unit": "USD",
"source": "u1",
"as_of": "2026-10-05"
},
"bank_deposits_2025-04": {
"value": 175000,
"unit": "USD",
"source": "u1",
"as_of": "2026-10-05"
},
"bank_deposits_2025-05": {
"value": 175000,
"unit": "USD",
"source": "u1",
"as_of": "2026-10-05"
},
"bank_deposits_2025-06": {
"value": 175000,
"unit": "USD",
"source": "u1",
"as_of": "2026-10-05"
},
"bank_deposits_2025-07": {
"value": 175000,
"unit": "USD",
"source": "u1",
"as_of": "2026-10-05"
},
"bank_deposits_2025-08": {
"value": 175000,
"unit": "USD",
"source": "u1",
"as_of": "2026-10-05"
},
"bank_deposits_2025-09": {
"value": 175000,
"unit": "USD",
"source": "u1",
"as_of": "2026-10-05"
},
"bank_deposits_2025-10": {
"value": 175000,
"unit": "USD",
"source": "u1",
"as_of": "2026-10-05"
},
"bank_deposits_2025-11": {
"value": 175000,
"unit": "USD",
"source": "u1",
"as_of": "2026-10-05"
},
"bank_deposits_2025-12": {
"value": 175000,
"unit": "USD",
"source": "u1",
"as_of": "2026-10-05"
},
"pl_revenue_2025": {
"value": 2100000,
"unit": "USD",
"source": "u2",
"as_of": "2026-10-05"
},
"return_gross_receipts_2025": {
"value": 2080000,
"unit": "USD",
"source": "u1",
"as_of": "2026-10-05"
}
},
"sources": [
{
"id": "u1",
"basis": "user_entered",
"route": "served_directly",
"as_of": "2026-10-05",
"name": "You entered this",
"line": "You entered this, Oct 5, 2026"
},
{
"id": "u2",
"basis": "user_upload",
"route": "served_directly",
"as_of": "2026-10-05",
"document_id": "00000000-0000-4000-8000-000000000002",
"page": 1,
"name": "abilene-hvac-pl-2025.csv",
"line": "From abilene-hvac-pl-2025.csv, page 1, uploaded Oct 5, 2026"
}
],
"gaps": [],
"disclaimer": "informational",
"charge": {
"credits": 0,
"price_class": "lookup",
"balance_after": 472,
"ledger_entry_id": "00000000-0000-4000-8000-000000000003",
"free_call": true
}
}Where each figure comes from
- u1You entered this, Oct 5, 2026
- u2From abilene-hvac-pl-2025.csv, page 1, uploaded Oct 5, 2026
Save a computed result to a deal#
POST/v1/deals/{deal_id}/runs
- Free
- Scope
deals:write - MCP
save_to_deal
Runs a computed tool from its inputs against the granted deal and saves the result there. Charged at that tool's price; saving is free. Computed tools called through the MCP server read from a deal but don't save, so this is how an AI client keeps a result.
Parameters
deal_idstringpathrequiredDeal id fromlist_deals.Idempotency-Keystring (at least 1 character, up to 255 characters)header1 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
operation_idstringrequiredComputed operation to run.requestobjectrequiredIts inputs, with objects such asseller_notenested.labelstringName for the saved run.
Response 201
Saved
idstringrequiredThe saved run's ID.deal_idstringrequiredThe ID of the deal the run is saved to.operation_idstringrequiredThe computed operation that ran, such as computeSbaCeiling.labelstringnullableThe name given when the run was saved; null when none was given. GET /deals/{deal_id} doesn't keep it yet, so a saved run reads null there.requestobjectThe inputs the operation ran with. In getDeal, returned to the owner on acquestor.com only.resultobjectThe operation's full result as it was saved, with its figures, sources and charge.rule_setsarray of stringsIDs of the rule sets the result applied, with their dates, such assba-sop-50-10-8.1@2026-09-25.created_atdate-timerequiredWhen the run was saved, as an ISO 8601 timestamp.
Errors
| Status | Code | Meaning |
|---|---|---|
| 400 | invalid_header |
A header has an invalid value |
| 400 | invalid_json |
The body isn't valid JSON |
| 401 | unauthorized |
Sign-in required |
| 402 | insufficient_credits |
Not enough credits |
| 402 | over_limit |
Monthly limit reached |
| 402 | over_max_credits |
Over your Acquestor-Max-Credits |
| 403 | beta_terms_not_accepted |
Accept the Beta Terms first |
| 403 | beta_terms_unavailable |
The Beta Terms aren't published yet |
| 403 | cross_origin |
Cross-site request refused |
| 403 | deal_access_off |
This client has no grant for this deal |
| 403 | insufficient_scope |
The key lacks a scope |
| 404 | not_found |
Not found |
| 409 | idempotency_in_progress |
The same request is still running |
| 413 | file_too_large |
File too large |
| 415 | unsupported_media_type |
Unsupported content type |
| 422 | idempotency_key_reused |
Idempotency-Key used for a different call |
| 422 | invalid_input |
An input is out of range or the wrong type |
| 422 | missing_input |
A required input is missing |
| 503 | 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. Errors are problem details.
Call
curl -X POST "https://api.acquestor.com/v1/deals/00000000-0000-4000-8000-000000000001/runs" \
-H "Authorization: Bearer $ACQUESTOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"operation_id":"computeSbaCeiling","label":"Ceiling at $400K SDE","request":{"sde":400000,"manager_salary":80000,"capex_reserve":25000,"asking_price":1425000,"as_of":"2026-10-05"}}'const res = await fetch("https://api.acquestor.com/v1/deals/00000000-0000-4000-8000-000000000001/runs", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.ACQUESTOR_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({ operation_id: "computeSbaCeiling", label: "Ceiling at $400K SDE", request: { sde: 400000, manager_salary: 80000, capex_reserve: 25000, asking_price: 1425000, as_of: "2026-10-05" } }),
});
const result = await res.json();import os, requests
r = requests.post(
"https://api.acquestor.com/v1/deals/00000000-0000-4000-8000-000000000001/runs",
headers={"Authorization": f"Bearer {os.environ['ACQUESTOR_API_KEY']}"},
json={"operation_id": "computeSbaCeiling", "label": "Ceiling at $400K SDE", "request": {"sde": 400000, "manager_salary": 80000, "capex_reserve": 25000, "asking_price": 1425000, "as_of": "2026-10-05"}},
)
r.raise_for_status()
result = r.json()Example captured from the running code; lists in the answer cut to 3 items
{
"id": "00000000-0000-4000-8000-000000000002",
"deal_id": "00000000-0000-4000-8000-000000000001",
"operation_id": "computeSbaCeiling",
"label": "Ceiling at $400K SDE",
"result": {
"data": {
"cash_flow_for_debt": {
"value": 295000,
"unit": "USD",
"source": "c1"
},
"interest_rate": {
"value": 0.1,
"unit": "rate",
"source": "c1"
},
"annual_debt_service": {
"value": 236000,
"unit": "USD",
"source": "c1"
},
"max_loan": {
"value": 1488200,
"unit": "USD",
"source": "c1"
},
"max_price": {
"value": 1653555,
"unit": "USD",
"source": "c1"
},
"price_to_sde": {
"value": 4.13,
"unit": "x",
"source": "c1"
},
"grid": [
{
"manager_salary": {
"value": 60000,
"unit": "USD",
"source": "c1"
},
"interest_rate": {
"value": 0.1,
"unit": "rate",
"source": "c1"
},
"coverage": {
"value": 1.25,
"unit": "x",
"source": "c1"
},
"price_to_sde": {
"value": 4.41,
"unit": "x",
"source": "c1"
},
"max_price": {
"value": 1765660,
"unit": "USD",
"source": "c1"
}
},
{
"manager_salary": {
"value": 60000,
"unit": "USD",
"source": "c1"
},
"interest_rate": {
"value": 0.0925,
"unit": "rate",
"source": "c1"
},
"coverage": {
"value": 1.25,
"unit": "x",
"source": "c1"
},
"price_to_sde": {
"value": 4.56,
"unit": "x",
"source": "c1"
},
"max_price": {
"value": 1822451,
"unit": "USD",
"source": "c1"
}
},
{
"manager_salary": {
"value": 60000,
"unit": "USD",
"source": "c1"
},
"interest_rate": {
"value": 0.085,
"unit": "rate",
"source": "c1"
},
"coverage": {
"value": 1.25,
"unit": "x",
"source": "c1"
},
"price_to_sde": {
"value": 4.7,
"unit": "x",
"source": "c1"
},
"max_price": {
"value": 1881938,
"unit": "USD",
"source": "c1"
}
}
],
"flags": {
"qoe_required": false,
"internal_valuation_path": false,
"loan_capped_at_program_max": false
},
"gap_to_asking": {
"value": -228555,
"unit": "USD",
"source": "c1"
},
"bridge_needed": {
"value": 0,
"unit": "USD",
"source": "c1"
}
},
"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": "sba-sop-50-10-8.1",
"name": "SOP 50 10 8.1, Lender and Development Company Loan Programs",
"publisher": "U.S. Small Business Administration",
"dataset": "SOP 50 10 8.1",
"basis": "rule",
"route": "served_directly",
"licence_status": "cleared",
"as_of": "2026-10-01",
"effective_from": "2026-10-01",
"effective_to": null,
"url": "https://legacy.sba.gov/document/information-notice-5000-882227-issuance-technical-updates-sop-50-10-81",
"line": "Source: SBA SOP 50 10 8.1, effective Oct 1, 2026"
},
{
"id": "s1",
"source_id": "frb-h15-prime",
"name": "H.15 Selected Interest Rates: bank prime loan rate",
"publisher": "Board of Governors of the Federal Reserve System",
"dataset": "H.15 bank prime loan rate",
"basis": "public_record",
"route": "served_directly",
"licence_status": "cleared",
"as_of": "2026-10-02",
"url": "https://www.federalreserve.gov/releases/h15/",
"line": "Source: Federal Reserve, H.15 bank prime loan rate, as of Oct 2, 2026",
"retrieved_at": "2026-10-05"
},
{
"id": "r2",
"source_id": "sba-notice-5000-875051",
"name": "Procedural Notice 5000-875051, 7(a) maximum interest rates",
"publisher": "U.S. Small Business Administration",
"dataset": "Procedural Notice 5000-875051",
"basis": "rule",
"route": "served_directly",
"licence_status": "cleared",
"as_of": "2026-03-01",
"effective_from": "2026-03-01",
"effective_to": null,
"url": "https://www.sba.gov/document/procedural-notice-5000-875051-7a-alternative-base-rate-options",
"line": "Source: SBA Procedural Notice 5000-875051, effective Mar 1, 2026"
}
],
"gaps": [],
"disclaimer": "informational",
"computation": {
"id": "c1",
"method": "sba_ceiling",
"method_version": "1.0.0",
"computed_at": "2026-10-05T15:02:11.000Z",
"rule_sets": [
"sba-sop-50-10-8.1@2026-09-25",
"sba-rate-caps@2026-03-01"
],
"inputs": {
"sde": {
"value": 400000,
"unit": "USD",
"source": "u1"
},
"manager_salary": {
"value": 80000,
"unit": "USD",
"source": "u1"
},
"capex_reserve": {
"value": 25000,
"unit": "USD",
"source": "u1"
},
"prime_rate": {
"value": 0.07,
"unit": "rate",
"source": "s1",
"as_of": "2026-10-02"
},
"coverage": {
"value": 1.25,
"unit": "x",
"source": "r1"
},
"term_months": {
"value": 120,
"unit": "months",
"source": "r1"
},
"equity_injection_share": {
"value": 0.1,
"unit": "share",
"source": "r1"
},
"asking_price": {
"value": 1425000,
"unit": "USD",
"source": "u1"
},
"max_spread": {
"value": 0.03,
"unit": "rate",
"source": "r2"
}
}
},
"card": {
"card_type": "sba_ceiling",
"card_version": "1.0.0",
"title": "SBA price ceiling",
"subtitle": "At 10.00% and 1.25x coverage, 10 years",
"headline": [
"max_price",
"max_loan",
"price_to_sde"
],
"body": {
"headline_items": [
{
"key": "max_price",
"label": "SBA price ceiling",
"display": "$1,654,000",
"figure": {
"value": 1653555,
"unit": "USD",
"source": "c1"
}
},
{
"key": "max_loan",
"label": "Highest SBA loan",
"display": "$1,488,000",
"figure": {
"value": 1488200,
"unit": "USD",
"source": "c1"
}
},
{
"key": "price_to_sde",
"label": "Price to SDE",
"display": "4.13x",
"figure": {
"value": 4.13,
"unit": "x",
"source": "c1"
}
}
],
"meaning": "The highest price an SBA 7(a)-financed buyer can pay at 1.25x coverage with 10% down.",
"inputs": [
{
"label": "SDE",
"display": "$400,000",
"provenance": "supplied by the caller",
"source": "u1"
},
{
"label": "manager salary",
"display": "$80,000",
"provenance": "supplied by the caller",
"source": "u1"
},
{
"label": "capex reserve",
"display": "$25,000",
"provenance": "supplied by the caller",
"source": "u1"
},
{
"label": "rate",
"display": "10.00%, the SBA cap: prime 7.00% (Federal Reserve, H.15 bank prime loan rate, as of Oct 2, 2026) plus 3.00%",
"provenance": "SBA maximum rate under Procedural Notice 5000-875051, effective Mar 1, 2026",
"source": "r2"
},
{
"label": "coverage",
"display": "1.25x",
"provenance": "SBA SOP 50 10 8.1, effective Oct 1, 2026",
"source": "r1"
},
{
"label": "term",
"display": "10-year",
"provenance": "SBA SOP 50 10 8.1, effective Oct 1, 2026",
"source": "r1"
},
{
"label": "equity",
"display": "10%",
"provenance": "SBA SOP 50 10 8.1, effective Oct 1, 2026",
"source": "r1"
},
{
"label": "asking price",
"display": "$1,425,000",
"provenance": "supplied by the caller",
"source": "u1"
}
],
"moves": "each $20,000 of salary moves the ceiling about $112,000.",
"not": "**Not a valuation.** A price above this needs a seller note or more buyer cash.",
"lines": [
"Asking is $229,000 below the ceiling."
],
"grid_columns": [
"10.00%",
"9.25%",
"8.50%"
],
"grid_rows": [
"$60,000",
"$80,000",
"$100,000"
]
},
"as_of": "2026-10-02",
"source_refs": [
"u1",
"r1",
"s1",
"r2",
"c1"
],
"actions": [
{
"label": "Stress test this",
"tool": "stress_test_deal",
"arguments": {
"sde": 400000,
"manager_salary": 80000,
"capex_reserve": 25000,
"loan_amount": 1488200,
"interest_rate": 0.1,
"term_months": 120
}
},
{
"label": "Find lenders",
"tool": "find_sba_lenders",
"arguments": {}
}
],
"disclaimers": [
"informational"
],
"deal_id": "00000000-0000-4000-8000-000000000001"
},
"run_id": "00000000-0000-4000-8000-000000000002",
"charge": {
"credits": 5,
"price_class": "quick_tool",
"balance_after": 62,
"ledger_entry_id": "00000000-0000-4000-8000-000000000003"
}
},
"created_at": "2026-10-05T15:02:11.000Z"
}Type figures onto a deal (bank deposits, P&L revenue, tax-return receipts)#
POST/v1/deals/{deal_id}/figures
- Free
- Scope
deals:write
Each figure is user-entered and dated today; proof of cash reads them beside figures read from documents.
Parameters
deal_idstringpathrequiredDeal id fromlist_deals.Idempotency-Keystring (at least 1 character, up to 255 characters)header1 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, form 1 of 2
figuresarray of objects (at least 1 item)requiredOne or more figures to type onto the deal.Show 5 fieldsHide 5 fields
labelone ofbank_deposits,pl_revenue,return_gross_receipts,return_taxable_income,sderequiredWhat the figure is: monthly bank deposits, P&L revenue, tax-return gross receipts or taxable income, or SDE.periodstring (pattern^[0-9]{4}(-[0-9]{2})?$)requiredYYYY for a year, YYYY-MM for a month (bank deposits are monthly).valuenumberrequiredThe amount in US dollars; rounded to cents.document_idstringA document on this deal the figure came from; leave it out when there is none.pageinteger (min 1)The page in that document where the figure appears, counting from 1.
Body application/json, form 2 of 2
labelone ofbank_deposits,pl_revenue,return_gross_receipts,return_taxable_income,sderequiredWhat the figure is: monthly bank deposits, P&L revenue, tax-return gross receipts or taxable income, or SDE.periodstring (pattern^[0-9]{4}(-[0-9]{2})?$)requiredYYYY for a year, YYYY-MM for a month (bank deposits are monthly).valuenumberrequiredThe amount in US dollars; rounded to cents.document_idstringA document on this deal the figure came from; leave it out when there is none.pageinteger (min 1)The page in that document where the figure appears, counting from 1.
Response 201
Saved. Returned in the envelope (computation, sources, gaps, warnings, disclaimer, card, actions, run_id, charge, truncated); data holds the fields below. The deal and the figures just saved.
deal_idstringThe deal the figures were saved to.figuresarray of objectsThe figures as saved, each user-entered and dated today, with its label, period and dollar value.Show 6 fieldsHide 6 fields
idstringnullableThe saved figure's ID.labelone ofbank_deposits,pl_revenue,return_gross_receipts,return_taxable_income,sderequiredWhat the figure is: monthly bank deposits, P&L revenue, tax-return gross receipts or taxable income, or SDE.periodstring (pattern^[0-9]{4}(-[0-9]{2})?$)requiredThe period the figure covers: YYYY for a year, YYYY-MM for a month.document_idstringnullableThe document the figure came from; null when it was typed without one.pageintegernullableThe page in that document; null when none was given.- The amount in dollars, sourced to its document and page or to the person who typed it, dated the day it was recorded.
Errors
| Status | Code | Meaning |
|---|---|---|
| 400 | invalid_header |
A header has an invalid value |
| 400 | invalid_json |
The body isn't valid JSON |
| 401 | unauthorized |
Sign-in required |
| 403 | beta_terms_not_accepted |
Accept the Beta Terms first |
| 403 | beta_terms_unavailable |
The Beta Terms aren't published yet |
| 403 | cross_origin |
Cross-site request refused |
| 403 | deal_access_off |
This client has no grant for this deal |
| 403 | insufficient_scope |
The key lacks a scope |
| 404 | not_found |
Not found |
| 409 | idempotency_in_progress |
The same request is still running |
| 413 | file_too_large |
File too large |
| 415 | unsupported_media_type |
Unsupported content type |
| 422 | idempotency_key_reused |
Idempotency-Key used for a different call |
| 422 | invalid_input |
An input is out of range or the wrong type |
| 422 | missing_input |
A required input is missing |
| 503 | not_configured |
Not available on this server |
Codes any request can meet, such as internal_error, are on problem types. Errors are problem details.
Call
curl -X POST "https://api.acquestor.com/v1/deals/00000000-0000-4000-8000-000000000001/figures" \
-H "Authorization: Bearer $ACQUESTOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"figures":[{"label":"bank_deposits","period":"2025-01","value":175000},{"label":"bank_deposits","period":"2025-02","value":175000},{"label":"bank_deposits","period":"2025-03","value":175000},{"label":"bank_deposits","period":"2025-04","value":175000},{"label":"bank_deposits","period":"2025-05","value":175000},{"label":"bank_deposits","period":"2025-06","value":175000},{"label":"bank_deposits","period":"2025-07","value":175000},{"label":"bank_deposits","period":"2025-08","value":175000},{"label":"bank_deposits","period":"2025-09","value":175000},{"label":"bank_deposits","period":"2025-10","value":175000},{"label":"bank_deposits","period":"2025-11","value":175000},{"label":"bank_deposits","period":"2025-12","value":175000},{"label":"pl_revenue","period":"2025","value":2100000},{"label":"return_gross_receipts","period":"2025","value":2080000}]}'const res = await fetch("https://api.acquestor.com/v1/deals/00000000-0000-4000-8000-000000000001/figures", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.ACQUESTOR_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({ figures: [{ label: "bank_deposits", period: "2025-01", value: 175000 }, { label: "bank_deposits", period: "2025-02", value: 175000 }, { label: "bank_deposits", period: "2025-03", value: 175000 }, { label: "bank_deposits", period: "2025-04", value: 175000 }, { label: "bank_deposits", period: "2025-05", value: 175000 }, { label: "bank_deposits", period: "2025-06", value: 175000 }, { label: "bank_deposits", period: "2025-07", value: 175000 }, { label: "bank_deposits", period: "2025-08", value: 175000 }, { label: "bank_deposits", period: "2025-09", value: 175000 }, { label: "bank_deposits", period: "2025-10", value: 175000 }, { label: "bank_deposits", period: "2025-11", value: 175000 }, { label: "bank_deposits", period: "2025-12", value: 175000 }, { label: "pl_revenue", period: "2025", value: 2100000 }, { label: "return_gross_receipts", period: "2025", value: 2080000 }] }),
});
const result = await res.json();import os, requests
r = requests.post(
"https://api.acquestor.com/v1/deals/00000000-0000-4000-8000-000000000001/figures",
headers={"Authorization": f"Bearer {os.environ['ACQUESTOR_API_KEY']}"},
json={"figures": [{"label": "bank_deposits", "period": "2025-01", "value": 175000}, {"label": "bank_deposits", "period": "2025-02", "value": 175000}, {"label": "bank_deposits", "period": "2025-03", "value": 175000}, {"label": "bank_deposits", "period": "2025-04", "value": 175000}, {"label": "bank_deposits", "period": "2025-05", "value": 175000}, {"label": "bank_deposits", "period": "2025-06", "value": 175000}, {"label": "bank_deposits", "period": "2025-07", "value": 175000}, {"label": "bank_deposits", "period": "2025-08", "value": 175000}, {"label": "bank_deposits", "period": "2025-09", "value": 175000}, {"label": "bank_deposits", "period": "2025-10", "value": 175000}, {"label": "bank_deposits", "period": "2025-11", "value": 175000}, {"label": "bank_deposits", "period": "2025-12", "value": 175000}, {"label": "pl_revenue", "period": "2025", "value": 2100000}, {"label": "return_gross_receipts", "period": "2025", "value": 2080000}]},
)
r.raise_for_status()
result = r.json()Example captured from the running code; lists in the answer cut to 3 items
{
"data": {
"deal_id": "00000000-0000-4000-8000-000000000001",
"figures": [
{
"id": "00000000-0000-4000-8000-000000000002",
"label": "bank_deposits",
"period": "2025-01",
"document_id": null,
"page": null,
"value": {
"value": 175000,
"unit": "USD",
"source": "u1",
"as_of": "2026-10-05"
}
},
{
"id": "00000000-0000-4000-8000-000000000003",
"label": "bank_deposits",
"period": "2025-02",
"document_id": null,
"page": null,
"value": {
"value": 175000,
"unit": "USD",
"source": "u1",
"as_of": "2026-10-05"
}
},
{
"id": "00000000-0000-4000-8000-000000000004",
"label": "bank_deposits",
"period": "2025-03",
"document_id": null,
"page": null,
"value": {
"value": 175000,
"unit": "USD",
"source": "u1",
"as_of": "2026-10-05"
}
}
]
},
"sources": [
{
"id": "u1",
"basis": "user_entered",
"route": "served_directly",
"as_of": "2026-10-05",
"name": "You entered this",
"line": "You entered this, Oct 5, 2026"
}
],
"gaps": [],
"disclaimer": "informational"
}Where each figure comes from
- u1You entered this, Oct 5, 2026
Planned#
| Operation | Does | Release |
|---|---|---|
GET /deals/{deal_id}/comments |
Comments in a deal, from its owner and invited same-side collaborators | P1 |
POST /deals/{deal_id}/comments |
Comment in a deal (owners and collaborators, including advisors) | P1 |
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.
Something wrong or missing on this page? Email support@acquestor.com.