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

NameTypeIs RequiredDefault ValueRemark
appkeystringtrueYOUR_APPKEYObtained after payment
domainstringtrueYOUR_VALUEThe domain to be resolved, format as gugudata.com

API Response Parameters

NameTypeRemark
dataStatus.requestParameterstringThe domain parameter requested
dataStatus.statusCodeintegerHTTP status code
dataStatus.statusstringRequest status
dataStatus.statusDescriptionstringDescription of the request status
dataStatus.responseDateTimestringResponse time
dataStatus.dataTotalCountintegerTotal number of returned data
data.*stringResolved record types, including: A, AAAA, MX, TXT, NS, CNAME, SRV, PTR, SOA
data.*.domainstringThe resolved domain
data.*.ttlstringTTL of the record
data.*.classstringClass of the record
data.*.typestringType of the record
data.*.valuestringValue of the record

API Response Status Codes

Status CodeExplanation of Status CodeRemarks
200API responding normally For business status codes, see below under API Custom Status Codes
403Request 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.
200Normal return
400Parameter error
429Request rate limitedRequests cannot exceed 100 times per second
403Account overdue Please pay attention to the E-mail reminders about order expiration
402APPKEY error Please check whether the APPKEY provided is the one obtained from the developer center
500API response error

Code Snippets

Others also bought

Data and API Description
Review ratingReview ratingReview ratingReview ratingReview rating
4.93
Website Tools
  • Parses the site's title and favicon
Data and API Description
Review ratingReview ratingReview ratingReview ratingReview rating
4.98
Website Tools
  • Intelligently extracts key elements of articles
Data and API Description
Review ratingReview ratingReview ratingReview ratingReview rating
4.92
Image Recognition
  • Supports converting web pages to PDF