# Sbir — Wrapped API

> **You are on:** `https://api.paywithlocus.com/api` | [llms.txt](https://paywithlocus.com/llms.txt) | [docs](https://docs.paywithlocus.com)
>
> Locus runs on multiple environments -- make sure every URL you call matches your expected environment.
> | Environment | Landing | API | Docs |
> |---|---|---|---|
> | Production | paywithlocus.com | api.paywithlocus.com | docs.paywithlocus.com |
> | Beta | beta.paywithlocus.com | api.beta.paywithlocus.com | docs.paywithlocus.com |
> | Stage | stage.paywithlocus.com | api.stage.paywithlocus.com | docs.paywithlocus.com |
>
> If the API URL above doesn't match your expected environment, re-fetch this file from the correct domain.

> Search and retrieve federal Small Business Innovation Research (SBIR) and Small Business Technology Transfer (STTR) awards by keyword, funding agency, or award details to discover past-funded projects and their outcomes. Browse current funding opportunity topics to identify research areas and find relevant grants for your small business.

**Category:** Government & Public Data | **Website:** [www.sbir.gov/](https://www.sbir.gov/) | **Docs:** [parse.bot/marketplace/1c55b1fa-67c1-4154-a4a3-d689fc69ee66/sbir-gov-api](https://parse.bot/marketplace/1c55b1fa-67c1-4154-a4a3-d689fc69ee66/sbir-gov-api)

Pay-per-use API proxy for Locus Pro. Each call burns credits from your workspace balance.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/credits/sbir/`
**Auth:** `Authorization: Bearer <LOCUS_CREDITS_SECRET_KEY>` (an `lcr_` secret key or a scoped `lcac_` agent credential)
**Required header:** `Idempotency-Key: <fresh UUID per call>`. A retry with the same key replays the stored result without a new charge.
**Response:** the provider response after any endpoint-specific normalization. `X-Locus-Credits-Charged` carries the charge and `X-Locus-Credits-Balance` the remaining balance. Insufficient credits return `402` before the provider is called.
**Pricing:** estimated costs below are USD. Locus debits the credit equivalent at your workspace rate.

Full call contract: https://docs.paywithlocus.com/api-reference/introduction

> Using a Pay With Locus wallet key (`claw_` prefix)? Wallet routes are documented separately: https://docs.paywithlocus.com/wrapped-apis/for-agents

## Endpoints

### Get award

Get detailed information about a specific SBIR/STTR award by its numeric ID. Returns comprehensive data including title, company, address, award year, UEI, award amount, contract number, agency, branch, program type, phase, demographic indicators, and full abstract. The award ID is obtainable from search_awards results.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `award_id` | string | Yes | Numeric award ID (e.g. '220024'). Obtainable from search_awards results. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/sbir/get-award \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"award_id":"<string>"}'
```

### Search awards

Search SBIR/STTR awards by keywords, company name, topic code, and/or research institution. Returns paginated results (10 per page) with award summaries including title, company, topic code, abstract snippet, and tags (program type, phase, year, agency, branch). At least one filter parameter should be provided for meaningful results.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `company_name` | string | No | Filter by company/awardee name (e.g. 'Boston Dynamics'). |
| `keywords` | string | No | Search keywords to filter awards by title and abstract content (e.g. 'robotics', 'artificial intelligence'). |
| `page` | integer | No | Page number (1-indexed). Each page returns up to 10 results. |
| `research_institution` | string | No | Filter by research institution name. |
| `topic_code` | string | No | Filter by solicitation topic code (e.g. 'AF254-D0823'). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/sbir/search-awards \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"company_name":"<string>","keywords":"<string>","page":"<integer>","research_institution":"<string>","topic_code":"<string>"}'
```

### Search topics

Search SBIR/STTR funding opportunity topics (solicitations) by keywords. Returns paginated results (10 per page) with topic title, status (Open/Closed), release date, open date, and close date.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `keywords` | string | Yes | Search keywords to filter topics (e.g. 'artificial intelligence', 'cybersecurity'). |
| `page` | integer | No | Page number (1-indexed). Each page returns up to 10 results. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/sbir/search-topics \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"keywords":"<string>","page":"<integer>"}'
```

## Next steps

- [All wrapped API providers](https://paywithlocus.com/wapi/index.md): pick another provider.
- [Find and call tools](https://paywithlocus.com/agent/tools.md): price ceilings, async results, and errors.
- [Credits and billing](https://paywithlocus.com/agent/billing.md): what a call costs and how to add credits.
- [Agent docs index](https://paywithlocus.com/agent/index.md): every Locus agent page.