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
POSTto 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
| Parameter | In | Type | What it does |
|---|---|---|---|
monitorId | path | string | The 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
| Parameter | In | Type | What it does |
|---|---|---|---|
domain | path | string | The domain name to check |
Returns GetWhoisResult - or a problem: .
Objects
ListContactsResponse
| Field | Type | What it is |
|---|---|---|
success | boolean | True if the request succeeded |
errors | list of string | Any errors encountered while serving the request |
items | list of ContactModel | The list of items fetched from the server |
page | Page | Information about pagination for the API call |
ContactModel
| Field | Type | What it is |
|---|---|---|
id | string | The unique ID for the object |
addedOn | timestamp | The date/time when this object was added |
name | string | A user defined name for the contact |
contactType | ContactType | The type of the contact |
monitorDownEnabled | boolean | Whether to send notifications when a monitor goes down |
monitorUpEnabled | boolean | Whether to send notifications when a monitor comes back up |
whoisStatusChangedEnabled | boolean | Whether to send notifications when the WHOIS status changes |
domainRegistrarChangedEnabled | boolean | Whether to send notifications when the domain registrar changes |
domainExpiringEnabled | boolean | Whether to send notifications when the domain is about to expire |
domainRenewedEnabled | boolean | Whether to send notifications when the domain is renewed |
sslExpiringEnabled | boolean | Whether to send notifications when the SSL certificate is about to expire |
isDefault | boolean | Indicates if this is the Default Contact of the account which cannot be deleted |
disabled | boolean | True if the Contact is disabled. No alerts are sent to disable contacts |
verified | boolean | True if the Contact has been verified via Email, SMS, etc. |
email | string | The email address for a contact of type Email |
phoneNumber | integer | The phone number for an SMS contact |
countryCode | integer | The numeric country code for the phone number |
slackWebhookUrl | string | The URL of the Slack Webhook |
twitterHandle | string | The twitter handle to send direct messages to |
url | string | The URL for a Webhook Contact Type |
json | string | The JSON body to send to the Webhook |
ContactType
| Field | Type | What it is |
|---|
Page
| Field | Type | What it is |
|---|---|---|
size | integer | The number of elements in the page |
totalElements | integer | The total number of elements |
totalPages | integer | The total number of pages |
pageIndex | integer | The index of the current page |
AddContactResponse
| Field | Type | What it is |
|---|---|---|
success | boolean | True if the request succeeded |
errors | list of string | Any errors encountered while serving the request |
contact | ContactModel | The contact that was added |
MaxotekApiResponse
| Field | Type | What it is |
|---|---|---|
success | boolean | True if the request succeeded |
errors | list of string | Any errors encountered while serving the request |
ListMonitorsResponse
| Field | Type | What it is |
|---|---|---|
success | boolean | True if the request succeeded |
errors | list of string | Any errors encountered while serving the request |
items | list of MonitorModel | The list of items fetched from the server |
page | Page | Information about pagination for the API call |
MonitorModel
| Field | Type | What it is |
|---|---|---|
id | string | The unique ID for the object |
addedOn | timestamp | The date/time when this object was added |
name | string | The name of the monitor |
status | MonitorStatus | The status of the monitor |
type | MonitorType | The type of the monitor |
url | string | The HTTP/HTTPS URL to be checked by a HTTP monitor |
expectedUrl | string | The final response URL to match after all redirects have resolved. The monitor goes down if this is not an exact match. |
compareQueryAndFragment | boolean | If true, compares the query string and fragment of the ExpectedUrl and ResponseUrl. Otherwise ignores them during the comparison. |
comparePath | boolean | If true, compares the path of the ExpectedUrl and ResponseUrl. Otherwise ignores them during the comparison. |
compareSubDomain | boolean | If true, compares the sub domain of the ExpectedUrl and ResponseUrl. Otherwise ignores them during the comparison. |
httpMethod | HttpOperation | The type of HTTP method to use in the request |
httpRequestData | string | Raw data to send in a POST request |
httpContentType | string | The content type header for the HTTP request |
userAgent | string | The user agent string to send in the HTTP request |
upHttpCodes | string | The 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. |
keyword | string | The keyword to check for existence in the HTTP response body |
keywordExists | boolean | If 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. |
rawKeywordCheck | boolean | If 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. |
keywordCaseSensitive | boolean | If true, a case-sensitive comparison is made between the specified keyword and the content of the HTTP response. |
allowJavaScriptRedirect | boolean | If true, redirects via JavaScript in HTML body are followed |
allowMetaTagRedirect | boolean | If true, redirects via HTTP meta tags are followed |
interval | integer | The monitor interval in milliseconds |
timeout | integer | The monitor timeout in milliseconds |
host | string | The host for an SSL, Port, PING or DNS monitor |
port | integer | The port for an SSL or Port monitor |
ipProtocol | IpProtocolType | The IP protocol for a Port monitor |
expectPortDown | boolean | Whether the port is expected to be down |
domain | string | The domain for a WHOIS monitor |
alertDays | integer | The number of days before a domain's expiration that an alert should be sent |
alertCount | integer | The number of alerts configured on the monitor |
upSince | timestamp | The date/time since when the monitor is up. NULL if the monitor is down or has not started. |
downSince | timestamp | The date/time since when the monitor is down. NULL if the monitor is up or was never down. |
upTimePercentage24H | number | The uptime percentage for the monitor in the last 24 hours. |
upTimePercentage7D | number | The uptime percentage for the monitor in the last 7 days. |
upTimePercentage30D | number | The uptime percentage for the monitor in the last 30 days. |
upTimePercentage90D | number | The uptime percentage for the monitor in the last 90 days. |
downtimeCount | integer | The number of downtime events that happened on this monitor. |
checkCount | integer | The number of checks that performed on this monitor |
failedCheckCount | integer | The number of checks that failed on this monitor |
firstCheckTime | timestamp | The date/time of the first check on this monitor |
lastCheckTime | timestamp | The date/time of the latest check on this monitor |
lastCheckLocation | string | The server location from where the last check was performed on this monitor |
averageResponseTime | integer | The average response time of the monitor across all checks |
totalDownTime | integer | The cumulative downtime across all downtime events |
sslSubjectDn | string | The distinguished name (DN) for the subject of the SSL Certificate |
sslIssuerDn | string | The distinguished name (DN) for the issuer of the SSL Certificate |
sslSubjectCn | string | The common name (DN) for the subject of the SSL Certificate |
sslIssuerCn | string | The common name (DN) for the issuer of the SSL Certificate |
sslValidUntil | timestamp | The date/time till which the SSL certificate is valid |
sslDaysLeft | integer | The number of days before the SSL certificate expires |
isSslValid | boolean | Whether the SSL certificate is valid |
sslError | string | Any errors with the SSL certificate |
monitorSsl | boolean | True if SSL monitoring is enabled on the HTTP monitor |
domainExpiryStatus | DomainExpiryStatus | The expiry status of the domain for a WHOIS monitor |
domainExpiresOn | timestamp | The date/time when the domain will expire |
domainExpiryDays | integer | The number of days before the domain expires |
domainRegistrar | string | The name of the registrar of a domain |
alertsDisabled | boolean | True if Alerts have been disabled on the monitor |
apdex | number | The apdex score for the monitor |
apdex24H | number | The apdex score for the monitor in the last 24 hours |
apdexSatisfactoryCount | integer | The number of checks with a satisfactory apdex score |
apdexTolerableCount | integer | The number of checks with a tolerable apdex score |
apdexFrustratedCount | integer | The number of checks with a satisfactory frustrated score |
dnsQueryType | QueryType | The type of DNS query to perform |
expectedDnsRecords | string | The expected value for the DNS query |
tld | string | The Top Level Domain (TLD) of the domain for a WHOIS monitor |
domainRegistrarType | DomainRegistrarType | The curated type of the Domain Registrar |
databaseType | DatabaseType | The type of database to monitor |
dataSource | string | The Data Source for a SQL Server database |
database | string | The name of the database to monitor |
lowPercent | integer | The percentage of free space at which the monitor goes down |
databaseMaxSize | integer | The maximum size of the database in bytes |
databaseSpaceLeft | integer | The free disk space left in the database in bytes |
databasePercentSpaceLeft | integer | The percentage of free disk space left in the database |
MonitorStatus
| Field | Type | What it is |
|---|
MonitorType
| Field | Type | What it is |
|---|
HttpOperation
| Field | Type | What it is |
|---|
IpProtocolType
| Field | Type | What it is |
|---|
DomainExpiryStatus
| Field | Type | What it is |
|---|
QueryType
The query type field appear in the question part of a query. Query types are a superset of ResourceRecordType.
| Field | Type | What it is |
|---|
DomainRegistrarType
| Field | Type | What it is |
|---|
DatabaseType
| Field | Type | What it is |
|---|
GetMonitorResponse
| Field | Type | What it is |
|---|---|---|
success | boolean | |
errors | list of string | |
warning | string | |
errorType | ErrorType | |
item | MonitorModel |
ErrorType
| Field | Type | What it is |
|---|
MonitorResponse
| Field | Type | What it is |
|---|---|---|
success | boolean | True if the request succeeded |
errors | list of string | Any errors encountered while serving the request |
monitor | MonitorModel | The monitor that was added/edited |
TokenResponse
| Field | Type | What it is |
|---|---|---|
success | boolean | True if the request succeeded |
errors | list of string | Any errors encountered while serving the request |
token | string | The API token which can be used to call authenticated APIs |
tokenExpiresOn | timestamp | The date/time when the token will expire |
GetWhoisResult
| Field | Type | What it is |
|---|---|---|
success | boolean | |
errors | list of string | |
warning | string | |
errorType | ErrorType | |
creditsConsumed | number | |
creditsLeft | number | |
domain | string | |
status | string | |
whoisStatus | WhoisStatus | |
registeredOn | string | |
expiresOn | string | |
updatedOn | string | |
registrant | string | |
registrar | string | |
nameServers | list of string | |
expiresOnDate | timestamp | |
registeredOnDate | timestamp | |
updatedOnDate | timestamp |
WhoisStatus
| Field | Type | What it is |
|---|
Last updated Nov 14, 2026