> ## Documentation Index
> Fetch the complete documentation index at: https://docs.githits.com/llms.txt
> Use this file to discover all available pages before exploring further.

# GitHits REST API

> Direct HTTP access to dependency source, documentation, and package data.

Use the REST API for deeper integration with your retrieval and orchestration code. Coding agents and software factories can also use [MCP](/quickstart) or the [CLI](/cli/commands).

| Item | Value |
| - | - |
| Base URL | `https://api.githits.dev/v1` |
| Authentication | `Authorization: Bearer <token>` |
| Response format | JSON |
| API definition | [OpenAPI JSON](https://api.githits.dev/v1/openapi.json) |

* [Quickstart](/api/quickstart): make your first request.
* [Requests and responses](/api/requests-and-responses): parameters, field selection, and result handling.
* [Authentication](/api/authentication): tokens and credential handling.
* [Errors](/api/errors): status codes and retries.

<Note>
  The API is available for evaluation. The [v1 contract](/api/versioning) is not yet finalized.
</Note>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.