Daily OpenAPI Hits by Endpoint

Data as of 07 Oct 2025, 23:59

Daily GET requests made to api.data.gov.my, disaggregated by endpoint.

0 viewsΒ·0 downloads

Table

Hits

How is this data produced?

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.

What caveats I should bear in mind when using this data?

Although the OpenAPI was live from 13 Sep 2023, disaggregated usage data is only available from 15 Dec 2023.

Publication(s) using this data

When aggregated on a daily basis, the data shown here is consistent with the OpenAPI hits displayed on the site's homepage.

Metadata

Dataset description

Daily GET requests made to api.data.gov.my, disaggregated by endpoint.

Variable definitions
Last updated:

08 Oct 2025, 08:19

Next update:

09 Oct 2025, 00:10

Data source(s)
  • Jabatan Digital Negara
  • Ministry of Digital
License

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.

Download

Data
Full Dataset (CSV)

Full Dataset (CSV)

Recommended for individuals seeking an Excel-friendly format.

0

Full Dataset (Parquet)

Full Dataset (Parquet)

Recommended for data scientists seeking to work with data via code.

0

Code

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.parquet' df = pd.read_parquet(URL_DATA) if 'date' in df.columns: df['date'] = pd.to_datetime(df['date']) print(df)

Sample OpenAPI query

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&limit=3" response_json = requests.get(url=url).json() pprint.pprint(response_json)