GitHub repository issues
A repository's issues and/or pull requests with labels, assignees, milestone, reactions and comment counts. Every response includes credits_used: the credits this call cost.
Part of the GitHub API: 44 endpoints with prices, use cases and example responses.
Parameters
| name | type | description |
|---|---|---|
urlrequired | string | Repository: owner/repo or a github.com URL (repo works too). Example: https://github.com/facebook/react |
state | open | closed | all | open (default), closed, all. |
type | issues | pulls | all | issues (default), pulls, all. |
labels | string | Comma-separated label names. |
sort | created | updated | comments | created, updated, comments. |
direction | asc | desc | asc or desc. |
since | string | Only issues updated at or after this time (YYYY-MM-DD or ISO). |
creator | string | Login of the author. |
assignee | string | Login, none or *. |
mentioned | string | Login mentioned in the issue. |
milestone | string | Milestone number, none or *. |
page | string | Page number (100 per page); next_page is null on the last page. Example: 1 |
Every endpoint also takes fresh, raw, fields (see lean responses and caching).
Example
curl "https://api.api.sh/github/v1/repository/issues?url=https%3A%2F%2Fsiteproxy.ruqli.workers.dev%3A443%2Fhttps%2Fgithub.com%2Ffacebook%2Freact" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/github/v1/repository/issues",
params={"url": "https://github.com/facebook/react"},
headers={"x-api-key": os.environ["APISH_KEY"]},
timeout=120,
)
res.raise_for_status()
data = res.json() const url = new URL("https://api.api.sh/github/v1/repository/issues");
url.searchParams.set("url", "https://github.com/facebook/react");
const res = await fetch(url, { headers: { "x-api-key": process.env.APISH_KEY } });
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const data = await res.json(); Response
A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).
Example response (real call, trimmed: lists cut to 2 items, long text shortened, raw left out)
{"repo": "facebook/react","state": "open","type": "issues","sort": "created","direction": "desc","page": 1,"next_page": 2,"count": 32,"issues": [{"id": 6191922199,"number": 38106,"title": "[Flight] Dev-build async debug tracking (pendingOperations) grows without bound in a long-lived Node server","url": "https://github.com/react/react/issues/38106","state": "open","state_reason": null,"is_pull_request": false,"draft": null,"merged_at": null,"body": "## Summary\n\nIn the development build of `react-server-dom-*` for Node, the async debug tracking installed by `ReactFlightServerConfigDebugNo…","comments": 0,"locked": false,"active_lock_reason": null,"labels": [],"user": {"login": "hurttlocker","id": 195353125,"type": "User","avatar": "https://avatars.githubusercontent.com/u/195353125?v=4","url": "https://github.com/hurttlocker","node_id": "U_kgDOC6TaJQ","site_admin": false,"user_view_type": "public"},"author_association": "NONE","assignees": [],"milestone": null,"reactions": {"url": "https://api.github.com/repos/react/react/issues/38106/reactions","total_count": 0,"+1": 0,"-1": 0,"laugh": 0,"hooray": 0,"confused": 0,"heart": 0,"rocket": 0,"eyes": 0},"created_at": "2026-11-03T22:01:22Z","updated_at": "2026-11-03T22:01:22Z","closed_at": null,"closed_by": null,"repository_url": "https://api.github.com/repos/react/react","node_id": "I_kwDOAJy2Ks8AAAABcRE8Fw","type": null,"sub_issues_summary": {"total": 0,"completed": 0,"percent_completed": 0}},{"id": 6190414376,"number": 38105,"title": "[Flight] Hooks throw in components yielded from an async iterable: no dispatcher is set","url": "https://github.com/react/react/issues/38105","state": "open","state_reason": null,"is_pull_request": false,"draft": null,"merged_at": null,"body": "React version: 19.3.1, and 19.3.0-canary-e84e1492-20261031 (react-server-dom-webpack at the same versions)\n\n## Steps To Reproduce\n\n1. A serv…","comments": 0,"locked": false,"active_lock_reason": null,"labels": [],"user": {"login": "quantizor","id": 570070,"type": "User","avatar": "https://avatars.githubusercontent.com/u/570070?v=4","url": "https://github.com/quantizor","node_id": "MDQ6VXNlcjU3MDA3MA==","site_admin": false,"user_view_type": "public"},"author_association": "CONTRIBUTOR","assignees": [],"milestone": null,"reactions": {"url": "https://api.github.com/repos/react/react/issues/38105/reactions","total_count": 0,"+1": 0,"-1": 0,"laugh": 0,"hooray": 0,"confused": 0,"heart": 0,"rocket": 0,"eyes": 0},"created_at": "2026-11-03T20:16:59Z","updated_at": "2026-11-03T20:16:59Z","closed_at": null,"closed_by": null,"repository_url": "https://api.github.com/repos/react/react","node_id": "I_kwDOAJy2Ks8AAAABcPo6KA","type": null,"sub_issues_summary": {"total": 0,"completed": 0,"percent_completed": 0}},"… 30 more"],"cached": false,"credits_used": 1}