TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/pratyay360/searchapi/llms.txt
Use this file to discover all available pages before exploring further.
/repositories/ endpoint searches for code repositories across GitHub and GitLab in a single request. Internally, it runs two separate searches — one scoped to site:github.com and one to site:gitlab.com — and concatenates the results into a single array. This makes it convenient for discovering open-source projects without having to query each platform separately.
Because the endpoint runs two searches internally, the response can contain up to 2 × limit results —
limit URLs from GitHub and limit URLs from GitLab. The actual count depends on how many results each search returns.Request
Parameters
The repository search query. Use project names, technology names, programming languages, or topic keywords. URL-encode spaces as
+ or %20.Maximum number of results to return per platform. The total response may contain up to
2 × limit URLs.Response
Returns a JSON array of URL strings. GitHub results appear first, followed by GitLab results.A URL to a repository page on GitHub (
github.com/...) or GitLab (gitlab.com/...).Example
Response
Error response
500