Platform & Builders
Dzaleka Online Services API reference
Endpoint reference for the Dzaleka Online Services public API, including discovery documents, the MCP server, and the DZDK CLI
The public API exposes published collections, search, feeds, and selected action endpoints from Dzaleka Online Services.
Use this page when you need the stable routes and request patterns. Use the live reference at API Docs when you want the browsable endpoint list.
Base URLs
- Site:
https://services.dzaleka.com - API base:
https://services.dzaleka.com/api - OpenAPI:
https://services.dzaleka.com/api/openapi.json - API catalog:
https://services.dzaleka.com/.well-known/api-catalog - MCP Server Card:
https://services.dzaleka.com/.well-known/mcp/server-card.json - Status:
https://services.dzaleka.com/api/status - Deprecation policy:
https://services.dzaleka.com/api/deprecation-policy - MCP server:
https://services.dzaleka.com/.well-known/mcp(also at/mcp)
Authentication and limits
- Read access is public. No key required.
- Collection, search and MCP endpoints are rate limited to 60 requests per minute per IP.
- Successful responses carry
RateLimit-Limit,RateLimit-Remaining,RateLimit-ResetandRateLimit-Policy. A429addsRetry-After. - The current API version is
1.0.0, echoed on every response in theAPI-Versionheader. SendAPI-Versionon a request to pin it. - Errors are RFC 9457 problem documents served as
application/problem+json, with a stable machine-readablecode. See Agent Access. - Deprecated endpoints return
Deprecation(RFC 9745) andSunset(RFC 8594) headers with at least six months of notice. The policy is machine-readable at/api/deprecation-policy. - Most responses are JSON.
GET /api/rssreturns XML.
Collection endpoints
The collection routes all follow the same basic pattern:
GETreturns published recordsPOSTreturns the same records and can include export-style metadata flagsOPTIONSis available for CORS preflight
Main collection routes:
/api/services/api/resources/api/events/api/photos/api/jobs/api/news/api/courses/api/community-voices/api/profiles/api/talents/api/marketplace/api/stores/api/rights/api/artists/api/artworks/api/poets/api/dancers/api/docs/api/pages/api/v1/spatial.json(RFC 7946 GeoJSON FeatureCollection of 92+ spatial nodes)/api/v1/spatial.csv(Tabular CSV export for QGIS, GeoPandas, and Excel analysis)
/api/pages returns published markdown reference pages that are served through the site’s catch-all page route.
/api/v1/spatial.json returns GeoJSON feature objects for Dzaleka spatial nodes, water boreholes, schools, and health facilities under CC BY-SA 4.0.
Example
curl "https://services.dzaleka.com/api/services"
Response shape
{
"status": "success",
"count": 1,
"data": {
"services": [
{
"id": "sample-service",
"collection": "services",
"title": "Sample service"
}
]
}
}
Search and feeds
Search
GET /api/search
Query parameters:
qrequired search query, minimum 2 characterscollectionsoptional comma-separated list such asservices,resources,docslimitoptional results per collection, default10
Example:
curl "https://services.dzaleka.com/api/search?q=education&collections=services,docs&limit=5"
Search index
GET /api/search-index.json
Use this when you need the flat public search index instead of grouped search results.
RSS
GET /api/rss
Returns the public news feed in XML.
Data snapshot endpoints
These routes power public dashboards and utility pages:
/api/alerts/api/population/api/finance/api/weather/api/weather-alerts/api/geolocation/api/charts/api/analytics/pageviews
Notes:
/api/weatherfalls back to seasonal data when the upstream weather source fails./api/geolocationreturns coarse same-origin geolocation data or an unavailable response when the upstream lookup is blocked.
Action endpoints
GET /api/exportdescribes supported export optionsPOST /api/exportexports multiple collections in one response
Example:
curl -X POST "https://services.dzaleka.com/api/export" \
-H "Content-Type: application/json" \
-d '{
"collections": ["services", "resources", "events"],
"options": {
"includeMetadata": true,
"includeStats": true
}
}'
Other public action routes:
POST /api/match-categoryPOST /api/submit-voicePOST /api/send-booking-confirmation
These expect JSON request bodies and are tied to specific public workflows.
Discovery and agents
For automated API discovery, use:
/llms.txt/.well-known/api-catalog/.well-known/mcp(also at/mcp)/api/deprecation-policy/.well-known/mcp/server-card.json/api/openapi.json/api/status
Every operation in /api/openapi.json has a unique operationId, so the spec can be bound directly to a function-calling tool definition.
HTML pages also include Link response headers pointing to the catalog, OpenAPI document, docs page, and status endpoint.
Agents can also request markdown responses from HTML pages by sending:
Accept: text/markdown
The browser default remains HTML.
MCP server
/.well-known/mcp is a live Model Context Protocol server over Streamable HTTP, protocol version
2025-06-18. GET it for a discovery document; POST JSON-RPC 2.0 to use it. It is read-only and
unauthenticated, and exposes four tools: search_dzaleka, list_dzaleka_collection,
search_dzaleka_encyclopedia, and get_dzaleka_encyclopedia_entry. Full walkthrough in
Agent Access.
WebMCP
On supported browsers, the site also exposes read-only WebMCP tools for search, services search, weather summary, urgent help contacts, language support routes, and newcomer first steps.
The MCP Server Card describes that browser-side tool surface and is published at /.well-known/mcp/server-card.json.
Related pages
- API Docs
- DZDK CLI - command-line client,
pip install dzdk - Agent Access
- Platform Principles
- Documentation Roadmap
Related guides
Documentation Roadmap
A working plan for how the docs are organized now, what tracks exist, and what should be added next
Platform Principles
The working principles behind public pages, open discovery, agent support, and documentation structure
Dzaleka Online Services agent access and MCP
Builder guide for discovering the public API, connecting over MCP, requesting markdown, loading agent skills, and using browser tools
DZDK CLI for Dzaleka Online Services
Install and use the DZDK command-line client for the public Dzaleka Online Services API
Need help?
If the guide does not answer your question, use the support or contact pages for follow-up help.