> ## Documentation Index
> Fetch the complete documentation index at: https://docs.thepublive.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Posts by Category

> [DEPRECATED] Fetch posts by category ID

<Warning>
  **Deprecated:** Use `/posts/?categories.id__eq={category_id}` instead. See [Post Listing](/dxp/api-reference/content-delivery/post-listing).
</Warning>

`GET` `https://cds.thepublive.com/publisher/{publisher_id}/posts_by_category/{category_id}/`

Returns posts belonging to a specific category.

#### Migration

```bash theme={null}
# Old (deprecated)
GET /posts_by_category/100/

# New (recommended)
GET /posts/?categories.id__eq=100
```

The new endpoint supports additional filtering, sorting, and pagination options.
