> ## Documentation Index
> Fetch the complete documentation index at: https://docs.oneshotagent.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SBA Loans

> Look up SBA 7(a) and 504 business loan approvals since fiscal year 2010.

Returns loans approved to a US business under the Small Business Administration 7(a) and 504 programs since fiscal year 2010, by borrower name, from the US Small Business Administration: lender, amount, guaranteed share, approval date, terms, industry and status. Names match substrings, so similarly named borrowers come back too.

## Authentication

Requires x402 payment in the `payment-signature` header.

## Request Body

**borrower\_name** `string` *required*

Case-insensitive substring of the borrower name. 3 to 120 characters.

**state** `string`

The borrower state abbreviation.

**program** `string`

Loan program; omitted searches both. One of `504`, `7a`.

**limit** `integer`

Most loans to return, newest approval first. From 1 to 25. Defaults to `10`.

<Snippet file="audit-context-params.mdx" />

<Snippet file="cached-record-params.mdx" />

## Response (200 OK)

Top-level envelope: `success` (boolean) and `data` (object). All fields below are nested under `data`.

**data.request\_id** `string`

Durable job ID for audit and lookup

**data.status** `string`

Job status: `completed`

**data.tool** `string`

Always `company_sba_loans`

**data.result** `object`

The answer, described under Result below

**data.evidence** `object`

Where the answer came from and when

**data.cached** `boolean`

`true` when the answer was served from OneShot's store of earlier lookups (or its own copy of a public dataset), `false` when the source was asked for this call

**data.fetched\_at** `string`

When the record was obtained from its source, as an ISO 8601 UTC time; equals `evidence.retrieved_at`

**data.evidence.source** `string`

The public body the data comes from. Always `US Small Business Administration`.

**data.evidence.source\_kind** `string`

`public` when the data comes from a public body, `commercial` otherwise

**data.evidence.retrieved\_at** `string`

When the lookup was made, as an ISO 8601 UTC time

**data.evidence.as\_of** `string | null`

The date of the quarterly release that answered, as each row states it.

## Result

Nested under `data.result`.

**data.result.has\_more** `boolean`

Has more.

**data.result.loans** `object[]`

Loans.

**data.result.loans\[].program** `string`

Program.

**data.result.loans\[].borrower\_name** `string | null`

Borrower name. `null` when the source gives no value.

**data.result.loans\[].borrower\_city** `string | null`

Borrower city. `null` when the source gives no value.

**data.result.loans\[].borrower\_state** `string | null`

Borrower state. `null` when the source gives no value.

**data.result.loans\[].borrower\_zip** `string | null`

Borrower zip. `null` when the source gives no value.

**data.result.loans\[].business\_type** `string | null`

Business type. `null` when the source gives no value.

**data.result.loans\[].amount\_usd** `number | null`

Amount usd. `null` when the source gives no value.

**data.result.loans\[].sba\_guaranteed\_usd** `number | null`

Sba guaranteed usd. `null` when the source gives no value.

**data.result.loans\[].approved\_on** `string`

Approved on.

**data.result.loans\[].approval\_fiscal\_year** `integer`

Approval fiscal year.

**data.result.loans\[].first\_disbursed\_on** `string | null`

First disbursed on. `null` when the source gives no value.

**data.result.loans\[].lender\_name** `string | null`

Lender name. `null` when the source gives no value.

**data.result.loans\[].lender\_fdic\_certificate** `string | null`

Lender fdic certificate. `null` when the source gives no value.

**data.result.loans\[].third\_party\_lender\_name** `string | null`

Third party lender name. `null` when the source gives no value.

**data.result.loans\[].third\_party\_amount\_usd** `number | null`

Third party amount usd. `null` when the source gives no value.

**data.result.loans\[].processing\_method** `string | null`

Processing method. `null` when the source gives no value.

**data.result.loans\[].interest\_rate\_percent** `number | null`

Interest rate percent. `null` when the source gives no value.

**data.result.loans\[].rate\_type** `string | null`

Rate type. `null` when the source gives no value.

**data.result.loans\[].term\_months** `integer | null`

Term months. `null` when the source gives no value.

**data.result.loans\[].industry\_code** `string | null`

Industry code. `null` when the source gives no value.

**data.result.loans\[].industry** `string | null`

Industry. `null` when the source gives no value.

**data.result.loans\[].franchise\_name** `string | null`

Franchise name. `null` when the source gives no value.

**data.result.loans\[].status** `string`

Status.

**data.result.loans\[].status\_code** `string`

Status code.

**data.result.loans\[].paid\_in\_full\_on** `string | null`

Paid in full on. `null` when the source gives no value.

**data.result.loans\[].charged\_off\_on** `string | null`

Charged off on. `null` when the source gives no value.

**data.result.loans\[].charged\_off\_usd** `number | null`

Charged off usd. `null` when the source gives no value.

**data.result.loans\[].jobs\_supported** `number | null`

Jobs supported. `null` when the source gives no value.

```bash cURL theme={null}
curl -X POST https://win.oneshotagent.com/v1/tools/lookup/company-sba-loans \
  -H "Content-Type: application/json" \
  -H "payment-signature: <base64 x402 payment>" \
  -d '{
    "borrower_name": "Faster Cajun",
    "state": "LA"
  }'
```

