Data & API
The directory's metadata is open data in its own right. All of it is available as a download or over a read API, with no key and no account.
These exports describe the directory: what resources exist, who publishes them, and where they are. They are not copies of the datasets themselves.
Downloads
-
/data/directory.json— The whole catalogue as one JSON document, with provenance. -
/data/directory.csv— The same records, one row per resource, for spreadsheets. -
/data/meta.json— Counts, provenance and the number of open validation warnings. -
/data/search-index.json— The compact search index the site uses. Small shape, good for client-side search.
Current contents: 57 resources, 49 publishers, 23 categories, 240 tags, 176 endpoints. Every export carries the schema version, a generation timestamp and the repository commit it was built from, so a citation can be pinned to a specific revision.
Read API
Plain JSON over HTTPS, cached at the edge. No API key, no rate limit for ordinary use, and CORS is open so you can call it from a browser. Endpoints:
-
/api/v1/meta— Counts, schema version, generation timestamp and the commit the catalogue was built from. -
/api/v1/resources— Search and filter resources. Accepts q, category, access, type, publisher, coverage, granularity, api, machine, sort, page, per_page. -
/api/v1/resources/{id}— One resource, with its full endpoint list and metadata. -
/api/v1/publishers— Every publisher with resource and category counts. -
/api/v1/publishers/{id}— One publisher and the resources attributed to it. -
/api/v1/categories— The controlled category vocabulary with live counts. -
/api/v1/tags— Every tag in use, with counts.
For example, everything in the transport category that has an API:
curl 'https://data.stratum.my/api/v1/resources?category=transport&api=yes' The API never proxies a publisher's dataset. It returns directory metadata and the original endpoint URLs, and you fetch the data from the publisher yourself, under their terms.
For AI agents (MCP)
The same catalogue is also served over the Model Context Protocol at https://data.stratum.my/mcp — no key, no registration, read-only. Point an
MCP client at that URL, or read the server card for machine-readable
connection details. Four tools:
search_resources— search and filter the directory, same filters as the site search.get_resource— one record with its original endpoint URLs.list_publishers— publishers with resource counts.find_data_for— plain-language search; convenience only, check the records it returns.
Results carry the catalogue commit and link to the original endpoints; the tools never assert availability or licensing beyond what the record itself says.
Licensing
The directory's own metadata, meaning the names, descriptions, categories, tags and links we wrote, is released under CC0 1.0. No permission needed, no attribution required (though it is welcome).
This does not relicense the underlying data. The datasets, APIs, reports and registries we point at belong to their publishers and are governed by the publisher's own terms. A CC0 export of our metadata tells you nothing about what you may do with the data you reach through it. Check each publisher.
Provenance and citing
Each export and API response carries a schema version, a generation timestamp and the source commit. To cite a specific state of the catalogue, pin to the commit:
{
"schema_version": "1.0.0",
"generated_at": "…",
"commit": "…",
"source": "https://github.com/Stratum-Technologies/malaysia-open-data-project"
} Availability
The canonical catalogue lives in Git. Everything served here (the site, the API, the exports) is derived from it on deploy. If this service disappeared tomorrow, the catalogue would still exist in its repository, and anyone could rebuild the exports from it.