Esc
  • Search every page and section of the docs.
Sign up

API

Pinger Man's REST API - getting a token, a first request, and every endpoint for monitors, contacts and WHOIS lookups.


Overview

Pinger Man's REST API lets your own code list, add, change, pause, resume and delete monitors, manage contacts and look up a domain's WHOIS record. It's available on Team and Enterprise plans, and on the legacy Pro and Business plans.

  • Address: https://api.pingerman.com
  • Reference: every endpoint below, and also in ReDoc, drawn from the API's OpenAPI document - point a client generator at it to get a typed client.
  • Format: JSON. Lists are read with a POST to the list's address, with the page you want in the body.

On a legacy plan, calls to the API use usage credits.

Getting a token

Create an access token in your account, under Settings › Access tokens, and send it with every request:

Authorization: Bearer YOUR_TOKEN

A token works for the team it was created in, with its owner's role there. Treat it like a password: anyone with it can do whatever its owner could. Revoke one under Access tokens and it stops working.

You can also get a token from the API itself, with your email address and password. It lasts 24 hours unless you say otherwise: expiresIn, in milliseconds, sets how long - this one lasts 30 days.

curl -X POST https://api.pingerman.com/token \
  -H 'Content-Type: application/json' \
  -d '{"email": "email@company.com", "password": "strong-password", "expiresIn": 2592000000}'

A first request

The first 10 monitors in your account:

curl -X POST https://api.pingerman.com/monitors/list \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -d '{"pageIndex": 0, "pageSize": 10}'

Endpoints

The same endpoints and objects are in ReDoc, if you'd rather browse them there.

List Contacts

post/contacts/list

Returns a list of all contacts on your account

Returns ListContactsResponse - or a problem: .

Add Contact

post/contacts

Adds a contact and returns its details

Returns AddContactResponse - or a problem: .

Delete Contact

delete/contacts

Deletes the contact from your account. The default contact cannot be deleted

Returns MaxotekApiResponse - or a problem: .

Update Contact State

put/contacts/state

Enables or Disabled a contact

Returns MaxotekApiResponse - or a problem: .

List monitors

post/monitors/list

Returns a list of monitors

Returns ListMonitorsResponse - or a problem: .

Get a monitor

get/monitors/{monitorId}

Returns a monitor

ParameterInTypeWhat it does
monitorIdpathstringThe ID of the monitor to get

Returns GetMonitorResponse - or a problem: .

Add HTTP monitor

post/monitors/http

Adds a HTTP monitor and returns its details

Returns MonitorResponse - or a problem: .

Update HTTP monitor

put/monitors/http

Updates a HTTP monitor and returns its details

Returns MonitorResponse - or a problem: .

Add WHOIS monitor

post/monitors/whois

Adds a WHOIS monitor and returns its details

Returns MonitorResponse - or a problem: .

Update WHOIS monitor

put/monitors/whois

Updates a WHOIS monitor and returns its details

Returns MonitorResponse - or a problem: .

Add Keyword monitor

post/monitors/keyword

Adds a Keyword monitor and returns its details

Returns MonitorResponse - or a problem: .

Update Keyword monitor

put/monitors/keyword

Updates a Keyword monitor and returns its details

Returns MonitorResponse - or a problem: .

Add SEO Keyword monitor

post/monitors/seo-keyword

Adds a SEO Keyword monitor and returns its details

Returns MonitorResponse - or a problem: .

Update SEO Keyword monitor

put/monitors/seo-keyword

Updates a SEO Keyword monitor and returns its details

Returns MonitorResponse - or a problem: .

Add Redirect monitor

post/monitors/redirect

Adds a Redirect monitor and returns its details

Returns MonitorResponse - or a problem: .

Update Redirect monitor

put/monitors/redirect

Updates a Redirect monitor and returns its details

Returns MonitorResponse - or a problem: .

Delete Monitors

delete/monitors

Deletes one or more monitors from your account

Returns MaxotekApiResponse - or a problem: .

Pause Monitors

put/monitors/pause

Pauses one or more monitors in your account

Returns MaxotekApiResponse - or a problem: .

Resume Monitors

put/monitors/resume

Resumes one or more paused monitors in your account

Returns MaxotekApiResponse - or a problem: .

Generate API token

post/token

Generates an API token that can be used to call secured APIs.<br/><br/> Pass the bearer token obtained here as an Authorization header to call the secured APIs.<br/><br/> Example Header:-<br/> Authorization: Bearer YOUR_TOKEN_HERE

Returns TokenResponse - or a problem: .

Gets a WHOIS result for a domain

get/whois/{domain}

Returns a WHOIS check result

ParameterInTypeWhat it does
domainpathstringThe domain name to check

Returns GetWhoisResult - or a problem: .

Objects

ListContactsResponse

