Bestseller
Domain DNS Information Query
Returns data for various record types
Rich Information StructureMillisecond Response
Web Tools
Data & API Features
- Provides complete DNS resolution records for domains;
- Rich resolution record types, including: A, AAAA, MX, TXT, NS, CNAME, SRV, PTR, SOA;
- Supports querying multiple types of resolution records;
- Millisecond parsing performance, supporting high concurrency;
- Supports HTTPS (TLS v1.0 / v1.1 / v1.2 / v1.3) for all interfaces;
- Fully compatible with Apple ATS;
- Nationwide multi-node CDN deployment;
- Rapid response of the interface, with multiple servers building API interface load balancing.
API Document
HTTP Protocol:HTTPS
HTTP Method:GET
HTTP Endpoint:https://api.gugudata.io/v1/websitetools/dns-lookup
Response Type:application/json; charset=utf-8
DEMO Endpoint:https://api.gugudata.io/v1/websitetools/dns-lookup/demo
API Request Parameters
Name | Type | Is Required | Default Value | Remark |
---|---|---|---|---|
appkey | string | true | YOUR_APPKEY | Obtained after payment |
domain | string | true | YOUR_VALUE | The domain to be resolved, format as gugudata.com |
API Response Parameters
Name | Type | Remark |
---|---|---|
dataStatus.requestParameter | string | The domain parameter requested |
dataStatus.statusCode | integer | HTTP status code |
dataStatus.status | string | Request status |
dataStatus.statusDescription | string | Description of the request status |
dataStatus.responseDateTime | string | Response time |
dataStatus.dataTotalCount | integer | Total number of returned data |
data.* | string | Resolved record types, including: A, AAAA, MX, TXT, NS, CNAME, SRV, PTR, SOA |
data.*.domain | string | The resolved domain |
data.*.ttl | string | TTL of the record |
data.*.class | string | Class of the record |
data.*.type | string | Type of the record |
data.*.value | string | Value of the record |
API Response Status Codes
Status Code | Explanation of Status Code | Remarks |
---|---|---|
200 | API responding normally | For business status codes, see below under API Custom Status Codes |
403 | Request rate exceeded | The CDN layer makes an intelligent judgment based on the frequency of IP requests. General high-frequency requests will not trigger this status code. |
200 | Normal return | |
400 | Parameter error | |
429 | Request rate limited | Requests cannot exceed 100 times per second |
403 | Account overdue | Please pay attention to the E-mail reminders about order expiration |
402 | APPKEY error | Please check whether the APPKEY provided is the one obtained from the developer center |
500 | API response error |
Code Snippets
Others also bought
4.93
Website Tools
- Parses the site's title and favicon
4.98
Website Tools
- Intelligently extracts key elements of articles
4.92
Image Recognition
- Supports converting web pages to PDF