> ## 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.

# Related Posts

> [DEPRECATED] Fetch related posts

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

`GET` `https://cds.thepublive.com/publisher/{publisher_id}/related-posts/{post_id}/`

Returns posts related to a specific post (based on category).

#### Migration

```bash theme={null}
# Old (deprecated)
GET /related-posts/12345/

# New (recommended) - filter by the post's primary category
GET /posts/?primary_category.id__eq=100&limit=5
```
