Skip to main content
POST /v1/search/developer finds READMEs, issues, pull requests, releases, API operations and docs for a query, each with the passage that matches. It needs an API key.

Search issues of a repo

Get an API key in the Quickstart. This request looks for issues and pull requests about SQLite transactions in one repo.

Read the response

results holds the matches, best first. This real response is cut to one of the three results and to the start of its passage.
Each result has an id, the url and title of the item, its type, and the repo, stars, language, date and state (such as open or closed) when it has them, or null. passages holds the text that matched, and each passage names the citation_url to cite. repos has one entry for each repo you sent, and indexed says whether Stophy holds items of that repo.

Search one repo without passages

Send passages as false when you only need the items. This request searches the READMEs, issues, pull requests and releases of one repo.
This real response is cut to its first result. passages is an empty list, and repos says how much of the repo Stophy holds.

Send a GET request

GET /v1/search/developer takes the same fields as query parameters, with a list as comma-separated values, such as ?query=memory+leak&types=issue,pull_request&repos=oven-sh/bun.

Options

Limits and errors

  • Without an API key, the call returns 401 apiKeyRequired.
  • min_stars above max_stars returns 400 invalidRequest with min_stars: must not be greater than max_stars.
  • operation and doc results have no stars, so they are left out when you send min_stars or max_stars.
  • A repos entry that is not owner/name, or more than 5 repos, returns 400 invalidRequest. A repo Stophy holds nothing of comes back with indexed: false.
  • partial is false on every answer.

Price

$1 per 1,000 searches of up to 10 results: $0.001 for each 10 results. A search with no results costs nothing. See Pricing.