Introducing the Instagram APIRead more →

GitHub Issues API. Issues, page by page.

A repository's issues and pull requests. We handle the proxies, blocks and platform changes.

In your agent: GitHub MCP server →

GitHub Issues API at a glance

Returns a public GitHub repository's issues and pull requests from its link or owner/name. Filter by open or closed, by issue or pull request and by labels, and sort by newest, oldest, latest activity or most comments. Each item has its title, description, state and close reason, labels, author, assignees, milestone, comment and reaction counts, and for a pull request its draft flag and merge time.

GET /v1/github/issues

Read the API reference
  • 1 credit per page, $0.75–$1.97 per 1,000 pages
  • 28 typed fields null when unknown
  • 100 issues per page, newest first
  • url is all it needs, e.g. https://github.com/golang/go

Send one request. Get up to 100 issues back.

Copy the request in your language, or hand it to your agent. Sign up for an API key and your first 100 credits are free.

$ npm install socialtap
url = https://github.com/golang/go
GET /v1/github/issuesTry in
const params = new URLSearchParams({
  url: "https://github.com/golang/go",
});
const res = await fetch(`https://socialtap.dev/v1/github/issues?${params}`, {
  headers: { "x-api-key": process.env.SOCIALTAP_API_KEY ?? "" },
});
const body = await res.json();
if (!res.ok) throw new Error(`${body.error.code}: ${body.error.message}`);
const { data, page, meta } = body;
console.log(data, meta.credits_charged);
200 OK · GET https://socialtap.dev/v1/github/issuesLong arrays and strings are shortened here. Real responses are complete.Docs

What you send and what comes back.

The response reference lists every field, its type and when it is null. See the full schema.

  • Null means unknown

    A field GitHub doesn't show is null, never zero or an empty string, so a real zero always means zero.

  • What it accepts

    The repository: its link (https://github.com/golang/go, any of its pages such as /issues or /pulls, its clone link ending in .git, or api.github.com/repos/golang/go), or owner/name (golang/go).

  • What comes back

    Issues and pull requests with their state, labels, author, assignees, milestone, comment and reaction counts, and for pull requests the branches, merge time and lines changed.

platformstring
Platform ID (github, …).
idstring
The item's full reference on its host (owner/repo#123; group/project!34 for a GitLab merge request), as the host writes it to link it from anywhere; the issue endpoint takes it as input. It follows the repository's current name.
urlstring
The item's page (an issue's or a pull request's).
repositoryobject
The repository it belongs to (id null when the answer names it by path alone).
numberinteger
The item's number in its repository (the 123 of #123).
is_pull_requestboolean
true for a pull request (a merge request on GitLab), false for an issue (a discussion on Hugging Face).
titlestring
The item's title.
textstring
The description as its author wrote it (Markdown source); null when it has none.

What teams build with the GitHub Issues API.

  • Track new bug reports in a repository

  • Find the most discussed open feature requests

  • Watch which pull requests were merged this week

  • Measure how fast a project closes its issues

Good to know before you build.

  • GitHub lists issues and pull requests together. With type=issue or type=pull_request a page keeps only that kind, so it can hold fewer items than limit, or none while the list goes on.
  • A pull request's branches, changed lines, commits and who merged it are not in this list; the GitHub Issue API returns them for one pull request.
  • If GitHub's API refuses, the list is read from the repository's issues page. Its pages stop after the first thousand items, and text, reactions and is_locked are then unknown.

1 credit per page. Failed requests are free.

Buy credits once and spend them on any endpoint, on any platform.

SourcePrice per successful pagePer 1,000 pages
Platform API api1 credit$0.75–$1.97
Public page page1 credit$0.75–$1.97
  • Cache hits are free.
  • Credits from packs and top-ups never expire.
  • A monthly plan's credits are spent first, and what is left of them ends at each renewal.
  • Prices exclude tax: sales tax is added at checkout where it applies.
  • Outside the US, plans and packs are sold to businesses: checkout asks for your VAT, GST or other business tax ID.

Questions about the GitHub Issues API.

More in the API reference.

How much does the GitHub Issues API cost?
A page of up to 100 issues costs 1 credit. Every successful page is charged, empty pages included. SocialTap credits cost $0.75–$1.97 per 1,000, depending on the plan or pack.
How do I get the next page?
Repeat the same request with cursor set to page.next_cursor from the previous response, keeping the other parameters. When page.has_more is false there are no more pages. Cursors expire after 24 hours.

Try it on a link you already have.

Paste it in the playground, or copy the request into your code.

100free credits
  • No credit card
  • Failed requests are free
  • Works on all 276 endpoints
Start for free Read the docs