Web Search API

Search Web using the documented query and filters, and return structured results.

GET/v1/web/search
2 credits per successful callCache window 5 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/web/search
Optional parameters (10)

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/web/search?query=social+media+data+api' \
  -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.

queryRequired
The keywords or phrase to search for.
Example: social media data api
sourcesOptional
Provide sources in the format shown in the example.
Example: —
categoriesOptional
Provide categories in the format shown in the example.
Example: —
limitOptional
The requested result limit. Check the API reference for allowed values.
Example: 10
countryOptional
Provide country in the format shown in the example.
Example: us
locationOptional
Provide location in the format shown in the example.
Example: —
time_rangeOptional
Provide time range in the format shown in the example.
Example: —
sort_by_dateOptional
Provide sort by date in the format shown in the example.
Example: false
include_domainsOptional
Provide include domains in the format shown in the example.
Example: —
exclude_domainsOptional
Provide exclude domains in the format shown in the example.
Example: —
include_contentOptional
Provide include content in the format shown in the example.
Example: false

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 Web endpoints

View all →