fourzerotwo-si Us Spending API

US Federal Spending: US federal contracts, grants and loans from USAspending.gov: search awards by keyword, agency or recipient, read an award, profile a recipient.

Operations 3

GET /v1/us-spending/award US Federal Spending: Award #
GET /v1/us-spending/recipient US Federal Spending: Recipient profile #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/fourzerotwo-si:fourzerotwo-si-us-spending-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

fourzerotwo-si-us-spending-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Fourzerotwo Si Us Spending API
  version: 1.1.0
  contact:
    url: https://fourzerotwo.si
  description: 'Operations tagged us-spending across 2 of this provider''s published API definitions: openapi.json, fourzerotwo-si-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://fourzerotwo.si
tags:
- name: us-spending
  description: 'US Federal Spending: US federal contracts, grants and loans from USAspending.gov: search awards by keyword, agency or recipient, read an award, profile a recipient.'
paths:
  /v1/us-spending/search:
    get:
      operationId: us_spending__search
      summary: 'US Federal Spending: Search awards'
      description: 'Federal awards by keyword, recipient, awarding agency and date range, largest first. kind: contracts (default), idvs, grants or loans. Price: $0.003 USDC per call via x402. Free within the daily allowance with a free key.'
      tags:
      - us-spending
      externalDocs:
        url: https://fourzerotwo.si/apis/us-spending/search
      parameters:
      - name: q
        in: query
        required: false
        description: Keywords
        schema:
          type: string
          maxLength: 200
        example: cybersecurity
      - name: recipient
        in: query
        required: false
        description: Recipient name
        schema:
          type: string
          maxLength: 120
      - name: agency
        in: query
        required: false
        description: Awarding agency (top tier), e.g. Department of Defense
        schema:
          type: string
          maxLength: 120
      - name: kind
        in: query
        required: false
        description: contracts, idvs, grants or loans
        schema:
          type: string
          maxLength: 10
      - name: from
        in: query
        required: false
        description: Action date from, YYYY-MM-DD
        schema:
          type: string
          maxLength: 10
        example: '2026-01-01'
      - name: to
        in: query
        required: false
        description: Action date to, YYYY-MM-DD
        schema:
          type: string
          maxLength: 10
      - name: limit
        in: query
        required: false
        description: Max results (default 20, max 50)
        schema:
          type: integer
      - name: page
        in: query
        required: false
        description: Page
        schema:
          type: integer
      responses:
        '200':
          description: The data (paid, or free tier).
          content:
            application/json: {}
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '400':
          $ref: '#/components/responses/Error'
        '404':
          $ref: '#/components/responses/Error'
        '502':
          $ref: '#/components/responses/Error'
      security:
      - {}
      - freeKey: []
      x-price-usd: '0.003000'
      x-free-tier: free
      x-mcp-tool: us-spending__search
    servers:
    - url: https://fourzerotwo.si
  /v1/us-spending/award:
    get:
      operationId: us_spending__award
      summary: 'US Federal Spending: Award'
      description: 'One federal award in full: agency, recipient and parent, obligated/outlayed/potential value, dates, place of performance, NAICS and PSC. Price: $0.002 USDC per call via x402. Free within the daily allowance with a free key.'
      tags:
      - us-spending
      externalDocs:
        url: https://fourzerotwo.si/apis/us-spending/award
      parameters:
      - name: id
        in: query
        required: true
        description: Award id from search (generated_internal_id)
        schema:
          type: string
          maxLength: 120
        example: CONT_AWD_FA862118F6251_9700_FA862115D6276_9700
      responses:
        '200':
          description: The data (paid, or free tier).
          content:
            application/json: {}
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '400':
          $ref: '#/components/responses/Error'
        '404':
          $ref: '#/components/responses/Error'
        '502':
          $ref: '#/components/responses/Error'
      security:
      - {}
      - freeKey: []
      x-price-usd: '0.002000'
      x-free-tier: free
      x-mcp-tool: us-spending__award
    servers:
    - url: https://fourzerotwo.si
  /v1/us-spending/recipient:
    get:
      operationId: us_spending__recipient
      summary: 'US Federal Spending: Recipient profile'
      description: 'A federal recipient: name, UEI, parent, alternate names, business types, location and total amounts. Give id, or name to use the best match. Price: $0.02 USDC per call via x402. 3 free calls/day with a free key.'
      tags:
      - us-spending
      externalDocs:
        url: https://fourzerotwo.si/apis/us-spending/recipient
      parameters:
      - name: name
        in: query
        required: false
        description: Recipient name
        schema:
          type: string
          maxLength: 120
        example: Lockheed Martin
      - name: id
        in: query
        required: false
        description: Recipient id (from search)
        schema:
          type: string
          maxLength: 40
      responses:
        '200':
          description: The data (paid, or free tier).
          content:
            application/json: {}
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '400':
          $ref: '#/components/responses/Error'
        '404':
          $ref: '#/components/responses/Error'
        '502':
          $ref: '#/components/responses/Error'
      security:
      - {}
      - freeKey: []
      x-price-usd: '0.020000'
      x-free-tier: sample
      x-mcp-tool: us-spending__recipient
    servers:
    - url: https://fourzerotwo.si
components:
  responses:
    PaymentRequired:
      description: x402 payment required. The body (also base64 in the PAYMENT-REQUIRED header) lists accepted payments.
      headers:
        PAYMENT-REQUIRED:
          schema:
            type: string
          description: Base64 JSON x402 v2 PaymentRequired
      content:
        application/json:
          schema:
            type: object
            properties:
              x402Version:
                type: integer
              error:
                type: string
              accepts:
                type: array
                items:
                  type: object
    Error:
      description: 400 = invalid input, 404 = not found at the source, 502 = the source failed. Never charged.
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
              charged:
                type: boolean
  securitySchemes:
    freeKey:
      type: apiKey
      in: header
      name: X-API-Key
      description: Optional free key (fzt_…) for the free tier.
x-refined-from:
- openapi.json
- fourzerotwo-si-openapi.json