Economy data (EU and US) Government Contracts API reference
Your first 10 calls are free, no card needed. Pricing and FAQ
Get a free API keycurl "https://api.insightsocial.app/v1/economy/government-contracts" \ -H "x-api-key: $INSIGHTSOCIAL_API_KEY"
Search US federal contract awards by recipient, keyword, NAICS, PSC and state: amount, agency, dates, codes and places, up to 100 a page with a cursor.
Beta. The source's own structure under our naming rules (snake_case keys, string ids, ISO times where the source gives a timestamp), not one of the schema-2 entities. Fields may change. See Beta endpoints.
20 credits per call.
Paginates by cursor: see Pagination.
Authorization
apiKey Your key from the dashboard. It starts with isk_.
In: header
Query Parameters
Company or organisation name, matched as text against the recipient's legal name, e.g. Lockheed Martin. Contracts are filed under legal names: Space Exploration Technologies finds SpaceX, SpaceX does not.
Text matched against award descriptions, e.g. cybersecurity. 3 to 120 characters.
NAICS industry codes, comma-separated, up to 20. Each has 2, 4 or 6 digits; a shorter code covers its whole family, e.g. 4811 (scheduled air transport) or 54.
Federal product and service codes (PSC), comma-separated, up to 20. 1 to 4 characters; a shorter code covers its family, e.g. D3 (IT services) or R425.
Only contracts performed in this state, as a two-letter USPS code, e.g. VA.
Value in
- "AL"
- "AK"
- "AZ"
- "AR"
- "CA"
- "CO"
- "CT"
- "DE"
- "DC"
- "FL"
- "GA"
- "HI"
- "ID"
- "IL"
- "IN"
- "IA"
- "KS"
- "KY"
- "LA"
- "ME"
- "MD"
- "MA"
- "MI"
- "MN"
- "MS"
- "MO"
- "MT"
- "NE"
- "NV"
- "NH"
- "NJ"
- "NM"
- "NY"
- "NC"
- "ND"
- "OH"
- "OK"
- "OR"
- "PA"
- "RI"
- "SC"
- "SD"
- "TN"
- "TX"
- "UT"
- "VT"
- "VA"
- "WA"
- "WV"
- "WI"
- "WY"
- "AS"
- "GU"
- "MP"
- "PR"
- "VI"
all (default), definitive_contract, purchase_order, delivery_order or bpa_call.
Value in
- "all"
- "bpa_call"
- "purchase_order"
- "delivery_order"
- "definitive_contract"
Start of the window, YYYY-MM-DD, not before 2007-10-01. A contract matches when it had activity in the window. Without from and to: the latest US federal fiscal year (1 October to 30 September) that ended at least 90 days ago. With only from: to today.
End of the window, YYYY-MM-DD. With only to: the year up to that day.
amount (default), start_date, end_date or recipient.
Value in
- "amount"
- "start_date"
- "end_date"
- "recipient"
desc (default) or asc.
Value in
- "desc"
- "asc"
Contracts per page, 1 to 100. Default 25.
1 <= value <= 100Pass pagination.next_cursor from the previous response to get the next page. Keep the other parameters the same.
Set to 1 to get the price of this call without making it: data.dry_run carries credits_min and credits_max. Nothing is charged.
Value in
- "1"
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://api.insightsocial.app/v1/economy/government-contracts"{ "success": true, "platform": "string", "endpoint": "string", "schema_version": "2", "pagination": { "next_cursor": "string", "has_more": true, "page_size": 0, "stopped_at": "since" }, "unavailable": [ "string" ], "credits_used": 0, "credits_remaining": 0, "request_id": "string", "cached": true, "idempotent_replay": true, "charge_reason": "string", "free_call": true, "data": { "property1": null, "property2": null }}Consumer Spend GET
Get household spending for up to 10 European countries by category (food, housing, transport and more) and year, in euro, per person or as a share, with the publisher's credit line.
Government Spend GET
Get US federal spending summed by state, county or country for a date window, filtered by award type, industry (NAICS), product or service (PSC) and keyword.