# Get a page by path

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

## `GET /page-by-path`

**Get a page by path**

Look up a page by its rendered path (e.g. `/pricing`) rather than
its slug. The path resolution honors the site's locale settings,
`blogUrlMode`, and i18n alternates. Returns the same shape as
`/pages/{slug}` and sets the same cache headers.

### Responses

| Status | Description |
| --- | --- |
| `200` | Successful response |


> **Notes:** Same caching contract as `/pages/{slug}`. Rate-limit bucket: general.

### Examples

```curl
curl "https://api.lynkow.com/public/{siteId}/page-by-path?path=/pricing&locale=en"
```

```javascript
const res = await fetch(`https://api.lynkow.com/public/${siteId}/page-by-path?path=/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\": { \"hero\": { \"title\": \"Simple pricing\" } },\n    \"seo\": { \"metaTitle\": \"Pricing | Acme\" },\n    \"alternates\": [\n      { \"locale\": \"en\", \"path\": \"/pricing\", \"current\": true },\n      { \"locale\": \"fr\", \"path\": \"/tarifs\", \"current\": false }\n    ],\n    \"structuredData\": { \"graph\": [] },\n    \"updatedAt\": \"2026-05-10T09:14:22.000Z\"\n  }\n}\n"
```

---