Communication with MAPEGY APIs
Communicating with the MAPEGY API is straightforward. All you need to do is send HTTP GET or POST requests to the API endpoint using the default content type. Every request needs a token.
API Endpoint:https://api.mapegy.com
Content-Type:application/x-www-form-urlencoded
Example: Make a request to access the Autosuggest API using a valid token.
- Route:
/Autosuggest/Topics/
- Method:
GET
orPOST
- Content-Type:
application/x-www-form-urlencoded
- Mandatory Parameters:
query
,token
- Example GET Request: https://api.mapegy.com/Autosuggest/Topics/?query=Fuel&token=fr9Ch_2BDFI-rBR6edo0Lb-0JRVP6lBb5Fb7p4FYND0Xnlk_2NpNNcJ1IAYlO3SL
You can download the JavaScript demo app from the API Demo page and test the API directly in your browser. 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.
For more information about how to integrate MAPEGY APIs, check out the corresponding articles: Autosuggest API Integration, Panel API Integration, Documents API Integration.
Related articles