Economy Government Contracts API

Economy government contracts.

GET/v1/economy/government-contracts
1 credit per successful callCache window 15 minutesFull API reference ↗

Coverage is rolling out during preview. Test the endpoint you need before integrating. Unavailable operations return an explicit error and use no credits.

Try this endpoint

Enter the documented inputs, run a protected browser test, and inspect the JSON response.

GET/v1/economy/government-contracts

Provide one of: recipient, keyword, naics, psc

Optional parameters (8)

No API key needed for this protected browser test. Production calls require a server-side SocialQuery key.

Request preview
Copy this request into your server-side integration, or run a test to inspect the response.
curl -X GET 'https://socialquery.dev/v1/economy/government-contracts' \
  -H "x-api-key: $SOCIALQUERY_API_KEY"

Request contract

Parameters

Pass these fields as query parameters. Production requests also require your server-side API key.

Choose one: recipient or keyword or naics or psc

recipientOptional
Provide recipient in the format shown in the example.
Example: —
keywordOptional
The keyword or phrase to look up.
Example: —
naicsOptional
Provide naics in the format shown in the example.
Example: 4811
pscOptional
Provide psc in the format shown in the example.
Example: —
from_dateOptional
Provide from date in the format shown in the example.
Example: —
to_dateOptional
Provide to date in the format shown in the example.
Example: —
typeOptional
Provide type in the format shown in the example.
Example: purchase_order
sortOptional
Provide sort in the format shown in the example.
Example: amount
orderOptional
Provide order in the format shown in the example.
Example: asc
limitOptional
The requested result limit. Check the API reference for allowed values.
Example: 10
pageOptional
Provide page in the format shown in the example.
Example: 10
cursorOptional
The pagination cursor returned by the previous response, if supported.
Example: —

Build a reliable integration.

Keep your key server-side

Pass your SocialQuery key in the x-api-key header. Never expose credentials in a browser bundle.

Check the response

Read success before using data. Preserve request_id when logging errors or contacting support.

Account for coverage

Test the fields you need. Provider availability varies, and unavailable operations use no credits.

More Economy endpoints

View all →