100 free credits. No credit card required. Get a key

GitHub issue search API

Search issues and pull requests with GitHub qualifiers, sort and order.

GET /v1/github/search/issues1 credit per callRefunded on failure
import os, requests

res = requests.get(
    "https://api.groundsocial.dev/v1/github/search/issues?q=is:issue%20is:open%20label:bug%20repo:vercel/next.js",
    headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()
Response
200 · 1 credit
{
"total_count": 229,
"incomplete_results": false,
"items": [
{
"id": 4274545145,
"number": 92877,
"title": "`@vercel/otel` fetch instrumentation stripped after HMR in dev mode — `resetFetc…",
"state": "open",
"html_url": "https://github.com/vercel/next.js/issues/92877",
"user": {
"login": "Strernd",
"id": 2428581,
"node_id": "MDQ6VXNlcjI0Mjg1ODE=",
"avatar_url": "https://avatars.githubusercontent.com/u/2428581?v=4",
"html_url": "https://github.com/Strernd",
"type": "User",
"site_admin": false,
"gravatar_id": "",
"url": "https://api.github.com/users/Strernd",
"followers_url": "https://api.github.com/users/Strernd/followers",
"…": "9 more fields"
},
"labels": [
{
"…": "9 fields"
},
"… 2 more"
],
"comments": 4,
"created_at": "2026-04-16T09:14:13Z",
"updated_at": "2026-09-17T18:42:28Z",
"…": "25 more fields"
},
"… 29 more"
],
"page": 1,
"per_page": 30,
"has_more": true,
"next_cursor": "eyJzIjoic2k6aXM6aXNzdWUgaXM6b3BlbiBsYWJlbDpidWcgcmVwbzp2ZXJjZWwvbmV4dC5qczo6ZGVz…"
}

Parameters

NameTypeDescription
qquery · requiredstringGitHub issue search query. Example: repo:vercel/next.js is:issue is:open label:bug.
sortquery"comments" | "reactions" | "reactions-+1" | "reactions--1" | "reactions-smile" | "reactions-thinking_face" | "reactions-heart" | "reactions-tada" | "interactions" | "created" | "updated"Sort field (default: best match). One of comments, reactions, reactions-+1, reactions--1, reactions-smile, reactions-thinking_face, reactions-heart, reactions-tada, interactions, created, updated.
orderquery"asc" | "desc"desc (default) or asc. One of asc, desc.
sincequerystringOnly items on or after this date (YYYY-MM-DD or ISO 8601).
untilquerystringOnly items on or before this date (that whole UTC day for YYYY-MM-DD).
per_pagequeryintegerItems per page, 1-100 (default 30).
pagequeryinteger1-indexed page number (default 1).
afterquerystringCursor: the previous page’s next_cursor (instead of page).
Response fields

200 with a GitHubIssueSearchResponse, in GitHub’s own REST v3 objects.

FieldTypeDescription
total_countinteger
incomplete_resultsboolean
itemsGitHubIssue[]
pageinteger1-indexed page this is.
per_pageinteger
has_moreboolean
next_cursorstring | nullPass as after for the next page; null at the end.
Status codes
StatusMeaning
200Matching issues and pull requests.
400Invalid input. Nothing was charged.
401Missing or invalid API key.
402Not enough credits, a spend cap was reached, or payment is required.
403The target is private, or the account is suspended.
404No public GitHub user, repository or issue by that name.
429Too many requests. Wait for Retry-After seconds.
503GitHub is temporarily unavailable. Retryable; nothing was charged.

Every error has code, message, hint and retryable. All error codes

GitHub is a trademark of GitHub, Inc. We are not affiliated with or endorsed by GitHub.