# Get a page by slug

**Publié le** : 2026-05-12
**Catégorie** : Pages & Site Blocks

## `GET /pages/:slug`

**Get a page by slug**

Fetch a single Site Builder page by slug. Returns the full page
tree (data, sections, blocks), the resolved SEO bundle, JSON-LD
graph, and i18n alternates. Sets `ETag` and `Cache-Control`.
Send `If-None-Match: <etag>` to get a 304 Not Modified.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `slug` | path | string | Yes | URL-friendly identifier, unique per site and locale |


### Responses

| Status | Description |
| --- | --- |
| `200` | Successful response |
| `404` | Not found |


> **Notes:** Sets `ETag` and `Cache-Control: public, max-age=300, stale-while-revalidate=60`.
> Send `If-None-Match: <etag>` to get a 304 Not Modified. Rate-limit
> bucket: general.

### Examples

```curl
curl "https://api.lynkow.com/public/{siteId}/pages/pricing?locale=en"
```

```javascript
const res = await fetch(`https://api.lynkow.com/public/${siteId}/pages/pricing?locale=en`)
const { data } = await res.json()
```

### Response Example

```json
"{\n  \"data\": {\n    \"id\": \"01J9R4QV6ZK7T0W1FH3DXB6P2Y\",\n    \"slug\": \"pricing\",\n    \"name\": \"Pricing\",\n    \"path\": \"/pricing\",\n    \"locale\": \"en\",\n    \"tags\": [\"public\", \"conversion\"],\n    \"data\": {\n      \"hero\": { \"title\": \"Simple pricing\", \"subtitle\": \"Start free, scale when you grow.\" },\n      \"tiers\": [\n        { \"name\": \"Free\", \"price\": 0, \"features\": [\"1 site\", \"1 GB media\"] },\n        { \"name\": \"Pro\", \"price\": 29, \"features\": [\"Unlimited sites\", \"100 GB media\"] }\n      ]\n    },\n    \"seo\": {\n      \"metaTitle\": \"Pricing | Acme\",\n      \"metaDescription\": \"Transparent pricing for Acme.\",\n      \"ogImage\": \"https://cdn.lynkow.com/sites/acme/og/pricing.png\"\n    },\n    \"alternates\": [\n      { \"locale\": \"en\", \"path\": \"/pricing\", \"current\": true },\n      { \"locale\": \"fr\", \"path\": \"/tarifs\", \"current\": false }\n    ],\n    \"structuredData\": { \"graph\": [\n      { \"@type\": \"WebPage\", \"name\": \"Pricing\", \"url\": \"https://docs.acme.io/pricing\" }\n    ] },\n    \"updatedAt\": \"2026-05-10T09:14:22.000Z\"\n  }\n}\n"
```

---