Skip to content

Welcome to Tango API Documentation

The Tango API provides comprehensive access to federal procurement and assistance data, including contracts, grants, entities, and opportunities. This documentation will help you integrate with our API quickly and effectively.

What is Tango?

Tango is an integrated platform that consolidates federal procurement and assistance data from multiple sources (FPDS, USAspending, SAM) into a unified system. Our API provides:

  • Contract Data: Federal contract awards, modifications, and transactions
  • Financial Assistance Data: Grant, loan, direct-payment and other assistance awards and their transactions (USAspending), plus grant opportunities (Grants.gov)
  • Entity Information: Vendor and recipient details with business classifications
  • Opportunity Data: Contract opportunities and solicitation notices (SAM.gov)
  • Agency Data: Government department, agency, and office information
  • Award Announcements: The Department of War's daily contracts release and MakeGov-generated announcements of new civilian IDVs and OTAs
  • Procurement Forecasts: Upcoming procurement opportunities across many agencies
  • State and Local Opportunities: Solicitations and forecasts from state, local, and education buyers
  • Webhooks: Near-real-time notifications when new data is available (awards, opportunities, entities, grants, forecasts)

Choose a starting point

Start with the path that matches what you are building:

  • Calling the HTTP API directly: Follow the Quick Start Guide to create a key and make a working request in cURL, Python, or JavaScript.
  • Building in Python: Install tango-python and open the Python SDK guide.
  • Building in Node or TypeScript: Install @makegov/tango-node and open the Node SDK guide.
  • Connecting an AI assistant: Use the hosted MCP server through Claude, ChatGPT, Cursor, or another MCP client.
  • Reacting to new or changed records: Start with the Webhooks guide, then choose a recipe.

If you are not sure, use the Quick Start Guide first; it teaches the request and response model that the SDKs and webhooks build on.

Install an SDK

Python:

pip install tango-python

Node or TypeScript:

npm install @makegov/tango-node

Swagger documentation

See the full documentation for the endpoints.

OpenAPI spec (JSON)

Full endpoint definitions, parameters, and response models in one fetch — for tools, scripts, and AI consumers.

API Reference

Filtering, ordering, and pagination by endpoint (curated reference; Swagger remains canonical for full surface area).

Data Dictionary

Field definitions for API resources.

Rate limits

Learn how to read rate limit headers, handle 429s, and retry responsibly.

Machine-readable: For AI and scripts, use the OpenAPI spec (JSON), the single-page HTML reference, or the combined markdown (all docs in one file).

Key Features

🔐 Flexible Authentication

  • API Keys: Simple server-to-server integration
  • OAuth2: For web applications and user tokens

📊 Rich Data Model

  • Comprehensive Coverage: Contracts, grants, entities, opportunities
  • Historical Data: Years of federal spending data
  • Real-time Updates: Frequent data refreshes + optional webhooks for near-real-time notifications

⚡ High Performance

  • Smart Filtering: Efficient query optimization
  • Pagination: Handle large result sets
  • Caching: Fast response times
  • Rate Limiting: Fair usage policies
  • Full-text Search: Search across titles and descriptions
  • Complex Filtering: OR/AND patterns for precise queries
  • Geographic Search: Location-based filtering
  • Date Ranges: Flexible temporal queries

🎯 Response Shaping

  • Custom Field Selection: Request only the data you need to reduce payload size
  • Nested Expansions: Include related objects (recipients, offices, transactions) in a single request
  • Flattening Support: Convert nested JSON to flat structures for easier consumption
  • Flexible Aliasing: Rename fields to match your application's naming conventions

Learn more in the Response Shaping Guide. For field definitions, see the Data Dictionary.

🔔 Webhooks

Subscribe to event notifications when new data is available (awards, opportunities, entities, grants, forecasts).

Learn more in the Webhooks Partner Guide.

MCP (AI agents)

Tango is available as a one-click install in both major assistant directories — the Tango connector for Claude, and the Tango app for ChatGPT. Sign in with your Tango account; no API key to configure. Cursor and any other MCP-compatible client can connect to the same hosted server directly.

The Tango MCP server exposes tools to discover, search, and get details on contracts, opportunities, entities, and more.

Learn more in the MCP (AI agents) guide.

Data Sources

Tango integrates data from authoritative federal sources:

  • FPDS (Federal Procurement Data System) - Contract awards and modifications
  • USAspending - Financial assistance and sub-award data
  • SAM.gov - Entity registrations and contract opportunities
  • Grants.gov - Federal grant opportunities
  • Agency Systems - Direct agency data feeds including the Federal Hierarchy

Provenance

Learn more about our data sources and how we use them in Provenance.

Changelog

See what's new and what's changed in each release in the Changelog.