Fed-Spend Contracts API

Contract-specific endpoints

GitHub OpenAPI

Operations 1

GET /contracts/{id} Get Contract Details #

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/fed-spend-com:fed-spend-com-contracts-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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

fed-spend-com-contracts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Fed-Spend Intelligence Contracts API
  description: 'Federal Spending Intelligence API for searching contracts, awards, and opportunities from USASpending and SAM.gov data sources.


    ## Authentication

    All API endpoints require an API key passed via the `x-api-key` header.


    ## Rate Limits

    - Free: 100 requests/day

    - Researcher: 1,000 requests/day

    - Professional: 10,000 requests/day

    - Enterprise: Unlimited


    ## Response Format

    All responses follow a consistent format:

    ```json

    {

    "success": true,

    "data": { ... },

    "meta": {

    "requestId": "uuid",

    "timestamp": "ISO-8601"

    }

    }

    ```'
  version: 1.0.0
  contact:
    name: Fed-Spend Support
    email: support@fed-spend.com
    url: https://fed-spend.com
  license:
    name: Proprietary
    url: https://fed-spend.com/terms
servers:
- url: https://fed-spend.com/api/v1
  description: Production API
- url: http://localhost:3000/api/v1
  description: Local Development
security:
- ApiKeyAuth: []
tags:
- name: Contracts
  description: Contract-specific endpoints
paths:
  /contracts/{id}:
    get:
      tags:
      - Contracts
      summary: Get Contract Details
      description: Retrieve detailed information about a specific contract by ID.
      operationId: getContract
      parameters:
      - name: id
        in: path
        required: true
        description: Contract ID (PIID or Award ID)
        schema:
          type: string
      - name: includeModifications
        in: query
        description: Include modification history
        schema:
          type: boolean
          default: false
      responses:
        '200':
          description: Contract details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContractResponse'
        '404':
          description: Contract not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    ErrorResponse:
      type: object
      description: Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.
      x-ae-placeholder: true
    ContractResponse:
      type: object
      description: Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.
      x-ae-placeholder: true