PingPing got acquired! Get a 20% lifetime discount on any plan with discount code ACQUISITION, only available until 31st of March! Read more about the acquisition here.

Reading time 1 m
Published Jan 28, 2025

Introduction

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:

  • GET for retrieving a list of data or a single resource

  • POST for creating new resources

  • PUT for updating existing resources

  • DELETE for 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\/",
    //...
  }
]