Public API
All endpoints return JSON. No auth, no rate limits, CORS open. Data updates every 6 hours and is served from Cloudflare's edge cache.
Discovery
GET /api/v1/index.json — Index of every endpoint, with current dataset stats.
Contracts
GET /api/v1/contracts.json— All 679 contractsGET /api/v1/contracts/{id}.json— Single contract by award ID
Vendors
GET /api/v1/vendors.json— All vendors with totalsGET /api/v1/vendors/{slug}.json— Single vendor + all their contracts
Agencies
GET /api/v1/agencies.json— All agencies with totalsGET /api/v1/agencies/{slug}.json— Single agency + all their awards
Opportunities (open RFPs)
GET /api/v1/opportunities.json— Active solicitations from SAM.gov
Bulk download (snapshot)
GET /export/all.csv— Spreadsheet-ready CSVGET /export/all.json— JSON dump
Example
curl https://govai-contracts.nandanhegde1096.workers.dev/api/v1/vendors.json | jq '.vendors[0]' OpenAPI specification
GET /api/openapi.json — Machine-readable OpenAPI 3.1 spec. Drop into Postman, Insomnia, or any API client.
License & attribution
Data is in the public domain (CC0 1.0). Attribution appreciated but not required. Suggested credit: "Data via GovAI Contracts (https://govai-contracts.nandanhegde1096.workers.dev)".