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.
400Parameter error
402APPKEY error Please check if the APPKEY provided is the one obtained from the developer center.
403Account overdue Please pay attention to the E-mail reminders regarding order expiration.
429Request rate limited Requests cannot exceed 5 times per second. The CDN layer intelligently determines based on the frequency of IP requests. General high-frequency requests do not trigger this status code.
500API response error

Code Snippets Run In Postman

Others also bought

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
Data and API Description
Review ratingReview ratingReview ratingReview ratingReview rating
4.97
Website Tools
  • Provides domain SSL certificate information parsing