[Integrations](https://spiral.ai/integrations) › [Codex](https://spiral.ai/integrations/codex) › [Texas SmartBuy solicitation search](https://spiral.ai/integrations/codex/texas-smartbuy-solicitation-search)

# How to Use Texas SmartBuy solicitation search in Codex

Finds procurement solicitations and advance notices with titles, agencies, deadlines, and posting status. Use it to discover opportunities before opening their full descriptions and attachments.

|  |  |
| --- | --- |
| Model | Texas SmartBuy solicitation search |
| Available through | Alexandria |
| Category | Lead Gen |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Texas SmartBuy solicitation search in Codex

- Use Texas SmartBuy solicitation search to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Texas SmartBuy solicitation search and tell me what changed since last week.
- Check Texas SmartBuy solicitation search and summarize what you find in three bullet points.
- Pull the newest data from Texas SmartBuy solicitation search and give me the result as a table.
- Check Texas SmartBuy solicitation search every morning and tell me only when something changed.

## How to set up Texas SmartBuy solicitation search in Codex

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Add the hosted server**

```bash
codex mcp add spiral --url https://api.spiral.ai/mcp
```

2. **Sign in**: Codex opens the browser: sign in to Spiral and click Authorize. No API key. `codex mcp list` then shows Spiral.

```bash
codex mcp login spiral
```

### Use the Spiral skill

1. **Send Codex this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Texas SmartBuy solicitation search**: One request; the result comes back by polling or a webhook.

```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
    }
  }'
```

Then paste one of the prompts above: Codex finds Texas SmartBuy solicitation search on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/codex

## Texas SmartBuy solicitation search tools and prices

- [Texas SmartBuy ESBD · Search solicitations](https://spiral.ai/tools/alexandria/txsmartbuy-gov/public-tenders/search_solicitations) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| page | 1 to 10000 | 1 | 1-based page; 24 rows per page (fixed by the site). Use next_page from the previous call. |
| status |  | — | 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 |  | — | 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 |  | — | 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 |  | — | Posting-date upper bound, YYYY-MM-DD (Texas local). Requires posted_from. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$. |
| notice_type | solicitation, presolicitation | solicitation | Which ESBD list to search: solicitations (default) or pre-solicitation notices. |

## What can you do with Texas SmartBuy solicitation search in Codex?

Build a Texas procurement or grant research report from ESBD records. A coding agent can organize buyer identities, commodity codes, notices, awards, and funding details in the project’s reporting workflow.

### Build a bid shortlist

Identify the buyer and commodity category, find relevant solicitations, review their scope, and compare related purchase-order awards before deciding which bids deserve attention.

### Prepare a public-buyer research brief

Resolve a Texas agency’s identity, organize its procurement notices by commodity code, and summarize recorded purchases alongside current requirements.

### Assess a new service category

Check which commodity codes match a proposed service, identify public buyers, and compare solicitation requirements with relevant award descriptions and vendors.

### Publish a procurement research bulletin

Organize notices and recorded awards by buyer and commodity category, then add scope summaries, deadlines, vendors, and links to supporting records.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Codex guides](https://spiral.ai/integrations/codex)

## Texas SmartBuy solicitation search in other agents

- [Amp](https://spiral.ai/integrations/amp/texas-smartbuy-solicitation-search)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/texas-smartbuy-solicitation-search)
- [Claude](https://spiral.ai/integrations/claude-desktop/texas-smartbuy-solicitation-search)
- [Claude Code](https://spiral.ai/integrations/claude-code/texas-smartbuy-solicitation-search)
- [Cline](https://spiral.ai/integrations/cline/texas-smartbuy-solicitation-search)
- [Cursor](https://spiral.ai/integrations/cursor/texas-smartbuy-solicitation-search)
- [Devin](https://spiral.ai/integrations/devin/texas-smartbuy-solicitation-search)
- [dots](https://spiral.ai/integrations/dots/texas-smartbuy-solicitation-search)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/texas-smartbuy-solicitation-search)
- [Gemini](https://spiral.ai/integrations/gemini/texas-smartbuy-solicitation-search)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/texas-smartbuy-solicitation-search)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/texas-smartbuy-solicitation-search)
- [goose](https://spiral.ai/integrations/goose/texas-smartbuy-solicitation-search)
- [Grok](https://spiral.ai/integrations/grok/texas-smartbuy-solicitation-search)
- [Grok Build](https://spiral.ai/integrations/grok-build/texas-smartbuy-solicitation-search)
- [Hermes](https://spiral.ai/integrations/hermes/texas-smartbuy-solicitation-search)
- [Instinct](https://spiral.ai/integrations/instinct/texas-smartbuy-solicitation-search)
- [Manus](https://spiral.ai/integrations/manus/texas-smartbuy-solicitation-search)
- [Muse](https://spiral.ai/integrations/muse/texas-smartbuy-solicitation-search)
- [Muse Code](https://spiral.ai/integrations/muse-code/texas-smartbuy-solicitation-search)
- [n8n](https://spiral.ai/integrations/n8n/texas-smartbuy-solicitation-search)
- [Notion](https://spiral.ai/integrations/notion/texas-smartbuy-solicitation-search)
- [OpenClaw](https://spiral.ai/integrations/openclaw/texas-smartbuy-solicitation-search)
- [opencode](https://spiral.ai/integrations/opencode/texas-smartbuy-solicitation-search)
- [Perplexity](https://spiral.ai/integrations/perplexity/texas-smartbuy-solicitation-search)
- [Raycast](https://spiral.ai/integrations/raycast/texas-smartbuy-solicitation-search)
- [VS Code](https://spiral.ai/integrations/vscode/texas-smartbuy-solicitation-search)
- [Windsurf](https://spiral.ai/integrations/windsurf/texas-smartbuy-solicitation-search)
- [Zapier](https://spiral.ai/integrations/zapier/texas-smartbuy-solicitation-search)

## More Codex guides

- [Texas SmartBuy solicitation details](https://spiral.ai/integrations/codex/texas-smartbuy-solicitation-details)
- [The Companies API company email patterns](https://spiral.ai/integrations/codex/the-companies-api-company-email-patterns)
- [Texas SmartBuy grant search](https://spiral.ai/integrations/codex/texas-smartbuy-grant-search)
- [The Companies API company profile from domain](https://spiral.ai/integrations/codex/the-companies-api-company-profile-from-domain)
- [Texas SmartBuy grant details](https://spiral.ai/integrations/codex/texas-smartbuy-grant-details)
- [The Companies API company profile from email](https://spiral.ai/integrations/codex/the-companies-api-company-profile-from-email)

## Questions about Texas SmartBuy solicitation search in Codex

**Can Codex use Texas SmartBuy solicitation search?**

Yes. Add Spiral to Codex as an MCP server, and Codex can find and run Texas SmartBuy solicitation search like any built-in tool.

**How much does Texas SmartBuy solicitation search cost in Codex?**

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

**Do I need an Alexandria account to use Texas SmartBuy solicitation search in Codex?**

No. Spiral runs Texas SmartBuy solicitation search on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Texas SmartBuy solicitation search in Codex?**

About two minutes: add the hosted server, then sign in.

**Does Codex wait while Texas SmartBuy solicitation search runs?**

Texas SmartBuy solicitation search runs in the background. Codex starts the run, checks on it and gives you the json when it's ready.

**What does the award search cover?**

It covers the ESBD section labeled Awards No Solicitations. An empty result there does not establish that an agency has never awarded a contract.

**How many solicitation results fit on a page?**

The documented solicitation search response uses pages of 24 results and includes pagination metadata. A single page should not be treated as the complete search.

**What timing information does ESBD show?**

Solicitation results show a response due date and time, a posting date, and a last-updated timestamp. These distinguish the submission deadline from when the notice was posted or changed.

**What can I learn from a grant’s details?**

Published grant details can include eligibility, funding amounts, and an agency contact. Use those details to assess the opportunity beyond its search listing.

**How are Texas procurement commodity codes structured?**

NIGP codes use three digits for the general class and two more for the item. The class identifies a broader category than the full class-item code.

