What is api.github.com?

api.github.com is the base URL of the GitHub REST API. Command-line tools, editors and scripts call it.

Run by GitHubPorts: 443 TCPChecked: 7 November 2026

Short answer

The GitHub REST API endpoint. Apps and scripts send authenticated requests to it, with a token and a User-Agent header.

Block with care

Blocking it stops tools and apps that use GitHub's API. Git itself, over github.com, can still work.

Matches
api.github.com

A name with *. covers every name under it: *.push.apple.com matches 1-courier.push.apple.com.

What it serves

GitHub's REST API page gives https://api.github.com as the base URL for requests.

It says that requests carry a token in the Authorization header, and that every request needs a valid User-Agent header. Requests without one are rejected.

The API limits the number of requests in a time period. GitHub says you can make more requests per hour when you are authenticated.

GitHub's runner page lists api.github.com under “Needed for essential operations”.

A request and its token are encrypted. A connection alone doesn't show which call a program made.

What breaks if you block it

Block with care

Blocking it stops tools and apps that use GitHub's API. Git itself, over github.com, can still work.

What breaks if you block it

  • Tools that list issues, pull requests or repositories through the API fail.
  • GitHub Actions self-hosted runners can't reach essential services.

With Kilobat Pro and the network filter, you can block a host for every app or for one app: in Connections, select a connection and choose Block. Apple’s own services are never blocked by Kilobat’s Protection lists.

Notes

The same host serves the Meta API at /meta, which lists GitHub's IP ranges. GitHub says that list isn't exhaustive.

Sources

Checked on 7 November 2026.