[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [Tenders WA contract details](https://spiral.ai/integrations/opencode/tenders-wa-contract-details)

# How to Use Tenders WA contract details in opencode

Returns one published contract record, including contractors, value, dates and its associated tender. Use it to examine an award after finding it in contract results.

|  |  |
| --- | --- |
| Model | Tenders WA contract details |
| Available through | Alexandria |
| Category | Public Records |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Tenders WA contract details in opencode

- Use Tenders WA contract details for contract 142413 and add a contract summary view showing the contractor, contract dates and associated tender.
- Use Tenders WA contract details to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Tenders WA contract details and tell me what changed since last week.
- Check Tenders WA contract details and summarize what you find in three bullet points.
- Pull the newest data from Tenders WA contract details and give me the result as a table.

## How to set up Tenders WA contract details in opencode

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

### Use Spiral's MCP server

1. **Add the server**: Leave out `--global` to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

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

2. **Sign in**: Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, `/mcps` starts the same sign-in.

```bash
opencode mcp auth spiral
```

3. **Check it**: Spiral shows as connected.

```bash
opencode mcp list
```

### Use the Spiral skill

1. **Send opencode 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 Tenders WA contract details**: 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": "tenders-wa-gov-au/public-procurement-tenders-contracts/get_contract",
    "input": {
      "contract_id": "<contract_id>"
    }
  }'
```

Then paste one of the prompts above: opencode finds Tenders WA contract details on Spiral, shows the price and runs it.

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

## Tenders WA contract details tools and prices

- [Tenders WA (tenders.wa.gov.au) · Get contract](https://spiral.ai/tools/alexandria/tenders-wa-gov-au/public-procurement-tenders-contracts/get_contract) (Alexandria): $0.00873 per call.

## What can you do with Tenders WA contract details in opencode?

Build a procurement review table with WA tender notices, award records or agency and region labels. Use returned records to populate the project with real procurement data and preserve source references for review.

### Study cleaning contract awards

Review recent awards, identify the government buyers and search for cleaning contracts. Inspect selected award records to compare contractors, contract periods and published values.

### Research regional road maintenance awards

Screen recent contracts for road work, resolve the regions of interest and search for comparable awards. Read the contract records to understand which businesses won the work and the published contract periods.

### Compare equipment purchasing precedents

Review recent equipment awards, identify purchasing agencies and search for similar contracts. Inspect the selected records and associated tender references to compare procurement scope and suppliers.

### Build a contract expiry research calendar

Review recent awards and search for contracts relevant to your service area, using the agency and region directory to define coverage. Read individual expiry dates to plan future research without assuming that expiry guarantees a new tender.

## Overview

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

## Tenders WA contract details in other agents

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

## More opencode guides

- [Tenders WA agency and region directory](https://spiral.ai/integrations/opencode/tenders-wa-agency-and-region-directory)
- [Tenders WA contract search](https://spiral.ai/integrations/opencode/tenders-wa-contract-search)
- [Tax Court of Canada judgment text](https://spiral.ai/integrations/opencode/tax-court-of-canada-judgment-text)
- [Tenders WA recent contract awards](https://spiral.ai/integrations/opencode/tenders-wa-recent-contract-awards)
- [Tax Court of Canada judgment search](https://spiral.ai/integrations/opencode/tax-court-of-canada-judgment-search)
- [Tenders WA tender details](https://spiral.ai/integrations/opencode/tenders-wa-tender-details)

## Questions about Tenders WA contract details in opencode

**Can opencode use Tenders WA contract details?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Tenders WA contract details like any built-in tool.

**How much does Tenders WA contract details cost in opencode?**

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

**Do I need an Alexandria account to use Tenders WA contract details in opencode?**

No. Spiral runs Tenders WA contract details on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Tenders WA contract details in opencode?**

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

**Does opencode wait while Tenders WA contract details runs?**

Tenders WA contract details runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

**Does Tenders WA cover every WA government opportunity?**

No. The WA government explicitly notes that some agencies tender on their own platforms, so Tenders WA results do not represent the entire government procurement market.

**How quickly do contract awards become public?**

For award details required under rule D8.1, agencies must publish as soon as practicable and within 30 days after award. An award search can therefore lag the purchasing decision.

**Can tender information change after publication?**

Yes. The Department of Housing and Works publishes corrections, clarifications and amendments as addenda to the original request on Tenders WA.

**Are all contract award details public?**

No. Rule D8.2 permits withholding award details when an authorized officer documents that releasing them would create significant operational risk.

**Which time zone does Tenders WA use?**

Its application terms say the web servers use Perth local time. Interpret source timestamps in that context when comparing notices or planning deadline reviews.

