Developer API
A free, read-only JSON API over the MAKTABA collection — for researchers, journalists and app builders.
Overview
All endpoints return JSON, need no API key, and are CORS-enabled. The base URL is:
https://www.media.michebyte.com/api/public/
Requests are rate-limited to 120 per 10 minutes per visitor. Please cache responses and credit the Uganda Media Centre as the source.
GET https://www.media.michebyte.com/api/public/?resource=items
List and search items. All parameters are optional.
| Parameter | Description |
|---|---|
q | Keyword search (title, description, tags, summary, keywords, author) |
type | photo, video or document |
category | Category slug (see the categories endpoint) |
author | Exact author / photographer name |
language | Item language |
from, to | Date range, YYYY-MM-DD |
sort | newest, oldest, downloads, az |
page, per_page | Pagination (max 50 per page) |
https://www.media.michebyte.com/api/public/?resource=items&q=agriculture&type=document&sort=downloads
GET https://www.media.michebyte.com/api/public/?resource=item&id=123
Full metadata for a single item, including its permanent link, SHA-256 checksum and QR code URL.
GET https://www.media.michebyte.com/api/public/?resource=categories
All categories with item counts.
GET https://www.media.michebyte.com/api/public/?resource=authors
Credited authors and photographers with item counts.
Try it now
Response will appear here…