Test MAPEGY APIs

After activating your credentials, you can explore the available API functionalities through two key resources: API Demo page, Panel API Demo page and the MAPEGY MCP Server.
They help you understand the API structure, explore available endpoints, and perform tests. 

‍

MAPEGY MCP Server

‍For details on how to work with the MCP server, consult this article.

‍

API Demo page

This page gives you access to all the API routes that have been activated for your account. Simply click on each route to see the available functions.

  • Navigate to API Demo page and enter your client_id and client_secret.
  • Choose the section that corresponds to the API you want to test.

‍

  • Each section allows you to test by adding required and optional parameters.

‍

  • Click on the Run Test Query button to see the results.

‍

Additionally, you can download simple example scripts that demonstrate how to use these routes, which can serve as a reference when integrating the API into your application.
Just click on Download in step 4.

The provided script performs the following three tasks: retrieves a token that authenticates your session with the API, displays request limits, showing your remaining API request quota, and executes a simple data request.

‍

Panel API Demo page

Showcases the advanced integration features of the Panel API, including a list of all available panels. 

  • Navigate to Panel API Demo page and enter your client_id and client_secret
    The list of available panels will be displayed.
  • Click on the panel you would like to test. 
  • Click on Test example query: This will retrieve the panel and its iframe URL.

‍

For implementation details, refer to the source code of the Panel API demo page or check out this page.  

‍

‍

Related articles