# Developer Mission - Make an API Call and Check the API Usage
# Introduction
In this mission, we will guide you on how to make an API call in the interactive API explorer in this API Portal and check the API usage. In order to do so, you are required to have at least one active API subscription. If you are not sure how to get it, please refer to Developer Mission - Subscribe to a Free API on API Portal
You need to register as an API developer on the API Portal before using the Developer Admin Portal. Please refer to Register as an API User for details.
# Key Steps
This mission consists of two parts. In the first part, we will show you how to make an API Call from the interactive API Explorer. In the second part, we will check the API Usage in the Developer Admin portal. As an example, we will take the Echo API (opens new window) by OpenAPIHub Academy (opens new window) to walk you through the process.
Part 1 - Make an API Call
Go to the Endpoints (opens new window) tab of the API
Use Try It Out with the required parameters
Part 2 - Check API Usage
- Go to Developer Admin Portal (opens new window)
- Select Invoice (opens new window) from the sidebar
- Filter a subscribed API (For example - Echo API), find the latest invoice record and Check the API Usage
# Step-by-step Guide
# Part 1 - Make an API Call
- Go to the Endpoints (opens new window) tab of the API
- Make an API call using Try It Out with the required parameters To make an API call successfully, we have to provide the correct parameters. In our example, Echo API takes a string ("msg") together with our security API key ("X-OpenAPIHub-Key").
When all the parameters are set, click "Try It out" to make the API call. The API response below should be returned.
# Part 2 - Check API Usage
Please note that after making the API Call, the API Usage may take time to be reflected in the Developer Admin Portal. Normally, it may take 5-10 mins after the API requests were made.
- Select Invoice (opens new window) from the sidebar
- Filter a subscribed API (For example - Echo API), find the latest invoice record and Check the API Usage
Congratulations! You have successfully made an API Call and checked the API Usage. Please make use of this function to try out different API endpoints and keep track of your subscribed API Usage. Now, you have completed Developer Mission - Make an API Call and Check the API Usage, your mission progress can be found in the Developer Admin Portal (opens new window).
Please go to Developer Mission - Complete Your Developer Profile and learn more essential skills or feel free to explore the API Portal.