Economy data (EU and US) Government Spend 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-spend" \ -H "x-api-key: $INSIGHTSOCIAL_API_KEY"
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.
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.
Authorization
apiKey Your key from the dashboard. It starts with isk_.
In: header
Query Parameters
What to sum by: state (default), county or country (spending abroad included).
Value in
- "state"
- "county"
- "country"
place_of_performance (default, where the work is done) or recipient_location (where the recipient is based).
Value in
- "place_of_performance"
- "recipient_location"
Only this state, as a two-letter USPS code, e.g. CA. With level=county, its counties.
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"
contracts (default), grants, loans, direct_payments, other or all.
Value in
- "contracts"
- "grants"
- "loans"
- "direct_payments"
- "other"
- "all"
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.
Text matched against award descriptions, e.g. cybersecurity. 3 to 120 characters.
Start of the window, YYYY-MM-DD, not before 2007-10-01. 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.
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-spend"{ "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 }}Government Contracts GET
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.
Imports GET
Get a US importer's sea shipments by company name: its suppliers, products by HS code, monthly volumes, ports, carriers and latest bills of lading.