FieldTypeWhat it is
successbooleanTrue if the request succeeded
errorslist of stringAny errors encountered while serving the request
itemslist of ContactModelThe list of items fetched from the server
pagePageInformation about pagination for the API call

ContactModel

FieldTypeWhat it is
idstringThe unique ID for the object
addedOntimestampThe date/time when this object was added
namestringA user defined name for the contact
contactTypeContactTypeThe type of the contact
monitorDownEnabledbooleanWhether to send notifications when a monitor goes down
monitorUpEnabledbooleanWhether to send notifications when a monitor comes back up
whoisStatusChangedEnabledbooleanWhether to send notifications when the WHOIS status changes
domainRegistrarChangedEnabledbooleanWhether to send notifications when the domain registrar changes
domainExpiringEnabledbooleanWhether to send notifications when the domain is about to expire
domainRenewedEnabledbooleanWhether to send notifications when the domain is renewed
sslExpiringEnabledbooleanWhether to send notifications when the SSL certificate is about to expire
isDefaultbooleanIndicates if this is the Default Contact of the account which cannot be deleted
disabledbooleanTrue if the Contact is disabled. No alerts are sent to disable contacts
verifiedbooleanTrue if the Contact has been verified via Email, SMS, etc.
emailstringThe email address for a contact of type Email
phoneNumberintegerThe phone number for an SMS contact
countryCodeintegerThe numeric country code for the phone number
slackWebhookUrlstringThe URL of the Slack Webhook
twitterHandlestringThe twitter handle to send direct messages to
urlstringThe URL for a Webhook Contact Type
jsonstringThe JSON body to send to the Webhook

ContactType

FieldTypeWhat it is

Page

FieldTypeWhat it is
sizeintegerThe number of elements in the page
totalElementsintegerThe total number of elements
totalPagesintegerThe total number of pages
pageIndexintegerThe index of the current page

AddContactResponse

FieldTypeWhat it is
successbooleanTrue if the request succeeded
errorslist of stringAny errors encountered while serving the request
contactContactModelThe contact that was added

MaxotekApiResponse

FieldTypeWhat it is
successbooleanTrue if the request succeeded
errorslist of stringAny errors encountered while serving the request

ListMonitorsResponse

FieldTypeWhat it is
successbooleanTrue if the request succeeded
errorslist of stringAny errors encountered while serving the request
itemslist of MonitorModelThe list of items fetched from the server
pagePageInformation about pagination for the API call

MonitorModel

