# REST reference: Finance

Debt coverage, the capital stack and SBA lenders.

| Operation | Call | Price | MCP tool |
| --- | --- | --- | --- |
| [Debt coverage under SDE declines and rate shocks](#stress-test-deal) | `POST /v1/finance/stress-test` | 5 credits | `stress_test_deal` |
| [Sources and uses, guaranty fee, debt service and coverage for an SBA acquisition](#build-capital-stack) | `POST /v1/finance/capital-stack` | 5 credits | `build_capital_stack` |
| [SOP 50 10 8.1 checks for a change of ownership](#check-sba-eligibility) | `POST /v1/finance/sba-eligibility` | 5 credits | `check_sba_eligibility` |
| [Lenders ranked by SBA acquisition loans in a NAICS code and state](#find-sba-lenders) | `GET /v1/finance/lenders` | Lookup: 1,000 free a month, then 0.5 credits | `find_sba_lenders` |

## Debt coverage under SDE declines and rate shocks {#stress-test-deal}

```http
POST /v1/finance/stress-test
```

Returns base coverage, coverage per scenario, the SDE decline at which coverage reaches 1.00x, and whether the deal still covers debt service after a 30% SDE decline.

**Price:** 5 credits · **MCP tool:** `stress_test_deal` · **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 |
| --- | --- | --- | --- |
| `sde` | Yes | number | Annual SDE in whole US dollars. |
| `manager_salary` | Yes | number | Annual manager salary in whole US dollars. |
| `capex_reserve` | Yes | number | Annual capex reserve in whole US dollars. |
| `loan_amount` | Yes | number | SBA loan amount in whole US dollars. |
| `interest_rate` | Yes | number | SBA loan rate as a decimal. |
| `term_months` | Yes | integer | SBA loan term in months. |
| `seller_note` | No | object | A seller note in the deal; omit it, or give an amount of 0, for none. Its payments add to debt service unless it is on full standby. |
| `seller_note.amount` | No | number | Seller note principal in whole US dollars. |
| `seller_note.rate` | No | number | Seller note rate as a decimal; needed unless on full standby. |
| `seller_note.term_months` | No | integer | Seller note term in months; needed unless on full standby. |
| `seller_note.full_standby` | No | boolean | True if the seller note pays nothing during the SBA loan. |
| `sde_declines` | No | array of number (min 0, max 1) (default `[0.1,0.2,0.3]`) | SDE declines as decimals; defaults to 0.1, 0.2, 0.3. |
| `rate_shocks_bps` | No | array of integers (default `[100,200,300]`) | Rate rises in basis points; defaults to 100, 200, 300. |
| `as_of` | No | date | Date (YYYY-MM-DD) for SBA rules; defaults to today. |
| `deal_id` | No | string | Granted deal id; not saved over MCP. |

**Response** `200`: Stress test

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.cash_flow_for_debt` | No | [Figure](/concepts/figures#figure) | SDE minus manager salary minus capex reserve. |
| `data.sba_debt_service` | No | [Figure](/concepts/figures#figure) | The SBA loan's share of annual debt service. |
| `data.seller_note_debt_service` | No | [Figure](/concepts/figures#figure) | The seller note's share; 0 on full standby or with no note. |
| `data.annual_debt_service` | No | [Figure](/concepts/figures#figure) | SBA loan and seller note payments for a year at the given rate, in whole US dollars. |
| `data.base_coverage` | Yes | [Figure](/concepts/figures#figure) | Cash flow for debt divided by annual debt service, as a multiple, before any decline or shock. |
| `data.rule_minimum` | No | [Figure](/concepts/figures#figure) | Absent, with a gap, when no SOP rule set covers `as_of`. |
| `data.break_even_sde_decline` | No | [Figure](/concepts/figures#figure) | The SDE decline, as a decimal, at which coverage reaches 1.00x; 0 when coverage is already below 1.00x. |
| `data.coverage_after_30_percent_decline` | No | [Figure](/concepts/figures#figure) | Coverage after a 30% SDE decline, the number behind `passes_30_percent_test`. |
| `data.passes_30_percent_test` | No | boolean | True when coverage is 1.00x or more after a 30% SDE decline. |
| `data.scenarios` | Yes | array of objects | One scenario per SDE decline, one per rate shock, and one combining the last decline with the last shock. |
| `data.scenarios[].kind` | No | one of `sde_decline`, `rate_shock`, `combined` | What the scenario changes: SDE, the SBA rate, or both. |
| `data.scenarios[].sde_decline` | No | [Figure](/concepts/figures#figure) | SDE decline in this scenario, as a decimal; 0 in a rate-shock scenario. |
| `data.scenarios[].rate_shock_bps` | No | integer | Basis points added to the SBA rate in this scenario; 0 in an SDE-decline scenario, negative for a fall. |
| `data.scenarios[].interest_rate` | No | [Figure](/concepts/figures#figure) | The SBA rate after the shock. |
| `data.scenarios[].annual_debt_service` | No | [Figure](/concepts/figures#figure) | Total annual debt service in the scenario. |
| `data.scenarios[].coverage` | No | [Figure](/concepts/figures#figure) | Cash flow for debt divided by annual debt service in this scenario, as a multiple. |
| `data.scenarios[].cash_after_debt` | No | [Figure](/concepts/figures#figure) | Cash flow for debt minus annual debt service in this scenario, in whole US dollars; negative is a shortfall. |

**Call**

```sh
curl -X POST "https://api.acquestor.com/v1/finance/stress-test" \
  -H "Authorization: Bearer $ACQUESTOR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"sde":400000,"manager_salary":80000,"capex_reserve":25000,"loan_amount":1160000,"interest_rate":0.1025,"term_months":120,"seller_note":{"amount":145000,"full_standby":true},"as_of":"2026-10-05"}'
```

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

Request body:

```json
{
  "sde": 400000,
  "manager_salary": 80000,
  "capex_reserve": 25000,
  "loan_amount": 1160000,
  "interest_rate": 0.1025,
  "term_months": 120,
  "seller_note": {
    "amount": 145000,
    "full_standby": true
  },
  "as_of": "2026-10-05"
}
```

Response `200`:

```json
{
  "data": {
    "cash_flow_for_debt": {
      "value": 295000,
      "unit": "USD",
      "source": "c1"
    },
    "sba_debt_service": {
      "value": 185886,
      "unit": "USD",
      "source": "c1"
    },
    "seller_note_debt_service": {
      "value": 0,
      "unit": "USD",
      "source": "c1"
    },
    "annual_debt_service": {
      "value": 185886,
      "unit": "USD",
      "source": "c1"
    },
    "base_coverage": {
      "value": 1.587,
      "unit": "x",
      "source": "c1"
    },
    "break_even_sde_decline": {
      "value": 0.2728,
      "unit": "share",
      "source": "c1"
    },
    "coverage_after_30_percent_decline": {
      "value": 0.9414,
      "unit": "x",
      "source": "c1"
    },
    "passes_30_percent_test": false,
    "scenarios": [
      {
        "kind": "sde_decline",
        "sde_decline": {
          "value": 0.1,
          "unit": "share",
          "source": "c1"
        },
        "rate_shock_bps": 0,
        "interest_rate": {
          "value": 0.1025,
          "unit": "rate",
          "source": "c1"
        },
        "annual_debt_service": {
          "value": 185886,
          "unit": "USD",
          "source": "c1"
        },
        "coverage": {
          "value": 1.3718,
          "unit": "x",
          "source": "c1"
        },
        "cash_after_debt": {
          "value": 69114,
          "unit": "USD",
          "source": "c1"
        }
      },
      {
        "kind": "sde_decline",
        "sde_decline": {
          "value": 0.2,
          "unit": "share",
          "source": "c1"
        },
        "rate_shock_bps": 0,
        "interest_rate": {
          "value": 0.1025,
          "unit": "rate",
          "source": "c1"
        },
        "annual_debt_service": {
          "value": 185886,
          "unit": "USD",
          "source": "c1"
        },
        "coverage": {
          "value": 1.1566,
          "unit": "x",
          "source": "c1"
        },
        "cash_after_debt": {
          "value": 29114,
          "unit": "USD",
          "source": "c1"
        }
      },
      {
        "kind": "sde_decline",
        "sde_decline": {
          "value": 0.3,
          "unit": "share",
          "source": "c1"
        },
        "rate_shock_bps": 0,
        "interest_rate": {
          "value": 0.1025,
          "unit": "rate",
          "source": "c1"
        },
        "annual_debt_service": {
          "value": 185886,
          "unit": "USD",
          "source": "c1"
        },
        "coverage": {
          "value": 0.9414,
          "unit": "x",
          "source": "c1"
        },
        "cash_after_debt": {
          "value": -10886,
          "unit": "USD",
          "source": "c1"
        }
      }
    ],
    "rule_minimum": {
      "value": 1.25,
      "unit": "x",
      "source": "r1"
    }
  },
  "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"
    }
  ],
  "gaps": [],
  "disclaimer": "informational",
  "computation": {
    "id": "c1",
    "method": "stress_test",
    "method_version": "1.0.0",
    "computed_at": "2026-10-05T15:02:11.000Z",
    "rule_sets": [
      "sba-sop-50-10-8.1@2026-09-25"
    ],
    "inputs": {
      "sde": {
        "value": 400000,
        "unit": "USD",
        "source": "u1"
      },
      "manager_salary": {
        "value": 80000,
        "unit": "USD",
        "source": "u1"
      },
      "capex_reserve": {
        "value": 25000,
        "unit": "USD",
        "source": "u1"
      },
      "loan_amount": {
        "value": 1160000,
        "unit": "USD",
        "source": "u1"
      },
      "interest_rate": {
        "value": 0.1025,
        "unit": "rate",
        "source": "u1"
      },
      "term_months": {
        "value": 120,
        "unit": "months",
        "source": "u1"
      },
      "seller_note_amount": {
        "value": 145000,
        "unit": "USD",
        "source": "u1",
        "note": "Full standby: no payments while the SBA loan is outstanding."
      },
      "rule_minimum": {
        "value": 1.25,
        "unit": "x",
        "source": "r1"
      }
    }
  },
  "charge": {
    "credits": 5,
    "price_class": "quick_tool",
    "balance_after": 480,
    "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).

## Sources and uses, guaranty fee, debt service and coverage for an SBA acquisition {#build-capital-stack}

```http
POST /v1/finance/capital-stack
```

**Price:** 5 credits · **MCP tool:** `build_capital_stack` · **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 | Purchase price in whole US dollars. |
| `working_capital` | No | number (default `0`) | Working capital in whole US dollars; defaults to 0. |
| `closing_costs` | No | number (default `0`) | Closing costs in whole US dollars; defaults to 0. |
| `buyer_cash` | Yes | number | Buyer cash in whole US dollars. |
| `seller_note` | No | object | A seller note in the deal; omit it for none. It reduces the SBA loan; on full standby it counts toward up to half the injection, otherwise its payments add to debt service. |
| `seller_note.amount` | No | number | Seller note principal in whole US dollars. |
| `seller_note.full_standby` | No | boolean | True if the seller note pays nothing during the SBA loan. |
| `seller_note.rate` | No | number | Seller note rate as a decimal; needed unless on full standby. |
| `seller_note.term_months` | No | integer | Seller note term in months; needed unless on full standby. |
| `interest_rate` | No | number | SBA rate as a decimal; defaults to the 7(a) cap. |
| `term_months` | No | integer (default `120`) | SBA loan term in months; defaults to 120. |
| `finance_guaranty_fee` | No | boolean (default `true`) | Add the guaranty fee to the loan; defaults to true. |
| `sde` | Yes | number | Annual SDE in whole US dollars. |
| `manager_salary` | Yes | number | Annual manager salary in whole US dollars. |
| `capex_reserve` | Yes | number | Annual capex reserve in whole US dollars. |
| `as_of` | No | date | Date (YYYY-MM-DD) for SBA rules; defaults to today. |
| `deal_id` | No | string | Granted deal id; not saved over MCP. |

**Response** `200`: Capital stack

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.sources` | No | array of objects | What pays for the deal: buyer cash, the seller note when there is one, and the SBA 7(a) loan. |
| `data.sources[].name` | No | one of `buyer_cash`, `seller_note`, `sba_7a_loan`, `other` | Which source this is. |
| `data.sources[].amount` | No | [Figure](/concepts/figures#figure) | Amount from this source, in whole US dollars; the SBA loan includes a financed guaranty fee. |
| `data.sources[].share` | No | [Figure](/concepts/figures#figure) | This source's share of total uses, as a decimal. |
| `data.uses` | No | array of objects | What the sources pay for. |
| `data.uses[].name` | No | one of `purchase_price`, `working_capital`, `closing_costs`, `guaranty_fee` | What the money pays for: the price, working capital and closing costs when given, and a financed guaranty fee. |
| `data.uses[].amount` | No | [Figure](/concepts/figures#figure) | Amount of this use, in whole US dollars. |
| `data.total_project_cost` | No | [Figure](/concepts/figures#figure) | Purchase price plus working capital plus closing costs, in whole US dollars, before any financed fee. |
| `data.total_uses` | No | [Figure](/concepts/figures#figure) | Project cost plus a financed guaranty fee; equals project cost when the fee is paid in cash. |
| `data.loan_before_fee` | No | [Figure](/concepts/figures#figure) | The SBA loan before any financed fee. |
| `data.guaranteed_portion` | No | [Figure](/concepts/figures#figure) | The part of the loan SBA backs, which the fee is charged on. |
| `data.guaranty_fee` | No | [Figure](/concepts/figures#figure) | Null, with a gap, when no fee schedule covers `as_of`. |
| `data.guaranty_fee_financed` | No | boolean | True when the guaranty fee is added to the loan; false when it is paid in cash, is 0, or no fee schedule covers `as_of`. |
| `data.interest_rate` | No | [Figure](/concepts/figures#figure) | The SBA rate used, given or the 7(a) cap on `as_of`. |
| `data.cash_flow_for_debt` | No | [Figure](/concepts/figures#figure) | SDE minus manager salary minus capex reserve. |
| `data.sba_debt_service` | No | [Figure](/concepts/figures#figure) | A year of level monthly payments on the SBA loan, any financed fee included, at `interest_rate` over the term, in whole US dollars. |
| `data.seller_note_debt_service` | No | [Figure](/concepts/figures#figure) | 0 for a full-standby note or no note. |
| `data.annual_debt_service` | No | [Figure](/concepts/figures#figure) | SBA loan and seller note payments for a year, in whole US dollars. |
| `data.coverage` | No | [Figure](/concepts/figures#figure) | Cash flow for debt divided by annual debt service, as a multiple; null when there is no debt service. |
| `data.rule_coverage` | No | [Figure](/concepts/figures#figure) | The SOP 50 10 8.1 minimum the maximum loan is sized to. |
| `data.max_loan_at_rule_coverage` | No | [Figure](/concepts/figures#figure) | The largest SBA loan the cash flow supports at `rule_coverage` after seller note payments, in whole US dollars, capped at the 7(a) maximum. |
| `data.unfunded_amount` | No | [Figure](/concepts/figures#figure) | Present when the SBA loan is capped at the program maximum. |
| `data.injection_check` | No | object | The SOP 50 10 8.1 equity injection test: 10% of project cost, of which a full-standby seller note may supply up to half. |
| `data.injection_check.unlimited_share` | No | [Figure](/concepts/figures#figure) | Buyer cash as a share of project cost, as a decimal. |
| `data.injection_check.limited_share` | No | [Figure](/concepts/figures#figure) | A full-standby seller note as a share of project cost, as a decimal; 0 without one. |
| `data.injection_check.required_injection` | No | [Figure](/concepts/figures#figure) | 10% of project cost. |
| `data.injection_check.counted_injection` | No | [Figure](/concepts/figures#figure) | The injection that counts, buyer cash plus a standby note up to half the requirement. |
| `data.injection_check.required_injection_with_financed_fee` | No | [Figure](/concepts/figures#figure) | The requirement if the lender counts a financed fee in project cost. |
| `data.injection_check.meets_rule` | No | boolean | True when the counted injection reaches the required injection. |

**Call**

```sh
curl -X POST "https://api.acquestor.com/v1/finance/capital-stack" \
  -H "Authorization: Bearer $ACQUESTOR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"price":1450000,"working_capital":50000,"closing_costs":30000,"buyer_cash":150000,"seller_note":{"amount":145000,"full_standby":true},"sde":400000,"manager_salary":80000,"capex_reserve":25000,"as_of":"2026-10-05"}'
```

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

Request body:

```json
{
  "price": 1450000,
  "working_capital": 50000,
  "closing_costs": 30000,
  "buyer_cash": 150000,
  "seller_note": {
    "amount": 145000,
    "full_standby": true
  },
  "sde": 400000,
  "manager_salary": 80000,
  "capex_reserve": 25000,
  "as_of": "2026-10-05"
}
```

Response `200`:

```json
{
  "data": {
    "sources": [
      {
        "name": "buyer_cash",
        "amount": {
          "value": 150000,
          "unit": "USD",
          "source": "c1"
        },
        "share": {
          "value": 0.096,
          "unit": "share",
          "source": "c1"
        }
      },
      {
        "name": "seller_note",
        "amount": {
          "value": 145000,
          "unit": "USD",
          "source": "c1"
        },
        "share": {
          "value": 0.0928,
          "unit": "share",
          "source": "c1"
        }
      },
      {
        "name": "sba_7a_loan",
        "amount": {
          "value": 1268293,
          "unit": "USD",
          "source": "c1"
        },
        "share": {
          "value": 0.8113,
          "unit": "share",
          "source": "c1"
        }
      }
    ],
    "uses": [
      {
        "name": "purchase_price",
        "amount": {
          "value": 1450000,
          "unit": "USD",
          "source": "c1"
        }
      },
      {
        "name": "working_capital",
        "amount": {
          "value": 50000,
          "unit": "USD",
          "source": "c1"
        }
      },
      {
        "name": "closing_costs",
        "amount": {
          "value": 30000,
          "unit": "USD",
          "source": "c1"
        }
      }
    ],
    "total_project_cost": {
      "value": 1530000,
      "unit": "USD",
      "source": "c1"
    },
    "total_uses": {
      "value": 1563293,
      "unit": "USD",
      "source": "c1"
    },
    "loan_before_fee": {
      "value": 1235000,
      "unit": "USD",
      "source": "c1"
    },
    "guaranteed_portion": {
      "value": 951220,
      "unit": "USD",
      "source": "c1"
    },
    "guaranty_fee": {
      "value": 33293,
      "unit": "USD",
      "source": "c1"
    },
    "guaranty_fee_financed": true,
    "interest_rate": {
      "value": 0.1,
      "unit": "rate",
      "source": "c1"
    },
    "cash_flow_for_debt": {
      "value": 295000,
      "unit": "USD",
      "source": "c1"
    },
    "sba_debt_service": {
      "value": 201127,
      "unit": "USD",
      "source": "c1"
    },
    "seller_note_debt_service": {
      "value": 0,
      "unit": "USD",
      "source": "c1"
    },
    "annual_debt_service": {
      "value": 201127,
      "unit": "USD",
      "source": "c1"
    },
    "coverage": {
      "value": 1.4667,
      "unit": "x",
      "source": "c1"
    },
    "rule_coverage": {
      "value": 1.25,
      "unit": "x",
      "source": "r1"
    },
    "max_loan_at_rule_coverage": {
      "value": 1488200,
      "unit": "USD",
      "source": "c1"
    },
    "injection_check": {
      "unlimited_share": {
        "value": 0.098,
        "unit": "share",
        "source": "c1"
      },
      "limited_share": {
        "value": 0.0948,
        "unit": "share",
        "source": "c1"
      },
      "required_injection": {
        "value": 153000,
        "unit": "USD",
        "source": "c1"
      },
      "counted_injection": {
        "value": 226500,
        "unit": "USD",
        "source": "c1"
      },
      "meets_rule": true,
      "required_injection_with_financed_fee": {
        "value": 156329,
        "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": "r2",
      "source_id": "sba-notice-5000-881797",
      "name": "Information Notice 5000-881797, FY 2027 7(a) fees",
      "publisher": "U.S. Small Business Administration",
      "dataset": "Information Notice 5000-881797",
      "basis": "rule",
      "route": "served_directly",
      "licence_status": "cleared",
      "as_of": "2026-10-01",
      "effective_from": "2026-10-01",
      "effective_to": "2027-09-30",
      "url": "https://legacy.sba.gov/document/information-notice-5000-881797-fy-2027-7a-program-fees",
      "line": "Source: SBA Information Notice 5000-881797, 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": "r3",
      "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": "capital_stack",
    "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-fees-fy2027@2026-10-01",
      "sba-rate-caps@2026-03-01"
    ],
    "inputs": {
      "price": {
        "value": 1450000,
        "unit": "USD",
        "source": "u1"
      },
      "buyer_cash": {
        "value": 150000,
        "unit": "USD",
        "source": "u1"
      },
      "sde": {
        "value": 400000,
        "unit": "USD",
        "source": "u1"
      },
      "manager_salary": {
        "value": 80000,
        "unit": "USD",
        "source": "u1"
      },
      "capex_reserve": {
        "value": 25000,
        "unit": "USD",
        "source": "u1"
      },
      "working_capital": {
        "value": 50000,
        "unit": "USD",
        "source": "u1"
      },
      "closing_costs": {
        "value": 30000,
        "unit": "USD",
        "source": "u1"
      },
      "seller_note_amount": {
        "value": 145000,
        "unit": "USD",
        "source": "u1",
        "note": "Full standby: no payments while the SBA loan is outstanding."
      },
      "term_months": {
        "value": 120,
        "unit": "months",
        "source": "r1"
      },
      "rule_coverage": {
        "value": 1.25,
        "unit": "x",
        "source": "r1"
      },
      "equity_injection_share": {
        "value": 0.1,
        "unit": "share",
        "source": "r1"
      },
      "limited_sources_max_share_of_injection": {
        "value": 0.5,
        "unit": "share",
        "source": "r1"
      },
      "max_loan": {
        "value": 5000000,
        "unit": "USD",
        "source": "r1"
      },
      "guaranty_share": {
        "value": 0.75,
        "unit": "share",
        "source": "r1"
      },
      "upfront_fee_share_to_1000000": {
        "value": 0.035,
        "unit": "share",
        "source": "r2",
        "note": "Share of the guaranteed portion, loans over $700,000 up to $5,000,000."
      },
      "upfront_fee_share_above": {
        "value": 0.0375,
        "unit": "share",
        "source": "r2"
      },
      "prime_rate": {
        "value": 0.07,
        "unit": "rate",
        "source": "s1",
        "as_of": "2026-10-02"
      },
      "max_spread": {
        "value": 0.03,
        "unit": "rate",
        "source": "r3"
      }
    }
  },
  "warnings": [
    {
      "code": "fee_financed",
      "detail": "The $33,293 guaranty fee is financed: added to the loan and recomputed on the gross loan. Lenders may also count a financed fee in project cost, which raises the required injection to $156,329; confirm with the lender."
    }
  ],
  "charge": {
    "credits": 5,
    "price_class": "quick_tool",
    "balance_after": 475,
    "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).

## SOP 50 10 8.1 checks for a change of ownership {#check-sba-eligibility}

```http
POST /v1/finance/sba-eligibility
```

Checks a change of ownership's terms against SBA's SOP 50 10 8.1, the rule set in force on the application date: the ownership rule (from a yes, no or unsure answer), the 10% equity injection and the 5% from unlimited sources, a seller note's standby, the earnout ban, the seller's transition, a seller keeping equity, the quality of earnings trigger and the valuation trigger. Each check comes back pass, fail or unknown with its citation; a missing or unsure answer stays unknown.
It never says whether a buyer qualifies for a loan: the lender decides that.

**Price:** 5 credits · **MCP tool:** `check_sba_eligibility` · **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 |
| --- | --- | --- | --- |
| `acquisition_type` | No | one of `initial_acquisition`, `business_expansion`, `owner_buyout`, `esop_or_coop` (default `"initial_acquisition"`) | Kind of change of ownership; it picks the SOP rules that apply. Defaults to initial_acquisition. |
| `price` | Yes | number | Purchase price, in whole US dollars. |
| `project_cost` | Yes | number | Total project cost, in whole US dollars: price plus working capital, closing costs and fees. |
| `injection_sources` | Yes | array of objects | Where the buyer's equity injection comes from, one entry per source. |
| `injection_sources[].type` | Yes | one of `cash`, `loan_repaid_from_outside_income`, `grant`, `full_standby_seller_note`, `standby_debt`, `minority_investor` | Kind of source; SOP 50 10 8.1 limits how much of the injection some kinds may cover. |
| `injection_sources[].amount` | Yes | number | Amount from this source, in whole US dollars. |
| `ownership_eligible` | Yes | one of `yes`, `no`, `unsure` | The buyer's yes, no or unsure answer to SBA's ownership-eligibility rule; no citizenship or immigration detail is collected. |
| `seller_note` | No | object | The seller note, if there is one; omit when there is none. |
| `seller_note.amount` | No | number | Seller note amount, in whole US dollars. |
| `seller_note.full_standby` | No | boolean | True when the note is on full standby (no payments) for the life of the SBA loan. |
| `earnout` | No | boolean | True when part of the price depends on future performance; SBA does not allow earnouts. |
| `seller_transition_months` | No | integer | Months the seller stays on after closing, checked against SBA's transition limit. |
| `seller_retains_equity` | No | boolean | True when the seller keeps any ownership after closing. |
| `application_date` | Yes | date | Date the SBA application is or will be made, YYYY-MM-DD; it picks the rule set in force. |

**Response** `200`: Checks

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.checks` | Yes | array of objects | One entry per rule checked, in rule order. |
| `data.checks[].id` | Yes | string | Stable id of the check within this result. |
| `data.checks[].rule` | No | string | The rule checked, in plain words, with its SOP citation. |
| `data.checks[].result` | Yes | one of `pass`, `fail`, `unknown` | pass or fail on the inputs given; unknown when an input the rule needs is missing or answered unsure. |
| `data.checks[].detail` | No | string | What the inputs showed for this rule, in one sentence. |
| `data.checks[].source` | No | string | Id of the entry in the response's `sources` the rule comes from. |
| `data.pass_count` | No | integer | Number of checks that passed. |
| `data.fail_count` | No | integer | Number of checks that failed. |
| `data.unknown_count` | No | integer | Number of checks with result unknown. |

**Call**

```sh
curl -X POST "https://api.acquestor.com/v1/finance/sba-eligibility" \
  -H "Authorization: Bearer $ACQUESTOR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"price":1425000,"project_cost":1525000,"injection_sources":[{"type":"cash","amount":76250},{"type":"full_standby_seller_note","amount":76250}],"ownership_eligible":"yes","seller_note":{"amount":76250,"full_standby":true},"earnout":false,"seller_transition_months":6,"seller_retains_equity":false,"application_date":"2026-12-01"}'
```

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

Request body:

```json
{
  "price": 1425000,
  "project_cost": 1525000,
  "injection_sources": [
    {
      "type": "cash",
      "amount": 76250
    },
    {
      "type": "full_standby_seller_note",
      "amount": 76250
    }
  ],
  "ownership_eligible": "yes",
  "seller_note": {
    "amount": 76250,
    "full_standby": true
  },
  "earnout": false,
  "seller_transition_months": 6,
  "seller_retains_equity": false,
  "application_date": "2026-12-01"
}
```

Response `200`:

```json
{
  "data": {
    "checks": [
      {
        "id": "ownership",
        "rule": "Every owner meets SBA's ownership rule: U.S. citizens or nationals living in the U.S. (SOP 50 10 8.1, from Policy Notice 5000-876441)",
        "result": "pass",
        "detail": "You answered yes; the lender confirms it.",
        "source": "r1"
      },
      {
        "id": "equity_injection",
        "rule": "Equity injection of at least 10% of total project cost (SOP 50 10 8.1, App. 15)",
        "result": "pass",
        "detail": "$152,500 counts toward the $152,500 required on $1,525,000 of project cost.",
        "source": "r1"
      },
      {
        "id": "unlimited_sources",
        "rule": "At least 5% of project cost from unlimited sources: unborrowed cash, personal loans repaid from income outside the business, or unconditional grants (SOP 50 10 8.1, App. 15)",
        "result": "pass",
        "detail": "$76,250 comes from unlimited sources against $76,250 needed.",
        "source": "r1"
      }
    ]
  },
  "sources": [
    {
      "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": "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": "sba_eligibility",
    "method_version": "1.0.0",
    "computed_at": "2026-10-05T15:02:11.000Z",
    "rule_sets": [
      "sba-sop-50-10-8.1@2026-09-25"
    ],
    "inputs": {
      "price": {
        "value": 1425000,
        "unit": "USD",
        "source": "u1"
      },
      "project_cost": {
        "value": 1525000,
        "unit": "USD",
        "source": "u1"
      },
      "unlimited_sources": {
        "value": 76250,
        "unit": "USD",
        "source": "u1"
      },
      "limited_sources": {
        "value": 76250,
        "unit": "USD",
        "source": "u1"
      },
      "equity_injection_share": {
        "value": 0.1,
        "unit": "share",
        "source": "r1"
      },
      "limited_sources_max_share": {
        "value": 0.5,
        "unit": "share",
        "source": "r1"
      },
      "seller_note": {
        "value": 76250,
        "unit": "USD",
        "source": "u1"
      },
      "seller_transition_months": {
        "value": 6,
        "unit": "months",
        "source": "u1"
      }
    }
  },
  "charge": {
    "credits": 5,
    "price_class": "quick_tool",
    "balance_after": 67,
    "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).

## Lenders ranked by SBA acquisition loans in a NAICS code and state {#find-sba-lenders}

```http
GET /v1/finance/lenders
```

Computed from the SBA 7(a) loan file, filtered to loans the file records as changes of ownership, enriched from FDIC BankFind; 504 loans are not counted. The file flags changes of ownership only from fiscal 2019 (partly in fiscal 2018), so years before 2019 return a gap rather than a count. A list from public data, not a referral and not a prediction of approval.
Every lender with `min_loans` or more acquisition loans is listed; `limit` is optional, with no maximum, and `next_cursor` continues a shorter page. Over MCP a result holds as many lenders as fit its size budget, about 10, and `next_cursor` gives the rest.
With `county`, the result adds the banks that reported the most small-business loans in that county under the Community Reinvestment Act (FFIEC CRA disclosure data, latest year), joined to FDIC BankFind by RSSD ID: local lending of any purpose, not acquisition or SBA lending.

**Price:** Lookup: 1,000 free a month, then 0.5 credits · **MCP tool:** `find_sba_lenders` · **Key scope:** `tools:run`

**Parameters**

| Parameter | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `naics` | query | No | string (pattern `^[0-9]{2,6}$`) | NAICS code, 2 to 6 digits. |
| `state` | query | No | two-letter US state (`TX`) (pattern `^[A-Z]{2}$`) | US state as a 2-letter code. |
| `fiscal_years` | query | No | integer (min 1, max 35, default `5`) | Fiscal years to count back; defaults to 5. Years before fiscal 2019 return a gap. |
| `min_loans` | query | No | integer (min 1, default `3`) | Fewest loans to list a lender; defaults to 3. |
| `limit` | query | No | integer (min 1) | Lenders to return; every lender that qualifies when omitted. |
| `cursor` | query | No | string | `next_cursor` from the previous page. |
| `as_of` | query | No | date | Count back from this date (YYYY-MM-DD), not the file's. |
| `county` | query | No | string | County name (Travis or Travis County) or 5-digit FIPS, with `state`: adds `local_bank_lenders`, the banks with the most small-business loans in that county from FFIEC CRA data. Without `state`, or with a county not found in it, answers 422 `invalid_input`. |
| `local_banks_cursor` | query | No | string | `local_banks_next_cursor` from the previous result, with the same `county`: the next 10 banks in `local_bank_lenders`. Follow it to the end to see every bank that reported in the county. |

**Response** `200`: Lenders

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.lenders` | No | array of objects | Lenders with at least `min_loans` acquisition loans in the search, most loans first, a page at a time. |
| `data.lenders[].name` | No | string | The lender's name as SBA's loan file gives it. |
| `data.lenders[].lender_key` | No | string | SBA's lender identifier (LocationID) behind this row. |
| `data.lenders[].fdic_cert` | No | integer, nullable | FDIC certificate number; null for a lender without one, such as a credit union. |
| `data.lenders[].ncua_charter` | No | string, nullable | NCUA charter number, for credit unions. |
| `data.lenders[].lender_type` | No | one of `bank`, `sblc`, `credit_union`, `other` | `bank` when the lender has an FDIC certificate, `credit_union` when it has an NCUA charter, otherwise `other`. |
| `data.lenders[].city` | No | string, nullable | Headquarters city from FDIC BankFind. |
| `data.lenders[].state` | No | string, nullable | Headquarters state from FDIC BankFind. |
| `data.lenders[].fdic_active` | No | boolean | Whether FDIC lists the institution as active. |
| `data.lenders[].total_assets` | No | [Figure](/concepts/figures#figure) | Total assets from FDIC BankFind, in whole US dollars, as of its latest report; absent without FDIC data. |
| `data.lenders[].acquisition_loans` | No | [Figure](/concepts/figures#figure) | How many SBA 7(a) change-of-ownership loans in the search this lender made over the fiscal years covered. |
| `data.lenders[].total_amount` | No | [Figure](/concepts/figures#figure) | Gross approved amount of those loans together, in whole US dollars. |
| `data.lenders[].median_loan` | No | [Figure](/concepts/figures#figure) | Median gross approved amount of those loans, in whole US dollars. |
| `data.lenders[].median_rate` | No | [Figure](/concepts/figures#figure) | Median initial interest rate on those loans, as a decimal. |
| `data.lenders[].charge_off_rate` | No | [Figure](/concepts/figures#figure) | Charged-off loans divided by loans, a share. |
| `data.lenders[].charged_off_loans` | No | [Figure](/concepts/figures#figure) | How many of those loans SBA lists as charged off; recent loans understate eventual losses. |
| `data.total_acquisition_loans` | No | [Figure](/concepts/figures#figure) | Every matching acquisition loan, before the `min_loans` filter. |
| `data.lenders_found` | No | [Figure](/concepts/figures#figure) | Lenders with at least one matching acquisition loan, before `min_loans` and paging. When `min_loans` leaves some out, `gaps` says how many (field `lenders`). |
| `data.median_loan` | No | [Figure](/concepts/figures#figure) | Median of every matching acquisition loan. |
| `data.fiscal_years_covered` | No | object | The SBA fiscal years searched, first and last, each with unit `year`. |
| `data.fiscal_years_covered.from` | No | [Figure](/concepts/figures#figure) | First SBA fiscal year searched; never before FY2019, the first full year SBA's file flags changes of ownership. |
| `data.fiscal_years_covered.to` | No | [Figure](/concepts/figures#figure) | Last SBA fiscal year searched: the latest in SBA's file, or the one holding `as_of` when that is earlier. |
| `data.next_cursor` | No | string, nullable | Pass as `cursor` for the lenders after this page; null when this page ends the list. |
| `data.local_bank_lenders` | No | array of objects | With `county`: a page of 10 banks, ranked by the small-business loans (each $1 million or less at origination) they reported originating in that county under the Community Reinvestment Act in the latest CRA year, most first; `local_banks_next_cursor` gives the next page. Loans for any purpose, not only acquisitions or SBA loans; only banks above the CRA asset threshold report. Empty, with a gap, when no bank reported there. |
| `data.local_bank_lenders[].name` | No | string | The bank's name as it reported to the FFIEC. |
| `data.local_bank_lenders[].rssd_id` | No | string, nullable | The bank's Federal Reserve RSSD ID. |
| `data.local_bank_lenders[].fdic_cert` | No | integer, nullable | FDIC certificate number, from FDIC BankFind; null when none is found. |
| `data.local_bank_lenders[].city` | No | string, nullable | Headquarters city from FDIC BankFind. |
| `data.local_bank_lenders[].state` | No | string, nullable | Headquarters state from FDIC BankFind. |
| `data.local_bank_lenders[].loans` | No | [Figure](/concepts/figures#figure) | Small-business loans the bank reported in the county in the CRA year. |
| `data.local_bank_lenders[].loans_amount` | No | [Figure](/concepts/figures#figure) | Their amount at origination together, in whole US dollars. |
| `data.local_bank_lenders[].loans_to_small_businesses` | No | [Figure](/concepts/figures#figure) | Of those, loans to businesses with gross annual revenue of $1 million or less. |
| `data.local_bank_lenders[].cra_year` | No | [Figure](/concepts/figures#figure) | The CRA data year, unit year. |
| `data.local_banks_found` | No | [Figure](/concepts/figures#figure) | With `county`: every bank that reported CRA small-business loans in the county in that year, across all pages of `local_bank_lenders`. |
| `data.local_banks_next_cursor` | No | string, nullable | With `county`: pass as `local_banks_cursor` for the next 10 banks; null when this page ends the list. |

**Call**

```sh
curl "https://api.acquestor.com/v1/finance/lenders?naics=238220&state=TX&min_loans=1" \
  -H "Authorization: Bearer $ACQUESTOR_API_KEY"
```

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

Response `200`:

```json
{
  "data": {
    "lenders": [
      {
        "name": "Live Oak Banking Company",
        "lender_key": "0455644",
        "fdic_cert": 58665,
        "ncua_charter": null,
        "lender_type": "bank",
        "city": "Wilmington",
        "state": "NC",
        "acquisition_loans": {
          "value": 11,
          "unit": "count",
          "source": "s1"
        },
        "total_amount": {
          "value": 8550000,
          "unit": "USD",
          "source": "s1"
        },
        "median_loan": {
          "value": 475000,
          "unit": "USD",
          "source": "c1"
        },
        "median_rate": {
          "value": 0.0963,
          "unit": "rate",
          "source": "c1"
        },
        "charge_off_rate": {
          "value": 0,
          "unit": "share",
          "source": "c1"
        },
        "charged_off_loans": {
          "value": 0,
          "unit": "count",
          "source": "s1"
        },
        "fdic_active": true,
        "total_assets": {
          "value": 15959938000,
          "unit": "USD",
          "source": "s2"
        }
      },
      {
        "name": "The Huntington National Bank",
        "lender_key": "0057328",
        "fdic_cert": 6560,
        "ncua_charter": null,
        "lender_type": "bank",
        "city": "Columbus",
        "state": "OH",
        "acquisition_loans": {
          "value": 8,
          "unit": "count",
          "source": "s1"
        },
        "total_amount": {
          "value": 6486900,
          "unit": "USD",
          "source": "s1"
        },
        "median_loan": {
          "value": 583450,
          "unit": "USD",
          "source": "c1"
        },
        "median_rate": {
          "value": 0.09,
          "unit": "rate",
          "source": "c1"
        },
        "charge_off_rate": {
          "value": 0,
          "unit": "share",
          "source": "c1"
        },
        "charged_off_loans": {
          "value": 0,
          "unit": "count",
          "source": "s1"
        },
        "fdic_active": true,
        "total_assets": {
          "value": 283073605000,
          "unit": "USD",
          "source": "s2"
        }
      },
      {
        "name": "First Internet Bank of Indiana",
        "lender_key": "0123409",
        "fdic_cert": 34607,
        "ncua_charter": null,
        "lender_type": "bank",
        "city": "Fishers",
        "state": "IN",
        "acquisition_loans": {
          "value": 6,
          "unit": "count",
          "source": "s1"
        },
        "total_amount": {
          "value": 6304000,
          "unit": "USD",
          "source": "s1"
        },
        "median_loan": {
          "value": 653500,
          "unit": "USD",
          "source": "c1"
        },
        "median_rate": {
          "value": 0.1025,
          "unit": "rate",
          "source": "c1"
        },
        "charge_off_rate": {
          "value": 0,
          "unit": "share",
          "source": "c1"
        },
        "charged_off_loans": {
          "value": 0,
          "unit": "count",
          "source": "s1"
        },
        "fdic_active": true,
        "total_assets": {
          "value": 5526397000,
          "unit": "USD",
          "source": "s2"
        }
      }
    ],
    "total_acquisition_loans": {
      "value": 59,
      "unit": "count",
      "source": "s1"
    },
    "lenders_found": {
      "value": 22,
      "unit": "count",
      "source": "s1"
    },
    "median_loan": {
      "value": 756000,
      "unit": "USD",
      "source": "c1"
    },
    "fiscal_years_covered": {
      "from": {
        "value": 2022,
        "unit": "year",
        "source": "s1",
        "note": "NAICS 238220, project state TX, 7(a) loans with BusinessAge \"Change of Ownership\""
      },
      "to": {
        "value": 2026,
        "unit": "year",
        "source": "s1",
        "note": "NAICS 238220, project state TX, 7(a) loans with BusinessAge \"Change of Ownership\""
      }
    },
    "next_cursor": null
  },
  "sources": [
    {
      "id": "s1",
      "source_id": "sba-foia-7a-504",
      "name": "SBA 7(a) and 504 loan data (FOIA)",
      "publisher": "U.S. Small Business Administration",
      "dataset": "7(a) and 504 loan data, 7(a) loans with BusinessAge \"Change of Ownership\"",
      "basis": "public_record",
      "route": "served_directly",
      "licence_status": "cleared",
      "as_of": "2026-06-30",
      "url": "https://data.sba.gov/dataset/7a-504-foia",
      "line": "Source: U.S. SBA, 7(a) and 504 loan data, 7(a) loans with BusinessAge \"Change of Ownership\", as of Jun 30, 2026",
      "retrieved_at": "2026-10-05"
    },
    {
      "id": "s2",
      "source_id": "fdic-bankfind",
      "name": "FDIC BankFind Suite: institutions",
      "publisher": "Federal Deposit Insurance Corporation",
      "dataset": "BankFind Suite institutions",
      "basis": "public_record",
      "route": "served_directly",
      "licence_status": "cleared",
      "as_of": "2026-06-30",
      "url": "https://api.fdic.gov/banks/docs/",
      "line": "Source: FDIC, BankFind Suite institutions, as of Jun 30, 2026",
      "retrieved_at": "2026-10-05"
    }
  ],
  "gaps": [],
  "disclaimer": "informational",
  "computation": {
    "id": "c1",
    "method": "sba_lender_aggregates",
    "method_version": "1.0.0",
    "computed_at": "2026-10-05T15:02:11.000Z",
    "rule_sets": [],
    "inputs": {
      "fiscal_year_from": {
        "value": 2022,
        "unit": "year",
        "source": "s1",
        "note": "NAICS 238220, project state TX, 7(a) loans with BusinessAge \"Change of Ownership\""
      },
      "fiscal_year_to": {
        "value": 2026,
        "unit": "year",
        "source": "s1",
        "note": "NAICS 238220, project state TX, 7(a) loans with BusinessAge \"Change of Ownership\""
      },
      "total_acquisition_loans": {
        "value": 59,
        "unit": "count",
        "source": "s1"
      }
    }
  },
  "warnings": [
    {
      "code": "partial_fiscal_year",
      "detail": "FY2026 runs through Jun 30, 2026 in this file."
    },
    {
      "code": "charge_offs_understated",
      "detail": "Charge-off rates for loans approved since FY2019 understate eventual losses: most of those loans are still outstanding, and SBA withholds their status under FOIA Exemption 4."
    }
  ],
  "charge": {
    "credits": 0,
    "price_class": "lookup",
    "balance_after": 475,
    "ledger_entry_id": "00000000-0000-4000-8000-000000000001",
    "free_call": true
  }
}
```

**Errors**

| Status | Code | Meaning |
| --- | --- | --- |
| 400 | [`invalid_header`](/problems/invalid_header) | A header has an invalid value |
| 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 | [`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 |
| 422 | [`invalid_input`](/problems/invalid_input) | An input is out of range or the wrong type |
| 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 |
| --- | --- | --- |
| `GET /finance/programs` | State SSBCI programs, certified CDFIs, USDA B&I area eligibility and home price change for a state or address | P2 |


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/finance

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.
