@apifreaks/openapi-specs 0.4.23 → 0.4.25
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/dist/index.cjs +4020 -774
- package/dist/index.js +4020 -774
- package/dist/specs/commodity/commodity-fluctuation.yaml +33 -2
- package/dist/specs/commodity/commodity-intraday-rates.yaml +33 -2
- package/dist/specs/commodity/commodity-prices.yaml +33 -2
- package/dist/specs/commodity/commodity-symbols.yaml +68 -1
- package/dist/specs/commodity/commodity-time-series.yaml +33 -2
- package/dist/specs/commodity/historical-commodity-prices.yaml +33 -2
- package/dist/specs/dns/bulk-dns-lookup.yaml +45 -3
- package/dist/specs/dns/dns-history-lookup.yaml +76 -3
- package/dist/specs/dns/dns-lookup.yaml +72 -6
- package/dist/specs/dns/reverse-dns-lookup.yaml +91 -2
- package/dist/specs/financial/bulk-vat-rates-country.yaml +18 -0
- package/dist/specs/financial/financial-apis-supported-countries.yaml +75 -17
- package/dist/specs/financial/iban-validation.yaml +19 -1
- package/dist/specs/financial/swift-code-finder.yaml +18 -0
- package/dist/specs/financial/swift-code-lookup.yaml +18 -0
- package/dist/specs/financial/vat-number-validation.yaml +48 -0
- package/dist/specs/financial/vat-rates-by-ip.yaml +18 -0
- package/dist/specs/financial/vat-rates-country.yaml +18 -0
- package/dist/specs/geocoding/forward-geocoding.yaml +95 -2
- package/dist/specs/geocoding/reverse-geocoding.yaml +71 -0
- package/dist/specs/phone-number-validation/bulk-phone-number-validation.yaml +25 -21
- package/dist/specs/phone-number-validation/phone-validation.yaml +49 -21
- package/dist/specs/scraper/web-scraper.yaml +85 -7
- package/dist/specs/weather/air-quality.yaml +71 -5
- package/dist/specs/weather/astronomy-data.yaml +84 -1
- package/dist/specs/weather/bulk-live-weather.yaml +159 -3
- package/dist/specs/weather/flood-forecast.yaml +61 -11
- package/dist/specs/weather/historical-weather.yaml +53 -3
- package/dist/specs/weather/live-weather.yaml +66 -15
- package/dist/specs/weather/marine-weather.yaml +74 -8
- package/dist/specs/weather/time-series-weather.yaml +60 -8
- package/dist/specs/weather/weather-forecast.yaml +76 -6
- package/dist/specs/whois/asn-lookup.yaml +0 -15
- package/dist/specs/whois/bulk-whois-lookup.yaml +177 -25
- package/dist/specs/whois/domain-whois-history-lookup.yaml +97 -20
- package/dist/specs/whois/whois-domain-lookup.yaml +109 -21
- package/dist/specs/whois/whois-ip-lookup.yaml +86 -16
- package/package.json +1 -1
- package/specs/commodity/commodity-fluctuation.json +44 -2
- package/specs/commodity/commodity-intraday-rates.json +44 -2
- package/specs/commodity/commodity-prices.json +44 -2
- package/specs/commodity/commodity-symbols.json +95 -1
- package/specs/commodity/commodity-time-series.json +44 -2
- package/specs/commodity/historical-commodity-prices.json +44 -2
- package/specs/dns/bulk-dns-lookup.json +63 -4
- package/specs/dns/dns-history-lookup.json +102 -3
- package/specs/dns/dns-lookup.json +96 -6
- package/specs/dns/reverse-dns-lookup.json +121 -2
- package/specs/financial/bulk-vat-rates-country.json +27 -0
- package/specs/financial/financial-apis-supported-countries.json +114 -23
- package/specs/financial/iban-validation.json +28 -1
- package/specs/financial/swift-code-finder.json +27 -0
- package/specs/financial/swift-code-lookup.json +27 -0
- package/specs/financial/vat-number-validation.json +72 -0
- package/specs/financial/vat-rates-by-ip.json +27 -0
- package/specs/financial/vat-rates-country.json +27 -0
- package/specs/geocoding/forward-geocoding.json +127 -2
- package/specs/geocoding/reverse-geocoding.json +102 -0
- package/specs/phone-number-validation/bulk-phone-number-validation.json +35 -30
- package/specs/phone-number-validation/phone-validation.json +64 -29
- package/specs/scraper/web-scraper.json +110 -7
- package/specs/weather/air-quality.json +92 -5
- package/specs/weather/astronomy-data.json +122 -1
- package/specs/weather/bulk-live-weather.json +227 -3
- package/specs/weather/flood-forecast.json +78 -11
- package/specs/weather/historical-weather.json +70 -3
- package/specs/weather/live-weather.json +85 -17
- package/specs/weather/marine-weather.json +95 -8
- package/specs/weather/time-series-weather.json +82 -8
- package/specs/weather/weather-forecast.json +107 -6
- package/specs/whois/asn-lookup.json +0 -22
- package/specs/whois/bulk-whois-lookup.json +116 -47
- package/specs/whois/domain-whois-history-lookup.json +58 -32
- package/specs/whois/whois-domain-lookup.json +99 -39
- package/specs/whois/whois-ip-lookup.json +21 -33
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"post": {
|
|
22
22
|
"tags": ["DNS APIs"],
|
|
23
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. IP addresses in `ipAddresses` are looked up for PTR records
|
|
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. IP addresses in `ipAddresses` are looked up for PTR records when `type` is `PTR` or `all`. Entries in the response are not guaranteed to follow request order, and a hostname submitted more than once is returned once. Each hostname in `domainNames` costs 15 credits, including duplicates and unregistered domains; hostnames that cannot be processed, IP addresses, and error responses are not charged.",
|
|
25
25
|
"operationId": "bulkDnsLookup",
|
|
26
26
|
"parameters": [
|
|
27
27
|
{
|
|
@@ -41,12 +41,12 @@
|
|
|
41
41
|
"required": true,
|
|
42
42
|
"style": "form",
|
|
43
43
|
"explode": false,
|
|
44
|
-
"description": "A comma-separated list of DNS record types for lookup (for example `MX,TXT`), or `all` for every supported type. Values are case-insensitive.",
|
|
44
|
+
"description": "A comma-separated list of DNS record types for lookup (for example `MX,TXT`), or `all` for every supported type. Values are case-insensitive. `PTR` (also included in `all`) is looked up only for the IP addresses in `ipAddresses`; with any other type the IP addresses are returned with an empty `dnsRecords` array.",
|
|
45
45
|
"schema": {
|
|
46
46
|
"type": "array",
|
|
47
47
|
"items": {
|
|
48
48
|
"type": "string",
|
|
49
|
-
"enum": ["A", "AAAA", "MX", "NS", "SOA", "SPF", "TXT", "CNAME", "all"]
|
|
49
|
+
"enum": ["A", "AAAA", "MX", "NS", "SOA", "SPF", "TXT", "CNAME", "PTR", "all"]
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
}
|
|
@@ -502,7 +502,7 @@
|
|
|
502
502
|
}
|
|
503
503
|
},
|
|
504
504
|
"400": {
|
|
505
|
-
"description": "Bad Request — Missing or unsupported type parameter,
|
|
505
|
+
"description": "Bad Request — Missing or unsupported type parameter, a missing, empty or malformed request body (domainNames is required and must be a non-empty array; ipAddresses alone is rejected), or a missing API key",
|
|
506
506
|
"content": {
|
|
507
507
|
"application/json": {
|
|
508
508
|
"schema": {
|
|
@@ -538,6 +538,16 @@
|
|
|
538
538
|
"status": 400,
|
|
539
539
|
"timestamp": "2026-07-23T09:52:49.074Z"
|
|
540
540
|
}
|
|
541
|
+
},
|
|
542
|
+
"missingApiKey": {
|
|
543
|
+
"summary": "API key not sent",
|
|
544
|
+
"value": {
|
|
545
|
+
"error": "Invalid Param Exception",
|
|
546
|
+
"message": "Please provide apiKey",
|
|
547
|
+
"path": "/v1.0/domain/dns/live",
|
|
548
|
+
"status": 400,
|
|
549
|
+
"timestamp": "2026-11-25T10:07:00.000Z"
|
|
550
|
+
}
|
|
541
551
|
}
|
|
542
552
|
}
|
|
543
553
|
}
|
|
@@ -620,6 +630,55 @@
|
|
|
620
630
|
}
|
|
621
631
|
}
|
|
622
632
|
},
|
|
633
|
+
"401": {
|
|
634
|
+
"description": "Unauthorized — API key invalid",
|
|
635
|
+
"content": {
|
|
636
|
+
"application/json": {
|
|
637
|
+
"schema": {
|
|
638
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
639
|
+
},
|
|
640
|
+
"examples": {
|
|
641
|
+
"invalidApiKey": {
|
|
642
|
+
"summary": "Invalid API key",
|
|
643
|
+
"value": {
|
|
644
|
+
"error": "API Access Exception",
|
|
645
|
+
"message": "Provided API key is invalid. [For Technical Support: support@apifreaks.com]",
|
|
646
|
+
"path": "/v1.0/domain/dns/live",
|
|
647
|
+
"status": 401,
|
|
648
|
+
"timestamp": "2026-11-25T10:07:00.000Z"
|
|
649
|
+
}
|
|
650
|
+
}
|
|
651
|
+
}
|
|
652
|
+
}
|
|
653
|
+
}
|
|
654
|
+
},
|
|
655
|
+
"406": {
|
|
656
|
+
"description": "Unsupported Media Type — format is not json or xml",
|
|
657
|
+
"content": {
|
|
658
|
+
"application/json": {
|
|
659
|
+
"schema": {
|
|
660
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
661
|
+
},
|
|
662
|
+
"examples": {
|
|
663
|
+
"badFormat": {
|
|
664
|
+
"summary": "format value not supported",
|
|
665
|
+
"value": {
|
|
666
|
+
"error": "Unsupported Media Type",
|
|
667
|
+
"message": "The media type specified in the request is not supported. For more details, please refer to the API documentation.",
|
|
668
|
+
"path": "/v1.0/domain/dns/live",
|
|
669
|
+
"status": 406,
|
|
670
|
+
"timestamp": "2026-11-25T10:07:00.000Z"
|
|
671
|
+
}
|
|
672
|
+
}
|
|
673
|
+
}
|
|
674
|
+
}
|
|
675
|
+
},
|
|
676
|
+
"headers": {
|
|
677
|
+
"X-AF-Credits-Cost": {
|
|
678
|
+
"$ref": "#/components/headers/X-AF-Credits-Cost"
|
|
679
|
+
}
|
|
680
|
+
}
|
|
681
|
+
},
|
|
623
682
|
"413": {
|
|
624
683
|
"description": "Payload Too Large — Request exceeds the 100-hostname batch limit",
|
|
625
684
|
"content": {
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"all"
|
|
63
63
|
]
|
|
64
64
|
},
|
|
65
|
-
"description": "A comma-separated list of DNS record types for lookup.\nPossible values: A, AAAA, MX, NS, SOA, SPF, TXT, CNAME, or all
|
|
65
|
+
"description": "A comma-separated list of DNS record types for lookup.\nPossible values: A, AAAA, MX, NS, SOA, SPF, TXT, CNAME, or all. Values are case-insensitive. PTR is not available in DNS history.\n"
|
|
66
66
|
},
|
|
67
67
|
{
|
|
68
68
|
"name": "page",
|
|
@@ -323,7 +323,7 @@
|
|
|
323
323
|
}
|
|
324
324
|
},
|
|
325
325
|
"400": {
|
|
326
|
-
"description": "Bad Request —
|
|
326
|
+
"description": "Bad Request — Missing or invalid parameters, page out of range, or missing API key",
|
|
327
327
|
"content": {
|
|
328
328
|
"application/json": {
|
|
329
329
|
"schema": {
|
|
@@ -349,6 +349,46 @@
|
|
|
349
349
|
"message": "Please pass domain param correct value[For Technical Support: support@whoisfreaks.com]",
|
|
350
350
|
"path": "/v2.0/dns/historical"
|
|
351
351
|
}
|
|
352
|
+
},
|
|
353
|
+
"missingParams": {
|
|
354
|
+
"summary": "host-name or type missing",
|
|
355
|
+
"value": {
|
|
356
|
+
"error": "Invalid Param Exception",
|
|
357
|
+
"message": "please pass correct parameters",
|
|
358
|
+
"path": "/v1.0/domain/dns/history",
|
|
359
|
+
"status": 400,
|
|
360
|
+
"timestamp": "2026-11-25T10:07:00.000Z"
|
|
361
|
+
}
|
|
362
|
+
},
|
|
363
|
+
"ptrNotSupported": {
|
|
364
|
+
"summary": "PTR requested (not available in history)",
|
|
365
|
+
"value": {
|
|
366
|
+
"timestamp": "2026-11-25T10:07:00.000Z",
|
|
367
|
+
"status": 400,
|
|
368
|
+
"error": "Invalid Param Exception",
|
|
369
|
+
"message": "Historical data does not have PTR record support. kindly try other Record Types.",
|
|
370
|
+
"path": "/v2.0/dns/historical"
|
|
371
|
+
}
|
|
372
|
+
},
|
|
373
|
+
"pageOutOfRange": {
|
|
374
|
+
"summary": "page past the last page of results",
|
|
375
|
+
"value": {
|
|
376
|
+
"timestamp": "2026-11-25T10:07:00.000Z",
|
|
377
|
+
"status": 400,
|
|
378
|
+
"error": "Bad Request",
|
|
379
|
+
"message": "Unable to process Request. [For Technical Support: support@whoisfreaks.com] : argument \"content\" is null",
|
|
380
|
+
"path": "/v2.0/dns/historical"
|
|
381
|
+
}
|
|
382
|
+
},
|
|
383
|
+
"missingApiKey": {
|
|
384
|
+
"summary": "API key not sent",
|
|
385
|
+
"value": {
|
|
386
|
+
"error": "Invalid Param Exception",
|
|
387
|
+
"message": "Please provide apiKey",
|
|
388
|
+
"path": "/v1.0/domain/dns/history",
|
|
389
|
+
"status": 400,
|
|
390
|
+
"timestamp": "2026-11-25T10:07:00.000Z"
|
|
391
|
+
}
|
|
352
392
|
}
|
|
353
393
|
}
|
|
354
394
|
}
|
|
@@ -359,8 +399,30 @@
|
|
|
359
399
|
}
|
|
360
400
|
}
|
|
361
401
|
},
|
|
402
|
+
"401": {
|
|
403
|
+
"description": "Unauthorized — API key invalid",
|
|
404
|
+
"content": {
|
|
405
|
+
"application/json": {
|
|
406
|
+
"schema": {
|
|
407
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
408
|
+
},
|
|
409
|
+
"examples": {
|
|
410
|
+
"invalidApiKey": {
|
|
411
|
+
"summary": "Invalid API key",
|
|
412
|
+
"value": {
|
|
413
|
+
"error": "API Access Exception",
|
|
414
|
+
"message": "Provided API key is invalid. [For Technical Support: support@apifreaks.com]",
|
|
415
|
+
"path": "/v1.0/domain/dns/history",
|
|
416
|
+
"status": 401,
|
|
417
|
+
"timestamp": "2026-11-25T10:07:00.000Z"
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
|
+
},
|
|
362
424
|
"404": {
|
|
363
|
-
"description": "Not Found — No DNS history records for the hostname",
|
|
425
|
+
"description": "Not Found — No DNS history records for the hostname, or wrong HTTP method",
|
|
364
426
|
"content": {
|
|
365
427
|
"application/json": {
|
|
366
428
|
"schema": {
|
|
@@ -376,6 +438,43 @@
|
|
|
376
438
|
"message": "No Record Found across: zzsuperrandomnonexistent998877.com",
|
|
377
439
|
"path": "/v2.0/dns/historical"
|
|
378
440
|
}
|
|
441
|
+
},
|
|
442
|
+
"wrongMethod": {
|
|
443
|
+
"summary": "Wrong HTTP method used on the endpoint",
|
|
444
|
+
"value": {
|
|
445
|
+
"error": "Resource Not Found",
|
|
446
|
+
"message": "The requested resource could not be found. Please verify the URL and try again.",
|
|
447
|
+
"path": "/v1.0/domain/dns/history",
|
|
448
|
+
"status": 404,
|
|
449
|
+
"timestamp": "2026-11-25T10:07:00.000Z"
|
|
450
|
+
}
|
|
451
|
+
}
|
|
452
|
+
}
|
|
453
|
+
}
|
|
454
|
+
},
|
|
455
|
+
"headers": {
|
|
456
|
+
"X-AF-Credits-Cost": {
|
|
457
|
+
"$ref": "#/components/headers/X-AF-Credits-Cost"
|
|
458
|
+
}
|
|
459
|
+
}
|
|
460
|
+
},
|
|
461
|
+
"406": {
|
|
462
|
+
"description": "Unsupported Media Type — format is not json or xml",
|
|
463
|
+
"content": {
|
|
464
|
+
"application/json": {
|
|
465
|
+
"schema": {
|
|
466
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
467
|
+
},
|
|
468
|
+
"examples": {
|
|
469
|
+
"badFormat": {
|
|
470
|
+
"summary": "format value not supported",
|
|
471
|
+
"value": {
|
|
472
|
+
"error": "Unsupported Media Type",
|
|
473
|
+
"message": "The media type specified in the request is not supported. For more details, please refer to the API documentation.",
|
|
474
|
+
"path": "/v1.0/domain/dns/history",
|
|
475
|
+
"status": 406,
|
|
476
|
+
"timestamp": "2026-11-25T10:07:00.000Z"
|
|
477
|
+
}
|
|
379
478
|
}
|
|
380
479
|
}
|
|
381
480
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "DNS Lookup API - Live DNS Records, TTLs & PTR Lookups for Any Hostname",
|
|
5
5
|
"version": "1.0.0",
|
|
6
|
-
"description": "Performs a live DNS lookup for any hostname or IP address, returning real-time records from authoritative name servers. Supports A, AAAA, MX, NS, SOA, SPF, TXT, and CNAME record types, plus PTR records
|
|
6
|
+
"description": "Performs a live DNS lookup for any hostname or IP address, returning real-time records from authoritative name servers. Supports A, AAAA, MX, NS, SOA, SPF, TXT, and CNAME record types, plus PTR records, which are looked up from an IP address passed in the ipAddress parameter with type PTR or all. Each record object includes parsed fields such as address, target, priority, TTL, serial, or verification strings, depending on the record type. Pass a comma-separated list of record types with the type parameter, or use 'all' to retrieve every supported type. The optional format parameter allows switching between JSON and XML output.",
|
|
7
7
|
"contact": {
|
|
8
8
|
"name": "APIFreaks Support",
|
|
9
9
|
"url": "https://apifreaks.com/contact",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"schema": {
|
|
43
43
|
"type": "string"
|
|
44
44
|
},
|
|
45
|
-
"description": "Hostname or URL whose DNS records are required.
|
|
45
|
+
"description": "Hostname or URL whose DNS records are required. Send `host-name`, `ipAddress`, or both."
|
|
46
46
|
},
|
|
47
47
|
{
|
|
48
48
|
"name": "ipAddress",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"schema": {
|
|
52
52
|
"type": "string"
|
|
53
53
|
},
|
|
54
|
-
"description": "
|
|
54
|
+
"description": "IPv4 or IPv6 address whose PTR record is required. Use it with `type` set to `PTR` or `all`. Send `host-name`, `ipAddress`, or both; with both, `host-name` is used for the other record types and `ipAddress` for the PTR record."
|
|
55
55
|
},
|
|
56
56
|
{
|
|
57
57
|
"name": "type",
|
|
@@ -68,10 +68,11 @@
|
|
|
68
68
|
"SPF",
|
|
69
69
|
"TXT",
|
|
70
70
|
"CNAME",
|
|
71
|
+
"PTR",
|
|
71
72
|
"all"
|
|
72
73
|
]
|
|
73
74
|
},
|
|
74
|
-
"description": "A comma-separated list of DNS record types for lookup. Possible values: A, AAAA, MX, NS, SOA, SPF, TXT, CNAME, or all.
|
|
75
|
+
"description": "A comma-separated list of DNS record types for lookup. Possible values: A, AAAA, MX, NS, SOA, SPF, TXT, CNAME, PTR, or all. Values are case-insensitive. PTR is looked up from `ipAddress`; the other types are looked up from `host-name`. With only `ipAddress` sent, use `PTR` or `all`."
|
|
75
76
|
}
|
|
76
77
|
],
|
|
77
78
|
"responses": {
|
|
@@ -241,7 +242,7 @@
|
|
|
241
242
|
}
|
|
242
243
|
},
|
|
243
244
|
"400": {
|
|
244
|
-
"description": "Bad Request — Missing or invalid parameters",
|
|
245
|
+
"description": "Bad Request — Missing or invalid parameters, or missing API key",
|
|
245
246
|
"content": {
|
|
246
247
|
"application/json": {
|
|
247
248
|
"schema": {
|
|
@@ -277,6 +278,95 @@
|
|
|
277
278
|
"message": "Please pass domain param correct value[For Technical Support: support@whoisfreaks.com]",
|
|
278
279
|
"path": "/v2.0/dns/live"
|
|
279
280
|
}
|
|
281
|
+
},
|
|
282
|
+
"ptrWithoutIpAddress": {
|
|
283
|
+
"summary": "PTR requested without ipAddress",
|
|
284
|
+
"value": {
|
|
285
|
+
"timestamp": "2026-11-25T10:07:00.000Z",
|
|
286
|
+
"status": 400,
|
|
287
|
+
"error": "Invalid Param Exception",
|
|
288
|
+
"message": "IP Address is required!",
|
|
289
|
+
"path": "/v2.0/dns/live"
|
|
290
|
+
}
|
|
291
|
+
},
|
|
292
|
+
"recordTypeWithoutHostName": {
|
|
293
|
+
"summary": "Non-PTR type requested with only ipAddress",
|
|
294
|
+
"value": {
|
|
295
|
+
"timestamp": "2026-11-25T10:07:00.000Z",
|
|
296
|
+
"status": 400,
|
|
297
|
+
"error": "Invalid Param Exception",
|
|
298
|
+
"message": "Domain name is required!",
|
|
299
|
+
"path": "/v2.0/dns/live"
|
|
300
|
+
}
|
|
301
|
+
},
|
|
302
|
+
"invalidIpAddress": {
|
|
303
|
+
"summary": "Malformed ipAddress",
|
|
304
|
+
"value": {
|
|
305
|
+
"timestamp": "2026-11-25T10:07:00.000Z",
|
|
306
|
+
"status": 400,
|
|
307
|
+
"error": "Invalid Param Exception",
|
|
308
|
+
"message": "Pass a valid value for 'ipAddress' param.",
|
|
309
|
+
"path": "/v2.0/dns/live"
|
|
310
|
+
}
|
|
311
|
+
},
|
|
312
|
+
"missingApiKey": {
|
|
313
|
+
"summary": "API key not sent",
|
|
314
|
+
"value": {
|
|
315
|
+
"error": "Invalid Param Exception",
|
|
316
|
+
"message": "Please provide apiKey",
|
|
317
|
+
"path": "/v1.0/domain/dns/live",
|
|
318
|
+
"status": 400,
|
|
319
|
+
"timestamp": "2026-11-25T10:07:00.000Z"
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
},
|
|
325
|
+
"headers": {
|
|
326
|
+
"X-AF-Credits-Cost": {
|
|
327
|
+
"$ref": "#/components/headers/X-AF-Credits-Cost"
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
},
|
|
331
|
+
"401": {
|
|
332
|
+
"description": "Unauthorized — API key invalid",
|
|
333
|
+
"content": {
|
|
334
|
+
"application/json": {
|
|
335
|
+
"schema": {
|
|
336
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
337
|
+
},
|
|
338
|
+
"examples": {
|
|
339
|
+
"invalidApiKey": {
|
|
340
|
+
"summary": "Invalid API key",
|
|
341
|
+
"value": {
|
|
342
|
+
"error": "API Access Exception",
|
|
343
|
+
"message": "Provided API key is invalid. [For Technical Support: support@apifreaks.com]",
|
|
344
|
+
"path": "/v1.0/domain/dns/live",
|
|
345
|
+
"status": 401,
|
|
346
|
+
"timestamp": "2026-11-25T10:07:00.000Z"
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
},
|
|
353
|
+
"406": {
|
|
354
|
+
"description": "Unsupported Media Type — format is not json or xml",
|
|
355
|
+
"content": {
|
|
356
|
+
"application/json": {
|
|
357
|
+
"schema": {
|
|
358
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
359
|
+
},
|
|
360
|
+
"examples": {
|
|
361
|
+
"badFormat": {
|
|
362
|
+
"summary": "format value not supported",
|
|
363
|
+
"value": {
|
|
364
|
+
"error": "Unsupported Media Type",
|
|
365
|
+
"message": "The media type specified in the request is not supported. For more details, please refer to the API documentation.",
|
|
366
|
+
"path": "/v1.0/domain/dns/live",
|
|
367
|
+
"status": 406,
|
|
368
|
+
"timestamp": "2026-11-25T10:07:00.000Z"
|
|
369
|
+
}
|
|
280
370
|
}
|
|
281
371
|
}
|
|
282
372
|
}
|
|
@@ -329,7 +419,7 @@
|
|
|
329
419
|
},
|
|
330
420
|
"ipAddress": {
|
|
331
421
|
"type": "string",
|
|
332
|
-
"description": "IP address queried (present when ipAddress parameter is used instead of host-name)."
|
|
422
|
+
"description": "IP address queried (present when the ipAddress parameter is used, together with or instead of host-name)."
|
|
333
423
|
},
|
|
334
424
|
"dnsTypes": {
|
|
335
425
|
"$ref": "#/components/schemas/DnsTypes",
|
|
@@ -165,7 +165,7 @@
|
|
|
165
165
|
}
|
|
166
166
|
},
|
|
167
167
|
"400": {
|
|
168
|
-
"description": "Invalid DNS type
|
|
168
|
+
"description": "Bad Request — Invalid DNS type, invalid value, missing required parameter, or missing API key",
|
|
169
169
|
"content": {
|
|
170
170
|
"application/json": {
|
|
171
171
|
"schema": {
|
|
@@ -191,6 +191,66 @@
|
|
|
191
191
|
"status": 400,
|
|
192
192
|
"timestamp": "2026-07-23T09:51:58.951Z"
|
|
193
193
|
}
|
|
194
|
+
},
|
|
195
|
+
"ptrNotSupported": {
|
|
196
|
+
"summary": "PTR requested (not available in reverse lookup)",
|
|
197
|
+
"value": {
|
|
198
|
+
"timestamp": "2026-11-25T10:07:00.000Z",
|
|
199
|
+
"status": 400,
|
|
200
|
+
"error": "Invalid Param Exception",
|
|
201
|
+
"message": "Reverse data does not have PTR record support. kindly try other Record Types.",
|
|
202
|
+
"path": "/v2.1/dns/reverse"
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
"multipleTypes": {
|
|
206
|
+
"summary": "More than one type sent",
|
|
207
|
+
"value": {
|
|
208
|
+
"timestamp": "2026-11-25T10:07:00.000Z",
|
|
209
|
+
"status": 400,
|
|
210
|
+
"error": "Invalid Param Exception",
|
|
211
|
+
"message": "Reverse query supports only single record type at a time.",
|
|
212
|
+
"path": "/v2.1/dns/reverse"
|
|
213
|
+
}
|
|
214
|
+
},
|
|
215
|
+
"invalidIpv4": {
|
|
216
|
+
"summary": "type=A with a value that is not an IPv4 address or CIDR",
|
|
217
|
+
"value": {
|
|
218
|
+
"timestamp": "2026-11-25T10:07:00.000Z",
|
|
219
|
+
"status": 400,
|
|
220
|
+
"error": "Invalid Param Exception",
|
|
221
|
+
"message": "Please provide valid Ipv4 Address or CIDR Notation",
|
|
222
|
+
"path": "/v2.1/dns/reverse"
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
"invalidIpv6": {
|
|
226
|
+
"summary": "type=AAAA with a value that is not an IPv6 address or CIDR",
|
|
227
|
+
"value": {
|
|
228
|
+
"timestamp": "2026-11-25T10:07:00.000Z",
|
|
229
|
+
"status": 400,
|
|
230
|
+
"error": "Invalid Param Exception",
|
|
231
|
+
"message": "Please provide valid Ipv6 Address or CIDR Notation",
|
|
232
|
+
"path": "/v2.1/dns/reverse"
|
|
233
|
+
}
|
|
234
|
+
},
|
|
235
|
+
"cidrSuffixOutOfRange": {
|
|
236
|
+
"summary": "CIDR suffix outside the supported range (16-32 for IPv4, 64-128 for IPv6)",
|
|
237
|
+
"value": {
|
|
238
|
+
"timestamp": "2026-11-25T10:07:00.000Z",
|
|
239
|
+
"status": 400,
|
|
240
|
+
"error": "CIDR Suffix Out of Range",
|
|
241
|
+
"message": "IP Network Suffix must be in the range 16-32 for IPv4 CIDR Notation",
|
|
242
|
+
"path": "/v2.1/dns/reverse"
|
|
243
|
+
}
|
|
244
|
+
},
|
|
245
|
+
"missingApiKey": {
|
|
246
|
+
"summary": "API key not sent",
|
|
247
|
+
"value": {
|
|
248
|
+
"error": "Invalid Param Exception",
|
|
249
|
+
"message": "Please provide apiKey",
|
|
250
|
+
"path": "/v1.0/domain/dns/reverse",
|
|
251
|
+
"status": 400,
|
|
252
|
+
"timestamp": "2026-11-25T10:07:00.000Z"
|
|
253
|
+
}
|
|
194
254
|
}
|
|
195
255
|
}
|
|
196
256
|
}
|
|
@@ -207,8 +267,30 @@
|
|
|
207
267
|
}
|
|
208
268
|
}
|
|
209
269
|
},
|
|
270
|
+
"401": {
|
|
271
|
+
"description": "Unauthorized — API key invalid",
|
|
272
|
+
"content": {
|
|
273
|
+
"application/json": {
|
|
274
|
+
"schema": {
|
|
275
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
276
|
+
},
|
|
277
|
+
"examples": {
|
|
278
|
+
"invalidApiKey": {
|
|
279
|
+
"summary": "Invalid API key",
|
|
280
|
+
"value": {
|
|
281
|
+
"error": "API Access Exception",
|
|
282
|
+
"message": "Provided API key is invalid. [For Technical Support: support@apifreaks.com]",
|
|
283
|
+
"path": "/v1.0/domain/dns/reverse",
|
|
284
|
+
"status": 401,
|
|
285
|
+
"timestamp": "2026-11-25T10:07:00.000Z"
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
},
|
|
210
292
|
"404": {
|
|
211
|
-
"description": "No reverse DNS records found for the given input",
|
|
293
|
+
"description": "Not Found — No reverse DNS records found for the given input, or wrong HTTP method",
|
|
212
294
|
"content": {
|
|
213
295
|
"application/json": {
|
|
214
296
|
"schema": {
|
|
@@ -224,6 +306,16 @@
|
|
|
224
306
|
"error": "Record not Found",
|
|
225
307
|
"message": "No Record Found across: zzsuperrandomnonexistentmxprovider99988.com"
|
|
226
308
|
}
|
|
309
|
+
},
|
|
310
|
+
"wrongMethod": {
|
|
311
|
+
"summary": "Wrong HTTP method used on the endpoint",
|
|
312
|
+
"value": {
|
|
313
|
+
"error": "Resource Not Found",
|
|
314
|
+
"message": "The requested resource could not be found. Please verify the URL and try again.",
|
|
315
|
+
"path": "/v1.0/domain/dns/reverse",
|
|
316
|
+
"status": 404,
|
|
317
|
+
"timestamp": "2026-11-25T10:07:00.000Z"
|
|
318
|
+
}
|
|
227
319
|
}
|
|
228
320
|
}
|
|
229
321
|
}
|
|
@@ -239,6 +331,33 @@
|
|
|
239
331
|
"$ref": "#/components/headers/X-Concurrent-Threads-Active"
|
|
240
332
|
}
|
|
241
333
|
}
|
|
334
|
+
},
|
|
335
|
+
"406": {
|
|
336
|
+
"description": "Unsupported Media Type — format is not json or xml",
|
|
337
|
+
"content": {
|
|
338
|
+
"application/json": {
|
|
339
|
+
"schema": {
|
|
340
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
341
|
+
},
|
|
342
|
+
"examples": {
|
|
343
|
+
"badFormat": {
|
|
344
|
+
"summary": "format value not supported",
|
|
345
|
+
"value": {
|
|
346
|
+
"error": "Unsupported Media Type",
|
|
347
|
+
"message": "The media type specified in the request is not supported. For more details, please refer to the API documentation.",
|
|
348
|
+
"path": "/v1.0/domain/dns/reverse",
|
|
349
|
+
"status": 406,
|
|
350
|
+
"timestamp": "2026-11-25T10:07:00.000Z"
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
},
|
|
356
|
+
"headers": {
|
|
357
|
+
"X-AF-Credits-Cost": {
|
|
358
|
+
"$ref": "#/components/headers/X-AF-Credits-Cost"
|
|
359
|
+
}
|
|
360
|
+
}
|
|
242
361
|
}
|
|
243
362
|
}
|
|
244
363
|
}
|
|
@@ -205,6 +205,33 @@
|
|
|
205
205
|
"$ref": "#/components/headers/X-AF-Credits-Cost"
|
|
206
206
|
}
|
|
207
207
|
}
|
|
208
|
+
},
|
|
209
|
+
"406": {
|
|
210
|
+
"description": "Unsupported Media Type — format is not json or xml",
|
|
211
|
+
"content": {
|
|
212
|
+
"application/json": {
|
|
213
|
+
"schema": {
|
|
214
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
215
|
+
},
|
|
216
|
+
"examples": {
|
|
217
|
+
"badFormat": {
|
|
218
|
+
"summary": "format value not supported",
|
|
219
|
+
"value": {
|
|
220
|
+
"error": "Unsupported Media Type",
|
|
221
|
+
"message": "The media type specified in the request is not supported. For more details, please refer to the API documentation.",
|
|
222
|
+
"path": "/v1.0/vat/rates/country",
|
|
223
|
+
"status": 406,
|
|
224
|
+
"timestamp": "2026-11-25T10:00:55.394Z"
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
},
|
|
230
|
+
"headers": {
|
|
231
|
+
"X-AF-Credits-Cost": {
|
|
232
|
+
"$ref": "#/components/headers/X-AF-Credits-Cost"
|
|
233
|
+
}
|
|
234
|
+
}
|
|
208
235
|
}
|
|
209
236
|
}
|
|
210
237
|
}
|