Spiral gives your agent every tool with one account. Browse the tools →

Muse Code · Lead Gen

How to Use USAspending subawards in Muse Code

USAspending subawards returns reported subrecipient names, subaward numbers, amounts, dates, and descriptions for a prime award. Use it to identify organizations doing portions of the funded work.

Prompts to try with USAspending subawards in Muse Code

Copy an example into Muse Code, or ask in your own words.

Use USAspending subawards for DHS award 70RSAT25FR0000014 and create a project table containing reported subrecipient names, amounts, dates, and descriptions.

USAspending subawardsMuse Code
Try asking
  • Use USAspending subawards to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from USAspending subawards and tell me what changed since last week.

  • Check USAspending subawards and summarize what you find in three bullet points.

  • Pull the newest data from USAspending subawards and give me the result as a table.

How to set up USAspending subawards in Muse Code

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

Use Spiral's MCP server

  1. Install Muse Code
    curl -fsSL https://dev.meta.ai/install.sh | bash
  2. Ask Muse to add the server

    Start muse and ask:

    Add the Spiral MCP server at https://api.spiral.ai/mcp
  3. Sign in

    In your terminal, run:

    muse mcp login spiral

Use the Spiral skill

  1. Send Muse Code 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.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run USAspending subawards

    One request; the result comes back by polling or a webhook.

    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/subawards",
        "input": {
          "award_id": "<award_id>"
        }
      }'

Then paste one of the prompts above: Muse Code finds USAspending subawards on Spiral, shows the price and runs it.

USAspending subawards providers and prices

Spiral runs USAspending subawards through Alexandria. Open a card for today's price, with every fee included.

AlexandriaLead Gen
USAspending · Subawards
usaspending-gov/awards/subawards

Settings you can ask for

Ask Muse Code for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Page size1 to 10020

page_size

Every API field of USAspending · Subawards is on its tool page: open its card above.

What can you do with USAspending subawards in Muse Code?

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.

Find reported subcontracting relationships

Find prime awards in a target industry, check their descriptions, and list the organizations named in reported subawards. Use the result to research potential business partners.

Build a public project reference list

Search for completed work in a public agency’s market, inspect award descriptions, and identify reported subrecipients. Create a reference list of organizations and the projects associated with them.

Questions about USAspending subawards in Muse Code

Can Muse Code use USAspending subawards?

Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run USAspending subawards like any built-in tool.

How much does USAspending subawards cost in Muse Code?

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

Do I need an Alexandria account to use USAspending subawards in Muse Code?

No. Spiral runs USAspending subawards 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 subawards in Muse Code?

About two minutes: install Muse Code, then ask Muse to add the server, then sign in.

Does Muse Code wait while USAspending subawards runs?

USAspending subawards runs in the background. Muse Code 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.

Get started

Start using USAspending subawards in Muse Code

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Muse Code:

Set up Muse Code

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options