Use the Content Delivery API to fetch published posts, categories, and site configuration in under 5 minutes.
The Content Delivery Service (CDS) is a read-only API for your frontend. It serves published content — posts, categories, tags, authors, and site configuration — and is safe to call from your server-rendered pages.
The CDS is designed for reading content only. To create or modify content, see the Manage Content (CMS) quickstart.
The CDS supports advanced filtering with field lookups. Append filter parameters to any listing endpoint:
# Posts in a specific categorycurl "https://cds.thepublive.com/publisher/${PUBLIVE_PUBLISHER_ID}/posts/?primary_category__slug__eq=news"# Posts by a specific authorcurl "https://cds.thepublive.com/publisher/${PUBLIVE_PUBLISHER_ID}/posts/?contributors__slug__eq=jane-doe"# Posts with a specific tagcurl "https://cds.thepublive.com/publisher/${PUBLIVE_PUBLISHER_ID}/posts/?tags__slug__eq=breaking"
Each request should include your Authorization header.
CDS responses include Cache-Tags headers (e.g. PP.12345, CAT.1) that you can pass to your CDN for precise cache invalidation when content changes.