# 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. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-sbir-gov-api-1c55b1fa/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## 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/parse-sbir-gov-api-1c55b1fa/get_award \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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/parse-sbir-gov-api-1c55b1fa/search_awards \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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/parse-sbir-gov-api-1c55b1fa/search_topics \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"keywords":"<string>","page":"<integer>"}'
```
