# Delivery API

The Delivery API gives a frontend the published content of a site.

- **The base address** is `https://<cms>/delivery/v1/<site>/<environment>/`.
- **Authentication** is `Authorization: Bearer <token>`. See [Tokens](/md/docs/start/tokens/).

## Calls

| Call | What it gives |
| --- | --- |
| `GET /delivery/v1/hosts` | Every host that this frontend serves, with its site and environment. This call is not under a site. |
| `GET manifest` | `version`, `site.version`, and `forms`. Per entry: `id`, `type`, `version`, `parent`, `sort`, `published_on`, and `addresses` per language. Where they apply, also `list_addresses`, `tag_addresses`, `related_version`, `children_version` and `display_version`. `children_version` is `""` without live children. The manifest is cheap, so poll it. |
| `GET site` | Everything of the site in one answer. See [Site](/md/docs/delivery-api/site/). |
| `GET entries/<id>` | One live entry in all its languages, resolved. See [Entries](/md/docs/delivery-api/entries/). It gives 404 when the entry is not live. |
| `GET list/<entry id>?…` | Records of a module for an overview, with paging, sorting and facets. See [Lists and modules](/md/docs/delivery-api/lists-and-modules/). |
| `GET files`, `GET files/<id>` | Every file that may leave, or one file. See [Files and images](/md/docs/delivery-api/files-and-images/). |
| `GET files/<id>/original`, `…/webp/<width>`, `…/avif/<width>`, `…/og` | The bytes of a file. |
| `GET fonts/<file id>` | A font file. |
| `GET forms/<id>`, `POST forms/<id>/submit` | See [Forms](/md/docs/delivery-api/forms/). |
| `GET search?q=&lang=&offset=&limit=` | See [Search](/md/docs/delivery-api/search/). |
| `GET data/<service>/<part>` | Data that an integration brought, such as exchange rates, with `fetched_at` and `max_age`. |
| `GET /delivery/v1/shortcodes` | The definitions of the shortcodes. This call is not under a site. |
| `POST reports` | See [Reports](/md/docs/frontend/reports/). |

The CMS also gives JSON-LD that is ready to use. See [Structured data](/md/docs/delivery-api/structured-data/).

## Answers

- Every answer is JSON, with an `ETag`. `If-None-Match` gives a `304`.
- The error codes are:
  - `401` without a good token;
  - `403` for anything that the token does not read. What does not exist gets the same answer;
  - `405`;
  - `429`, with `Retry-After`.
- `?format=portable` adds Portable Text next to every HTML text.

## Try it

Every site has an **API explorer**, under **Settings → API explorer**. It shows these answers, per environment.

*Also called: API reference, REST endpoints, content API, headless API.*

Last changed 26 November 2026
