There are two stable versions of the GitHub API: the REST API v3 and the GraphQL API v4.

When using the REST API v3, we encourage you to request v3 via the Accept header.

For information on using the GraphQL API v4, see the v4 docs.

Deprecated versions


We deprecated the beta API on April 22, 2014.


We removed support for API v2 on June 12, 2012.


We removed support for API v1 on June 12, 2012.