API Documents
Documentation API Documents Get the Monitor Information

Get the Monitor Information

1. API Description

This API (Monitor.Info) is used to get the monitor information.
Domain name for API request:https://dnsapi.cn/Monitor.Info
HTTP request method: POST

2. Request Parameters

The table below lists only the API request parameters. Common request parameters are required when the API is called. For more information, please see Common Request Parameters.

Parameter Required Description
monitor_id yes The monitor’s id.

3. Response Codes

Only the response codes related to this API are listed below. For other response codes, please see Common Return Codes.

Response Code Description
7 Invalid monitor id.

4. Sample

curl -X POST https://api.dnspod.com/Monitor.Info -d 'user_token=730060,e1a8a$f14dc5dcbafd83680b3d2a553c4d553d&format=json&monitor_id=e91997aa-3641-11e2-bab7-0819a6248970'

The following is a sample response:

  • JSON:
    "status": {
        "code": "1",
        "message": "Action completed successful",
        "created_at": "2014-06-05 10:23:16"
    "info": {
        "monitor_id": "792626",
        "domain": "usertest.com",
        "domain_id": "15132",
        "domain_grade": "DP_Free",
        "record_id": "283118",
        "sub_domain": "eeee",
        "record_line": "Default",
        "ip": "",
        "now_ip": "",
        "host": "eeee.usertest.com",
        "port": "80",
        "monitor_type": "http",
        "monitor_path": "/",
        "monitor_interval": "180",
        "points": "hk-1,usa-1,ctc-4",
        "bak_ip": "auto",
        "status": "Ok",
        "status_code": "200",
        "sms_notice": "me",
        "email_notice": "me",
        "less_notice": "yes",
        "callback_url": "",
        "callback_key": "",
        "monitor_status": "enabled",
        "created_on": "2014-06-05 10:20:41",
        "updated_on": "2014-06-05 10:20:41",
        "bak_ip_status": []
Last updated on 2020-12-23 09:08

DNSPod Technical Community

Sharing & discussions

Scan using WeChat

Official WeChat group

Join WeChat group to chat and feedback

Scan using WeChat