---
title: "What is api.github.com? What breaks if you block it · Kilobat"
url: "https://kilobat.app/hosts/api-github-com"
description: "api.github.com is the base URL of the GitHub REST API. Which apps call it, how requests are authenticated, and what blocking breaks."
---

# 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 GitHub · Ports: 443 TCP · Checked: 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](https://kilobat.app/docs/blocking#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

- [GitHub Docs: Getting started with the REST API](https://docs.github.com/en/rest/using-the-rest-api/getting-started-with-the-rest-api)
- [GitHub Docs: Self-hosted runners, communication requirements](https://docs.github.com/en/actions/reference/runners/self-hosted-runners)
- [GitHub Docs: About GitHub's IP addresses](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/about-githubs-ip-addresses)

Checked on 7 November 2026.

## Related

- [github.com](https://kilobat.app/hosts/github-com): GitHub's main host. Git clones and pushes, the website and sign-in use it, and GitHub's runner and plugin tools list it as essential.
