You can download the v1 REST API documentation here. Most functionality is exposed through GraphQL, which can be explored below. Within a major API version, backwards-incompatible API changes will not be made for APIs that are usable by anonymous or unprivileged users.

Requests must include a User-Agent header. When possible, this header should include information that uniquely identifies your application, such as a GitHub URL. This helps us ensure a higher quality of service for your client and allows us to contact you in case of issues. If your requests do not include a User-Agent header, they may be throttled or blocked.