> For the complete documentation index, see [llms.txt](https://docs.hostinger.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hostinger.com/api-reference/overview.md).

# API Reference

The full Hostinger API reference lives at [**developers.hostinger.com**](https://developers.hostinger.com/) — that's the single source of truth for every endpoint, kept up to date automatically.

## What you'll find there

* **Complete endpoint documentation** — websites, deployments, files, Node.js builds, WordPress, domains, DNS, VPS, billing, and more, with request/response schemas and examples
* **Interactive testing** — try endpoints directly from the browser
* **OpenAPI specification** — download the spec to generate clients or import into your tooling

## Getting started with the API

1. Generate an API token in [hPanel → API](https://hpanel.hostinger.com/api). See [Security & Access](/account/security.md) for how tokens are managed.
2. Send the token as a Bearer header with every request:

```bash
curl https://developers.hostinger.com/api/hosting/v1/websites \
  -H "Authorization: Bearer YOUR_API_TOKEN"
```

3. Explore the rest of the endpoints at [developers.hostinger.com](https://developers.hostinger.com/).

## Other ways to automate Hostinger

* [**Hostinger Connector**](/hostinger-connector/overview.md) — manage Hostinger from your code editor through an AI assistant, powered by the same API
* **MCP server** — the [`hostinger-api-mcp`](https://www.npmjs.com/package/hostinger-api-mcp) npm package exposes the API as Model Context Protocol tools for any AI assistant

***

*Last updated: July 21, 2026*
