Introducing the Instagram APIRead more →

GitHub Issue API. Send an issue link or ID.

Issue or pull request with state, branches and changes. We handle the proxies, blocks and platform changes.

In your agent: GitHub MCP server →

GitHub Issue API at a glance

Returns one public GitHub issue or pull request from its link or owner/name#number. You get its title, description, state and close reason, labels, author, assignees, milestone, who closed it, and comment and reaction counts. A pull request adds its draft flag, branches, the fork it comes from, who merged it, and the files, lines and commits it changes.

GET /v1/github/issue

Read the API reference
  • 1 credit per request, $0.75–$1.97 per 1,000 requests
  • 28 typed fields null when unknown
  • url is all it needs, e.g. https://github.com/golang/go/issues/70000
  • 100 credits free when you sign up, no card, so you can build before you spend

Send one request. Get 28 fields 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/issues/70000
GET /v1/github/issueTry in
const params = new URLSearchParams({
  url: "https://github.com/golang/go/issues/70000",
});
const res = await fetch(`https://socialtap.dev/v1/github/issue?${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, meta } = body;
console.log(data, meta.credits_charged);
200 OK · GET https://socialtap.dev/v1/github/issueLong 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 issue or pull request: its link (https://github.com/golang/go/issues/70000, https://github.com/react/react/pull/27522 with any tab such as /files, or api.github.com/repos/golang/go/issues/70000) or owner/name#number (golang/go#70000).

  • 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 Issue API.

  • Check whether a bug report was fixed and when

  • Follow a pull request from draft to merge

  • Measure how big a change was before it merged

  • Enrich issue links pasted into a support tool

Good to know before you build.

  • Links to an issue and to a pull request both work: a pull request's number opened as an issue is answered as the pull request.
  • If GitHub's API refuses, the item is read from its page on github.com. A pull request's description, comment and reaction counts and line counts are then unknown, and so are the branches of a fork.

1 credit per request. Failed requests are free.

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

SourcePrice per successful requestPer 1,000 requests
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 Issue API.

More in the API reference.

How much does the GitHub Issue API cost?
A request costs 1 credit. SocialTap credits cost $0.75–$1.97 per 1,000, depending on the plan or pack.

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