Economy Government Spend API
Economy government spend.
GET
/v1/economy/government-spendCoverage 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.
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-spend?naics=4811' \
-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.
naicsOptional- Provide naics in the format shown in the example.Example: 4811
pscOptional- Provide psc in the format shown in the example.Example: —
keywordOptional- The keyword or phrase to look up.Example: —
from_dateOptional- Provide from date in the format shown in the example.Example: 2024-10-01
to_dateOptional- Provide to date in the format shown in the example.Example: 2025-09-30
geoOptional- Provide geo in the format shown in the example.Example: state
scopeOptional- Provide scope in the format shown in the example.Example: place_of_performance
award_typeOptional- Provide award type in the format shown in the example.Example: contracts
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.