@apifreaks/openapi-specs 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +156 -0
- package/dist/index.cjs +44663 -0
- package/dist/index.d.cts +30 -0
- package/dist/index.d.ts +30 -0
- package/dist/index.js +44631 -0
- package/package.json +81 -0
- package/specs/commodity/commodity-fluctuation.json +301 -0
- package/specs/commodity/commodity-prices.json +317 -0
- package/specs/commodity/commodity-symbols.json +215 -0
- package/specs/commodity/commodity-time-series.json +329 -0
- package/specs/commodity/historical-commodity-prices.json +273 -0
- package/specs/currency/currency-converter.json +261 -0
- package/specs/currency/currency-fluctuation.json +282 -0
- package/specs/currency/currency-historical-data-limit.json +158 -0
- package/specs/currency/currency-rate.json +229 -0
- package/specs/currency/currency-supported.json +234 -0
- package/specs/currency/currency-symbols.json +161 -0
- package/specs/currency/currency-time-series.json +325 -0
- package/specs/currency/geolocalized-currency-conversion.json +287 -0
- package/specs/currency/historical-currency-converter.json +269 -0
- package/specs/currency/historical-currency-rate.json +246 -0
- package/specs/dns/bulk-dns-lookup.json +624 -0
- package/specs/dns/dns-history-lookup.json +579 -0
- package/specs/dns/dns-lookup.json +466 -0
- package/specs/dns/reverse-dns-lookup.json +414 -0
- package/specs/domain/bulk-domain-checker.json +284 -0
- package/specs/domain/domain-search-with-suggestions.json +280 -0
- package/specs/domain/domain-search.json +206 -0
- package/specs/domain/subdomain-lookup.json +343 -0
- package/specs/email-validation/bulk-email-validation.json +534 -0
- package/specs/email-validation/email-checker.json +586 -0
- package/specs/financial/bulk-vat-rates-country.json +341 -0
- package/specs/financial/financial-apis-supported-countries.json +204 -0
- package/specs/financial/iban-validation.json +328 -0
- package/specs/financial/swift-code-finder.json +192 -0
- package/specs/financial/swift-code-lookup.json +220 -0
- package/specs/financial/vat-number-validation.json +283 -0
- package/specs/financial/vat-rates-by-ip.json +275 -0
- package/specs/financial/vat-rates-country.json +288 -0
- package/specs/general/usage-credits.json +218 -0
- package/specs/geocoding/forward-geocoding.json +402 -0
- package/specs/geocoding/reverse-geocoding.json +326 -0
- package/specs/geodb/administrative-units-details.json +250 -0
- package/specs/geodb/administrative-units-levels.json +198 -0
- package/specs/geodb/administrative-units.json +237 -0
- package/specs/geodb/cities.json +288 -0
- package/specs/geodb/countries-details.json +274 -0
- package/specs/geodb/countries.json +276 -0
- package/specs/geodb/flags-supported.json +166 -0
- package/specs/geodb/flags.json +227 -0
- package/specs/geodb/regions.json +109 -0
- package/specs/geodb/subregions.json +217 -0
- package/specs/ip-intelligence/bulk-ip-lookup.json +1162 -0
- package/specs/ip-intelligence/bulk-ip-threat-intelligence.json +417 -0
- package/specs/ip-intelligence/ip-locator.json +941 -0
- package/specs/ip-intelligence/ip-threat-intelligence.json +316 -0
- package/specs/other/astronomy-data.json +803 -0
- package/specs/pdf/delete-pdf-page.json +286 -0
- package/specs/pdf/linearize-pdf.json +277 -0
- package/specs/pdf/merge-pdf.json +285 -0
- package/specs/pdf/pdf-compress.json +304 -0
- package/specs/pdf/pdf-decrypt.json +297 -0
- package/specs/pdf/pdf-encrypt.json +314 -0
- package/specs/pdf/pdf-extract-pages.json +295 -0
- package/specs/pdf/pdf-file-status.json +208 -0
- package/specs/pdf/pdf-file.json +190 -0
- package/specs/pdf/pdf-files.json +126 -0
- package/specs/pdf/pdf-resource-download.json +168 -0
- package/specs/pdf/pdf-resource-upload-binary.json +218 -0
- package/specs/pdf/pdf-resource-upload.json +248 -0
- package/specs/pdf/pdf-restrict.json +343 -0
- package/specs/pdf/pdf-split-pages.json +281 -0
- package/specs/pdf/pdf-task-status.json +252 -0
- package/specs/pdf/pdf-to-image.json +1219 -0
- package/specs/pdf/pdf-unrestrict.json +324 -0
- package/specs/pdf/rotate-pdf-pages.json +305 -0
- package/specs/phone-validation/bulk-phone-number-validation.json +518 -0
- package/specs/phone-validation/phone-number-validation.json +456 -0
- package/specs/scraper/web-scraper.json +674 -0
- package/specs/screenshot/bulk-screenshot.json +949 -0
- package/specs/screenshot/website-screenshot.json +1147 -0
- package/specs/ssl/ssl-certificate-chain-lookup.json +756 -0
- package/specs/ssl/ssl-certificate-lookup.json +634 -0
- package/specs/timezone/timezone-converter.json +362 -0
- package/specs/timezone/timezone-lookup.json +910 -0
- package/specs/user-agent/bulk-user-agent-parser.json +441 -0
- package/specs/user-agent/user-agent-parser.json +346 -0
- package/specs/weather/air-quality.json +779 -0
- package/specs/weather/bulk-live-weather.json +834 -0
- package/specs/weather/flood-forecast.json +693 -0
- package/specs/weather/historical-weather.json +1019 -0
- package/specs/weather/live-weather.json +789 -0
- package/specs/weather/marine-weather.json +940 -0
- package/specs/weather/time-series-weather.json +1056 -0
- package/specs/weather/weather-forecast.json +1202 -0
- package/specs/whois/asn-lookup.json +729 -0
- package/specs/whois/bulk-whois-lookup.json +698 -0
- package/specs/whois/domain-whois-history-lookup.json +500 -0
- package/specs/whois/reverse-whois.json +625 -0
- package/specs/whois/whois-domain-lookup.json +533 -0
- package/specs/whois/whois-ip-lookup.json +1110 -0
- package/specs/zip-code/bulk-zip-code-lookup.json +318 -0
- package/specs/zip-code/zip-code-api.json +299 -0
- package/specs/zip-code/zip-code-distance-match.json +311 -0
- package/specs/zip-code/zip-code-distance.json +307 -0
- package/specs/zip-code/zip-codes-by-city.json +279 -0
- package/specs/zip-code/zip-codes-by-region.json +278 -0
- package/specs/zip-code/zip-codes-radius-search.json +349 -0
|
@@ -0,0 +1,624 @@
|
|
|
1
|
+
{
|
|
2
|
+
"openapi": "3.1.1",
|
|
3
|
+
"info": {
|
|
4
|
+
"title": "Bulk DNS Lookup API - DNS Records for Up to 100 Hostnames in One Request",
|
|
5
|
+
"version": "1.0.0",
|
|
6
|
+
"description": "Perform DNS lookups for up to 100 hostnames in a single POST request and retrieve A, AAAA, MX, NS, SOA, SPF, TXT, and CNAME records for each domain. The response is a bulk_dns_info array where each entry contains a status flag, query timestamp, domain name, registration status, and the full set of matching DNS records, plus a dnsTypes map listing which record types were found. IP addresses can be included alongside domain names to retrieve PTR records for reverse DNS lookups. Use the format parameter to choose between JSON and XML output.",
|
|
7
|
+
"contact": {
|
|
8
|
+
"name": "APIFreaks Support",
|
|
9
|
+
"url": "https://apifreaks.com/contact",
|
|
10
|
+
"email": "support@apifreaks.com"
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"servers": [
|
|
14
|
+
{
|
|
15
|
+
"url": "https://api.apifreaks.com/v1.0",
|
|
16
|
+
"description": "Bulk DNS Lookup API Server"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"paths": {
|
|
20
|
+
"/domain/dns/live": {
|
|
21
|
+
"post": {
|
|
22
|
+
"tags": ["DNS APIs"],
|
|
23
|
+
"summary": "Retrieve A, AAAA, MX, NS, SOA, SPF, TXT, and CNAME DNS records of multiple hostnames in a single request",
|
|
24
|
+
"description": "Perform DNS lookups for multiple hostnames in a single request. Supports up to 100 hostnames per request and returns DNS records including A, AAAA, MX, NS, SOA, SPF, TXT, and CNAME records.",
|
|
25
|
+
"operationId": "bulkDnsLookup",
|
|
26
|
+
"parameters": [
|
|
27
|
+
{
|
|
28
|
+
"name": "format",
|
|
29
|
+
"in": "query",
|
|
30
|
+
"required": false,
|
|
31
|
+
"description": "Format of the response.",
|
|
32
|
+
"schema": {
|
|
33
|
+
"type": "string",
|
|
34
|
+
"enum": ["json", "xml"],
|
|
35
|
+
"default": "json"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "type",
|
|
40
|
+
"in": "query",
|
|
41
|
+
"required": true,
|
|
42
|
+
"description": "A comma-separated list of DNS record types for lookup.",
|
|
43
|
+
"schema": {
|
|
44
|
+
"type": "string",
|
|
45
|
+
"enum": [
|
|
46
|
+
"A",
|
|
47
|
+
"AAAA",
|
|
48
|
+
"MX",
|
|
49
|
+
"NS",
|
|
50
|
+
"SOA",
|
|
51
|
+
"SPF",
|
|
52
|
+
"TXT",
|
|
53
|
+
"CNAME",
|
|
54
|
+
"all"
|
|
55
|
+
]
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
],
|
|
59
|
+
"requestBody": {
|
|
60
|
+
"required": true,
|
|
61
|
+
"content": {
|
|
62
|
+
"application/json": {
|
|
63
|
+
"schema": {
|
|
64
|
+
"$ref": "#/components/schemas/BulkDNSLookupRequest"
|
|
65
|
+
},
|
|
66
|
+
"examples": {
|
|
67
|
+
"typicalRequest": {
|
|
68
|
+
"summary": "Bulk lookup for two domains and one IP",
|
|
69
|
+
"value": {
|
|
70
|
+
"domainNames": ["google.com", "example.com"],
|
|
71
|
+
"ipAddresses": ["8.8.8.8"]
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
"responses": {
|
|
79
|
+
"200": {
|
|
80
|
+
"description": "Successful DNS lookup response. Each entry in the bulk_dns_info array corresponds to one queried domain or IP address, in request order.",
|
|
81
|
+
"content": {
|
|
82
|
+
"application/json": {
|
|
83
|
+
"schema": {
|
|
84
|
+
"$ref": "#/components/schemas/BulkDNSLookupResponse"
|
|
85
|
+
},
|
|
86
|
+
"examples": {
|
|
87
|
+
"default": {
|
|
88
|
+
"summary": "Bulk DNS lookup with domain and IP entries",
|
|
89
|
+
"value": {
|
|
90
|
+
"bulk_dns_info": [
|
|
91
|
+
{
|
|
92
|
+
"status": true,
|
|
93
|
+
"queryTime": "2026-06-17 09:43:40",
|
|
94
|
+
"ipAddress": "8.8.8.8",
|
|
95
|
+
"dnsTypes": {
|
|
96
|
+
"PTR": 12
|
|
97
|
+
},
|
|
98
|
+
"dnsRecords": [
|
|
99
|
+
{
|
|
100
|
+
"name": "8.8.8.8.in-addr.arpa",
|
|
101
|
+
"type": 12,
|
|
102
|
+
"dnsType": "PTR",
|
|
103
|
+
"ttl": 3933,
|
|
104
|
+
"rawText": "8.8.8.8.in-addr.arpa.\t3933\tIN\tPTR\tdns.google.",
|
|
105
|
+
"rRsetType": 12,
|
|
106
|
+
"singleName": "dns.google."
|
|
107
|
+
}
|
|
108
|
+
]
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"status": true,
|
|
112
|
+
"queryTime": "2026-06-17 09:43:40",
|
|
113
|
+
"domainName": "google.com",
|
|
114
|
+
"domainRegistered": true,
|
|
115
|
+
"dnsTypes": {
|
|
116
|
+
"A": 1,
|
|
117
|
+
"NS": 2,
|
|
118
|
+
"SOA": 6,
|
|
119
|
+
"MX": 15,
|
|
120
|
+
"TXT": 16,
|
|
121
|
+
"AAAA": 28,
|
|
122
|
+
"SPF": 99
|
|
123
|
+
},
|
|
124
|
+
"dnsRecords": [
|
|
125
|
+
{
|
|
126
|
+
"name": "google.com",
|
|
127
|
+
"type": 1,
|
|
128
|
+
"dnsType": "A",
|
|
129
|
+
"ttl": 266,
|
|
130
|
+
"rawText": "google.com.\t\t266\tIN\tA\t142.250.27.113",
|
|
131
|
+
"rRsetType": 1,
|
|
132
|
+
"address": "142.250.27.113"
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"name": "google.com",
|
|
136
|
+
"type": 1,
|
|
137
|
+
"dnsType": "A",
|
|
138
|
+
"ttl": 266,
|
|
139
|
+
"rawText": "google.com.\t\t266\tIN\tA\t142.250.27.100",
|
|
140
|
+
"rRsetType": 1,
|
|
141
|
+
"address": "142.250.27.100"
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"name": "google.com",
|
|
145
|
+
"type": 1,
|
|
146
|
+
"dnsType": "A",
|
|
147
|
+
"ttl": 266,
|
|
148
|
+
"rawText": "google.com.\t\t266\tIN\tA\t142.250.27.101",
|
|
149
|
+
"rRsetType": 1,
|
|
150
|
+
"address": "142.250.27.101"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"name": "google.com",
|
|
154
|
+
"type": 2,
|
|
155
|
+
"dnsType": "NS",
|
|
156
|
+
"ttl": 21600,
|
|
157
|
+
"rawText": "google.com.\t\t21600\tIN\tNS\tns3.google.com.",
|
|
158
|
+
"rRsetType": 2,
|
|
159
|
+
"singleName": "ns3.google.com."
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"name": "google.com",
|
|
163
|
+
"type": 2,
|
|
164
|
+
"dnsType": "NS",
|
|
165
|
+
"ttl": 21600,
|
|
166
|
+
"rawText": "google.com.\t\t21600\tIN\tNS\tns4.google.com.",
|
|
167
|
+
"rRsetType": 2,
|
|
168
|
+
"singleName": "ns4.google.com."
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"name": "google.com",
|
|
172
|
+
"type": 2,
|
|
173
|
+
"dnsType": "NS",
|
|
174
|
+
"ttl": 21600,
|
|
175
|
+
"rawText": "google.com.\t\t21600\tIN\tNS\tns2.google.com.",
|
|
176
|
+
"rRsetType": 2,
|
|
177
|
+
"singleName": "ns2.google.com."
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"name": "google.com",
|
|
181
|
+
"type": 2,
|
|
182
|
+
"dnsType": "NS",
|
|
183
|
+
"ttl": 21600,
|
|
184
|
+
"rawText": "google.com.\t\t21600\tIN\tNS\tns1.google.com.",
|
|
185
|
+
"rRsetType": 2,
|
|
186
|
+
"singleName": "ns1.google.com."
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"name": "google.com",
|
|
190
|
+
"type": 6,
|
|
191
|
+
"dnsType": "SOA",
|
|
192
|
+
"ttl": 20,
|
|
193
|
+
"rawText": "google.com.\t\t20\tIN\tSOA\tns1.google.com. dns-admin.google.com. 932992649 900 900 1800 60",
|
|
194
|
+
"rRsetType": 6,
|
|
195
|
+
"admin": "dns-admin.google.com.",
|
|
196
|
+
"host": "ns1.google.com.",
|
|
197
|
+
"expire": 1800,
|
|
198
|
+
"minimum": 60,
|
|
199
|
+
"refresh": 900,
|
|
200
|
+
"retry": 900,
|
|
201
|
+
"serial": 932992649
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"name": "google.com",
|
|
205
|
+
"type": 15,
|
|
206
|
+
"dnsType": "MX",
|
|
207
|
+
"ttl": 198,
|
|
208
|
+
"rawText": "google.com.\t\t198\tIN\tMX\t10 smtp.google.com.",
|
|
209
|
+
"rRsetType": 15,
|
|
210
|
+
"target": "smtp.google.com.",
|
|
211
|
+
"priority": 10
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"name": "google.com",
|
|
215
|
+
"type": 16,
|
|
216
|
+
"dnsType": "TXT",
|
|
217
|
+
"ttl": 300,
|
|
218
|
+
"rawText": "google.com.\t\t300\tIN\tTXT\t\"google-site-verification=TV9-DBe4R80X4v0M4U_bd_J9cpOJM0nikft0jAgjmsQ\"",
|
|
219
|
+
"rRsetType": 16,
|
|
220
|
+
"strings": [
|
|
221
|
+
"google-site-verification=TV9-DBe4R80X4v0M4U_bd_J9cpOJM0nikft0jAgjmsQ"
|
|
222
|
+
]
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"name": "google.com",
|
|
226
|
+
"type": 28,
|
|
227
|
+
"dnsType": "AAAA",
|
|
228
|
+
"ttl": 106,
|
|
229
|
+
"rawText": "google.com.\t\t106\tIN\tAAAA\t2a00:1450:4025:401:0:0:0:8b",
|
|
230
|
+
"rRsetType": 28,
|
|
231
|
+
"address": "2a00:1450:4025:401:0:0:0:8b"
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
"name": "google.com",
|
|
235
|
+
"type": 99,
|
|
236
|
+
"dnsType": "SPF",
|
|
237
|
+
"ttl": 300,
|
|
238
|
+
"rawText": "google.com.\t\t300\tIN\tSPF\t\"v=spf1 include:_spf.google.com ~all\"",
|
|
239
|
+
"rRsetType": 99,
|
|
240
|
+
"strings": ["v=spf1 include:_spf.google.com ~all"]
|
|
241
|
+
}
|
|
242
|
+
]
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"status": true,
|
|
246
|
+
"queryTime": "2026-06-17 09:43:40",
|
|
247
|
+
"domainName": "example.com",
|
|
248
|
+
"domainRegistered": true,
|
|
249
|
+
"dnsTypes": {
|
|
250
|
+
"A": 1,
|
|
251
|
+
"NS": 2,
|
|
252
|
+
"SOA": 6,
|
|
253
|
+
"MX": 15,
|
|
254
|
+
"TXT": 16,
|
|
255
|
+
"AAAA": 28,
|
|
256
|
+
"SPF": 99
|
|
257
|
+
},
|
|
258
|
+
"dnsRecords": [
|
|
259
|
+
{
|
|
260
|
+
"name": "example.com",
|
|
261
|
+
"type": 1,
|
|
262
|
+
"dnsType": "A",
|
|
263
|
+
"ttl": 300,
|
|
264
|
+
"rawText": "example.com.\t\t300\tIN\tA\t104.20.23.154",
|
|
265
|
+
"rRsetType": 1,
|
|
266
|
+
"address": "104.20.23.154"
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"name": "example.com",
|
|
270
|
+
"type": 2,
|
|
271
|
+
"dnsType": "NS",
|
|
272
|
+
"ttl": 21600,
|
|
273
|
+
"rawText": "example.com.\t\t21600\tIN\tNS\telliott.ns.cloudflare.com.",
|
|
274
|
+
"rRsetType": 2,
|
|
275
|
+
"singleName": "elliott.ns.cloudflare.com."
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"name": "example.com",
|
|
279
|
+
"type": 6,
|
|
280
|
+
"dnsType": "SOA",
|
|
281
|
+
"ttl": 1800,
|
|
282
|
+
"rawText": "example.com.\t\t1800\tIN\tSOA\telliott.ns.cloudflare.com. dns.cloudflare.com. 2405749864 10000 2400 604800 1800",
|
|
283
|
+
"rRsetType": 6,
|
|
284
|
+
"admin": "dns.cloudflare.com.",
|
|
285
|
+
"host": "elliott.ns.cloudflare.com.",
|
|
286
|
+
"expire": 604800,
|
|
287
|
+
"minimum": 1800,
|
|
288
|
+
"refresh": 10000,
|
|
289
|
+
"retry": 2400,
|
|
290
|
+
"serial": 2405749864
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
"name": "example.com",
|
|
294
|
+
"type": 15,
|
|
295
|
+
"dnsType": "MX",
|
|
296
|
+
"ttl": 86,
|
|
297
|
+
"rawText": "example.com.\t\t86\tIN\tMX\t0 .",
|
|
298
|
+
"rRsetType": 15,
|
|
299
|
+
"target": ".",
|
|
300
|
+
"priority": 0
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
"name": "example.com",
|
|
304
|
+
"type": 16,
|
|
305
|
+
"dnsType": "TXT",
|
|
306
|
+
"ttl": 300,
|
|
307
|
+
"rawText": "example.com.\t\t300\tIN\tTXT\t\"_k2n1y4vw3qtb4skdx9e7dxt97qrmmq9\"",
|
|
308
|
+
"rRsetType": 16,
|
|
309
|
+
"strings": ["_k2n1y4vw3qtb4skdx9e7dxt97qrmmq9"]
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"name": "example.com",
|
|
313
|
+
"type": 28,
|
|
314
|
+
"dnsType": "AAAA",
|
|
315
|
+
"ttl": 300,
|
|
316
|
+
"rawText": "example.com.\t\t300\tIN\tAAAA\t2606:4700:10:0:0:0:ac42:93f3",
|
|
317
|
+
"rRsetType": 28,
|
|
318
|
+
"address": "2606:4700:10:0:0:0:ac42:93f3"
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
"name": "example.com",
|
|
322
|
+
"type": 99,
|
|
323
|
+
"dnsType": "SPF",
|
|
324
|
+
"ttl": 300,
|
|
325
|
+
"rawText": "example.com.\t\t300\tIN\tSPF\t\"v=spf1 -all\"",
|
|
326
|
+
"rRsetType": 99,
|
|
327
|
+
"strings": ["v=spf1 -all"]
|
|
328
|
+
}
|
|
329
|
+
]
|
|
330
|
+
}
|
|
331
|
+
]
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
},
|
|
338
|
+
"400": {
|
|
339
|
+
"description": "Bad Request — Missing type parameter or malformed request body",
|
|
340
|
+
"content": {
|
|
341
|
+
"application/json": {
|
|
342
|
+
"schema": {
|
|
343
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
344
|
+
},
|
|
345
|
+
"examples": {
|
|
346
|
+
"missingTypeParam": {
|
|
347
|
+
"summary": "Missing type query parameter",
|
|
348
|
+
"value": {
|
|
349
|
+
"timestamp": "2026-07-23T09:52:48.563Z",
|
|
350
|
+
"path": "/v1.0/domain/dns/live",
|
|
351
|
+
"status": 400,
|
|
352
|
+
"error": "Invalid Param Exception",
|
|
353
|
+
"message": "please pass correct parameters"
|
|
354
|
+
}
|
|
355
|
+
},
|
|
356
|
+
"malformedBody": {
|
|
357
|
+
"summary": "Missing or malformed request body",
|
|
358
|
+
"value": {
|
|
359
|
+
"error": "Invalid request body Exception",
|
|
360
|
+
"message": "Please provide data in required format in request body",
|
|
361
|
+
"path": "/v1.0/domain/dns/live",
|
|
362
|
+
"status": 400,
|
|
363
|
+
"timestamp": "2026-07-23T09:52:49.074Z"
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
},
|
|
370
|
+
"413": {
|
|
371
|
+
"description": "Payload Too Large — Request exceeds the 100-hostname batch limit",
|
|
372
|
+
"content": {
|
|
373
|
+
"application/json": {
|
|
374
|
+
"schema": {
|
|
375
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
376
|
+
},
|
|
377
|
+
"examples": {
|
|
378
|
+
"payloadTooLarge": {
|
|
379
|
+
"summary": "More than 100 domain names submitted",
|
|
380
|
+
"value": {
|
|
381
|
+
"error": "Payload too large Exception",
|
|
382
|
+
"message": "Maximum request body size limit exceeded",
|
|
383
|
+
"path": "/v1.0/domain/dns/live",
|
|
384
|
+
"status": 413,
|
|
385
|
+
"timestamp": "2026-07-23T09:52:49.621Z"
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
},
|
|
396
|
+
"components": {
|
|
397
|
+
"securitySchemes": {
|
|
398
|
+
"ApiKeyAuthHeader": {
|
|
399
|
+
"type": "apiKey",
|
|
400
|
+
"in": "header",
|
|
401
|
+
"name": "X-apiKey",
|
|
402
|
+
"description": "Pass your API key via the X-apiKey request header."
|
|
403
|
+
},
|
|
404
|
+
"ApiKeyAuthQuery": {
|
|
405
|
+
"type": "apiKey",
|
|
406
|
+
"in": "query",
|
|
407
|
+
"name": "apiKey",
|
|
408
|
+
"description": "Pass your API key via the apiKey query parameter."
|
|
409
|
+
}
|
|
410
|
+
},
|
|
411
|
+
"schemas": {
|
|
412
|
+
"BulkDNSLookupRequest": {
|
|
413
|
+
"type": "object",
|
|
414
|
+
"description": "Request body for bulk DNS lookup containing a list of hostnames and optional IP addresses.",
|
|
415
|
+
"required": ["domainNames"],
|
|
416
|
+
"properties": {
|
|
417
|
+
"domainNames": {
|
|
418
|
+
"type": "array",
|
|
419
|
+
"description": "List of hostnames to lookup DNS records for (max 100).",
|
|
420
|
+
"maxItems": 100,
|
|
421
|
+
"items": {
|
|
422
|
+
"type": "string"
|
|
423
|
+
}
|
|
424
|
+
},
|
|
425
|
+
"ipAddresses": {
|
|
426
|
+
"type": "array",
|
|
427
|
+
"description": "Array of IP addresses to include in the lookup for PTR record enrichment.",
|
|
428
|
+
"items": {
|
|
429
|
+
"type": "string"
|
|
430
|
+
}
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
},
|
|
434
|
+
"BulkDNSLookupResponse": {
|
|
435
|
+
"type": "object",
|
|
436
|
+
"description": "Response containing an array of per-domain DNS lookup results.",
|
|
437
|
+
"required": ["bulk_dns_info"],
|
|
438
|
+
"properties": {
|
|
439
|
+
"bulk_dns_info": {
|
|
440
|
+
"type": "array",
|
|
441
|
+
"description": "Array of DNS lookup results, one per queried domain or IP address.",
|
|
442
|
+
"items": {
|
|
443
|
+
"$ref": "#/components/schemas/BulkDnsLookupItem"
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
},
|
|
448
|
+
"BulkDnsLookupItem": {
|
|
449
|
+
"type": "object",
|
|
450
|
+
"description": "Per-domain DNS lookup result within a bulk response, containing status, timestamps, and DNS records.",
|
|
451
|
+
"properties": {
|
|
452
|
+
"status": {
|
|
453
|
+
"type": "boolean",
|
|
454
|
+
"description": "Indicates whether the query for this domain was processed successfully."
|
|
455
|
+
},
|
|
456
|
+
"queryTime": {
|
|
457
|
+
"type": "string",
|
|
458
|
+
"description": "Time at which the query was made (YYYY-MM-DD HH:mm:ss)."
|
|
459
|
+
},
|
|
460
|
+
"domainName": {
|
|
461
|
+
"type": ["string", "null"],
|
|
462
|
+
"description": "Queried domain name (present for domain lookups, null for IP lookups)."
|
|
463
|
+
},
|
|
464
|
+
"domainRegistered": {
|
|
465
|
+
"type": ["boolean", "null"],
|
|
466
|
+
"description": "Indicates whether the domain is registered (present for domain lookups)."
|
|
467
|
+
},
|
|
468
|
+
"ipAddress": {
|
|
469
|
+
"type": ["string", "null"],
|
|
470
|
+
"description": "IP address queried (present for IP/PTR lookups)."
|
|
471
|
+
},
|
|
472
|
+
"dnsTypes": {
|
|
473
|
+
"$ref": "#/components/schemas/DnsTypes"
|
|
474
|
+
},
|
|
475
|
+
"dnsRecords": {
|
|
476
|
+
"type": "array",
|
|
477
|
+
"description": "List of DNS records for this entry. Field presence varies by dnsType — see DnsRecord for which fields apply to which type.",
|
|
478
|
+
"items": {
|
|
479
|
+
"$ref": "#/components/schemas/DnsRecord"
|
|
480
|
+
}
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
},
|
|
484
|
+
"DnsTypes": {
|
|
485
|
+
"type": "object",
|
|
486
|
+
"description": "Map of each DNS record type present in dnsRecords to its IANA DNS resource record type code (e.g. A: 1, AAAA: 28, MX: 15, NS: 2, SOA: 6, TXT: 16, SPF: 99, PTR: 12). Indicates which record types were found for this entry, not how many of each — count entries in dnsRecords for that.",
|
|
487
|
+
"additionalProperties": {
|
|
488
|
+
"title": "DnsTypeCode",
|
|
489
|
+
"type": "integer",
|
|
490
|
+
"description": "IANA DNS resource record type code for this DNS record type (A: 1, AAAA: 28, CNAME: 5, MX: 15, NS: 2, SOA: 6, TXT: 16, SPF: 99, PTR: 12)."
|
|
491
|
+
}
|
|
492
|
+
},
|
|
493
|
+
"DnsRecord": {
|
|
494
|
+
"type": "object",
|
|
495
|
+
"description": "A single DNS resource record. name, type, dnsType, ttl, rawText, and rRsetType are always present; every other field is populated only for the dnsType(s) noted in its description.",
|
|
496
|
+
"required": ["name", "type", "dnsType", "ttl", "rawText", "rRsetType"],
|
|
497
|
+
"properties": {
|
|
498
|
+
"name": {
|
|
499
|
+
"type": "string",
|
|
500
|
+
"description": "Name of the queried domain, or the reverse DNS name (e.g. '8.8.8.8.in-addr.arpa') for PTR records."
|
|
501
|
+
},
|
|
502
|
+
"type": {
|
|
503
|
+
"type": "integer",
|
|
504
|
+
"description": "DNS type code (1=A, 28=AAAA, 5=CNAME, 15=MX, 2=NS, 6=SOA, 16=TXT, 99=SPF, 12=PTR)."
|
|
505
|
+
},
|
|
506
|
+
"dnsType": {
|
|
507
|
+
"type": "string",
|
|
508
|
+
"enum": [
|
|
509
|
+
"A",
|
|
510
|
+
"AAAA",
|
|
511
|
+
"CNAME",
|
|
512
|
+
"MX",
|
|
513
|
+
"NS",
|
|
514
|
+
"SOA",
|
|
515
|
+
"TXT",
|
|
516
|
+
"SPF",
|
|
517
|
+
"PTR"
|
|
518
|
+
],
|
|
519
|
+
"description": "DNS record type as a string."
|
|
520
|
+
},
|
|
521
|
+
"ttl": {
|
|
522
|
+
"type": "integer",
|
|
523
|
+
"description": "Time to live in seconds."
|
|
524
|
+
},
|
|
525
|
+
"rawText": {
|
|
526
|
+
"type": "string",
|
|
527
|
+
"description": "Raw (un-parsed) DNS record text."
|
|
528
|
+
},
|
|
529
|
+
"rRsetType": {
|
|
530
|
+
"type": "integer",
|
|
531
|
+
"description": "Resource record set type code."
|
|
532
|
+
},
|
|
533
|
+
"address": {
|
|
534
|
+
"type": "string",
|
|
535
|
+
"description": "IPv4 or IPv6 address. Present only when dnsType is A or AAAA."
|
|
536
|
+
},
|
|
537
|
+
"target": {
|
|
538
|
+
"type": "string",
|
|
539
|
+
"description": "Target hostname. Present only when dnsType is CNAME or MX."
|
|
540
|
+
},
|
|
541
|
+
"priority": {
|
|
542
|
+
"type": "integer",
|
|
543
|
+
"description": "Mail server priority. Present only when dnsType is MX."
|
|
544
|
+
},
|
|
545
|
+
"singleName": {
|
|
546
|
+
"type": "string",
|
|
547
|
+
"description": "Authoritative name server (NS) or reverse-resolved hostname (PTR). Present only when dnsType is NS or PTR."
|
|
548
|
+
},
|
|
549
|
+
"admin": {
|
|
550
|
+
"type": "string",
|
|
551
|
+
"description": "Administrative contact email. Present only when dnsType is SOA."
|
|
552
|
+
},
|
|
553
|
+
"host": {
|
|
554
|
+
"type": "string",
|
|
555
|
+
"description": "Primary name server. Present only when dnsType is SOA."
|
|
556
|
+
},
|
|
557
|
+
"expire": {
|
|
558
|
+
"type": "integer",
|
|
559
|
+
"description": "Expiry time in seconds. Present only when dnsType is SOA."
|
|
560
|
+
},
|
|
561
|
+
"minimum": {
|
|
562
|
+
"type": "integer",
|
|
563
|
+
"description": "Minimum TTL in seconds. Present only when dnsType is SOA."
|
|
564
|
+
},
|
|
565
|
+
"refresh": {
|
|
566
|
+
"type": "integer",
|
|
567
|
+
"description": "Refresh interval in seconds. Present only when dnsType is SOA."
|
|
568
|
+
},
|
|
569
|
+
"retry": {
|
|
570
|
+
"type": "integer",
|
|
571
|
+
"description": "Retry interval in seconds. Present only when dnsType is SOA."
|
|
572
|
+
},
|
|
573
|
+
"serial": {
|
|
574
|
+
"type": "integer",
|
|
575
|
+
"description": "Serial number. Present only when dnsType is SOA."
|
|
576
|
+
},
|
|
577
|
+
"strings": {
|
|
578
|
+
"type": "array",
|
|
579
|
+
"description": "Verification or policy strings. Present only when dnsType is TXT or SPF.",
|
|
580
|
+
"items": {
|
|
581
|
+
"type": "string"
|
|
582
|
+
}
|
|
583
|
+
}
|
|
584
|
+
}
|
|
585
|
+
},
|
|
586
|
+
"ErrorResponse": {
|
|
587
|
+
"type": "object",
|
|
588
|
+
"description": "Standard error response returned when a request fails.",
|
|
589
|
+
"required": ["message"],
|
|
590
|
+
"properties": {
|
|
591
|
+
"timestamp": {
|
|
592
|
+
"type": "string",
|
|
593
|
+
"format": "date-time",
|
|
594
|
+
"description": "Timestamp of the error."
|
|
595
|
+
},
|
|
596
|
+
"path": {
|
|
597
|
+
"type": "string",
|
|
598
|
+
"description": "Request path."
|
|
599
|
+
},
|
|
600
|
+
"status": {
|
|
601
|
+
"type": "integer",
|
|
602
|
+
"description": "HTTP status code."
|
|
603
|
+
},
|
|
604
|
+
"error": {
|
|
605
|
+
"type": "string",
|
|
606
|
+
"description": "Error type."
|
|
607
|
+
},
|
|
608
|
+
"message": {
|
|
609
|
+
"type": "string",
|
|
610
|
+
"description": "Error message."
|
|
611
|
+
}
|
|
612
|
+
}
|
|
613
|
+
}
|
|
614
|
+
}
|
|
615
|
+
},
|
|
616
|
+
"security": [
|
|
617
|
+
{
|
|
618
|
+
"ApiKeyAuthHeader": []
|
|
619
|
+
},
|
|
620
|
+
{
|
|
621
|
+
"ApiKeyAuthQuery": []
|
|
622
|
+
}
|
|
623
|
+
]
|
|
624
|
+
}
|