# REST reference: Market

Listings, search and inquiries.

| Operation | Call | Price | MCP tool |
| --- | --- | --- | --- |
| [Draft a teaser, sale memo or LOI for the user's own use](#create-draft) | `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 {#create-draft}

```http
POST /v1/drafts
```

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`.

**Price:** 200 (loi), 200 (teaser), 500 (sale memo) credits · **MCP tool:** `draft_document` · **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 |
| --- | --- | --- | --- |
| `kind` | Yes | one of `teaser`, `sale_memo`, `loi` | 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_id` | No | string | The listing to draft from, from search_listings or GET /listings; its figures fill the draft. |
| `deal_id` | No | string | Granted deal id; its sourced figures fill the draft. Not saved over MCP. |
| `terms` | No | object | For an LOI. Every number the draft states comes from these terms or the deal's sourced figures. |
| `terms.price` | No | number | Offer price, in whole US dollars. |
| `terms.structure` | No | one of `asset`, `stock`, `deemed_asset_338h10`, `deemed_asset_336e`, `f_reorganization` | Deal structure the LOI proposes. |
| `terms.cash_at_close` | No | number | Cash paid at closing, in whole US dollars. |
| `terms.seller_note` | No | number | Seller note amount, in whole US dollars; omit or 0 for none. |
| `terms.exclusivity_days` | No | integer | Days of exclusivity the LOI asks the seller to grant. |
| `terms.financing_contingency` | No | one of `sba_7a`, `conventional`, `none` | Financing the offer depends on: an SBA 7(a) loan, a conventional loan, or none. |
| `terms.seller_transition_months` | No | integer | Months the seller stays on to hand over the business. |
| `terms.working_capital_terms` | No | string | How working capital is treated at closing, in the buyer's words, such as a peg or what stays with the business. |
| `format` | No | one 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](/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.kind` | Yes | string | The kind drafted: teaser, sale_memo or loi. |
| `data.title` | No | string | The draft's title, such as the listing's name and the document kind. |
| `data.markdown` | Yes | string | The full draft as Markdown. |
| `data.download_url` | No | string (a URL) | Link to a docx or pdf file; reserved for when those formats are served, absent for markdown. |
| `data.banner` | No | string | The line shown above the draft saying it is for information and for attorney review. |

**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"}}'
```

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

Request body:

```json
{
  "kind": "loi",
  "terms": {
    "price": 1300000,
    "cash_at_close": 1100000,
    "seller_note": 200000,
    "exclusivity_days": 60,
    "financing_contingency": "sba_7a"
  }
}
```

Response `200`:

```json
{
  "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"
  }
}
```

**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 |
| 403 | [`beta_terms_not_accepted`](/problems/beta_terms_not_accepted) | Accept the Beta Terms first |
| 403 | [`beta_terms_unavailable`](/problems/beta_terms_unavailable) | The Beta Terms aren't published yet |
| 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 | [`forbidden_role`](/problems/forbidden_role) | Your role can't do this |
| 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 |
| 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 |
| 422 | [`not_yet_supported`](/problems/not_yet_supported) | Not built yet |
| 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).

**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](/reference/rest#basics).

---

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

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.
