Developers

Market

Listings, search and inquiries.

Operation Call Price MCP tool
Draft a teaser, sale memo or LOI for the user's own use POST /v1/drafts 200 (loi), 200 (teaser), 500 (sale memo) credits draft_document

Draft a teaser, sale memo or LOI for the user's own use#

POST/v1/drafts

  • 200 (loi), 200 (teaser), 500 (sale memo) credits
  • Scope tools:run
  • MCP draft_document

Returns a document marked as a draft for information and attorney review. Priced per kind (x-price). Kinds are limited by role (teaser and sale_memo for brokers and sellers; loi for buyers and brokers). Nothing is sent to anyone, and nothing is saved. Every number in the draft is a Figure from what it drafts from: the caller's own brokerage's listing or the caller's own deal for a teaser or sale memo, the buyer's terms for an LOI. The model writes a reference where each number goes and code puts the value in with its numbered source line; a draft that can't be written that way comes back as a gap (data null) and is not charged. A blind teaser never names the business or its city. Markdown only for now: docx and pdf answer 422 not_yet_supported.

Parameters

  • Acquestor-Max-Creditsnumber (min 0)header
    The most this call may charge. If its price is higher, it returns 402 over_max_credits and runs nothing.
  • Idempotency-Keystring (at least 1 character, up to 255 characters)header
    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

  • kindone of teaser, sale_memo, loirequired
    What to draft: a teaser, a sale memo or an LOI. Brokers and sellers may draft teasers and sale memos; buyers and brokers may draft LOIs.
  • listing_idstring
    The listing to draft from, from search_listings or GET /listings; its figures fill the draft.
  • deal_idstring
    Granted deal id; its sourced figures fill the draft. Not saved over MCP.
  • termsobject
    For an LOI. Every number the draft states comes from these terms or the deal's sourced figures.
    Show 8 fieldsHide 8 fields
    • pricenumber
      Offer price, in whole US dollars.
    • structureone of asset, stock, deemed_asset_338h10, deemed_asset_336e, f_reorganization
      Deal structure the LOI proposes.
    • cash_at_closenumber
      Cash paid at closing, in whole US dollars.
    • seller_notenumber
      Seller note amount, in whole US dollars; omit or 0 for none.
    • exclusivity_daysinteger
      Days of exclusivity the LOI asks the seller to grant.
    • financing_contingencyone of sba_7a, conventional, none
      Financing the offer depends on: an SBA 7(a) loan, a conventional loan, or none.
    • seller_transition_monthsinteger
      Months the seller stays on to hand over the business.
    • working_capital_termsstring
      How working capital is treated at closing, in the buyer's words, such as a peg or what stays with the business.
  • formatone of markdown, docx, pdf (default "markdown")
    Output format. Only markdown is served for now; docx and pdf answer 422 not_yet_supported and charge nothing. Defaults to markdown.

Response 200

Draft. Returned in the envelope (computation, sources, gaps, warnings, disclaimer, card, actions, run_id, charge, truncated); data holds the fields below. The result; null over REST and absent over MCP when the run produced only gaps.

  • kindstringrequired
    The kind drafted: teaser, sale_memo or loi.
  • titlestring
    The draft's title, such as the listing's name and the document kind.
  • markdownstringrequired
    The full draft as Markdown.
  • download_urlstring (a URL)
    Link to a docx or pdf file; reserved for when those formats are served, absent for markdown.
  • bannerstring
    The line shown above the draft saying it is for information and for attorney review.

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
402 insufficient_credits Not enough credits
402 over_limit Monthly limit reached
402 over_max_credits Over your Acquestor-Max-Credits
403 cross_origin Cross-site request refused
403 deal_access_off This client has no grant for this deal
403 forbidden_role Your role can't do this
403 insufficient_scope The key lacks a scope
404 not_found Not found
409 idempotency_in_progress The same request is still running
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
422 not_yet_supported Not built yet
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

sh
curl -X POST "https://api.acquestor.com/v1/drafts" \
  -H "Authorization: Bearer $ACQUESTOR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"kind":"loi","terms":{"price":1300000,"cash_at_close":1100000,"seller_note":200000,"exclusivity_days":60,"financing_contingency":"sba_7a"}}'
ts
const res = await fetch("https://api.acquestor.com/v1/drafts", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.ACQUESTOR_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({ kind: "loi", terms: { price: 1300000, cash_at_close: 1100000, seller_note: 200000, exclusivity_days: 60, financing_contingency: "sba_7a" } }),
});
const result = await res.json();
python
import os, requests

r = requests.post(
    "https://api.acquestor.com/v1/drafts",
    headers={"Authorization": f"Bearer {os.environ['ACQUESTOR_API_KEY']}"},
    json={"kind": "loi", "terms": {"price": 1300000, "cash_at_close": 1100000, "seller_note": 200000, "exclusivity_days": 60, "financing_contingency": "sba_7a"}},
)
r.raise_for_status()
result = r.json()

Example captured from the running code; card left out

Response 200
{
  "data": {
    "kind": "loi",
    "title": "Letter of intent",
    "markdown": "> Draft for information. Have your attorney review it before use.\n\n# Letter of intent\n\n[Buyer] proposes to buy [Business] from [Seller] for $1,300,000 [1], paid as $1,100,000 [1] in cash at closing and a seller note of $200,000 [1].\n\n## Financing\n\nThe purchase depends on the buyer obtaining an SBA 7(a) loan on terms acceptable to the buyer.\n\n## Exclusivity\n\nThe seller grants [Buyer] exclusivity for 60 days [1] from signing.\n\n## Non-binding effect\n\nThis letter is not binding except for the confidentiality and exclusivity sections. The parties' attorneys will draft the definitive purchase agreement.\n\n**Sources**\n\n1. Supplied by the calling AI client or API caller, Oct 5, 2026; used for this request only",
    "banner": "Draft for information. Have your attorney review it before use."
  },
  "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",
  "charge": {
    "credits": 200,
    "price_class": "ai_job",
    "balance_after": 222,
    "ledger_entry_id": "00000000-0000-4000-8000-000000000001"
  }
}

Where each figure comes from

  1. u1Supplied by the calling AI client or API caller, Oct 5, 2026; used for this request only

Planned#

Operation Does Release
POST /market/buyer-screen Screen a buyer against a listing P1
GET /brokers Member broker directory by state and industry 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.