@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
|
@@ -278,6 +278,57 @@ paths:
|
|
|
278
278
|
|
|
279
279
|
The Registry database contains ONLY .COM, .NET, .EDU domains and
|
|
280
280
|
Registrars.
|
|
281
|
+
application/xml:
|
|
282
|
+
schema:
|
|
283
|
+
$ref: '#/components/schemas/BulkWhoisLookupResponse'
|
|
284
|
+
examples:
|
|
285
|
+
typicalSuccessXml:
|
|
286
|
+
summary: Typical successful response, as XML (format=xml)
|
|
287
|
+
value: |-
|
|
288
|
+
<BulkWhoisResponse>
|
|
289
|
+
<bulk_whois_response>
|
|
290
|
+
<domainInfo>
|
|
291
|
+
<status>true</status>
|
|
292
|
+
<domain_name>example.com</domain_name>
|
|
293
|
+
<query_time>2026-11-25 07:13:13</query_time>
|
|
294
|
+
<domain_registered>yes</domain_registered>
|
|
295
|
+
<create_date>1992-01-01</create_date>
|
|
296
|
+
<update_date>2026-08-14</update_date>
|
|
297
|
+
<expiry_date>2027-08-13</expiry_date>
|
|
298
|
+
<name_servers>
|
|
299
|
+
<nameServer>elliott.ns.cloudflare.com</nameServer>
|
|
300
|
+
<nameServer>hera.ns.cloudflare.com</nameServer>
|
|
301
|
+
</name_servers>
|
|
302
|
+
<whois_raw_domain>% IANA WHOIS server % for more information on IANA, visit http://www.iana.org % This query ...</whois_raw_domain>
|
|
303
|
+
<registry_data>
|
|
304
|
+
<domain_name>EXAMPLE.COM</domain_name>
|
|
305
|
+
<query_time>2026-11-25 07:13:12</query_time>
|
|
306
|
+
<whois_server />
|
|
307
|
+
<domain_registered>yes</domain_registered>
|
|
308
|
+
<create_date>1995-08-14</create_date>
|
|
309
|
+
<update_date>2026-08-14</update_date>
|
|
310
|
+
<expiry_date>2027-08-13</expiry_date>
|
|
311
|
+
<domain_registrar>
|
|
312
|
+
<iana_id>376</iana_id>
|
|
313
|
+
<status>reserved</status>
|
|
314
|
+
<registrar_name>RESERVED-Internet Assigned Numbers Authority</registrar_name>
|
|
315
|
+
<normalized_name>reserved-internet assigned numbers authority</normalized_name>
|
|
316
|
+
<website_url>http://res-dom.iana.org</website_url>
|
|
317
|
+
</domain_registrar>
|
|
318
|
+
<name_servers>
|
|
319
|
+
<nameServer>elliott.ns.cloudflare.com</nameServer>
|
|
320
|
+
<nameServer>hera.ns.cloudflare.com</nameServer>
|
|
321
|
+
</name_servers>
|
|
322
|
+
<domain_status>
|
|
323
|
+
<domainStatus>clientupdateprohibited</domainStatus>
|
|
324
|
+
<domainStatus>clientdeleteprohibited</domainStatus>
|
|
325
|
+
<domainStatus>clienttransferprohibited</domainStatus>
|
|
326
|
+
</domain_status>
|
|
327
|
+
<whois_raw_registery>Domain Name: EXAMPLE.COM Registry Domain ID: 2336799_DOMAIN_COM-VRSN Registrar WHOIS ...</whois_raw_registery>
|
|
328
|
+
</registry_data>
|
|
329
|
+
</domainInfo>
|
|
330
|
+
</bulk_whois_response>
|
|
331
|
+
</BulkWhoisResponse>
|
|
281
332
|
headers:
|
|
282
333
|
X-AF-Credits-Cost:
|
|
283
334
|
$ref: '#/components/headers/X-AF-Credits-Cost'
|
|
@@ -592,6 +643,64 @@ paths:
|
|
|
592
643
|
|
|
593
644
|
The Registry database contains ONLY .COM, .NET, .EDU domains and
|
|
594
645
|
Registrars.
|
|
646
|
+
application/xml:
|
|
647
|
+
schema:
|
|
648
|
+
$ref: '#/components/schemas/BulkWhoisLookupResponse'
|
|
649
|
+
examples:
|
|
650
|
+
partialFailureXml:
|
|
651
|
+
summary: One name failed, as XML (format=xml)
|
|
652
|
+
value: |-
|
|
653
|
+
<BulkWhoisResponse>
|
|
654
|
+
<bulk_whois_response>
|
|
655
|
+
<domainInfo>
|
|
656
|
+
<status>false</status>
|
|
657
|
+
<domain_name>example.zzzz</domain_name>
|
|
658
|
+
<status_code>403</status_code>
|
|
659
|
+
<error>NotSupportedDomainExtException</error>
|
|
660
|
+
<message>We are not providing the whois of this domain extension (zzzz)</message>
|
|
661
|
+
</domainInfo>
|
|
662
|
+
<domainInfo>
|
|
663
|
+
<status>true</status>
|
|
664
|
+
<domain_name>example.com</domain_name>
|
|
665
|
+
<query_time>2026-11-25 07:20:14</query_time>
|
|
666
|
+
<domain_registered>yes</domain_registered>
|
|
667
|
+
<create_date>1992-01-01</create_date>
|
|
668
|
+
<update_date>2026-08-14</update_date>
|
|
669
|
+
<expiry_date>2027-08-13</expiry_date>
|
|
670
|
+
<name_servers>
|
|
671
|
+
<nameServer>elliott.ns.cloudflare.com</nameServer>
|
|
672
|
+
<nameServer>hera.ns.cloudflare.com</nameServer>
|
|
673
|
+
</name_servers>
|
|
674
|
+
<whois_raw_domain>% IANA WHOIS server % for more information on IANA, visit http://www.iana.org % This query ...</whois_raw_domain>
|
|
675
|
+
<registry_data>
|
|
676
|
+
<domain_name>EXAMPLE.COM</domain_name>
|
|
677
|
+
<query_time>2026-11-25 07:20:13</query_time>
|
|
678
|
+
<whois_server />
|
|
679
|
+
<domain_registered>yes</domain_registered>
|
|
680
|
+
<create_date>1995-08-14</create_date>
|
|
681
|
+
<update_date>2026-08-14</update_date>
|
|
682
|
+
<expiry_date>2027-08-13</expiry_date>
|
|
683
|
+
<domain_registrar>
|
|
684
|
+
<iana_id>376</iana_id>
|
|
685
|
+
<status>reserved</status>
|
|
686
|
+
<registrar_name>RESERVED-Internet Assigned Numbers Authority</registrar_name>
|
|
687
|
+
<normalized_name>reserved-internet assigned numbers authority</normalized_name>
|
|
688
|
+
<website_url>http://res-dom.iana.org</website_url>
|
|
689
|
+
</domain_registrar>
|
|
690
|
+
<name_servers>
|
|
691
|
+
<nameServer>elliott.ns.cloudflare.com</nameServer>
|
|
692
|
+
<nameServer>hera.ns.cloudflare.com</nameServer>
|
|
693
|
+
</name_servers>
|
|
694
|
+
<domain_status>
|
|
695
|
+
<domainStatus>clientupdateprohibited</domainStatus>
|
|
696
|
+
<domainStatus>clientdeleteprohibited</domainStatus>
|
|
697
|
+
<domainStatus>clienttransferprohibited</domainStatus>
|
|
698
|
+
</domain_status>
|
|
699
|
+
<whois_raw_registery>Domain Name: EXAMPLE.COM Registry Domain ID: 2336799_DOMAIN_COM-VRSN Registrar WHOIS ...</whois_raw_registery>
|
|
700
|
+
</registry_data>
|
|
701
|
+
</domainInfo>
|
|
702
|
+
</bulk_whois_response>
|
|
703
|
+
</BulkWhoisResponse>
|
|
595
704
|
headers:
|
|
596
705
|
X-AF-Credits-Cost:
|
|
597
706
|
$ref: '#/components/headers/X-AF-Credits-Cost'
|
|
@@ -803,7 +912,7 @@ paths:
|
|
|
803
912
|
- clientTransferProhibited
|
|
804
913
|
whois_raw_registery: Currently live lookup is not possible. It is the latest data in our database.
|
|
805
914
|
'400':
|
|
806
|
-
description: Bad Request — Missing, empty or malformed request body (domainNames is required and must be a non-empty array), or missing API key
|
|
915
|
+
description: Bad Request — Missing, empty or malformed request body (domainNames is required and must be a non-empty array of text), a body that is not sent as application/json, or missing API key
|
|
807
916
|
content:
|
|
808
917
|
application/json:
|
|
809
918
|
schema:
|
|
@@ -825,6 +934,22 @@ paths:
|
|
|
825
934
|
path: /v2.0/domain/whois/live
|
|
826
935
|
status: 400
|
|
827
936
|
timestamp: '2026-11-20T11:12:59.104Z'
|
|
937
|
+
unprocessableBody:
|
|
938
|
+
summary: domainNames holds something other than text
|
|
939
|
+
value:
|
|
940
|
+
timestamp: '2026-11-25T07:13:30.000Z'
|
|
941
|
+
status: 400
|
|
942
|
+
error: 'Bad request. [For Technical Support: support@apifreaks.com]'
|
|
943
|
+
message: Unable to process request.
|
|
944
|
+
path: /v2.0/bulkwhois/live
|
|
945
|
+
invalidContentType:
|
|
946
|
+
summary: Body sent with a Content-Type other than application/json
|
|
947
|
+
value:
|
|
948
|
+
timestamp: '2026-11-25T07:13:32.000Z'
|
|
949
|
+
status: 400
|
|
950
|
+
error: Invalid Response Format
|
|
951
|
+
message: 'Invalid format (Available formats: json, xml) [For Technical Support: support@apifreaks.com]'
|
|
952
|
+
path: /v2.0/bulkwhois/live
|
|
828
953
|
headers:
|
|
829
954
|
X-AF-Credits-Cost:
|
|
830
955
|
$ref: '#/components/headers/X-AF-Credits-Cost'
|
|
@@ -893,10 +1018,11 @@ paths:
|
|
|
893
1018
|
inactiveTld:
|
|
894
1019
|
summary: Inactive TLD
|
|
895
1020
|
value:
|
|
896
|
-
message: Provided domain belongs to an inactive TLD.
|
|
1021
|
+
message: 'Provided domain belongs to an inactive TLD. please try to use historical whois lookup [For Technical Support: support@apifreaks.com]'
|
|
897
1022
|
path: /v2.0/domain/whois/live
|
|
898
1023
|
status: 403
|
|
899
1024
|
timestamp: '2026-07-10T13:47:02.486Z'
|
|
1025
|
+
error: Unable to process live request
|
|
900
1026
|
'406':
|
|
901
1027
|
description: Not Acceptable — Unsupported response format
|
|
902
1028
|
content:
|
|
@@ -945,21 +1071,6 @@ paths:
|
|
|
945
1071
|
headers:
|
|
946
1072
|
X-AF-Credits-Cost:
|
|
947
1073
|
$ref: '#/components/headers/X-AF-Credits-Cost'
|
|
948
|
-
'429':
|
|
949
|
-
description: Too Many Requests — Per-minute request limit reached
|
|
950
|
-
content:
|
|
951
|
-
application/json:
|
|
952
|
-
schema:
|
|
953
|
-
$ref: '#/components/schemas/ErrorResponse'
|
|
954
|
-
examples:
|
|
955
|
-
rateLimitReached:
|
|
956
|
-
summary: Per-minute request limit reached
|
|
957
|
-
value:
|
|
958
|
-
error: Fetching Whois Data Failed
|
|
959
|
-
message: Please slow down. Your maximum request limit per minute reached.
|
|
960
|
-
path: /v2.0/domain/whois/live
|
|
961
|
-
status: 429
|
|
962
|
-
timestamp: '2026-07-10T13:47:02.486Z'
|
|
963
1074
|
'499':
|
|
964
1075
|
description: Client Closed Request — The request or connection timeout set by the client is too short
|
|
965
1076
|
content:
|
|
@@ -1075,13 +1186,13 @@ components:
|
|
|
1075
1186
|
properties:
|
|
1076
1187
|
domainNames:
|
|
1077
1188
|
type: array
|
|
1078
|
-
description: List of domain names to retrieve WHOIS data for.
|
|
1189
|
+
description: List of domain names to retrieve WHOIS data for. A name sent more than once returns one entry but is charged each time it succeeds.
|
|
1079
1190
|
maxItems: 100
|
|
1080
1191
|
items:
|
|
1081
1192
|
type: string
|
|
1082
1193
|
BulkWhoisLookupResponse:
|
|
1083
1194
|
type: object
|
|
1084
|
-
description: Wrapper object containing one WHOIS result or error per
|
|
1195
|
+
description: Wrapper object containing one WHOIS result or error per distinct domain requested. The entries are not guaranteed to follow the request order, so match each one to your list by domain_name.
|
|
1085
1196
|
required:
|
|
1086
1197
|
- bulk_whois_response
|
|
1087
1198
|
properties:
|
|
@@ -1094,7 +1205,7 @@ components:
|
|
|
1094
1205
|
- $ref: '#/components/schemas/BulkWhoisLookupItemError'
|
|
1095
1206
|
BulkWhoisLookupItemError:
|
|
1096
1207
|
type: object
|
|
1097
|
-
description: Per-item error, returned in place of a WHOIS result when an individual domain's extension is unsupported or its lookup otherwise fails.
|
|
1208
|
+
description: Per-item error, returned in place of a WHOIS result when an individual domain's extension is unsupported, the name is not a valid domain, or its lookup otherwise fails.
|
|
1098
1209
|
required:
|
|
1099
1210
|
- status
|
|
1100
1211
|
- domain_name
|
|
@@ -1103,9 +1214,7 @@ components:
|
|
|
1103
1214
|
properties:
|
|
1104
1215
|
status:
|
|
1105
1216
|
type: boolean
|
|
1106
|
-
|
|
1107
|
-
- false
|
|
1108
|
-
description: Always false for a per-item error.
|
|
1217
|
+
description: false when the extension is unsupported, true when the name is invalid. Test status_code, not status, to tell that an entry failed.
|
|
1109
1218
|
domain_name:
|
|
1110
1219
|
type: string
|
|
1111
1220
|
description: Domain name that this error applies to.
|
|
@@ -1125,7 +1234,6 @@ components:
|
|
|
1125
1234
|
- status
|
|
1126
1235
|
- domain_name
|
|
1127
1236
|
- query_time
|
|
1128
|
-
- whois_server
|
|
1129
1237
|
- domain_registered
|
|
1130
1238
|
properties:
|
|
1131
1239
|
status:
|
|
@@ -1139,7 +1247,7 @@ components:
|
|
|
1139
1247
|
description: Timestamp when the WHOIS query was executed.
|
|
1140
1248
|
whois_server:
|
|
1141
1249
|
type: string
|
|
1142
|
-
description: WHOIS or RDAP server that provided this record.
|
|
1250
|
+
description: WHOIS or RDAP server that provided this record. Not returned for every lookup; registry_data carries its own whois_server.
|
|
1143
1251
|
domain_registered:
|
|
1144
1252
|
type: string
|
|
1145
1253
|
enum:
|
|
@@ -1147,6 +1255,35 @@ components:
|
|
|
1147
1255
|
- 'no'
|
|
1148
1256
|
- restricted
|
|
1149
1257
|
description: Domain registration status; 'restricted' means the registry withholds registration details.
|
|
1258
|
+
domain_handle:
|
|
1259
|
+
type: string
|
|
1260
|
+
description: Registry handle of the domain, returned when the registry publishes one.
|
|
1261
|
+
abuse_contact:
|
|
1262
|
+
type: object
|
|
1263
|
+
description: 'Where to send abuse reports for the domain: the registrar''s name, email and phone.'
|
|
1264
|
+
properties:
|
|
1265
|
+
registrar_name:
|
|
1266
|
+
type: string
|
|
1267
|
+
description: Name of the registrar the abuse contact belongs to.
|
|
1268
|
+
email_address:
|
|
1269
|
+
type: string
|
|
1270
|
+
description: Email address for abuse reports.
|
|
1271
|
+
phone_number:
|
|
1272
|
+
type: string
|
|
1273
|
+
description: Phone number for abuse reports.
|
|
1274
|
+
eligibility_info:
|
|
1275
|
+
type: object
|
|
1276
|
+
description: Eligibility record that some registries require for a registration, such as the trademark behind a name in an extension that asks for one.
|
|
1277
|
+
properties:
|
|
1278
|
+
id:
|
|
1279
|
+
type: string
|
|
1280
|
+
description: Identifier of the eligibility record, such as a trademark number.
|
|
1281
|
+
name:
|
|
1282
|
+
type: string
|
|
1283
|
+
description: Name the eligibility record is held under.
|
|
1284
|
+
type:
|
|
1285
|
+
type: string
|
|
1286
|
+
description: Kind of eligibility, such as Trademark Owner.
|
|
1150
1287
|
create_date:
|
|
1151
1288
|
type: string
|
|
1152
1289
|
format: date
|
|
@@ -1235,10 +1372,25 @@ components:
|
|
|
1235
1372
|
- string
|
|
1236
1373
|
- 'null'
|
|
1237
1374
|
description: Registrar contact phone number, when published.
|
|
1375
|
+
handle:
|
|
1376
|
+
type: string
|
|
1377
|
+
description: Registrar handle, returned when the registry publishes one.
|
|
1378
|
+
registry_id:
|
|
1379
|
+
type: string
|
|
1380
|
+
description: Registry identifier of the registrar, when published.
|
|
1238
1381
|
WhoisContactDetail:
|
|
1239
1382
|
type: object
|
|
1240
1383
|
description: A contact record (registrant, administrative, technical, billing, or reseller) published in the domain's WHOIS record.
|
|
1241
1384
|
properties:
|
|
1385
|
+
id:
|
|
1386
|
+
type: string
|
|
1387
|
+
description: Contact ID, when published.
|
|
1388
|
+
handle:
|
|
1389
|
+
type: string
|
|
1390
|
+
description: Contact handle, returned when the registry publishes one.
|
|
1391
|
+
id_type:
|
|
1392
|
+
type: string
|
|
1393
|
+
description: Kind of identifier held in id, such as cnpj or Registry, when the registry publishes it.
|
|
1242
1394
|
name:
|
|
1243
1395
|
type: string
|
|
1244
1396
|
description: Contact's full name.
|
|
@@ -159,6 +159,70 @@ paths:
|
|
|
159
159
|
|
|
160
160
|
The Registry database contains ONLY .COM, .NET, .EDU domains and
|
|
161
161
|
Registrars.
|
|
162
|
+
application/xml:
|
|
163
|
+
schema:
|
|
164
|
+
$ref: '#/components/schemas/DomainWhoisHistoryLookupResponse'
|
|
165
|
+
examples:
|
|
166
|
+
typicalSuccessXml:
|
|
167
|
+
summary: Typical successful response, as XML (format=xml), cut to the oldest and newest record
|
|
168
|
+
value: |-
|
|
169
|
+
<HistoricalWhoisResponse>
|
|
170
|
+
<status>true</status>
|
|
171
|
+
<whois>historical</whois>
|
|
172
|
+
<total_records>25</total_records>
|
|
173
|
+
<whois_domains_historical>
|
|
174
|
+
<domainInfo>
|
|
175
|
+
<num>1</num>
|
|
176
|
+
<status>true</status>
|
|
177
|
+
<domain_name>example.com</domain_name>
|
|
178
|
+
<query_time>2022-04-28 12:56:13</query_time>
|
|
179
|
+
<whois_server />
|
|
180
|
+
<create_date>1992-01-01</create_date>
|
|
181
|
+
<update_date>2021-08-14</update_date>
|
|
182
|
+
<expiry_date>2022-08-13</expiry_date>
|
|
183
|
+
</domainInfo>
|
|
184
|
+
<domainInfo>
|
|
185
|
+
<num>25</num>
|
|
186
|
+
<status>true</status>
|
|
187
|
+
<domain_name>example.com</domain_name>
|
|
188
|
+
<query_time>2026-11-25 07:14:15</query_time>
|
|
189
|
+
<whois_server />
|
|
190
|
+
<domain_registered>yes</domain_registered>
|
|
191
|
+
<create_date>1992-01-01</create_date>
|
|
192
|
+
<update_date>2026-08-14</update_date>
|
|
193
|
+
<expiry_date>2027-08-13</expiry_date>
|
|
194
|
+
<name_servers>
|
|
195
|
+
<nameServer>elliott.ns.cloudflare.com</nameServer>
|
|
196
|
+
<nameServer>hera.ns.cloudflare.com</nameServer>
|
|
197
|
+
</name_servers>
|
|
198
|
+
<whois_raw_domain>% IANA WHOIS server % for more information on IANA, visit http://www.iana.org % This query ...</whois_raw_domain>
|
|
199
|
+
<registry_data>
|
|
200
|
+
<domain_name>EXAMPLE.COM</domain_name>
|
|
201
|
+
<query_time>2026-11-25 07:14:14</query_time>
|
|
202
|
+
<whois_server />
|
|
203
|
+
<domain_registered>yes</domain_registered>
|
|
204
|
+
<create_date>1995-08-14</create_date>
|
|
205
|
+
<update_date>2026-08-14</update_date>
|
|
206
|
+
<expiry_date>2027-08-13</expiry_date>
|
|
207
|
+
<domain_registrar>
|
|
208
|
+
<iana_id>376</iana_id>
|
|
209
|
+
<registrar_name>RESERVED-Internet Assigned Numbers Authority</registrar_name>
|
|
210
|
+
<website_url>http://res-dom.iana.org</website_url>
|
|
211
|
+
</domain_registrar>
|
|
212
|
+
<name_servers>
|
|
213
|
+
<nameServer>elliott.ns.cloudflare.com</nameServer>
|
|
214
|
+
<nameServer>hera.ns.cloudflare.com</nameServer>
|
|
215
|
+
</name_servers>
|
|
216
|
+
<domain_status>
|
|
217
|
+
<domainStatus>clientupdateprohibited</domainStatus>
|
|
218
|
+
<domainStatus>clientdeleteprohibited</domainStatus>
|
|
219
|
+
<domainStatus>clienttransferprohibited</domainStatus>
|
|
220
|
+
</domain_status>
|
|
221
|
+
<whois_raw_registery>Domain Name: EXAMPLE.COM Registry Domain ID: 2336799_DOMAIN_COM-VRSN Registrar WHOIS ...</whois_raw_registery>
|
|
222
|
+
</registry_data>
|
|
223
|
+
</domainInfo>
|
|
224
|
+
</whois_domains_historical>
|
|
225
|
+
</HistoricalWhoisResponse>
|
|
162
226
|
headers:
|
|
163
227
|
X-AF-Credits-Cost:
|
|
164
228
|
$ref: '#/components/headers/X-AF-Credits-Cost'
|
|
@@ -276,7 +340,7 @@ paths:
|
|
|
276
340
|
status: 401
|
|
277
341
|
timestamp: '2026-11-20T11:13:00.576Z'
|
|
278
342
|
'404':
|
|
279
|
-
description: Not Found — No historical WHOIS records for the domain
|
|
343
|
+
description: Not Found — No historical WHOIS records for the domain, or the endpoint was called with an HTTP method other than GET
|
|
280
344
|
content:
|
|
281
345
|
application/json:
|
|
282
346
|
schema:
|
|
@@ -290,6 +354,32 @@ paths:
|
|
|
290
354
|
error: Record Not Found
|
|
291
355
|
message: Record not found
|
|
292
356
|
path: /v1.0/whois
|
|
357
|
+
resourceNotFound:
|
|
358
|
+
summary: Wrong HTTP method or path
|
|
359
|
+
value:
|
|
360
|
+
error: Resource Not Found
|
|
361
|
+
message: The requested resource could not be found. Please verify the URL and try again.
|
|
362
|
+
path: /v1.0/domain/whois/history
|
|
363
|
+
status: 404
|
|
364
|
+
timestamp: '2026-11-25T07:14:40.000Z'
|
|
365
|
+
headers:
|
|
366
|
+
X-AF-Credits-Cost:
|
|
367
|
+
$ref: '#/components/headers/X-AF-Credits-Cost'
|
|
368
|
+
'406':
|
|
369
|
+
description: Not Acceptable — The format value is not supported
|
|
370
|
+
content:
|
|
371
|
+
application/json:
|
|
372
|
+
schema:
|
|
373
|
+
$ref: '#/components/schemas/ErrorResponse'
|
|
374
|
+
examples:
|
|
375
|
+
unsupportedFormat:
|
|
376
|
+
summary: Unsupported format value
|
|
377
|
+
value:
|
|
378
|
+
error: Unsupported Media Type
|
|
379
|
+
message: The media type specified in the request is not supported. For more details, please refer to the API documentation.
|
|
380
|
+
path: /v1.0/domain/whois/history
|
|
381
|
+
status: 406
|
|
382
|
+
timestamp: '2026-11-20T11:13:01.252Z'
|
|
293
383
|
headers:
|
|
294
384
|
X-AF-Credits-Cost:
|
|
295
385
|
$ref: '#/components/headers/X-AF-Credits-Cost'
|
|
@@ -330,21 +420,6 @@ paths:
|
|
|
330
420
|
path: /v1.0/domain/whois/history
|
|
331
421
|
status: 413
|
|
332
422
|
timestamp: '2026-11-20T11:13:00.576Z'
|
|
333
|
-
'429':
|
|
334
|
-
description: Too Many Requests — Per-minute request limit reached
|
|
335
|
-
content:
|
|
336
|
-
application/json:
|
|
337
|
-
schema:
|
|
338
|
-
$ref: '#/components/schemas/ErrorResponse'
|
|
339
|
-
examples:
|
|
340
|
-
rateLimited:
|
|
341
|
-
summary: Request limit per minute reached
|
|
342
|
-
value:
|
|
343
|
-
timestamp: '2024-07-10T13:47:02.486Z'
|
|
344
|
-
status: 429
|
|
345
|
-
error: Fetching Whois Data Failed
|
|
346
|
-
message: Please slow down. Your maximum request limit per minute reached.
|
|
347
|
-
path: /v1.0/domain/whois/history
|
|
348
423
|
'499':
|
|
349
424
|
description: Client Closed Request — The client timeout is too short and the connection was closed before the response completed
|
|
350
425
|
content:
|
|
@@ -484,10 +559,6 @@ components:
|
|
|
484
559
|
- num
|
|
485
560
|
- status
|
|
486
561
|
- domain_name
|
|
487
|
-
- query_time
|
|
488
|
-
- create_date
|
|
489
|
-
- update_date
|
|
490
|
-
- expiry_date
|
|
491
562
|
properties:
|
|
492
563
|
num:
|
|
493
564
|
type: integer
|
|
@@ -586,6 +657,12 @@ components:
|
|
|
586
657
|
- string
|
|
587
658
|
- 'null'
|
|
588
659
|
description: Registrar contact phone number, when published.
|
|
660
|
+
handle:
|
|
661
|
+
type: string
|
|
662
|
+
description: Registrar handle, returned when the registry publishes one.
|
|
663
|
+
registry_id:
|
|
664
|
+
type: string
|
|
665
|
+
description: Registry identifier of the registrar, when published.
|
|
589
666
|
WhoisContactDetail:
|
|
590
667
|
type: object
|
|
591
668
|
description: A contact record (registrant, administrative, technical, billing, or reseller) as published in this snapshot.
|
|
@@ -251,6 +251,53 @@ paths:
|
|
|
251
251
|
query_time: '2026-07-23 08:03:00'
|
|
252
252
|
whois_server: https://tld-rdap.verisign.com/xn--tckwe/v1/
|
|
253
253
|
domain_registered: 'no'
|
|
254
|
+
application/xml:
|
|
255
|
+
schema:
|
|
256
|
+
$ref: '#/components/schemas/DomainWhoisLookupResponse'
|
|
257
|
+
examples:
|
|
258
|
+
typicalSuccessXml:
|
|
259
|
+
summary: Typical successful response, as XML (format=xml)
|
|
260
|
+
value: |-
|
|
261
|
+
<DomainInfo>
|
|
262
|
+
<status>true</status>
|
|
263
|
+
<domain_name>example.com</domain_name>
|
|
264
|
+
<query_time>2026-11-25 07:12:38</query_time>
|
|
265
|
+
<domain_registered>yes</domain_registered>
|
|
266
|
+
<create_date>1992-01-01</create_date>
|
|
267
|
+
<update_date>2026-08-14</update_date>
|
|
268
|
+
<expiry_date>2027-08-13</expiry_date>
|
|
269
|
+
<name_servers>
|
|
270
|
+
<nameServer>elliott.ns.cloudflare.com</nameServer>
|
|
271
|
+
<nameServer>hera.ns.cloudflare.com</nameServer>
|
|
272
|
+
</name_servers>
|
|
273
|
+
<whois_raw_domain>% IANA WHOIS server % for more information on IANA, visit http://www.iana.org % This query ...</whois_raw_domain>
|
|
274
|
+
<registry_data>
|
|
275
|
+
<domain_name>EXAMPLE.COM</domain_name>
|
|
276
|
+
<query_time>2026-11-25 07:12:37</query_time>
|
|
277
|
+
<whois_server />
|
|
278
|
+
<domain_registered>yes</domain_registered>
|
|
279
|
+
<create_date>1995-08-14</create_date>
|
|
280
|
+
<update_date>2026-08-14</update_date>
|
|
281
|
+
<expiry_date>2027-08-13</expiry_date>
|
|
282
|
+
<domain_registrar>
|
|
283
|
+
<iana_id>376</iana_id>
|
|
284
|
+
<status>reserved</status>
|
|
285
|
+
<registrar_name>RESERVED-Internet Assigned Numbers Authority</registrar_name>
|
|
286
|
+
<normalized_name>reserved-internet assigned numbers authority</normalized_name>
|
|
287
|
+
<website_url>http://res-dom.iana.org</website_url>
|
|
288
|
+
</domain_registrar>
|
|
289
|
+
<name_servers>
|
|
290
|
+
<nameServer>elliott.ns.cloudflare.com</nameServer>
|
|
291
|
+
<nameServer>hera.ns.cloudflare.com</nameServer>
|
|
292
|
+
</name_servers>
|
|
293
|
+
<domain_status>
|
|
294
|
+
<domainStatus>clientupdateprohibited</domainStatus>
|
|
295
|
+
<domainStatus>clientdeleteprohibited</domainStatus>
|
|
296
|
+
<domainStatus>clienttransferprohibited</domainStatus>
|
|
297
|
+
</domain_status>
|
|
298
|
+
<whois_raw_registery>Domain Name: EXAMPLE.COM Registry Domain ID: 2336799_DOMAIN_COM-VRSN Registrar WHOIS ...</whois_raw_registery>
|
|
299
|
+
</registry_data>
|
|
300
|
+
</DomainInfo>
|
|
254
301
|
headers:
|
|
255
302
|
X-AF-Credits-Cost:
|
|
256
303
|
$ref: '#/components/headers/X-AF-Credits-Cost'
|
|
@@ -596,11 +643,27 @@ paths:
|
|
|
596
643
|
value:
|
|
597
644
|
timestamp: '2026-11-20T11:13:00.607Z'
|
|
598
645
|
status: 403
|
|
599
|
-
|
|
646
|
+
error: Unable to process live request
|
|
647
|
+
message: 'Provided domain belongs to an inactive TLD. please try to use historical whois lookup [For Technical Support: support@apifreaks.com]'
|
|
600
648
|
path: /v2.0/whois/live
|
|
601
649
|
headers:
|
|
602
650
|
X-AF-Credits-Cost:
|
|
603
651
|
$ref: '#/components/headers/X-AF-Credits-Cost'
|
|
652
|
+
'404':
|
|
653
|
+
description: Not Found — The URL is wrong. The live WHOIS endpoint is /domain/whois/live
|
|
654
|
+
content:
|
|
655
|
+
application/json:
|
|
656
|
+
schema:
|
|
657
|
+
$ref: '#/components/schemas/ErrorResponse'
|
|
658
|
+
examples:
|
|
659
|
+
resourceNotFound:
|
|
660
|
+
summary: Wrong path
|
|
661
|
+
value:
|
|
662
|
+
error: Resource Not Found
|
|
663
|
+
message: The requested resource could not be found. Please verify the URL and try again.
|
|
664
|
+
path: /v2.0/domain/whois/livee
|
|
665
|
+
status: 404
|
|
666
|
+
timestamp: '2026-11-25T07:12:50.000Z'
|
|
604
667
|
'406':
|
|
605
668
|
description: Not Acceptable — The format value is not supported
|
|
606
669
|
content:
|
|
@@ -681,24 +744,6 @@ paths:
|
|
|
681
744
|
headers:
|
|
682
745
|
X-AF-Credits-Cost:
|
|
683
746
|
$ref: '#/components/headers/X-AF-Credits-Cost'
|
|
684
|
-
'429':
|
|
685
|
-
description: Too Many Requests — The per-minute request limit is reached
|
|
686
|
-
content:
|
|
687
|
-
application/json:
|
|
688
|
-
schema:
|
|
689
|
-
$ref: '#/components/schemas/ErrorResponse'
|
|
690
|
-
examples:
|
|
691
|
-
rateLimited:
|
|
692
|
-
summary: Per-minute request limit reached
|
|
693
|
-
value:
|
|
694
|
-
timestamp: '2024-07-10T13:47:02.486Z'
|
|
695
|
-
status: 429
|
|
696
|
-
error: Fetching Whois Data Failed
|
|
697
|
-
message: Please slow down. Your maximum request limit per minute reached.
|
|
698
|
-
path: /v2.0/domain/whois/live
|
|
699
|
-
headers:
|
|
700
|
-
X-AF-Credits-Cost:
|
|
701
|
-
$ref: '#/components/headers/X-AF-Credits-Cost'
|
|
702
747
|
'499':
|
|
703
748
|
description: Client Closed Request — The client request or connection timeout is too short
|
|
704
749
|
content:
|
|
@@ -828,7 +873,6 @@ components:
|
|
|
828
873
|
- status
|
|
829
874
|
- domain_name
|
|
830
875
|
- query_time
|
|
831
|
-
- whois_server
|
|
832
876
|
- domain_registered
|
|
833
877
|
properties:
|
|
834
878
|
status:
|
|
@@ -842,7 +886,7 @@ components:
|
|
|
842
886
|
description: Timestamp when the WHOIS query was executed.
|
|
843
887
|
whois_server:
|
|
844
888
|
type: string
|
|
845
|
-
description: WHOIS or RDAP server that provided this record.
|
|
889
|
+
description: WHOIS or RDAP server that provided this record. Not returned for every lookup; registry_data carries its own whois_server.
|
|
846
890
|
domain_registered:
|
|
847
891
|
type: string
|
|
848
892
|
enum:
|
|
@@ -850,6 +894,35 @@ components:
|
|
|
850
894
|
- 'no'
|
|
851
895
|
- restricted
|
|
852
896
|
description: Domain registration status; 'restricted' means the registry withholds registration details.
|
|
897
|
+
domain_handle:
|
|
898
|
+
type: string
|
|
899
|
+
description: Registry handle of the domain, returned when the registry publishes one.
|
|
900
|
+
abuse_contact:
|
|
901
|
+
type: object
|
|
902
|
+
description: 'Where to send abuse reports for the domain: the registrar''s name, email and phone.'
|
|
903
|
+
properties:
|
|
904
|
+
registrar_name:
|
|
905
|
+
type: string
|
|
906
|
+
description: Name of the registrar the abuse contact belongs to.
|
|
907
|
+
email_address:
|
|
908
|
+
type: string
|
|
909
|
+
description: Email address for abuse reports.
|
|
910
|
+
phone_number:
|
|
911
|
+
type: string
|
|
912
|
+
description: Phone number for abuse reports.
|
|
913
|
+
eligibility_info:
|
|
914
|
+
type: object
|
|
915
|
+
description: Eligibility record that some registries require for a registration, such as the trademark behind a name in an extension that asks for one.
|
|
916
|
+
properties:
|
|
917
|
+
id:
|
|
918
|
+
type: string
|
|
919
|
+
description: Identifier of the eligibility record, such as a trademark number.
|
|
920
|
+
name:
|
|
921
|
+
type: string
|
|
922
|
+
description: Name the eligibility record is held under.
|
|
923
|
+
type:
|
|
924
|
+
type: string
|
|
925
|
+
description: Kind of eligibility, such as Trademark Owner.
|
|
853
926
|
create_date:
|
|
854
927
|
type: string
|
|
855
928
|
format: date
|
|
@@ -938,10 +1011,25 @@ components:
|
|
|
938
1011
|
- string
|
|
939
1012
|
- 'null'
|
|
940
1013
|
description: Registrar contact phone number, when published.
|
|
1014
|
+
handle:
|
|
1015
|
+
type: string
|
|
1016
|
+
description: Registrar handle, returned when the registry publishes one.
|
|
1017
|
+
registry_id:
|
|
1018
|
+
type: string
|
|
1019
|
+
description: Registry identifier of the registrar, when published.
|
|
941
1020
|
WhoisContactDetail:
|
|
942
1021
|
type: object
|
|
943
1022
|
description: A contact record (registrant, administrative, technical, billing, or reseller) published in the domain's WHOIS record.
|
|
944
1023
|
properties:
|
|
1024
|
+
id:
|
|
1025
|
+
type: string
|
|
1026
|
+
description: Contact ID, when published.
|
|
1027
|
+
handle:
|
|
1028
|
+
type: string
|
|
1029
|
+
description: Contact handle, returned when the registry publishes one.
|
|
1030
|
+
id_type:
|
|
1031
|
+
type: string
|
|
1032
|
+
description: Kind of identifier held in id, such as cnpj or Registry, when the registry publishes it.
|
|
945
1033
|
name:
|
|
946
1034
|
type: string
|
|
947
1035
|
description: Contact's full name.
|