Complete guide for developers to integrate with Kalopati APIs
π Introduction
Welcome to the Kalopati API documentation. This RESTful API provides access to posts, categories, and content data. All responses are in JSON format.
Note: The API uses a custom REST URL prefix kp_api instead of the default WordPress wp-json.
π Base URL
All API endpoints are relative to:
https://kalopati.com/kp_api/
Base URL for all API endpoints.
π‘ WordPress RSS Feeds
In addition to the custom REST APIs, Kalopati provides standard WordPress RSS feeds for easy content syndication. RSS feeds are XML-based and compatible with all RSS readers and aggregators.
Main RSS Feed
GET
/feed/
Returns all recent posts in RSS 2.0 format.
Full URL Example
https://kalopati.com/feed/
Atom Feed
GET
/feed/atom/
Returns all recent posts in Atom 1.0 format.
Category RSS Feed
GET
/category/{category-slug}/feed/
Returns posts from a specific category.
Example
// Get RSS feed for "politics" category
https://kalopati.com/category/politics/feed/
Tip: RSS feeds are perfect for content aggregators, news readers, and simple integrations. For more advanced features and filtering, use the REST API endpoints described below.
π Authentication
Currently, these APIs are publicly accessible and do not require authentication. They are read-only endpoints that return publicly available content.
βοΈ REST API Endpoints
These endpoints provide access to posts, categories, and content data via the Kalopati REST API. They can be used in any application, website, or service.
Get Recent Posts
GET
/kp_api/app/v1/posts
Description
Returns 10 most recent posts.
Response Fields
Field
Type
Description
title
String
The post title
newsUrl
String
Permalink to the full article
thumbnailUrl
String
URL of the featured image (large size)
newsOverView
String
Formatted full content with paragraphs
publishedDate
String (ISO 8601)
Publication date in Asia/Kathmandu timezone
videoUrl
String (optional)
YouTube or Facebook video URL if found in content
Get All Categories
GET
/kp_api/app/v1/categories
Description
Returns a list of all available categories with their IDs and slugs.
If you encounter any issues or have questions about the API:
Check your endpoint URLs and parameters
Verify your domain configuration
Ensure the WordPress REST API is enabled
Contact the development team for additional support
Version: This documentation reflects the current API implementation as of February 2026. Always test with the latest endpoints in your production environment.