[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [USAspending contract vehicle awards](https://spiral.ai/integrations/opencode/usaspending-contract-vehicle-awards)

# How to Use USAspending contract vehicle awards in opencode

USAspending contract vehicle awards returns orders or related vehicles under an indefinite delivery vehicle, including obligations and performance dates. Use it to examine awards issued under a particular purchasing vehicle.

|  |  |
| --- | --- |
| Model | USAspending contract vehicle awards |
| 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 USAspending contract vehicle awards in opencode

- Use USAspending contract vehicle awards for CONT_IDV_GS23F0170L_4730 and build a project view comparing the returned orders by description, obligated amount, and performance dates.
- Use USAspending contract vehicle awards to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from USAspending contract vehicle awards and tell me what changed since last week.
- Check USAspending contract vehicle awards and summarize what you find in three bullet points.
- Pull the newest data from USAspending contract vehicle awards and give me the result as a table.

## How to set up USAspending contract vehicle awards 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 USAspending contract vehicle awards**: 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": "usaspending-gov/awards/idv_children",
    "input": {
      "award_id": "<award_id>"
    }
  }'
```

Then paste one of the prompts above: opencode finds USAspending contract vehicle awards on Spiral, shows the price and runs it.

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

## USAspending contract vehicle awards tools and prices

- [USAspending · Idv children](https://spiral.ai/tools/alexandria/usaspending-gov/awards/idv_children) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| cursor |  | — | cursor |
| page_size | 1 to 100 | 20 | page_size |
| relationship | child_awards, child_idvs, grandchild_awards | child_awards | relationship |

## What can you do with USAspending contract vehicle awards in opencode?

Build a federal award research view that compares reported descriptions, amounts, and dates. A coding agent can turn USAspending records into project data tables and link related records by award identifier.

### Research an incumbent contractor

Find a public contractor’s awards, inspect the work descriptions and dates, examine orders under its contract vehicles, and review modifications and reported subcontractors before preparing a bid strategy.

### Compare purchasing vehicle activity

Locate relevant contract vehicles, inspect their records, and compare the orders issued under them. Review order histories and reported subawards to understand the work and organizations involved.

### Prepare an agency procurement briefing

Find an agency’s awards in a specific market, summarize award details, and examine vehicle orders, modifications, and reported subrecipients. Produce a briefing organized around purchased services and public organizations.

### Document a federal procurement story

Search for contracts tied to a public project, check their award records, trace associated vehicle orders, and assemble transaction and subaward evidence for reporting.

### Review contract performance dates

Find contracts and vehicle orders with relevant performance periods, inspect their award records, and review recorded modifications before building a procurement planning calendar.

## Overview

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

## USAspending contract vehicle awards in other agents

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

## More opencode guides

- [USAspending award transactions](https://spiral.ai/integrations/opencode/usaspending-award-transactions)
- [USAspending recipient profile](https://spiral.ai/integrations/opencode/usaspending-recipient-profile)
- [USAspending award search](https://spiral.ai/integrations/opencode/usaspending-award-search)
- [USAspending subawards](https://spiral.ai/integrations/opencode/usaspending-subawards)
- [USAspending award details](https://spiral.ai/integrations/opencode/usaspending-award-details)
- [USPTO patent and trademark assignments](https://spiral.ai/integrations/opencode/uspto-patent-and-trademark-assignments)

## Questions about USAspending contract vehicle awards in opencode

**Can opencode use USAspending contract vehicle awards?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run USAspending contract vehicle awards like any built-in tool.

**How much does USAspending contract vehicle awards 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 USAspending contract vehicle awards in opencode?**

No. Spiral runs USAspending contract vehicle awards on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up USAspending contract vehicle awards in opencode?**

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

**Does opencode wait while USAspending contract vehicle awards runs?**

USAspending contract vehicle awards runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

**How far back can I search USAspending awards?**

Search date ranges begin October 1, 2007, the start of fiscal year 2008. USAspending provides older data back to fiscal year 2001 through its download routes.

**How often does USAspending update?**

Published data refresh daily after nightly processing. That schedule does not eliminate source reporting delays.

**Why might recent defense awards be missing?**

Department of Defense and U.S. Army Corps of Engineers procurement data have a 90-day publication delay in FPDS.

**Does USAspending publish personal or sensitive information?**

USAspending excludes personally identifiable information and information that could compromise national security. Those exclusions limit what public award records can show.

**What does an award search result represent?**

The award search returns filtered award records with identifiers, recipients, agencies, descriptions, amounts, and dates. Individual modifications are available through the award transaction history.