```javascript JavaScript theme={null}
const response = await fetch("https://win.oneshotagent.com/v1/tools/lookup/company-sba-loans", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    "payment-signature": paymentProof,
  },
  body: JSON.stringify({
    "borrower_name": "Faster Cajun",
    "state": "LA"
  }),
});
```

```typescript SDK theme={null}
const result = await agent.tool('lookup/company-sba-loans', {
  borrower_name: 'Faster Cajun',
  state: 'LA'
});
console.log(result.result);
console.log(result.evidence);
```

```json Response (200) theme={null}
{
  "success": true,
  "data": {
    "request_id": "uuid",
    "receipt_id": "rcpt_...",
    "status": "completed",
    "tool": "company_sba_loans",
    "result": {
      "has_more": false,
      "loans": [
        {
          "program": "7a",
          "borrower_name": "Faster Cajun LLC",
          "borrower_city": "LAKE ARTHUR",
          "borrower_state": "LA",
          "borrower_zip": "70549",
          "business_type": "CORPORATION",
          "amount_usd": 2530000,
          "sba_guaranteed_usd": 1897500,
          "approved_on": "2026-05-06",
          "approval_fiscal_year": 2026,
          "first_disbursed_on": "2026-05-19",
          "lender_name": "Live Oak Banking Company",
          "lender_fdic_certificate": "58665",
          "third_party_lender_name": null,
          "third_party_amount_usd": null,
          "processing_method": "Preferred Lenders Program",
          "interest_rate_percent": 8.35,
          "rate_type": "variable",
          "term_months": 156,
          "industry_code": "517111",
          "industry": "Wired Telecommunications Carriers",
          "franchise_name": null,
          "status": "active_not_disclosed",
          "status_code": "EXEMPT",
          "paid_in_full_on": null,
          "charged_off_on": null,
          "charged_off_usd": 0,
          "jobs_supported": 11
        },
        {
          "program": "7a",
          "borrower_name": "Faster Cajun LLC",
          "borrower_city": "LAKE ARTHUR",
          "borrower_state": "LA",
          "borrower_zip": "70549",
          "business_type": "CORPORATION",
          "amount_usd": 150000,
          "sba_guaranteed_usd": 75000,
          "approved_on": "2026-05-04",
          "approval_fiscal_year": 2026,
          "first_disbursed_on": "2026-05-19",
          "lender_name": "Live Oak Banking Company",
          "lender_fdic_certificate": "58665",
          "third_party_lender_name": null,
          "third_party_amount_usd": null,
          "processing_method": "SBA Express Program",
          "interest_rate_percent": 9.75,
          "rate_type": "variable",
          "term_months": 120,
          "industry_code": "517111",
          "industry": "Wired Telecommunications Carriers",
          "franchise_name": null,
          "status": "active_not_disclosed",
          "status_code": "EXEMPT",
          "paid_in_full_on": null,
          "charged_off_on": null,
          "charged_off_usd": 0,
          "jobs_supported": 11
        },
        {
          "program": "7a",
          "borrower_name": "Faster Cajun Networks",
          "borrower_city": "LAKE ARTHUR",
          "borrower_state": "LA",
          "borrower_zip": "70549",
          "business_type": "CORPORATION",
          "amount_usd": 1335000,
          "sba_guaranteed_usd": 1001250,
          "approved_on": "2024-06-14",
          "approval_fiscal_year": 2024,
          "first_disbursed_on": "2024-07-11",
          "lender_name": "Live Oak Banking Company",
          "lender_fdic_certificate": "58665",
          "third_party_lender_name": null,
          "third_party_amount_usd": null,
          "processing_method": "Preferred Lenders Program",
          "interest_rate_percent": 10.35,
          "rate_type": "variable",
          "term_months": 180,
          "industry_code": "517111",
          "industry": "Wired Telecommunications Carriers",
          "franchise_name": null,
          "status": "active_not_disclosed",
          "status_code": "EXEMPT",
          "paid_in_full_on": null,
          "charged_off_on": null,
          "charged_off_usd": 0,
          "jobs_supported": 10
        }
      ]
    },
    "evidence": {
      "source": "US Small Business Administration",
      "source_kind": "public",
      "retrieved_at": "2026-10-27T12:00:00.000Z",
      "calls": [
        {
          "retrieved_at": "2026-10-27T12:00:00.000Z"
        },
        {
          "retrieved_at": "2026-10-27T12:00:00.000Z"
        },
        {
          "retrieved_at": "2026-10-27T12:00:00.000Z"
        }
      ],
      "as_of": "2026-06-30"
    }
  }
}
```

> [!NOTE]
>
> See [Pricing](https://docs.oneshotagent.com/pricing.md) for this tool's price. A wallet (x402) call receives it in the 402 quote before anything is charged; a call paid from prepaid credits is charged when the API accepts the request and answers `200`.

## Notes

* state narrows the borrower name match. No match completes with loans: \[]. Results are newest approval first, then largest amount; has\_more indicates additional matches.
* Amounts are approvals, not balances. The source withholds the status of loans still being repaid (active\_not\_disclosed). Jobs supported are self-reported by lenders and not validated.
* Only 7(a) and 504 approvals since fiscal year 2010 are included, not disaster or PPP loans. Use company\_federal\_awards for contracts and grants.
* The source replaces these files quarterly; status history begins with our first observation. Street addresses are neither requested nor returned.
* Results return inline. The finished job stays available at `/v1/requests/{request_id}`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.