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

Grok Build · Lead Gen

How to Use USAspending recipient profile in Grok Build

Get a federal award recipient's names, identifiers, parent organizations, business types, location, and transaction totals from USAspending. Use it to research one organization and compare its federal funding across fiscal years.

Prompts to try with USAspending recipient profile in Grok Build

Copy an example into Grok Build, or ask in your own words.

Use USAspending recipient profile for Lockheed Martin Corporation, UEI G4KDGE4JFFK7, for fiscal year 2025. Add its returned identity, parent organizations, location, and transaction totals to the supplier detail component in this project.

USAspending recipient profileGrok Build
Try asking
  • Use USAspending recipient profile for UEI G4KDGE4JFFK7 for fiscal years 2023, 2024, and 2025. Build a table in this project showing annual transaction totals and percentage changes.

  • Use USAspending recipient profile for Lockheed Martin Corporation, UEI G4KDGE4JFFK7. Add the returned alternate names and parent identifiers to our organization matching report.

  • Use USAspending recipient profile for UEI G4KDGE4JFFK7 for fiscal year 2025. Populate a supplier summary with business types, recipient level, transaction count, and transaction amount.

  • Use USAspending recipient profile for UEI G4KDGE4JFFK7 for the latest 12 months. Create a JSON fixture from the response for our supplier profile preview.

How to set up USAspending recipient profile in Grok Build

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

Use Spiral's MCP server

  1. Add the server

    Add --scope project to add Spiral to the current repository only. No header and no client ID or secret: Grok registers itself with Spiral.

    grok mcp add --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start grok and run /mcps. Select Spiral and press i. Your browser opens: sign in to Spiral, pick the organization and click Authorize. No API key.

  3. Check it
    grok mcp doctor spiral

Use the Spiral skill

  1. Send Grok Build 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 recipient profile

    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/recipients/recipient",
        "input": {
          "recipient_id": "<recipient_id>"
        }
      }'

Then paste one of the prompts above: Grok Build finds USAspending recipient profile on Spiral, shows the price and runs it.

USAspending recipient profile providers and prices

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

AlexandriaLead Gen
USAspending · Recipient
usaspending-gov/recipients/recipient

Settings you can ask for

Ask Grok Build for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Fiscal year2008 to 2035

Period for the headline totals; omitted = latest trailing 12 months.

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

What can you do with USAspending recipient profile in Grok Build?

Add federal funding summaries to an existing supplier dashboard using USAspending recipient identities and transaction totals. A coding agent can connect those results to project records and build comparisons that preserve recipient level and fiscal year.

Prepare a federal supplier brief

Summarize an organization's reported identity, parent organizations, business types, location, and federal transaction totals before a supplier review.

Compare annual federal funding

Compare a recipient's totals across completed fiscal years and calculate the annual changes.

Enrich business account records

Match an existing business account by UEI and add its USAspending identity, location, parent organizations, and transaction totals.

Check organizational relationships

Review returned parent identifiers and recipient levels before combining company records in a federal supplier analysis.

Monitor reported funding changes

Compare repeated profiles for the same recipient and fiscal year to identify changes in published transaction amounts or counts.

Build a supplier comparison

Compare known suppliers using the same fiscal year and recipient level, with transaction totals, counts, and reported business types side by side.

Questions about USAspending recipient profile in Grok Build

Can Grok Build use USAspending recipient profile?

Yes. Add Spiral to Grok Build as an MCP server, and Grok Build can find and run USAspending recipient profile like any built-in tool.

How much does USAspending recipient profile cost in Grok Build?

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

Do I need an Alexandria account to use USAspending recipient profile in Grok Build?

No. Spiral runs USAspending recipient profile 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 recipient profile in Grok Build?

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

Does Grok Build wait while USAspending recipient profile runs?

USAspending recipient profile runs in the background. Grok Build starts the run, checks on it and gives you the json when it's ready.

Does a recipient profile return individual awards?

It returns one recipient overview with aggregate transaction amounts and counts, plus identity, parent, business type, and location details. It does not return an itemized award list.

What period do recipient totals cover?

USAspending supports totals for a specified fiscal year or the latest 12 months. Compare the same period across organizations before ranking their federal funding.

Why can the same company have different recipient totals?

USAspending distinguishes parent recipients, child recipients, and recipients that are neither. Check the returned level before comparing records with the same company name.

How often does USAspending update?

The data update daily after the nightly pipeline runs. Each source system has its own reporting schedule, so an update can arrive after the underlying award activity.

Why might recent defense contracting activity be missing?

Department of Defense and U.S. Army Corps of Engineers procurement data have a 90-day publication delay in FPDS. That delay also affects their availability on USAspending.

Get started

Start using USAspending recipient profile in Grok Build

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

Paste this into Grok Build:

Set up Grok Build

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