# REST reference: Explore

Rates and market data for the start of a search.

| Operation | Call | Price | MCP tool |
| --- | --- | --- | --- |
| [Prime, SOFR, Treasury yields and SBA 7(a) rate caps as of a date](#get-rates) | `GET /v1/explore/rates` | Lookup: 1,000 free a month, then 0.5 credits | `get_rates` |
| [Acquisition-loan statistics by NAICS and state, computed from the SBA 7(a) and 504 loan file](#get-market-stats) | `GET /v1/explore/market-stats` | Lookup: 1,000 free a month, then 0.5 credits | `get_market_stats` |

## Prime, SOFR, Treasury yields and SBA 7(a) rate caps as of a date {#get-rates}

```http
GET /v1/explore/rates
```

Prime from the Federal Reserve Board's H.15, Treasury yields from the Treasury's daily par yield curve, SOFR from the New York Fed. SBA caps are base plus the spread for each loan-size tier in the rate-cap rule set in force on `as_of`.

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

**Parameters**

| Parameter | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `as_of` | query | No | date | Date (YYYY-MM-DD) whose rules and rates apply; defaults to today. |

**Response** `200`: Rates

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.prime` | Yes | [Figure](/concepts/figures#figure) | The bank prime loan rate from Federal Reserve H.15, as a decimal, on or before `as_of`. |
| `data.sofr` | No | [Figure](/concepts/figures#figure) | SOFR from the New York Fed, as a decimal, on or before `as_of`; absent, with a gap, when none is loaded. |
| `data.treasury_5y` | No | [Figure](/concepts/figures#figure) | The 5-year Treasury par yield from the U.S. Treasury, as a decimal; absent, with a gap, when none is loaded. |
| `data.treasury_10y` | No | [Figure](/concepts/figures#figure) | The 10-year Treasury par yield from the U.S. Treasury, as a decimal; absent, with a gap, when none is loaded. |
| `data.sba_cap_over_350k` | Yes | [Figure](/concepts/figures#figure) | The SBA 7(a) maximum variable rate on loans over $350,000: prime plus the cap spread, as a decimal. |
| `data.sba_cap_250k_350k` | No | [Figure](/concepts/figures#figure) | The SBA 7(a) maximum variable rate on loans of $250,001 to $350,000: prime plus the cap spread, as a decimal. |
| `data.sba_cap_50k_250k` | No | [Figure](/concepts/figures#figure) | The SBA 7(a) maximum variable rate on loans of $50,001 to $250,000: prime plus the cap spread, as a decimal. |
| `data.sba_cap_50k_or_less` | No | [Figure](/concepts/figures#figure) | The SBA 7(a) maximum variable rate on loans of $50,000 or less: prime plus the cap spread, as a decimal. |

**Call**

```sh
curl "https://api.acquestor.com/v1/explore/rates?as_of=2026-10-05" \
  -H "Authorization: Bearer $ACQUESTOR_API_KEY"
```

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

Response `200`:

```json
{
  "data": {
    "prime": {
      "value": 0.07,
      "unit": "rate",
      "source": "s1",
      "as_of": "2026-10-02"
    },
    "sofr": {
      "value": 0.0388,
      "unit": "rate",
      "source": "s2",
      "as_of": "2026-10-02"
    },
    "treasury_5y": {
      "value": 0.0506,
      "unit": "rate",
      "source": "s3",
      "as_of": "2026-10-05"
    },
    "treasury_10y": {
      "value": 0.0531,
      "unit": "rate",
      "source": "s3",
      "as_of": "2026-10-05"
    },
    "sba_cap_over_350k": {
      "value": 0.1,
      "unit": "rate",
      "source": "c1"
    },
    "sba_cap_250k_350k": {
      "value": 0.115,
      "unit": "rate",
      "source": "c1"
    },
    "sba_cap_50k_250k": {
      "value": 0.13,
      "unit": "rate",
      "source": "c1"
    },
    "sba_cap_50k_or_less": {
      "value": 0.135,
      "unit": "rate",
      "source": "c1"
    }
  },
  "sources": [
    {
      "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": "s2",
      "source_id": "nyfed-sofr",
      "name": "Secured Overnight Financing Rate (SOFR)",
      "publisher": "Federal Reserve Bank of New York",
      "dataset": "SOFR",
      "basis": "public_record",
      "route": "served_directly",
      "licence_status": "cleared",
      "as_of": "2026-10-02",
      "url": "https://www.newyorkfed.org/markets/reference-rates/sofr",
      "line": "Source: New York Fed, SOFR, as of Oct 2, 2026",
      "notice": "The SOFR is subject to the Terms of Use posted at newyorkfed.org. The New York Fed is not responsible for publication of the SOFR by Acquestor, does not sanction or endorse any particular republication, and has no liability for your use. The SOFR is calculated using data provided under a license granted to the New York Fed by DTCC Solutions LLC; DTCC Solutions LLC, its affiliates, and third parties from which they obtained data have no liability for the content of this material."
    },
    {
      "id": "s3",
      "source_id": "ust-par-yield-curve",
      "name": "Daily Treasury Par Yield Curve Rates",
      "publisher": "U.S. Department of the Treasury",
      "dataset": "Daily Treasury par yield curve rates",
      "basis": "public_record",
      "route": "served_directly",
      "licence_status": "cleared",
      "as_of": "2026-10-05",
      "url": "https://home.treasury.gov/resource-center/data-chart-center/interest-rates/TextView?type=daily_treasury_yield_curve",
      "line": "Source: U.S. Treasury, Daily Treasury par yield curve rates, as of Oct 5, 2026"
    },
    {
      "id": "r1",
      "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_rate_caps",
    "method_version": "1.0.0",
    "computed_at": "2026-10-05T15:02:11.000Z",
    "rule_sets": [
      "sba-rate-caps@2026-03-01"
    ],
    "inputs": {
      "prime": {
        "value": 0.07,
        "unit": "rate",
        "source": "s1",
        "as_of": "2026-10-02"
      },
      "spread_over_350k": {
        "value": 0.03,
        "unit": "rate",
        "source": "r1"
      },
      "spread_250k_350k": {
        "value": 0.045,
        "unit": "rate",
        "source": "r1"
      },
      "spread_50k_250k": {
        "value": 0.06,
        "unit": "rate",
        "source": "r1"
      },
      "spread_50k_or_less": {
        "value": 0.065,
        "unit": "rate",
        "source": "r1"
      }
    }
  },
  "charge": {
    "credits": 0,
    "price_class": "lookup",
    "balance_after": 500,
    "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 |
| 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).

## Acquisition-loan statistics by NAICS and state, computed from the SBA 7(a) and 504 loan file {#get-market-stats}

```http
GET /v1/explore/market-stats
```

Counts SBA 7(a) and 504 loans whose BusinessAge is "Change of Ownership" for a NAICS prefix and project state, over fiscal years counted back from the latest in SBA's FOIA file (or the one holding `as_of`), with their total and median amount at approval, the median 7(a) rate, the charge-off rate, and the count and median by fiscal year.
SBA's file flags changes of ownership only from FY2019 (partially in FY2018), so earlier years are left out with a gap. A median needs 5 loans and the charge-off rate 30; below that each comes back as a gap, never estimated. Only SBA-financed purchases are counted, not every sale.

**Price:** Lookup: 1,000 free a month, then 0.5 credits · **MCP tool:** `get_market_stats` · **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`) | Number of SBA fiscal years to include, counting back from the latest in the file. |
| `as_of` | query | No | date | Date (YYYY-MM-DD) whose rules and rates apply; defaults to today. |

**Response** `200`: Market statistics

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.naics` | No | string, nullable | The NAICS prefix counted, as asked for; null for every industry. |
| `data.state` | No | string, nullable | The project state counted, as asked for; null for every state. |
| `data.fiscal_years_covered` | No | object | The SBA fiscal years counted, first and last, each with unit `year`. |
| `data.fiscal_years_covered.from` | No | [Figure](/concepts/figures#figure) | First SBA fiscal year counted; 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 counted: the latest in SBA's file, or the one holding `as_of` when that is earlier. |
| `data.acquisition_loans` | No | [Figure](/concepts/figures#figure) | Number of SBA 7(a) and 504 acquisition loans for the NAICS code and state over the fiscal years asked for. |
| `data.loans_7a` | No | [Figure](/concepts/figures#figure) | How many of those loans are 7(a) loans. |
| `data.loans_504` | No | [Figure](/concepts/figures#figure) | How many of those loans are 504 loans. |
| `data.total_amount` | No | [Figure](/concepts/figures#figure) | Total dollar amount of those acquisition loans at approval. |
| `data.median_loan` | No | [Figure](/concepts/figures#figure) | Median acquisition loan amount at approval, in dollars; null, with a gap, under 5 loans. |
| `data.median_rate` | No | [Figure](/concepts/figures#figure) | Median initial interest rate on the 7(a) loans at approval, as a decimal (SBA's 504 file carries no rate); null, with a gap, under 5 loans with a rate. |
| `data.charge_off_rate` | No | [Figure](/concepts/figures#figure) | Charged-off dollars over the approved dollars of the loans that went out (not cancelled, not still in commitment), as a decimal, from SBA's loan status field; null, with a gap, under 30 such loans or when `as_of` is before the file date. |
| `data.by_fiscal_year` | No | array of objects | The same counts by SBA fiscal year (October to September), one entry for every year counted. |
| `data.by_fiscal_year[].fiscal_year` | No | integer | SBA fiscal year, such as 2026 for October 2025 to September 2026. |
| `data.by_fiscal_year[].loans` | No | [Figure](/concepts/figures#figure) | Number of acquisition loans approved in that fiscal year. |
| `data.by_fiscal_year[].median_loan` | No | [Figure](/concepts/figures#figure) | Median acquisition loan amount approved in that fiscal year, in dollars; null under 5 loans. |

**Call**

```sh
curl "https://api.acquestor.com/v1/explore/market-stats?naics=238220&state=TX" \
  -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": {
    "naics": "238220",
    "state": "TX",
    "fiscal_years_covered": {
      "from": {
        "value": 2022,
        "unit": "year",
        "source": "s1",
        "note": "NAICS 238220, project state TX, 7(a) and 504 loans with BusinessAge \"Change of Ownership\""
      },
      "to": {
        "value": 2026,
        "unit": "year",
        "source": "s1",
        "note": "NAICS 238220, project state TX, 7(a) and 504 loans with BusinessAge \"Change of Ownership\""
      }
    },
    "acquisition_loans": {
      "value": 61,
      "unit": "count",
      "source": "s1"
    },
    "loans_7a": {
      "value": 59,
      "unit": "count",
      "source": "s1"
    },
    "loans_504": {
      "value": 2,
      "unit": "count",
      "source": "s1"
    },
    "total_amount": {
      "value": 56636800,
      "unit": "USD",
      "source": "s1"
    },
    "median_loan": {
      "value": 756000,
      "unit": "USD",
      "source": "c1"
    },
    "median_rate": {
      "value": 0.095,
      "unit": "rate",
      "source": "c1"
    },
    "charge_off_rate": {
      "value": 0,
      "unit": "share",
      "source": "c1"
    },
    "by_fiscal_year": [
      {
        "fiscal_year": 2022,
        "loans": {
          "value": 4,
          "unit": "count",
          "source": "s1"
        },
        "median_loan": {
          "value": null,
          "unit": "USD",
          "source": "c1"
        }
      },
      {
        "fiscal_year": 2023,
        "loans": {
          "value": 2,
          "unit": "count",
          "source": "s1"
        },
        "median_loan": {
          "value": null,
          "unit": "USD",
          "source": "c1"
        }
      },
      {
        "fiscal_year": 2024,
        "loans": {
          "value": 16,
          "unit": "count",
          "source": "s1"
        },
        "median_loan": {
          "value": 640500,
          "unit": "USD",
          "source": "c1"
        }
      }
    ]
  },
  "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) and 504 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) and 504 loans with BusinessAge \"Change of Ownership\", as of Jun 30, 2026",
      "retrieved_at": "2026-10-05"
    }
  ],
  "gaps": [],
  "disclaimer": "informational",
  "computation": {
    "id": "c1",
    "method": "sba_market_stats",
    "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) and 504 loans with BusinessAge \"Change of Ownership\""
      },
      "fiscal_year_to": {
        "value": 2026,
        "unit": "year",
        "source": "s1",
        "note": "NAICS 238220, project state TX, 7(a) and 504 loans with BusinessAge \"Change of Ownership\""
      },
      "acquisition_loans": {
        "value": 61,
        "unit": "count",
        "source": "s1"
      },
      "charged_off_amount": {
        "value": 0,
        "unit": "USD",
        "source": "s1"
      },
      "approved_amount_disbursed": {
        "value": 48227800,
        "unit": "USD",
        "source": "s1"
      }
    }
  },
  "warnings": [
    {
      "code": "partial_fiscal_year",
      "detail": "FY2026 runs through Jun 30, 2026 in this file."
    },
    {
      "code": "charge_offs_understated",
      "detail": "50 of the 50 loans that went out are still outstanding, their status withheld by SBA under FOIA Exemption 4, so later charge-offs aren't counted yet."
    }
  ],
  "charge": {
    "credits": 0,
    "price_class": "lookup",
    "balance_after": 500,
    "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 |
| 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 /explore/industries/{naics}` | Industry profile for a NAICS code | P2 |
| `GET /explore/local-market` | Population, jobs, unemployment and commuting for a county, with household spending for its region | 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/explore

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.
