API Introduction & Endpoints Overview
You can use our API to programmatically add monitors and change their properties. Or you can use our API to get statistics for each monitor.
In any case, most of the features that PingPing offers are covered.
API endpoints
Our endpoints can be reached at https://pingping.io/webapi/ . Our API is largely based on the REST standard. This means concretely:
GETfor retrieving a list of data or a single resourcePOSTfor creating new resourcesPUTfor updating existing resourcesDELETEfor deleting existing resources
Response
Every single response you get from our API is JSON formatted. Let us show you how a response might look like when you trigger the /webapi/monitors endpoint to show all existing monitors.
[
{
"id": 1,
"identifier": "3MdRrWBF",
"alias": "Google",
"scheme": "https",
"host": "www.google.com",
"port": "",
"url": "https:\/\/www.google.com\/",
//...
},
{
"id": 9,
"identifier": "WtDGqzWl",
"alias": "Laracasts",
"scheme": "https",
"host": "www.laracasts.com",
"port": "",
"url": "https:\/\/www.laracasts.com\/",
//...
}
]