GitHub Search API
Search GitHub using the documented query and filters, and return structured results.
/v1/github/searchCoverage 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.
curl -X GET 'https://socialquery.dev/v1/github/search?query=repo%3Avercel%2Fnext.js+is%3Aissue+is%3Aopen' \
-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: repo:vercel/next.js is:issue is:open
sortOptional- Provide sort in the format shown in the example.Example: reactions
orderOptional- Provide order in the format shown in the example.Example: asc
per_pageOptional- Provide per page in the format shown in the example.Example: 10
pageOptional- Provide page in the format shown in the example.Example: 10
sinceOptional- Provide since in the format shown in the example.Example: —
untilOptional- Provide until in the format shown in the example.Example: —
cursorOptional- The pagination cursor returned by the previous response, if supported.Example: —
limitOptional- The requested result limit. Check the API reference for allowed values.Example: 10
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 GitHub endpoints
View all →GitHub Profile API
Retrieve the public profile details available for a GitHub account.
GitHub Repo API
Look up a public GitHub repository and its project metadata.
GitHub Profile Repos API
List the public repositories associated with a GitHub account.