apicheats.dev github/llms.txt Raw .md
GET

GET /feeds — GitHub API

GitHub token (required); https://api.github.com

GitHub API

Get feeds

Base URL
https://api.github.com
Auth
Authorization: Bearer <GITHUB_API_KEY>
Last verified
2026-10-20 · upstream hash matched
Actions Try in browser→
Agents: curl -H "Accept: text/markdown" this URL
→ 104 tokens · Vary: Accept

Critical gotchas

GitHub recommends an Accept: application/vnd.github+json header and an explicit X-GitHub-Api-Version header.

Fine-grained tokens only authorize repositories and permissions selected when the token is created.

cURL

curl -X GET 'https://api.github.com/feeds' \  -H "Authorization: Bearer $GITHUB_TOKEN" \  -H 'Accept: application/vnd.github+json' \  -H 'X-GitHub-Api-Version: 2026-03-10'

Parameters

No parameters.

Response 200 OK

{
  "timeline_url": "https://github.com/timeline",
  "user_url": "https://github.com/{user}",
  "current_user_public_url": "https://github.com/octocat",
  "current_user_url": "https://github.com/octocat.private?token=abc123",
  "current_user_actor_url": "https://github.com/octocat.private.actor?token=abc123",
  "current_user_organization_url": "https://github.com/octocat-org",
  "current_user_organization_urls": [
    "https://github.com/organizations/github/octocat.private.atom?token=abc123"
  ],
  "security_advisories_url": "https://github.com/security-advisories",
  "repository_discussions_url": "https://github.com/{user}/{repo}/discussions",
  "repository_discussions_category_url": "https://github.com/{user}/{repo}/discussions/categories/{category}",
  "_links": {
    "timeline": {
      "href": "string",
      "type": "string"
    },
    "user": {
      "href": "string",
      "type": "string"
    },
    "security_advisories": {
      "href": "string",
      "type": "string"
    },
    "current_user": {
      "href": "string",
      "type": "string"
    },
    "current_user_public": {
      "href": "string",
      "type": "string"
    },
    "current_user_actor": {
      "href": "string",
      "type": "string"
    },
    "current_user_organization": {
      "href": "string",
      "type": "string"
    },
    "current_user_organizations": [
      {
        "href": "string",
        "type": "string"
      }
    ],
    "repository_discussions": {
      "href": "string",
      "type": "string"
    },
    "repository_discussions_category": {
      "href": "string",
      "type": "string"
    }
  }
}
Get a free GitHub API key → sponsored

Affiliate link - we may earn a commission, at no extra cost to you.