Sand AISand AI MAGI-2MAGI-2 est maintenant sur SandBase : vidéo 1080p avec audio natifEssayer maintenant

GitHub Issue and PR Search

Docs API
https://api.sandbase.ai/v1/api/github/search-issues

Search issues and pull requests across GitHub with GitHub's own search syntax (repo:, is:pr, is:issue, author:, label:, opened:...), with each result's author, state, labels, counts and body. Use it to find who opens issues and pull requests on a repository.

Prix
À partir de $0.0024USD / appel
Méthode
POST
Réponse
JSON
Paramètres
1 obligatoires · 4 facultatifs

Bac à sable

Entrée
GitHub issue search query with any of GitHub's qualifiers, e.g. "repo:openai/whisper is:pr", "is:issue label:bug author:octocat", "repo:ggml-org/llama.cpp is:pr is:merged opened:>2026-01-01".
1-based page of results. Request page + 1 while hasMore is true. Minimum : 1.
Sort by number of comments, creation date, last update, or reactions. Omit for best match.
1100
Rows per page, 1-100 (GitHub's own page-size limit). Keep it the same while walking pages, because it sets the page size. Plage : de 1 à 100.
Sort direction when sort is set. Defaults to desc.
SortiePrêt

Votre sortie apparaîtra ici

Complétez les entrées, puis cliquez sur Exécuter.

README de l'API

GitHub Issue and PR Search API

Search issues and pull requests across GitHub with GitHub's own search syntax (repo:, is:pr, is:issue, author:, label:, opened:...), with each result's author, state, labels, counts and body. Use it to find who opens issues and pull requests on a repository.

Request

curl -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "github/search-issues", "query": "repo:openai/whisper is:pr"}'

The result is returned in outputs[0].data. Lookups that find nothing fail with a not-found error.

Parameters

NameTypeRequiredDescription
querystringYesGitHub issue search query with any of GitHub's qualifiers, e.g. "repo:openai/whisper is:pr", "is:issue label:bug author:octocat", "repo:ggml-org/llama.cpp is:pr is:merged opened:>2026-01-01".
limitintegerNoRows per page, 1-100 (GitHub's own page-size limit). Keep it the same while walking pages, because it sets the page size. Default 100.
orderstringNoSort direction when sort is set. Defaults to desc. One of: desc, asc.
pageintegerNo1-based page of results. Request page + 1 while hasMore is true. Default 1.
sortstringNoSort by number of comments, creation date, last update, or reactions. Omit for best match. One of: comments, created, updated, reactions.

Pricing

Billed at the actual cost of each call, about $0.0024 per request. A call can cost more when the first data source fails and another one answers. Failed calls and lookups that find nothing are not charged.

Explorer plus

APIs associées

Toutes les APIs
APIPrixRéponse
GitHubÀ partir de $0.0024 par appelJSON
GitHubÀ partir de $0.0012 par appelJSON
GitHubÀ partir de $0.0012 par appelJSON
GitHubÀ partir de $0.0012 par appelJSON
GitHubÀ partir de $0.0012 par appelJSON
GitHubÀ partir de $0.0012 par appelJSON

Guides :Best GitHub API in 2026: Pricing Compared

Questions

FAQ

Comment utiliser l’API GitHub Issue and PR Search ?

Envoyez une requête POST à https://api.sandbase.ai/v1/api/github/search-issues avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.

Combien coûte l’API GitHub Issue and PR Search ?

À partir de $0.0024 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.

Quels paramètres l’API GitHub Issue and PR Search accepte-t-elle ?

Obligatoire : query (string). Facultatif : page (integer), sort (l’un de comments, created, updated, reactions), limit (integer) et order (l’un de desc, asc). Le tableau des paramètres et le Playground sur cette page listent tous les champs.

Que renvoie l’API GitHub Issue and PR Search ?

Une réponse JSON renvoyée dans la même requête HTTP (synchrone).

Ai-je besoin d’un compte développeur ou d’une clé API GitHub ?

Non. GitHub Issue and PR Search fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API GitHub séparément.