FieldTypeWhat it is
idstringThe unique ID for the object
addedOntimestampThe date/time when this object was added
namestringThe name of the monitor
statusMonitorStatusThe status of the monitor
typeMonitorTypeThe type of the monitor
urlstringThe HTTP/HTTPS URL to be checked by a HTTP monitor
expectedUrlstringThe final response URL to match after all redirects have resolved. The monitor goes down if this is not an exact match.
compareQueryAndFragmentbooleanIf true, compares the query string and fragment of the ExpectedUrl and ResponseUrl. Otherwise ignores them during the comparison.
comparePathbooleanIf true, compares the path of the ExpectedUrl and ResponseUrl. Otherwise ignores them during the comparison.
compareSubDomainbooleanIf true, compares the sub domain of the ExpectedUrl and ResponseUrl. Otherwise ignores them during the comparison.
httpMethodHttpOperationThe type of HTTP method to use in the request
httpRequestDatastringRaw data to send in a POST request
httpContentTypestringThe content type header for the HTTP request
userAgentstringThe user agent string to send in the HTTP request
upHttpCodesstringThe HTTP status codes that are considered as successful for a monitor check. Any other status code will cause the monitor to go down. Separate multiple status codes using comma.
keywordstringThe keyword to check for existence in the HTTP response body
keywordExistsbooleanIf true, the monitor is considered to be Up when the specified keyword exists. If false, the monitor is considered to be Down when the specified keyword exists.
rawKeywordCheckbooleanIf true, the Keyword is compared with the content in raw fashion without stripping HTML tags. If false, the Keyword is compared to the content after stripping away HTML tags.
keywordCaseSensitivebooleanIf true, a case-sensitive comparison is made between the specified keyword and the content of the HTTP response.
allowJavaScriptRedirectbooleanIf true, redirects via JavaScript in HTML body are followed
allowMetaTagRedirectbooleanIf true, redirects via HTTP meta tags are followed
intervalintegerThe monitor interval in milliseconds
timeoutintegerThe monitor timeout in milliseconds
hoststringThe host for an SSL, Port, PING or DNS monitor
portintegerThe port for an SSL or Port monitor
ipProtocolIpProtocolTypeThe IP protocol for a Port monitor
expectPortDownbooleanWhether the port is expected to be down
domainstringThe domain for a WHOIS monitor
alertDaysintegerThe number of days before a domain's expiration that an alert should be sent
alertCountintegerThe number of alerts configured on the monitor
upSincetimestampThe date/time since when the monitor is up. NULL if the monitor is down or has not started.
downSincetimestampThe date/time since when the monitor is down. NULL if the monitor is up or was never down.
upTimePercentage24HnumberThe uptime percentage for the monitor in the last 24 hours.
upTimePercentage7DnumberThe uptime percentage for the monitor in the last 7 days.
upTimePercentage30DnumberThe uptime percentage for the monitor in the last 30 days.
upTimePercentage90DnumberThe uptime percentage for the monitor in the last 90 days.
downtimeCountintegerThe number of downtime events that happened on this monitor.
checkCountintegerThe number of checks that performed on this monitor
failedCheckCountintegerThe number of checks that failed on this monitor
firstCheckTimetimestampThe date/time of the first check on this monitor
lastCheckTimetimestampThe date/time of the latest check on this monitor
lastCheckLocationstringThe server location from where the last check was performed on this monitor
averageResponseTimeintegerThe average response time of the monitor across all checks
totalDownTimeintegerThe cumulative downtime across all downtime events
sslSubjectDnstringThe distinguished name (DN) for the subject of the SSL Certificate
sslIssuerDnstringThe distinguished name (DN) for the issuer of the SSL Certificate
sslSubjectCnstringThe common name (DN) for the subject of the SSL Certificate
sslIssuerCnstringThe common name (DN) for the issuer of the SSL Certificate
sslValidUntiltimestampThe date/time till which the SSL certificate is valid
sslDaysLeftintegerThe number of days before the SSL certificate expires
isSslValidbooleanWhether the SSL certificate is valid
sslErrorstringAny errors with the SSL certificate
monitorSslbooleanTrue if SSL monitoring is enabled on the HTTP monitor
domainExpiryStatusDomainExpiryStatusThe expiry status of the domain for a WHOIS monitor
domainExpiresOntimestampThe date/time when the domain will expire
domainExpiryDaysintegerThe number of days before the domain expires
domainRegistrarstringThe name of the registrar of a domain
alertsDisabledbooleanTrue if Alerts have been disabled on the monitor
apdexnumberThe apdex score for the monitor
apdex24HnumberThe apdex score for the monitor in the last 24 hours
apdexSatisfactoryCountintegerThe number of checks with a satisfactory apdex score
apdexTolerableCountintegerThe number of checks with a tolerable apdex score
apdexFrustratedCountintegerThe number of checks with a satisfactory frustrated score
dnsQueryTypeQueryTypeThe type of DNS query to perform
expectedDnsRecordsstringThe expected value for the DNS query
tldstringThe Top Level Domain (TLD) of the domain for a WHOIS monitor
domainRegistrarTypeDomainRegistrarTypeThe curated type of the Domain Registrar
databaseTypeDatabaseTypeThe type of database to monitor
dataSourcestringThe Data Source for a SQL Server database
databasestringThe name of the database to monitor
lowPercentintegerThe percentage of free space at which the monitor goes down
databaseMaxSizeintegerThe maximum size of the database in bytes
databaseSpaceLeftintegerThe free disk space left in the database in bytes
databasePercentSpaceLeftintegerThe percentage of free disk space left in the database

MonitorStatus

FieldTypeWhat it is

MonitorType

FieldTypeWhat it is

HttpOperation

FieldTypeWhat it is

IpProtocolType

FieldTypeWhat it is

DomainExpiryStatus

FieldTypeWhat it is

QueryType

The query type field appear in the question part of a query. Query types are a superset of ResourceRecordType.

FieldTypeWhat it is

DomainRegistrarType

FieldTypeWhat it is

DatabaseType

FieldTypeWhat it is

GetMonitorResponse

FieldTypeWhat it is
successboolean
errorslist of string
warningstring
errorTypeErrorType
itemMonitorModel

ErrorType

FieldTypeWhat it is

MonitorResponse

FieldTypeWhat it is
successbooleanTrue if the request succeeded
errorslist of stringAny errors encountered while serving the request
monitorMonitorModelThe monitor that was added/edited

TokenResponse

FieldTypeWhat it is
successbooleanTrue if the request succeeded
errorslist of stringAny errors encountered while serving the request
tokenstringThe API token which can be used to call authenticated APIs
tokenExpiresOntimestampThe date/time when the token will expire

GetWhoisResult

FieldTypeWhat it is
successboolean
errorslist of string
warningstring
errorTypeErrorType
creditsConsumednumber
creditsLeftnumber
domainstring
statusstring
whoisStatusWhoisStatus
registeredOnstring
expiresOnstring
updatedOnstring
registrantstring
registrarstring
nameServerslist of string
expiresOnDatetimestamp
registeredOnDatetimestamp
updatedOnDatetimestamp

WhoisStatus

FieldTypeWhat it is

Last updated Nov 14, 2026