# Texas SmartBuy ESBD · Search solicitations

Find companies, people and contact details with Texas SmartBuy ESBD · Search solicitations from Alexandria through one Spiral API key. Finding Texas state procurement opportunities and their public ids before calling get_solicitation. Pass notice_type 'presolicitation' for advance notices. It runs in the background and returns structured JSON. Pay as you go, with no subscription.

- Provider: Alexandria
- Category: Lead Gen
- Runs: In the background
- Returns: json
- Tool id: `alexandria` / `txsmartbuy-gov/public-tenders/search_solicitations`
- Page: https://spiral.ai/tools/alexandria/txsmartbuy-gov/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 10000 | 1 | 1-based page; 24 rows per page (fixed by the site). Use next_page from the previous call. |
| `status` | text |  | — | Site status code: 1 Posted, 2 Awarded, 3 Posting Cancelled, 5 Closed, 6 Addendum Posted, 10 Expired (pre-solicitations), 11 No Award. Pattern: ^[0-9]{1,2}$. |
| `keyword` | text |  | — | Free-text keyword. Bare keyword searches over the whole ESBD can take a minute upstream; combine with status, agency_number or dates when possible. |
| `nigp_code` | text |  | — | NIGP class (3 digits) or class-item (5 digits) code, e.g. 925 or 92500 (see list_nigp_codes). Pattern: ^[0-9]{3}([0-9]{2})?$. |
| `posted_to` | text |  | — | Posting-date upper bound, YYYY-MM-DD (Texas local). Requires posted_from. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$. |
| `notice_type` | one of | solicitation, presolicitation | solicitation | Which ESBD list to search: solicitations (default) or pre-solicitation notices. |
| `posted_from` | text |  | — | Posting-date lower bound, YYYY-MM-DD (Texas local). Requires posted_to. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$. |
| `agency_number` | text |  | — | Texas agency / SmartBuy member number, e.g. 529 (see list_agencies; the suffix of agency_name). Pattern: ^[A-Za-z0-9]+$. |
| `solicitation_id` | text |  | — | Exact public solicitation id, e.g. HHS0017399v3. |
| `include_presolicitations` | true or false |  | — | Solicitation list only: also include pre-solicitation notices (the site's includePreSolicitation flag). |

## 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": "txsmartbuy-gov/public-tenders/search_solicitations",
    "input": {
      "page": 1
    }
  }'
```

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

## Common questions

### Texas SmartBuy ESBD · Search solicitations

**How much does Texas SmartBuy ESBD · 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 Texas SmartBuy ESBD · Search solicitations through an API?**

Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "txsmartbuy-gov/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 Texas SmartBuy ESBD · Search solicitations?**

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

**Can my AI agent use Texas SmartBuy ESBD · Search solicitations?**

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

