Developers & APIs

The headless delivery API

Query published blog posts, taxonomy, and rich SEO metadata over high-speed REST endpoints.

In this guide

Use TejRank as a headless CMS to render blog posts on any web or mobile front end:

Authentication

Pass your delivery API key in the X-API-Key header. The delivery API is read-only, edge-cached, and CORS-enabled.

Endpoints

1. List Published Posts

GET /api/v1/public/posts?limit=20&cursor=&category=news&tag=ai&q=search&featured=true

2. Get Single Post by Slug

GET /api/v1/public/posts/:slug

Returns the complete article HTML, structured JSON-LD schema, author details, and full SEO metadata.

3. List Categories & Tags

GET /api/v1/public/categories
GET /api/v1/public/tags

4. Sitemap Index

GET /api/v1/public/sitemap

Example Request

curl https://tejrank.com/api/v1/public/posts \
  -H "X-API-Key: YOUR_DELIVERY_KEY"