Total GET requests made to api.data.gov.my, disaggregated by endpoint.
0 viewsΒ·0 downloads
This data is aggregated from transactional records produced by web analytics tools which monitor user interactions across the data.gov.my platform in real time. The data does not contain any personally identifiable information, as there is no component of data.gov.my which requires an authenticated login to access.
Although the OpenAPI was live from 13 Sep 2023, this dataset only includes API hits from 15 Dec 2023 onwards due to lack of disaggregated usage data prior to that date.
Total GET requests made to api.data.gov.my, disaggregated by endpoint.
Name in Dataset | Variable | Definition |
---|---|---|
date (Date) | Date | Date in YYYY-MM-DD format |
endpoint (String) | Endpoint | The endpoint being requested; full documentation of available endpoints is available via the Developer Portal |
hits (Integer) | Hits (count) | Number of requests made to the specific endpoint |
hits_prop (Float) | Hits (%) | Number of requests made to the specific endpoint, as a percentage of total hits |
08 Oct 2025, 08:19
09 Oct 2025, 00:10
This data is made open under the Creative Commons Attribution 4.0 International License (CC BY 4.0). A copy of the license is available Here.
Full Dataset (CSV)
Recommended for individuals seeking an Excel-friendly format.
0
Full Dataset (Parquet)
Recommended for data scientists seeking to work with data via code.
0
Connect directly to the data with Python.
# If not already installed, do: pip install pandas fastparquet
import pandas as pd
URL_DATA = 'https://storage.data.gov.my/metrics/metrics_openapi_cumul.parquet'
df = pd.read_parquet(URL_DATA)
if 'date' in df.columns: df['date'] = pd.to_datetime(df['date'])
print(df)
The following code is an example of how to make an API query to retrieve the data catalogue mentioned above. You can use different programming languages by switching the code accordingly. For a complete guide on possible query parameters and syntax, please refer to the official Open API Documentation.
import requests
import pprint
url = "https://api.data.gov.my/data-catalogue?id=usage_metrics_openapi_cumul&limit=3"
response_json = requests.get(url=url).json()
pprint.pprint(response_json)
Β© 2025 Public Sector Open Data