> For the complete Lynkow documentation index in agent-friendly format, see [llms.txt](/llms.txt).

# List contents

**Published**: 2026-11-30
**Category**: Content

## `GET /contents`

**List contents**

Lists the site's published content entries, paginated. Filter by
locale, tag, category, slug or date range.

With `groupByTranslation=true` on a multi-language site, each item
carries its per-locale `translations`, published ones only.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `page` | query | number (min 1, default 1) | No | Page number, starting at 1 |
| `limit` | query | number (1 to 100, default 20) | No | Number of items per page |
| `search` | query | string | No | Text to find in the title or slug, case-insensitive |
| `type` | query | string | No | Resource type |
| `status` | query | "draft" \| "published" \| "archived" \| "scheduled" | No | One of: draft, published, archived, scheduled |
| `contentMode` | query | "standard" \| "structured" | No | One of: standard, structured |
| `sortBy` | query | "created_at" \| "updated_at" \| "published_at" \| "title" \| "slug" \| "display_order" (default "published_at") | No | One of: created_at, updated_at, published_at, title, slug, display_order |
| `sortOrder` | query | "asc" \| "desc" (default "desc") | No | One of: asc, desc |
| `categoryIds` | query | string[] | No | Keeps only the contents in at least one of these categories (UUIDs) |
| `tagIds` | query | string[] | No | Keeps only the contents with at least one of these tags (UUIDs) |
| `category` | query | string | No | Keeps only the contents in the category with this slug |
| `tag` | query | string | No | Keeps only the contents carrying the tag with this slug |
| `authorId` | query | string | No | Author user ID. UUID format |
| `dateFrom` | query | string | No | Filter from date (ISO 8601) |
| `dateTo` | query | string | No | Filter until date (ISO 8601) |
| `publishedFrom` | query | string | No | Filter by publish date from (ISO 8601) |
| `publishedTo` | query | string | No | Filter by publish date until (ISO 8601) |
| `slug` | query | string | No | URL-friendly identifier, unique per site and locale |
| `slugs` | query | string[] | No | Keeps only the items whose slug is one of these |
| `ids` | query | string[] | No | Keeps only the items with these UUIDs |
| `excludeIds` | query | string[] | No | Leaves out the items with these UUIDs |
| `hasCategory` | query | boolean | No | `true` keeps the contents in at least one category, `false` those in none |
| `hasTag` | query | boolean | No | `true` keeps the contents with at least one tag, `false` those with none |
| `locale` | query | string | No | BCP 47 locale code (e.g. "en", "fr") |
| `translationGroupId` | query | string | No | Translation group UUID (links translations across locales). UUID format |
| `groupByTranslation` | query | boolean | No | On a multi-language site, `true` adds each content its `translations`. Without `locale`, it also lists one content per translation group |
| `fallback` | query | boolean (default true) | No | With `locale`, `false` leaves out the items not translated into the requested locale. Single-language sites ignore it |


### Responses

| Status | Description |
| --- | --- |
| `200` | Successful response |
| `402` | The site subscription does not currently permit this operation |
| `422` | Validation error |


> **Notes:** Cache: `Cache-Control: public, max-age=0, s-maxage=300`.
> Rate-limit bucket: general (12000 requests per minute, counted per
> site and per client).

### SDK

```typescript
import { createClient } from 'lynkow'

const lynkow = createClient({ siteId: process.env.LYNKOW_SITE_ID! })

// Fetch the first page of articles in the "tech" category
const { data, meta } = await lynkow.contents.list({
  page: 1,
  limit: 10,
  category: 'tech'
})

// Search for articles
const results = await lynkow.contents.list({ search: 'typescript' })
```

### Examples

```curl
curl "https://api.lynkow.com/storefront/{siteId}/contents?page=1&limit=10&locale=en"
```

```javascript
const res = await fetch(`https://api.lynkow.com/storefront/${siteId}/contents?page=1&limit=10&locale=en`)
const { data, meta } = await res.json()
```

### Response Example

```json
{
  "data": [
    {
      "id": "9b2c1e7a-4f3d-4a1b-9c2e-8d7f6a5b4c3d",
      "type": "post",
      "title": "How we set our pricing",
      "slug": "how-we-set-our-pricing",
      "path": "/guides/how-we-set-our-pricing",
      "excerpt": "A behind-the-scenes look at the pricing model.",
      "status": "published",
      "locale": "en",
      "metaTitle": "How we set our pricing",
      "metaDescription": "A behind-the-scenes look at the pricing model.",
      "keywords": "pricing, saas",
      "canonicalUrl": null,
      "featuredImage": "https://cdn.lynkow.com/sites/acme/pricing-cover.jpg",
      "featuredImageVariants": {
        "thumbnail": "https://cdn.lynkow.com/sites/acme/pricing-cover.jpg?preset=thumbnail",
        "card": "https://cdn.lynkow.com/sites/acme/pricing-cover.jpg?preset=card",
        "medium": "https://cdn.lynkow.com/sites/acme/pricing-cover.jpg?preset=medium",
        "content": "https://cdn.lynkow.com/sites/acme/pricing-cover.jpg?preset=content",
        "hero": "https://cdn.lynkow.com/sites/acme/pricing-cover.jpg?preset=hero",
        "og": "https://cdn.lynkow.com/sites/acme/pricing-cover.jpg?preset=og"
      },
      "ogImage": null,
      "publishedAt": "2026-05-05T08:00:00.000Z",
      "createdAt": "2026-05-01T09:00:00.000Z",
      "updatedAt": "2026-05-05T08:00:00.000Z",
      "author": {
        "id": "3f1a7c9e-2b4d-4e6f-8a1b-0c2d3e4f5a6b",
        "fullName": "Ada Lovelace"
      },
      "categories": [
        {
          "id": "01a2b3c4-d5e6-4f70-8a1b-2c3d4e5f6071",
          "name": "Guides",
          "slug": "guides"
        }
      ],
      "tags": [
        {
          "id": "aa11bb22-cc33-4d44-9e55-6f7788990011",
          "name": "pricing",
          "slug": "pricing"
        }
      ]
    }
  ],
  "meta": {
    "total": 32,
    "perPage": 10,
    "currentPage": 1,
    "lastPage": 4
  }
}
```

---