Skip to content
REST API · Version 1

API Documentation

Public API for accessing ortcom.kz data. News, AntiFake, events and regions.

https://ortcom.qdev.run/api/v1/

Overview

The ortcom.kz Public API provides programmatic access to news, AntiFake data, press events and regional information. It follows RESTful principles and returns responses in JSON format.

Rate Limit 120 requests/min
HTTPS Secure only
Format JSON

Authentication

The current API works without authentication. All public data is freely available. Expanded access via API keys may be added later.

Pagination

All list endpoints support pagination:

GET /api/v1/articles?page=2&limit=10
{
  "api_version": "1.0.0",
  "meta": {
    "total": 1250,
    "page": 2,
    "per_page": 10,
    "pages": 125
  },
  "data": [...]
}
Parameter Type Description
pageintPage number (starting from 1)
limitintItems per page (max. 100)

Errors

CodeDescription
200Success
404Resource not found
422Validation error
429Rate limit exceeded

AI / LLM surfaces

These endpoints are designed for low-cost machine consumption without HTML parsing. They return canonical URLs, citation guidance and provenance fields.

GET /api/v1/ai/latest

JSONL discovery feed for articles, fact-checks and press events.

ParameterTypeDescription
langstringru, kk, en
limitint1..50
max_charsint300..4000
includestringarticles, antifake, events
Example
curl 'https://ortcom.qdev.run/api/v1/ai/latest?lang=ru&include=articles,antifake&limit=3'
GET /api/v1/ai/article/{source_id_or_slug}

Compact JSON detail for a single article.

GET /api/v1/ai/article/{source_id_or_slug}/markdown

Markdown version of an article for ingestion pipelines.

GET /api/v1/ai/antifake/{id_or_slug}

Compact JSON detail for one fact-check record.

GET /api/v1/ai/event/{id_or_slug}

Compact JSON detail for a press event.

Articles

GET /api/v1/articles

Article list with filters.

ParameterTypeDescription
langstringru, kk, en
categorystringCategory slug (novosti, region-news...)
qstringSearch query
date_fromstringYYYY-MM-DD
date_tostringYYYY-MM-DD
Example
curl https://ortcom.qdev.run/api/v1/articles?lang=ru&category=novosti&limit=5
GET /api/v1/articles/{id}

Single article with full text.

Categories

GET /api/v1/categories

List of all active categories.

AntiFake (CCD)

GET /api/v1/antifake

List of AntiFake Center records.

ParameterTypeDescription
verdictstringfake, misleading, manipulated, unverified
post_typestringdebunk, digest, advisory, analysis
qstringSearch query
Example
curl https://ortcom.qdev.run/api/v1/antifake?verdict=fake&limit=10
GET /api/v1/antifake/stats

General statistics by verdict and monthly trends.

GET /api/v1/antifake/{id}

Single record with full text.

Events

GET /api/v1/events

List of press events.

ParameterTypeDescription
statusstringannounced, live, completed, cancelled
event_typestringbriefing, conference, soyle, roundtable

Regions

GET /api/v1/regions

List of Kazakhstan regions.

GET /api/v1/regions/{slug}/articles

Articles for a specific region.

Try it

GET
The result will appear here