# BidNet Direct · Search solicitations

Search public records with BidNet Direct · Search solicitations from Alexandria through one Spiral API key. Find solicitations by keyword, state or category; pass a row's `id` and `kind` (or `detail_url`) to `get_solicitation`. It runs in the background and returns structured JSON. Pay as you go, with no subscription.

- Provider: Alexandria
- Category: Public Records
- Runs: In the background
- Returns: json
- Tool id: `alexandria` / `bidnetdirect-com/public-tenders/search_solicitations`
- Page: https://spiral.ai/tools/alexandria/bidnetdirect-com/public-tenders/search_solicitations

## Pricing

$0.00873 per call.

## Limits

- Longest queue wait: 1 hour
- Run deadline: 5 minutes
- Longest run, end to end: 225 minutes
- Largest inline input: 1 MB
- Largest input file: 2 GB
- Largest output: 5 GB

## Input

| Field | Kind | Allowed | Default | Description |
| --- | --- | --- | --- | --- |
| `page` | number | 1 to … | 1 | 1-based page of 25 rows. |
| `status` | one of | open, closed | open | `open` (default) searches current bids; `closed` searches the historical archive. |
| `sort_by` | one of | noticeTitle, region, publicationDate, closingDate | — | sort_by |
| `keywords` | text |  | — | Free-text keywords matched against the notice title and description. |
| `category_id` | number | 1 to … | — | NAICS-sector category id from `list_categories` (Construction 320204, Utilities 320179). |
| `location_id` | number | 1 to … | — | State / territory id from `list_locations` (Colorado 49, California 43, Alabama 19). |
| `publish_date` | one of | HOURS_24, WEEK_1 | — | Only solicitations published in the last 24 hours or the last week. |
| `content_group` | one of | member_agency, state_local, federal | — | Restrict to bids published by BidNet member agencies, aggregated state & local notices, or federal notices. |
| `sort_direction` | one of | ASC, DESC | — | Uppercase only; the site answers HTTP 400 to lowercase values. |

## Example

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "bidnetdirect-com/public-tenders/search_solicitations",
    "input": {
      "page": 1
    }
  }'
```

Try it in the Playground: https://spiral.ai/start?provider=alexandria&model=bidnetdirect-com%2Fpublic-tenders%2Fsearch_solicitations

## Common questions

### BidNet Direct · Search solicitations

**How much does BidNet Direct · Search solicitations cost?**

$0.00873 per call. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.

**How do I use BidNet Direct · Search solicitations through an API?**

Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "bidnetdirect-com/public-tenders/search_solicitations"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.

**Do I need an account with Alexandria to use BidNet Direct · Search solicitations?**

No. Spiral runs it on its own Alexandria account and charges your Spiral balance.

**Can my AI agent use BidNet Direct · Search solicitations?**

Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.

