@apifreaks/openapi-specs 0.4.20 → 0.4.21
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 -214
- package/dist/index.js +4020 -214
- package/dist/specs/commodity/historical-commodity-prices.yaml +30 -11
- package/dist/specs/dns/bulk-dns-lookup.yaml +214 -33
- package/dist/specs/dns/dns-lookup.yaml +9 -1
- package/dist/specs/financial/bulk-vat-rates-country.yaml +22 -4
- package/dist/specs/geography/flags-supported.yaml +18 -10
- package/dist/specs/timezone/timezone-converter.yaml +36 -8
- package/dist/specs/timezone/timezone-lookup.yaml +36 -10
- package/dist/specs/weather/time-series-weather.yaml +6 -7
- package/dist/specs/whois/asn-lookup.yaml +676 -37
- package/dist/specs/whois/bulk-whois-lookup.yaml +480 -2
- package/dist/specs/whois/domain-whois-history-lookup.yaml +222 -2
- package/dist/specs/whois/reverse-whois.yaml +316 -8
- package/dist/specs/whois/whois-domain-lookup.yaml +482 -11
- package/dist/specs/whois/whois-ip-lookup.yaml +306 -12
- package/package.json +1 -1
- package/specs/commodity/historical-commodity-prices.json +37 -11
- package/specs/dns/bulk-dns-lookup.json +274 -29
- package/specs/dns/dns-lookup.json +13 -2
- package/specs/financial/bulk-vat-rates-country.json +33 -4
- package/specs/geography/flags-supported.json +20 -13
- package/specs/timezone/timezone-converter.json +48 -8
- package/specs/timezone/timezone-lookup.json +53 -10
- package/specs/weather/time-series-weather.json +7 -7
- package/specs/whois/asn-lookup.json +878 -54
- package/specs/whois/bulk-whois-lookup.json +612 -2
- package/specs/whois/domain-whois-history-lookup.json +307 -2
- package/specs/whois/reverse-whois.json +453 -9
- package/specs/whois/whois-domain-lookup.json +632 -11
- package/specs/whois/whois-ip-lookup.json +424 -12
|
@@ -52,16 +52,16 @@ paths:
|
|
|
52
52
|
description: ''
|
|
53
53
|
orgHandle: dynami-109
|
|
54
54
|
country: US
|
|
55
|
-
domain:
|
|
56
|
-
website:
|
|
55
|
+
domain: dynamics.com
|
|
56
|
+
website: http://dynamics.com
|
|
57
57
|
allocationStatus: ''
|
|
58
58
|
numOfIPv4Routes: '0'
|
|
59
59
|
numOfIPv6Routes: '0'
|
|
60
60
|
whoisHost: ARIN
|
|
61
61
|
dateAllocated: ''
|
|
62
|
-
type:
|
|
62
|
+
type: BUSINESS
|
|
63
63
|
routeObjects: []
|
|
64
|
-
whoisResponse:
|
|
64
|
+
whoisResponse: |+
|
|
65
65
|
|
|
66
66
|
#
|
|
67
67
|
# ARIN WHOIS data and services are subject to the Terms of Use
|
|
@@ -121,6 +121,7 @@ paths:
|
|
|
121
121
|
#
|
|
122
122
|
# Copyright 1997-2026, American Registry for Internet Numbers, Ltd.
|
|
123
123
|
#
|
|
124
|
+
|
|
124
125
|
downstreams: []
|
|
125
126
|
parsedWhoisResponse:
|
|
126
127
|
status: true
|
|
@@ -172,8 +173,142 @@ paths:
|
|
|
172
173
|
headers:
|
|
173
174
|
X-AF-Credits-Cost:
|
|
174
175
|
$ref: '#/components/headers/X-AF-Credits-Cost'
|
|
176
|
+
'206':
|
|
177
|
+
description: Partial Content — the registry query succeeded but the registrar query failed, so registrar-level details such as contact information may be missing. Retry later for the full record.
|
|
178
|
+
content:
|
|
179
|
+
application/json:
|
|
180
|
+
schema:
|
|
181
|
+
$ref: '#/components/schemas/ASNLookupResponse'
|
|
182
|
+
examples:
|
|
183
|
+
partialRegistrarFailure:
|
|
184
|
+
summary: Partial content (registrar query failed). The documentation shows this example with the snake_case parsed-WHOIS fields (status, as_number, query_time, whois_server, as_blocks, aut_nums); the body below keeps the live response shape, so registrar-level fields may be empty or absent
|
|
185
|
+
value:
|
|
186
|
+
asNumber: '15'
|
|
187
|
+
asName: NET-DYNAMICS-EXP
|
|
188
|
+
orgName: DYNAMICS
|
|
189
|
+
description: ''
|
|
190
|
+
orgHandle: dynami-109
|
|
191
|
+
country: US
|
|
192
|
+
domain: dynamics.com
|
|
193
|
+
website: http://dynamics.com
|
|
194
|
+
allocationStatus: ''
|
|
195
|
+
numOfIPv4Routes: '0'
|
|
196
|
+
numOfIPv6Routes: '0'
|
|
197
|
+
whoisHost: ARIN
|
|
198
|
+
dateAllocated: ''
|
|
199
|
+
type: BUSINESS
|
|
200
|
+
routeObjects: []
|
|
201
|
+
whoisResponse: |+
|
|
202
|
+
|
|
203
|
+
#
|
|
204
|
+
# ARIN WHOIS data and services are subject to the Terms of Use
|
|
205
|
+
# available at: https://www.arin.net/resources/registry/whois/tou/
|
|
206
|
+
#
|
|
207
|
+
# If you see inaccuracies in the results, please report at
|
|
208
|
+
# https://www.arin.net/resources/registry/whois/inaccuracy_reporting/
|
|
209
|
+
#
|
|
210
|
+
# Copyright 1997-2026, American Registry for Internet Numbers, Ltd.
|
|
211
|
+
#
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
ASNumber: 15
|
|
215
|
+
ASName: NET-DYNAMICS-EXP
|
|
216
|
+
ASHandle: AS15
|
|
217
|
+
RegDate:
|
|
218
|
+
Updated: 1991-06-27
|
|
219
|
+
Ref: https://rdap.arin.net/registry/autnum/15
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
OrgName: DYNAMICS
|
|
223
|
+
OrgId: DYNAMI-109
|
|
224
|
+
City:
|
|
225
|
+
StateProv:
|
|
226
|
+
PostalCode:
|
|
227
|
+
Country: US
|
|
228
|
+
RegDate:
|
|
229
|
+
Updated: 2012-10-10
|
|
230
|
+
Ref: https://rdap.arin.net/registry/entity/DYNAMI-109
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
OrgTechHandle: ZSU-ARIN
|
|
234
|
+
OrgTechName: Su, Zaw-Sing
|
|
235
|
+
OrgTechPhone: +1-415-859-4576
|
|
236
|
+
OrgTechEmail: zsu@nisc.sri.com
|
|
237
|
+
OrgTechRef: https://rdap.arin.net/registry/entity/ZSU-ARIN
|
|
238
|
+
|
|
239
|
+
OrgAbuseHandle: ZSU-ARIN
|
|
240
|
+
OrgAbuseName: Su, Zaw-Sing
|
|
241
|
+
OrgAbusePhone: +1-415-859-4576
|
|
242
|
+
OrgAbuseEmail: zsu@nisc.sri.com
|
|
243
|
+
OrgAbuseRef: https://rdap.arin.net/registry/entity/ZSU-ARIN
|
|
244
|
+
|
|
245
|
+
RTechHandle: ZSU-ARIN
|
|
246
|
+
RTechName: Su, Zaw-Sing
|
|
247
|
+
RTechPhone: +1-415-859-4576
|
|
248
|
+
RTechEmail: zsu@nisc.sri.com
|
|
249
|
+
RTechRef: https://rdap.arin.net/registry/entity/ZSU-ARIN
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
#
|
|
253
|
+
# ARIN WHOIS data and services are subject to the Terms of Use
|
|
254
|
+
# available at: https://www.arin.net/resources/registry/whois/tou/
|
|
255
|
+
#
|
|
256
|
+
# If you see inaccuracies in the results, please report at
|
|
257
|
+
# https://www.arin.net/resources/registry/whois/inaccuracy_reporting/
|
|
258
|
+
#
|
|
259
|
+
# Copyright 1997-2026, American Registry for Internet Numbers, Ltd.
|
|
260
|
+
#
|
|
261
|
+
|
|
262
|
+
downstreams: []
|
|
263
|
+
parsedWhoisResponse:
|
|
264
|
+
status: true
|
|
265
|
+
whois_server: whois.arin.net
|
|
266
|
+
aut_nums:
|
|
267
|
+
- aut_num: '15'
|
|
268
|
+
as_handle: AS15
|
|
269
|
+
as_name: NET-DYNAMICS-EXP
|
|
270
|
+
tech_contacts:
|
|
271
|
+
- ZSU-ARIN
|
|
272
|
+
- ZSU-ARIN
|
|
273
|
+
abuse_contacts:
|
|
274
|
+
- ZSU-ARIN
|
|
275
|
+
date_updated: '1991-06-27'
|
|
276
|
+
source: https://rdap.arin.net/registry/autnum/15
|
|
277
|
+
organization:
|
|
278
|
+
handle: DYNAMI-109
|
|
279
|
+
name: DYNAMICS
|
|
280
|
+
address:
|
|
281
|
+
- US
|
|
282
|
+
country:
|
|
283
|
+
- US
|
|
284
|
+
date_updated: '2012-10-10'
|
|
285
|
+
source: https://rdap.arin.net/registry/entity/DYNAMI-109
|
|
286
|
+
addressCountry: US
|
|
287
|
+
technical_contacts:
|
|
288
|
+
- handle: ZSU-ARIN
|
|
289
|
+
name: Su, Zaw-Sing
|
|
290
|
+
email:
|
|
291
|
+
- zsu@nisc.sri.com
|
|
292
|
+
phone:
|
|
293
|
+
- +1-415-859-4576
|
|
294
|
+
source: https://rdap.arin.net/registry/entity/ZSU-ARIN
|
|
295
|
+
abuse_contacts:
|
|
296
|
+
- handle: ZSU-ARIN
|
|
297
|
+
name: Su, Zaw-Sing
|
|
298
|
+
email:
|
|
299
|
+
- zsu@nisc.sri.com
|
|
300
|
+
phone:
|
|
301
|
+
- +1-415-859-4576
|
|
302
|
+
source: https://rdap.arin.net/registry/entity/ZSU-ARIN
|
|
303
|
+
upstreams: []
|
|
304
|
+
peers: []
|
|
305
|
+
contacts:
|
|
306
|
+
emailContacts:
|
|
307
|
+
- zsu@nisc.sri.com
|
|
308
|
+
abuseContacts: []
|
|
309
|
+
legacyRoutes: []
|
|
175
310
|
'400':
|
|
176
|
-
description: Bad Request — Invalid asn parameter
|
|
311
|
+
description: Bad Request — Invalid asn parameter (non-numeric, decimal, zero, negative or out of range)
|
|
177
312
|
content:
|
|
178
313
|
application/json:
|
|
179
314
|
schema:
|
|
@@ -182,25 +317,128 @@ paths:
|
|
|
182
317
|
invalidAsn:
|
|
183
318
|
summary: Non-numeric asn value
|
|
184
319
|
value:
|
|
185
|
-
timestamp: '2026-
|
|
320
|
+
timestamp: '2026-11-20T10:10:28.196408123Z'
|
|
186
321
|
status: 400
|
|
187
322
|
error: Input parameter is not valid
|
|
188
323
|
message: Request-param 'asn' (ABC123) is not valid
|
|
189
324
|
path: /v2.0/asn-whois
|
|
325
|
+
nonPositiveAsn:
|
|
326
|
+
summary: asn is zero or negative
|
|
327
|
+
value:
|
|
328
|
+
timestamp: '2026-11-20T10:10:36.803568403Z'
|
|
329
|
+
status: 400
|
|
330
|
+
error: Input parameter is not valid
|
|
331
|
+
message: Request-param 'asn' (AS0) must be greater than zero
|
|
332
|
+
path: /v2.0/asn-whois
|
|
333
|
+
decimalAsn:
|
|
334
|
+
summary: asn is not a whole number
|
|
335
|
+
value:
|
|
336
|
+
timestamp: '2026-11-20T10:10:35.401036154Z'
|
|
337
|
+
status: 400
|
|
338
|
+
error: Input parameter is not valid
|
|
339
|
+
message: Request-param 'asn' (15.5) is not valid
|
|
340
|
+
path: /v2.0/asn-whois
|
|
190
341
|
headers:
|
|
191
342
|
X-AF-Credits-Cost:
|
|
192
343
|
$ref: '#/components/headers/X-AF-Credits-Cost'
|
|
344
|
+
'401':
|
|
345
|
+
description: Unauthorized — The API key is invalid, inactive, or blocked, or the account has no active subscription or API credits
|
|
346
|
+
content:
|
|
347
|
+
application/json:
|
|
348
|
+
schema:
|
|
349
|
+
$ref: '#/components/schemas/ErrorResponse'
|
|
350
|
+
examples:
|
|
351
|
+
invalidApiKey:
|
|
352
|
+
summary: Invalid API key
|
|
353
|
+
value:
|
|
354
|
+
error: API Access Exception
|
|
355
|
+
message: 'Provided API key is invalid. [For Technical Support: support@apifreaks.com]'
|
|
356
|
+
path: /v1.0/asn/whois/live
|
|
357
|
+
status: 401
|
|
358
|
+
timestamp: '2026-11-20T10:10:39.568Z'
|
|
359
|
+
inactiveApiKey:
|
|
360
|
+
summary: Inactive API key
|
|
361
|
+
value:
|
|
362
|
+
timestamp: '2026-11-20T10:00:00.000Z'
|
|
363
|
+
status: 401
|
|
364
|
+
error: API Access Exception
|
|
365
|
+
message: Provided API key is inactive.
|
|
366
|
+
path: /v2.0/asn-whois
|
|
367
|
+
noSubscription:
|
|
368
|
+
summary: No subscription plan or API credits
|
|
369
|
+
value:
|
|
370
|
+
timestamp: '2026-11-20T10:00:00.000Z'
|
|
371
|
+
status: 401
|
|
372
|
+
error: API Access Exception
|
|
373
|
+
message: Please buy a subscription plan or add api credits, then use this api key.
|
|
374
|
+
path: /v2.0/asn-whois
|
|
375
|
+
subscriptionDeactivated:
|
|
376
|
+
summary: Subscription deactivated
|
|
377
|
+
value:
|
|
378
|
+
timestamp: '2026-11-20T10:00:00.000Z'
|
|
379
|
+
status: 401
|
|
380
|
+
error: API Access Exception
|
|
381
|
+
message: Your subscription is deactivated. Please buy new plan or add api credits for using apifreaks APIs.
|
|
382
|
+
path: /v2.0/asn-whois
|
|
383
|
+
subscriptionPaymentFailure:
|
|
384
|
+
summary: Subscription deactivated after repeated payment failure
|
|
385
|
+
value:
|
|
386
|
+
timestamp: '2026-11-20T10:00:00.000Z'
|
|
387
|
+
status: 401
|
|
388
|
+
error: API Access Exception
|
|
389
|
+
message: Your subscription is deactivated due to much time payment failure. Please buy a new plan or add api credits for using apifreaks APIs.
|
|
390
|
+
path: /v2.0/asn-whois
|
|
391
|
+
accountDeactivated:
|
|
392
|
+
summary: Account deactivated
|
|
393
|
+
value:
|
|
394
|
+
timestamp: '2026-11-20T10:00:00.000Z'
|
|
395
|
+
status: 401
|
|
396
|
+
error: API Access Exception
|
|
397
|
+
message: Your account is deactivated.
|
|
398
|
+
path: /v2.0/asn-whois
|
|
399
|
+
blockedSuspiciousActivity:
|
|
400
|
+
summary: Blocked due to suspicious activity
|
|
401
|
+
value:
|
|
402
|
+
timestamp: '2026-11-20T10:00:00.000Z'
|
|
403
|
+
status: 401
|
|
404
|
+
error: API Access Exception
|
|
405
|
+
message: You are blocked due to suspicious activity.
|
|
406
|
+
path: /v2.0/asn-whois
|
|
407
|
+
apiRecordNotFound:
|
|
408
|
+
summary: API record not found
|
|
409
|
+
value:
|
|
410
|
+
timestamp: '2026-11-20T10:00:00.000Z'
|
|
411
|
+
status: 401
|
|
412
|
+
error: API Access Exception
|
|
413
|
+
message: Api record not found.
|
|
414
|
+
path: /v2.0/asn-whois
|
|
415
|
+
suspiciousActivity:
|
|
416
|
+
summary: Suspicious activity
|
|
417
|
+
value:
|
|
418
|
+
timestamp: '2026-11-20T10:00:00.000Z'
|
|
419
|
+
status: 401
|
|
420
|
+
error: API Access Exception
|
|
421
|
+
message: Suspicious Activity.
|
|
422
|
+
path: /v2.0/asn-whois
|
|
193
423
|
'404':
|
|
194
|
-
description: Not Found — ASN could not be found
|
|
424
|
+
description: Not Found — ASN could not be found, or the endpoint was called with an unsupported HTTP method
|
|
195
425
|
content:
|
|
196
426
|
application/json:
|
|
197
427
|
schema:
|
|
198
428
|
$ref: '#/components/schemas/ErrorResponse'
|
|
199
429
|
examples:
|
|
430
|
+
wrongHttpMethod:
|
|
431
|
+
summary: 'Endpoint called with a method other than GET (for example POST): the gateway returns 404, not 405'
|
|
432
|
+
value:
|
|
433
|
+
error: Resource Not Found
|
|
434
|
+
message: The requested resource could not be found. Please verify the URL and try again.
|
|
435
|
+
path: /v1.0/asn/whois/live
|
|
436
|
+
status: 404
|
|
437
|
+
timestamp: '2026-11-20T11:13:27.720Z'
|
|
200
438
|
asnNotFound:
|
|
201
|
-
summary: ASN not allocated or
|
|
439
|
+
summary: ASN not allocated or not found
|
|
202
440
|
value:
|
|
203
|
-
timestamp: '2026-
|
|
441
|
+
timestamp: '2026-11-20T10:10:28.927174297Z'
|
|
204
442
|
status: 404
|
|
205
443
|
error: Data Not Found
|
|
206
444
|
message: ASN data for 999999999 could not be found.
|
|
@@ -208,6 +446,139 @@ paths:
|
|
|
208
446
|
headers:
|
|
209
447
|
X-AF-Credits-Cost:
|
|
210
448
|
$ref: '#/components/headers/X-AF-Credits-Cost'
|
|
449
|
+
'408':
|
|
450
|
+
description: Request Timeout — The WHOIS data could not be fetched
|
|
451
|
+
content:
|
|
452
|
+
application/json:
|
|
453
|
+
schema:
|
|
454
|
+
$ref: '#/components/schemas/ErrorResponse'
|
|
455
|
+
examples:
|
|
456
|
+
fetchFailed:
|
|
457
|
+
summary: Unable to fetch WHOIS data
|
|
458
|
+
value:
|
|
459
|
+
timestamp: '2024-07-10T13:47:02.486Z'
|
|
460
|
+
status: 408
|
|
461
|
+
error: Fetching Whois Data Failed
|
|
462
|
+
message: 'Unable to fetch whois data.Please try again [For Technical Support: support@apifreaks.com]'
|
|
463
|
+
path: /v1.0/asn/whois/live
|
|
464
|
+
'412':
|
|
465
|
+
description: Precondition Failed — The API plan request limit is exceeded and the subscription is canceled
|
|
466
|
+
content:
|
|
467
|
+
application/json:
|
|
468
|
+
schema:
|
|
469
|
+
$ref: '#/components/schemas/ErrorResponse'
|
|
470
|
+
examples:
|
|
471
|
+
planLimitExceeded:
|
|
472
|
+
summary: API plan request limit exceeded
|
|
473
|
+
value:
|
|
474
|
+
timestamp: '2024-07-10T13:47:02.486Z'
|
|
475
|
+
status: 412
|
|
476
|
+
error: Fetching Whois Data Failed
|
|
477
|
+
message: 'You have exceeded the limit of api plan requests and your subscription is canceled. [For Technical Support email at: support@apifreaks.com]'
|
|
478
|
+
path: /v1.0/asn/whois/live
|
|
479
|
+
'413':
|
|
480
|
+
description: Payload Too Large — The surcharge request limit is exceeded
|
|
481
|
+
content:
|
|
482
|
+
application/json:
|
|
483
|
+
schema:
|
|
484
|
+
$ref: '#/components/schemas/ErrorResponse'
|
|
485
|
+
examples:
|
|
486
|
+
surchargeLimitExceeded:
|
|
487
|
+
summary: Surcharge request limit exceeded
|
|
488
|
+
value:
|
|
489
|
+
timestamp: '2024-07-10T13:47:02.486Z'
|
|
490
|
+
status: 413
|
|
491
|
+
error: Fetching Whois Data Failed
|
|
492
|
+
message: 'You have exceeded the limit of Surcharge Requests [allowed_surcharge_request_no]. Please upgrade your plan. [For Technical Support email at: support@apifreaks.com]'
|
|
493
|
+
path: /v1.0/asn/whois/live
|
|
494
|
+
'429':
|
|
495
|
+
description: Too Many Requests — The per-minute request limit is reached
|
|
496
|
+
content:
|
|
497
|
+
application/json:
|
|
498
|
+
schema:
|
|
499
|
+
$ref: '#/components/schemas/ErrorResponse'
|
|
500
|
+
examples:
|
|
501
|
+
rateLimited:
|
|
502
|
+
summary: Per-minute request limit reached
|
|
503
|
+
value:
|
|
504
|
+
timestamp: '2024-07-10T13:47:02.486Z'
|
|
505
|
+
status: 429
|
|
506
|
+
error: Fetching Whois Data Failed
|
|
507
|
+
message: Please slow down. Your maximum request limit per minute reached.
|
|
508
|
+
path: /v1.0/asn/whois/live
|
|
509
|
+
'499':
|
|
510
|
+
description: Client Closed Request — The request or connection timeout set by the client is too short, so the server closes the connection before completing the response
|
|
511
|
+
content:
|
|
512
|
+
application/json:
|
|
513
|
+
schema:
|
|
514
|
+
$ref: '#/components/schemas/ErrorResponse'
|
|
515
|
+
examples:
|
|
516
|
+
clientTimeoutTooShort:
|
|
517
|
+
summary: Client timeout too short
|
|
518
|
+
value:
|
|
519
|
+
timestamp: '2026-11-20T10:00:00.000Z'
|
|
520
|
+
status: 499
|
|
521
|
+
message: The request or connection timeout you’ve set is too short, which is causing the server to close the connection before completing the response. Please increase the timeout duration to ensure successful communication with the server.
|
|
522
|
+
path: /v2.0/asn-whois
|
|
523
|
+
'500':
|
|
524
|
+
description: Internal Server Error
|
|
525
|
+
content:
|
|
526
|
+
application/json:
|
|
527
|
+
schema:
|
|
528
|
+
$ref: '#/components/schemas/ErrorResponse'
|
|
529
|
+
examples:
|
|
530
|
+
internalError:
|
|
531
|
+
summary: Internal server error
|
|
532
|
+
value:
|
|
533
|
+
timestamp: '2024-07-10T13:47:02.486Z'
|
|
534
|
+
status: 500
|
|
535
|
+
error: Fetching Whois Data Failed
|
|
536
|
+
message: 'Internal Server error occurred. [For Technical Support email at: support@apifreaks.com]'
|
|
537
|
+
path: /v1.0/asn/whois/live
|
|
538
|
+
'503':
|
|
539
|
+
description: Service Unavailable
|
|
540
|
+
content:
|
|
541
|
+
application/json:
|
|
542
|
+
schema:
|
|
543
|
+
$ref: '#/components/schemas/ErrorResponse'
|
|
544
|
+
examples:
|
|
545
|
+
serviceUnavailable:
|
|
546
|
+
summary: Service unavailable
|
|
547
|
+
value:
|
|
548
|
+
timestamp: '2024-07-10T13:47:02.486Z'
|
|
549
|
+
status: 503
|
|
550
|
+
error: Fetching Whois Data Failed
|
|
551
|
+
message: 'Service is unavailable. Please try after some time. [For Technical Support email at: support@apifreaks.com]'
|
|
552
|
+
path: /v1.0/asn/whois/live
|
|
553
|
+
'504':
|
|
554
|
+
description: Gateway Timeout
|
|
555
|
+
content:
|
|
556
|
+
application/json:
|
|
557
|
+
schema:
|
|
558
|
+
$ref: '#/components/schemas/ErrorResponse'
|
|
559
|
+
examples:
|
|
560
|
+
gatewayTimeout:
|
|
561
|
+
summary: Request timed out
|
|
562
|
+
value:
|
|
563
|
+
timestamp: '2024-07-10T13:47:02.486Z'
|
|
564
|
+
status: 504
|
|
565
|
+
error: Fetching Whois Data Failed
|
|
566
|
+
message: 'Request is timed-out. [For Technical Support email at: support@apifreaks.com]'
|
|
567
|
+
path: /v1.0/asn/whois/live
|
|
568
|
+
'505':
|
|
569
|
+
description: HTTP Version Not Supported — The request uses an outdated HTTP version
|
|
570
|
+
content:
|
|
571
|
+
application/json:
|
|
572
|
+
schema:
|
|
573
|
+
$ref: '#/components/schemas/ErrorResponse'
|
|
574
|
+
examples:
|
|
575
|
+
httpVersionNotSupported:
|
|
576
|
+
summary: Outdated HTTP version
|
|
577
|
+
value:
|
|
578
|
+
timestamp: '2026-11-20T10:00:00.000Z'
|
|
579
|
+
status: 505
|
|
580
|
+
message: You might be using an outdated HTTP version.
|
|
581
|
+
path: /v2.0/asn-whois
|
|
211
582
|
components:
|
|
212
583
|
securitySchemes:
|
|
213
584
|
ApiKeyAuthHeader:
|
|
@@ -249,12 +620,16 @@ components:
|
|
|
249
620
|
- asNumber
|
|
250
621
|
- asName
|
|
251
622
|
- orgName
|
|
623
|
+
- description
|
|
252
624
|
- orgHandle
|
|
253
625
|
- country
|
|
626
|
+
- domain
|
|
627
|
+
- website
|
|
254
628
|
- allocationStatus
|
|
255
629
|
- numOfIPv4Routes
|
|
256
630
|
- numOfIPv6Routes
|
|
257
631
|
- whoisHost
|
|
632
|
+
- dateAllocated
|
|
258
633
|
- type
|
|
259
634
|
- routeObjects
|
|
260
635
|
- whoisResponse
|
|
@@ -276,7 +651,7 @@ components:
|
|
|
276
651
|
description: Name of the organization the ASN is registered to.
|
|
277
652
|
description:
|
|
278
653
|
type: string
|
|
279
|
-
description: Free-text description associated with the organization
|
|
654
|
+
description: Free-text description associated with the organization. Empty string when not published.
|
|
280
655
|
orgHandle:
|
|
281
656
|
type: string
|
|
282
657
|
description: Registry handle identifying the organization record.
|
|
@@ -285,13 +660,13 @@ components:
|
|
|
285
660
|
description: ISO 3166-1 alpha-2 country code of the registered organization.
|
|
286
661
|
domain:
|
|
287
662
|
type: string
|
|
288
|
-
description: Domain name associated with the organization
|
|
663
|
+
description: Domain name associated with the organization. Empty string when not published.
|
|
289
664
|
website:
|
|
290
665
|
type: string
|
|
291
|
-
description: Organization website URL
|
|
666
|
+
description: Organization website URL. Empty string when not published.
|
|
292
667
|
allocationStatus:
|
|
293
668
|
type: string
|
|
294
|
-
description: Allocation status of the ASN as published by the registry.
|
|
669
|
+
description: Allocation status of the ASN as published by the registry (e.g. ASSIGNED). Empty string when not published.
|
|
295
670
|
numOfIPv4Routes:
|
|
296
671
|
type: string
|
|
297
672
|
description: Count of IPv4 route objects currently advertised by this ASN.
|
|
@@ -306,7 +681,7 @@ components:
|
|
|
306
681
|
description: Date the ASN was allocated, in YYYY-MM-DD format; empty if not published.
|
|
307
682
|
type:
|
|
308
683
|
type: string
|
|
309
|
-
description: ASN category (e.g. ISP, BUSINESS, HOSTING, EDUCATION).
|
|
684
|
+
description: ASN category (e.g. ISP, BUSINESS, HOSTING, EDUCATION). Empty string when the category is unknown.
|
|
310
685
|
routeObjects:
|
|
311
686
|
type: array
|
|
312
687
|
description: IPv4 and IPv6 route objects (CIDR blocks) currently advertised by this ASN.
|
|
@@ -369,16 +744,18 @@ components:
|
|
|
369
744
|
description: A related Autonomous System (upstream provider, downstream customer, or BGP peer).
|
|
370
745
|
required:
|
|
371
746
|
- asNumber
|
|
747
|
+
- description
|
|
748
|
+
- country
|
|
372
749
|
properties:
|
|
373
750
|
asNumber:
|
|
374
751
|
type: string
|
|
375
752
|
description: ASN of the related Autonomous System, without the 'AS' prefix.
|
|
376
753
|
description:
|
|
377
754
|
type: string
|
|
378
|
-
description: Free-text description of the related Autonomous System
|
|
755
|
+
description: Free-text description of the related Autonomous System. May be an empty string.
|
|
379
756
|
country:
|
|
380
757
|
type: string
|
|
381
|
-
description: ISO 3166-1 alpha-2 country code of the related Autonomous System
|
|
758
|
+
description: ISO 3166-1 alpha-2 country code of the related Autonomous System. May be an empty string.
|
|
382
759
|
ParsedWhoisResponse:
|
|
383
760
|
type: object
|
|
384
761
|
description: Structured breakdown of the raw WHOIS response into individual records and contacts.
|
|
@@ -388,7 +765,6 @@ components:
|
|
|
388
765
|
- aut_nums
|
|
389
766
|
- organization
|
|
390
767
|
- technical_contacts
|
|
391
|
-
- abuse_contacts
|
|
392
768
|
properties:
|
|
393
769
|
status:
|
|
394
770
|
type: boolean
|
|
@@ -410,28 +786,27 @@ components:
|
|
|
410
786
|
$ref: '#/components/schemas/WhoisContact'
|
|
411
787
|
abuse_contacts:
|
|
412
788
|
type: array
|
|
413
|
-
description: Parsed abuse contact records for the ASN.
|
|
789
|
+
description: Parsed abuse contact records for the ASN. Absent when the registry publishes none.
|
|
414
790
|
items:
|
|
415
791
|
$ref: '#/components/schemas/WhoisContact'
|
|
416
|
-
|
|
417
|
-
type:
|
|
418
|
-
description:
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
792
|
+
administrative_contacts:
|
|
793
|
+
type: array
|
|
794
|
+
description: Parsed administrative contact records for the ASN. Returned for RIPE, APNIC, LACNIC and AFRINIC registrations; absent for ARIN.
|
|
795
|
+
items:
|
|
796
|
+
$ref: '#/components/schemas/WhoisContact'
|
|
797
|
+
as_blocks:
|
|
798
|
+
type: array
|
|
799
|
+
description: AS block objects that contain the requested ASN. Returned for RIPE and APNIC registrations.
|
|
800
|
+
items:
|
|
801
|
+
$ref: '#/components/schemas/AsBlock'
|
|
802
|
+
irt:
|
|
803
|
+
$ref: '#/components/schemas/Irt'
|
|
425
804
|
AutNum:
|
|
426
805
|
type: object
|
|
427
806
|
description: Parsed autnum (Autonomous System Number) registry object and its routing policy attributes.
|
|
428
807
|
required:
|
|
429
808
|
- aut_num
|
|
430
|
-
- as_handle
|
|
431
|
-
- as_name
|
|
432
809
|
- tech_contacts
|
|
433
|
-
- abuse_contacts
|
|
434
|
-
- date_updated
|
|
435
810
|
- source
|
|
436
811
|
properties:
|
|
437
812
|
aut_num:
|
|
@@ -439,7 +814,7 @@ components:
|
|
|
439
814
|
description: ASN identifier as recorded on the autnum object.
|
|
440
815
|
as_handle:
|
|
441
816
|
type: string
|
|
442
|
-
description: Registry handle for the autnum object (e.g. AS15).
|
|
817
|
+
description: Registry handle for the autnum object (e.g. AS15). Not returned by every registry.
|
|
443
818
|
as_name:
|
|
444
819
|
type: string
|
|
445
820
|
description: Registered name for the autnum object.
|
|
@@ -531,6 +906,36 @@ components:
|
|
|
531
906
|
source:
|
|
532
907
|
type: string
|
|
533
908
|
description: URL of the registry record this autnum object was parsed from.
|
|
909
|
+
mnt_by:
|
|
910
|
+
type: array
|
|
911
|
+
description: Maintainer objects that protect the autnum object.
|
|
912
|
+
items:
|
|
913
|
+
type: string
|
|
914
|
+
mnt_lower:
|
|
915
|
+
type: array
|
|
916
|
+
description: Maintainer objects authorised to create more specific objects under this autnum.
|
|
917
|
+
items:
|
|
918
|
+
type: string
|
|
919
|
+
mnt_routes:
|
|
920
|
+
type: array
|
|
921
|
+
description: Maintainer objects authorised to create route objects for this autnum.
|
|
922
|
+
items:
|
|
923
|
+
type: string
|
|
924
|
+
mnt_irt:
|
|
925
|
+
type: array
|
|
926
|
+
description: IRT (incident response team) objects associated with the autnum.
|
|
927
|
+
items:
|
|
928
|
+
type: string
|
|
929
|
+
notify:
|
|
930
|
+
type: array
|
|
931
|
+
description: Email addresses notified when the autnum object changes.
|
|
932
|
+
items:
|
|
933
|
+
type: string
|
|
934
|
+
remarks:
|
|
935
|
+
type: array
|
|
936
|
+
description: Free-text remarks attached to the autnum object.
|
|
937
|
+
items:
|
|
938
|
+
type: string
|
|
534
939
|
Organization:
|
|
535
940
|
type: object
|
|
536
941
|
description: Parsed organization (org) registry object that holds the ASN.
|
|
@@ -577,23 +982,77 @@ components:
|
|
|
577
982
|
source:
|
|
578
983
|
type: string
|
|
579
984
|
description: URL of the registry record this organization object was parsed from.
|
|
985
|
+
type:
|
|
986
|
+
type: string
|
|
987
|
+
description: Organization type as recorded by the registry (e.g. LIR, OTHER).
|
|
988
|
+
description:
|
|
989
|
+
type: array
|
|
990
|
+
description: Free-text description lines attached to the organization object.
|
|
991
|
+
items:
|
|
992
|
+
type: string
|
|
993
|
+
email:
|
|
994
|
+
type: array
|
|
995
|
+
description: Organization email address(es).
|
|
996
|
+
items:
|
|
997
|
+
type: string
|
|
998
|
+
phone:
|
|
999
|
+
type: array
|
|
1000
|
+
description: Organization phone number(s).
|
|
1001
|
+
items:
|
|
1002
|
+
type: string
|
|
1003
|
+
fax_no:
|
|
1004
|
+
type: array
|
|
1005
|
+
description: Organization fax number(s).
|
|
1006
|
+
items:
|
|
1007
|
+
type: string
|
|
1008
|
+
admin_contacts:
|
|
1009
|
+
type: array
|
|
1010
|
+
description: Registry handles of administrative contacts for the organization.
|
|
1011
|
+
items:
|
|
1012
|
+
type: string
|
|
1013
|
+
tech_contacts:
|
|
1014
|
+
type: array
|
|
1015
|
+
description: Registry handles of technical contacts for the organization.
|
|
1016
|
+
items:
|
|
1017
|
+
type: string
|
|
1018
|
+
abuse_contacts:
|
|
1019
|
+
type: array
|
|
1020
|
+
description: Registry handles of abuse contacts for the organization.
|
|
1021
|
+
items:
|
|
1022
|
+
type: string
|
|
1023
|
+
mnt_by:
|
|
1024
|
+
type: array
|
|
1025
|
+
description: Maintainer objects that protect the organization object.
|
|
1026
|
+
items:
|
|
1027
|
+
type: string
|
|
1028
|
+
mnt_ref:
|
|
1029
|
+
type: array
|
|
1030
|
+
description: Maintainer objects authorised to reference the organization object.
|
|
1031
|
+
items:
|
|
1032
|
+
type: string
|
|
1033
|
+
required:
|
|
1034
|
+
- handle
|
|
1035
|
+
- name
|
|
1036
|
+
- address
|
|
1037
|
+
- country
|
|
1038
|
+
- source
|
|
580
1039
|
WhoisContact:
|
|
581
1040
|
type: object
|
|
582
|
-
description: A parsed technical or abuse contact record from the registry.
|
|
1041
|
+
description: A parsed administrative, technical or abuse contact record from the registry. Which optional fields appear depends on the registry.
|
|
583
1042
|
required:
|
|
584
1043
|
- handle
|
|
585
|
-
-
|
|
586
|
-
-
|
|
1044
|
+
- phone
|
|
1045
|
+
- source
|
|
587
1046
|
properties:
|
|
588
1047
|
handle:
|
|
589
1048
|
type: string
|
|
590
1049
|
description: Registry handle for the contact.
|
|
591
1050
|
name:
|
|
592
1051
|
type: string
|
|
593
|
-
description: Contact's registered name.
|
|
1052
|
+
description: Contact's registered name. Not returned for role objects that carry no name.
|
|
594
1053
|
email:
|
|
595
1054
|
type: array
|
|
596
|
-
description: Contact email address(es).
|
|
1055
|
+
description: Contact email address(es). Absent when the registry publishes none.
|
|
597
1056
|
items:
|
|
598
1057
|
type: string
|
|
599
1058
|
phone:
|
|
@@ -601,9 +1060,189 @@ components:
|
|
|
601
1060
|
description: Contact phone number(s).
|
|
602
1061
|
items:
|
|
603
1062
|
type: string
|
|
1063
|
+
address:
|
|
1064
|
+
type: array
|
|
1065
|
+
description: Address lines for the contact, as published by the registry.
|
|
1066
|
+
items:
|
|
1067
|
+
type: string
|
|
1068
|
+
street:
|
|
1069
|
+
type: string
|
|
1070
|
+
description: Street address of the contact, when published separately.
|
|
1071
|
+
city:
|
|
1072
|
+
type: string
|
|
1073
|
+
description: City of the contact, when published separately.
|
|
1074
|
+
state:
|
|
1075
|
+
type: string
|
|
1076
|
+
description: State or province of the contact, when published separately.
|
|
1077
|
+
zip_code:
|
|
1078
|
+
type: string
|
|
1079
|
+
description: Postal/ZIP code of the contact, when published separately.
|
|
1080
|
+
country:
|
|
1081
|
+
type: string
|
|
1082
|
+
description: Country of the contact, as published by the registry (code or name).
|
|
1083
|
+
addressCountry:
|
|
1084
|
+
type: string
|
|
1085
|
+
description: ISO 3166-1 alpha-2 country code derived from the contact address.
|
|
1086
|
+
fax_no:
|
|
1087
|
+
type: array
|
|
1088
|
+
description: Contact fax number(s).
|
|
1089
|
+
items:
|
|
1090
|
+
type: string
|
|
1091
|
+
abuse_mailbox:
|
|
1092
|
+
type: array
|
|
1093
|
+
description: Abuse mailbox address(es) for the contact.
|
|
1094
|
+
items:
|
|
1095
|
+
type: string
|
|
1096
|
+
organizations:
|
|
1097
|
+
type: array
|
|
1098
|
+
description: Registry handles of the organizations the contact belongs to.
|
|
1099
|
+
items:
|
|
1100
|
+
type: string
|
|
1101
|
+
admin_contacts:
|
|
1102
|
+
type: array
|
|
1103
|
+
description: Registry handles of administrative contacts referenced by this contact.
|
|
1104
|
+
items:
|
|
1105
|
+
type: string
|
|
1106
|
+
tech_contacts:
|
|
1107
|
+
type: array
|
|
1108
|
+
description: Registry handles of technical contacts referenced by this contact.
|
|
1109
|
+
items:
|
|
1110
|
+
type: string
|
|
1111
|
+
mnt_by:
|
|
1112
|
+
type: array
|
|
1113
|
+
description: Maintainer objects that protect the contact object.
|
|
1114
|
+
items:
|
|
1115
|
+
type: string
|
|
1116
|
+
mnt_ref:
|
|
1117
|
+
type: array
|
|
1118
|
+
description: Maintainer objects authorised to reference the contact object.
|
|
1119
|
+
items:
|
|
1120
|
+
type: string
|
|
1121
|
+
remarks:
|
|
1122
|
+
type: array
|
|
1123
|
+
description: Free-text remarks attached to the contact object.
|
|
1124
|
+
items:
|
|
1125
|
+
type: string
|
|
1126
|
+
date_created:
|
|
1127
|
+
type: string
|
|
1128
|
+
description: Date the contact object was first registered.
|
|
1129
|
+
format: date
|
|
1130
|
+
date_updated:
|
|
1131
|
+
type: string
|
|
1132
|
+
description: Date the contact object was last updated.
|
|
1133
|
+
format: date
|
|
604
1134
|
source:
|
|
605
1135
|
type: string
|
|
606
1136
|
description: URL of the registry record this contact was parsed from.
|
|
1137
|
+
AsBlock:
|
|
1138
|
+
type: object
|
|
1139
|
+
description: An AS block object that contains the requested ASN.
|
|
1140
|
+
required:
|
|
1141
|
+
- as_block
|
|
1142
|
+
- source
|
|
1143
|
+
properties:
|
|
1144
|
+
as_block:
|
|
1145
|
+
type: string
|
|
1146
|
+
description: The AS number range, e.g. `AS4608 - AS4865`.
|
|
1147
|
+
description:
|
|
1148
|
+
type: array
|
|
1149
|
+
description: Free-text description lines attached to the AS block.
|
|
1150
|
+
items:
|
|
1151
|
+
type: string
|
|
1152
|
+
admin_contacts:
|
|
1153
|
+
type: array
|
|
1154
|
+
description: Registry handles of administrative contacts for the AS block.
|
|
1155
|
+
items:
|
|
1156
|
+
type: string
|
|
1157
|
+
tech_contacts:
|
|
1158
|
+
type: array
|
|
1159
|
+
description: Registry handles of technical contacts for the AS block.
|
|
1160
|
+
items:
|
|
1161
|
+
type: string
|
|
1162
|
+
remarks:
|
|
1163
|
+
type: array
|
|
1164
|
+
description: Free-text remarks attached to the AS block.
|
|
1165
|
+
items:
|
|
1166
|
+
type: string
|
|
1167
|
+
mnt_by:
|
|
1168
|
+
type: array
|
|
1169
|
+
description: Maintainer objects that protect the AS block.
|
|
1170
|
+
items:
|
|
1171
|
+
type: string
|
|
1172
|
+
mnt_lower:
|
|
1173
|
+
type: array
|
|
1174
|
+
description: Maintainer objects authorised to create more specific objects under the AS block.
|
|
1175
|
+
items:
|
|
1176
|
+
type: string
|
|
1177
|
+
date_created:
|
|
1178
|
+
type: string
|
|
1179
|
+
description: Date the AS block was first registered.
|
|
1180
|
+
format: date
|
|
1181
|
+
date_updated:
|
|
1182
|
+
type: string
|
|
1183
|
+
description: Date the AS block was last updated.
|
|
1184
|
+
format: date
|
|
1185
|
+
source:
|
|
1186
|
+
type: string
|
|
1187
|
+
description: Registry the AS block was parsed from (e.g. APNIC, RIPE).
|
|
1188
|
+
Irt:
|
|
1189
|
+
type: object
|
|
1190
|
+
description: IRT (incident response team) object linked to the ASN. Returned when the registry publishes one (for example APNIC).
|
|
1191
|
+
required:
|
|
1192
|
+
- handle
|
|
1193
|
+
- source
|
|
1194
|
+
properties:
|
|
1195
|
+
handle:
|
|
1196
|
+
type: string
|
|
1197
|
+
description: Registry handle for the IRT object.
|
|
1198
|
+
address:
|
|
1199
|
+
type: array
|
|
1200
|
+
description: Address lines for the IRT, as published by the registry.
|
|
1201
|
+
items:
|
|
1202
|
+
type: string
|
|
1203
|
+
city:
|
|
1204
|
+
type: string
|
|
1205
|
+
description: City of the IRT.
|
|
1206
|
+
country:
|
|
1207
|
+
type: string
|
|
1208
|
+
description: Country of the IRT, as published by the registry.
|
|
1209
|
+
email:
|
|
1210
|
+
type: array
|
|
1211
|
+
description: IRT email address(es).
|
|
1212
|
+
items:
|
|
1213
|
+
type: string
|
|
1214
|
+
abuse_mailbox:
|
|
1215
|
+
type: array
|
|
1216
|
+
description: Abuse mailbox address(es) of the IRT.
|
|
1217
|
+
items:
|
|
1218
|
+
type: string
|
|
1219
|
+
admin_contacts:
|
|
1220
|
+
type: array
|
|
1221
|
+
description: Registry handles of administrative contacts for the IRT.
|
|
1222
|
+
items:
|
|
1223
|
+
type: string
|
|
1224
|
+
tech_contacts:
|
|
1225
|
+
type: array
|
|
1226
|
+
description: Registry handles of technical contacts for the IRT.
|
|
1227
|
+
items:
|
|
1228
|
+
type: string
|
|
1229
|
+
remarks:
|
|
1230
|
+
type: array
|
|
1231
|
+
description: Free-text remarks attached to the IRT object.
|
|
1232
|
+
items:
|
|
1233
|
+
type: string
|
|
1234
|
+
mnt_by:
|
|
1235
|
+
type: array
|
|
1236
|
+
description: Maintainer objects that protect the IRT object.
|
|
1237
|
+
items:
|
|
1238
|
+
type: string
|
|
1239
|
+
date_updated:
|
|
1240
|
+
type: string
|
|
1241
|
+
description: Date the IRT object was last updated.
|
|
1242
|
+
format: date
|
|
1243
|
+
source:
|
|
1244
|
+
type: string
|
|
1245
|
+
description: Registry the IRT object was parsed from.
|
|
607
1246
|
Contacts:
|
|
608
1247
|
type: object
|
|
609
1248
|
description: Direct contact addresses collected from the ASN's WHOIS record.
|