How to export all your Pingdom export checks

Pedro Gomes
1 min readAug 17, 2021

First of all, quickly generate a new read-only API token in

Then, use the following code to get a quick export of your Pingdom exports with name, hostname and path.

export PINGD_AUTH="[the api key you generated in step 1]"for i in `curl -X GET -H 'Authorization:Bearer $PINGD_AUTH' -s | jq -r .checks[].id`; docurl -X GET$i -H 'Authorization:Bearer $PINGD_AUTH' -s | jq -r '.check | .name + " " + .hostname + " " +.type.http.url'done

Which will you something like

homepage /
category /category
article /article

If you want to customize the output just adapt the jq query with any additional fields you may want printed, as an example of the params available:

{"check": {"id": 1111111111,"name": "check name","resolution": 1,"sendnotificationwhendown": 6,"notifyagainevery": 0,"notifywhenbackup": true,"created": 11111111111,"type": {"http": {"verify_certificate": true,"url": "/","encryption": true,"port": 443,"requestheaders": {"User-Agent": "Pingdom.com_bot_version_1.4_("}}},"hostname": "","ipv6": false,"responsetime_threshold": 30000,"custom_message": "","integrationids": [11111],"lasterrortime": 1111111111111,"lasttesttime": 1111111111111,"lastresponsetime": 423,"lastdownstart": 1111111111111,"lastdownend": 1111111111111,"status": "up","tags": [],"probe_filters": ["region: EU"],"userids": [111111]}}