# USAspending award search

Search US federal awards (contracts, IDVs, grants, direct payments) by keywords, recipient names, NAICS codes and action dates, largest first. Takes award type, keywords, recipients and more, all optional. Served by USAspending.gov.

Search US federal awards (contracts, IDVs, grants, direct payments) by keywords, recipient names, NAICS codes and action dates, largest first. Returns award ID, recipient, amount, agency, dates, description, plus generated_internal_id (for usaspending/award-detail) and recipient_id.

- Tool ID: `usaspending/award-search`
- Provider: [USAspending.gov](/providers/usaspending.md)
- Capability: [B2B data](/tools/b2b-data.md)
- Price: no charge per call
- Authentication: an authorised Agentik workspace is required for execution, including zero-price tools.

## Pricing contract

No charge per call. A workspace is still needed so your agent can call it.


```json
{
  "model": "per_call",
  "amountUsd": 0
}
```

## Complete input schema


```json
{
  "type": "object",
  "properties": {
    "award_type": {
      "type": "string",
      "enum": [
        "contracts",
        "idvs",
        "grants",
        "direct_payments",
        "other"
      ],
      "description": "Award family: contracts, idvs (indefinite delivery vehicles), grants, direct_payments or other (insurance and other assistance). Example: 'contracts'",
      "default": "contracts"
    },
    "keywords": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 3,
        "maxLength": 100
      },
      "minItems": 1,
      "maxItems": 5,
      "description": "Keywords matched in award text, e.g. ['cybersecurity']"
    },
    "recipients": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 2,
        "maxLength": 100
      },
      "minItems": 1,
      "maxItems": 5,
      "description": "Recipient names, UEIs or DUNS, e.g. ['Palantir']"
    },
    "naics_codes": {
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^[0-9]{2,6}$"
      },
      "minItems": 1,
      "maxItems": 10,
      "description": "NAICS codes (2-6 digits), e.g. ['541512']"
    },
    "start_date": {
      "type": "string",
      "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      "default": "2007-10-01",
      "description": "Action date from (YYYY-MM-DD, not before 2007-10-01), e.g. '2024-01-01'"
    },
    "end_date": {
      "type": "string",
      "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      "default": "2099-12-31",
      "description": "Action date to (YYYY-MM-DD), e.g. '2024-12-31'"
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 50,
      "default": 10,
      "description": "Results per page (1-50), e.g. 10"
    },
    "page": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100,
      "default": 1,
      "description": "Page number, e.g. 1"
    }
  },
  "additionalProperties": false
}
```

## Published example

This is the provider tool’s published example. Replace example values with the user’s requested inputs, respecting the schema; do not execute an example merely to test a connection.


```json
{
  "tool_id": "usaspending/award-search",
  "input": {
    "award_type": "contracts",
    "keywords": [
      "cybersecurity"
    ],
    "start_date": "2024-01-01",
    "end_date": "2024-12-31",
    "limit": 3
  }
}
```

## Execute and retrieve

Inspect again before execution, explain the price and obtain the required authority. Use MCP run_tool or POST /v1/run with this tool ID, valid input and an idempotency key. Save the returned run ID and follow the actual state. If Agentik answers that the tool is temporarily unavailable, do not retry it blindly; use discovery to propose an alternative.

A partial or uncertain result can still have consumed provider resources. Consult [billing](/docs/billing.md), [idempotency](/docs/idempotency.md) and [asynchronous results](/docs/async.md).

Licence: Public domain (U.S. Government work).

Attribution: Data from USAspending.gov (U.S. Department of the Treasury, Bureau of the Fiscal Service).

[Provider documentation](https://api.usaspending.gov/docs/endpoints)

[REST inspection](https://api.agentik.cc/v1/tools/usaspending/award-search) · [OpenAPI](/openapi.json) · [Connection guide](/connect.md)

---

[HTML page](/providers/usaspending/award-search) · [Agent index](/llms.txt)
