Public, read-only APIs so partner NGOs and universities can query Dilulu's published guides, resources and course metadata programmatically.
When a partner key is configured, requests must include it in the x-api-key header. Without a configured key the API is publicly readable.
GET /api/v1/guides HTTP/1.1 Host: www.dilulu.org x-api-key: <your-partner-key>
Rate limit: 60 requests per minute per IP. All endpoints are read-only.
/api/v1/guidesList published educational guides (title + description). Append ?slug=<slug> for the full guide body.
/api/v1/guides?slug=vermicompostingFull content of a single guide (title, description, paragraphs).
/api/v1/resourcesFact sheets and resource topics (composting, lesson plans, workshops…).
/api/v1/coursesPublished course catalog metadata. Filters: ?language=EN|FR and ?difficulty=beginner|intermediate|advanced.
Responses include CORS headers for partner integrations and are cached for 5 minutes.
{
"ok": true,
"data": [ … ],
"meta": { "count": 18 }
}