# PennBid (Bonfire) public procurement portal · List past opportunities

Search public records with PennBid (Bonfire) public procurement portal · List past opportunities from Alexandria through one Spiral API key. Look up closed PennBid solicitations by keyword, closing window or public-award flag, for example to find awarded projects of an agency; pass `project_id` to `get_opportunity` for the detail. 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` / `pennbid-bonfirehub-com/public-tenders/list_past_opportunities`
- Page: https://spiral.ai/tools/alexandria/pennbid-bonfirehub-com/public-tenders/list_past_opportunities

## 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 |
| --- | --- | --- | --- | --- |
| `q` | text |  | — | Case-insensitive substring matched against the project name and the reference (awarding agency / county) text. |
| `limit` | number | 1 to 200 | 50 | Page size applied locally (default 50). |
| `offset` | number | 0 to … | 0 | Zero-based position in the filtered, sorted list; pass `next_offset` from the previous page. |
| `awarded` | true or false |  | — | true keeps only projects with a public award (IsPublicAward), false only those without. |
| `closed_to` | text |  | — | Keep opportunities that closed at or before this UTC instant. A date alone means the end of that day (23:59:59Z). Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}(T[0-9]{2}:[0-9]{2}:[0-9]{2}Z)?$. |
| `status_id` | number | 0 to … | — | Keep only this Bonfire ProjectStatusID (3, 4 and 5 observed on past projects). |
| `closed_from` | text |  | — | Keep opportunities that closed at or after this UTC instant. A date alone means the start of that day (00:00:00Z). Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}(T[0-9]{2}:[0-9]{2}:[0-9]{2}Z)?$. |

## 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": "pennbid-bonfirehub-com/public-tenders/list_past_opportunities",
    "input": {
      "q": "<q>"
    }
  }'
```

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

## Common questions

### PennBid (Bonfire) public procurement portal · List past opportunities

**How much does PennBid (Bonfire) public procurement portal · List past opportunities 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 PennBid (Bonfire) public procurement portal · List past opportunities through an API?**

Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "pennbid-bonfirehub-com/public-tenders/list_past_opportunities"` 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 PennBid (Bonfire) public procurement portal · List past opportunities?**

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

**Can my AI agent use PennBid (Bonfire) public procurement portal · List past opportunities?**

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

