N3C API Postman Collection
Import the collection into Postman, set your email and password variables, then run Login.
Download N3C APIOverview
The N3C API provides developers with a consistent and secure way to connect with the N3C Platform. It is built on standard REST principles, making it predictable, reliable, and straightforward to use in any application environment.
All responses are returned in JSON format, including both successful results and error details, providing smooth integration with modern systems.
API Request
Sending requests to the N3C API is simple and developer-friendly.
The recommended tool is Postman, which makes it easy to configure headers, parameters, and request bodies.
Because the API does not use URI-based versioning, each request must specify the version through the Accept header:
Accept: application/json
In the above example we're requesting of our API. This is then followed by a plus sign and the desired format. If the format is invalid the package will attempt to use the default format you defined in your configuration.
If you don't want to use Postman you can use a command line tool such as cURL.
curl --request GET \
--url https://n3c-api.cidb.gov.my \
--header 'Accept: application/json'
Authenticated Request
To make any authenticated request, you need to include Access Token header which is formatted as:
Authorization: Bearer <token>
API Response
All N3C API endpoint would return JSON as our output format.
Content-Type: application/json
Rate Limiting
Rate Limiting (throttling) allows you to limit the number of requests a client can make in a given amount of time. A limit and the expiration time is defined by a throttle.
