@apifreaks/openapi-specs 0.1.0 → 0.1.2

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.
Files changed (108) hide show
  1. package/dist/index.cjs +133 -2
  2. package/dist/index.d.cts +140 -3
  3. package/dist/index.d.ts +140 -3
  4. package/dist/index.js +131 -2
  5. package/dist/specs/commodity/commodity-fluctuation.yaml +225 -0
  6. package/dist/specs/commodity/commodity-prices.yaml +236 -0
  7. package/dist/specs/commodity/commodity-symbols.yaml +159 -0
  8. package/dist/specs/commodity/commodity-time-series.yaml +238 -0
  9. package/dist/specs/commodity/historical-commodity-prices.yaml +208 -0
  10. package/dist/specs/currency/currency-converter.yaml +193 -0
  11. package/dist/specs/currency/currency-fluctuation.yaml +211 -0
  12. package/dist/specs/currency/currency-historical-data-limit.yaml +112 -0
  13. package/dist/specs/currency/currency-rate.yaml +173 -0
  14. package/dist/specs/currency/currency-supported.yaml +176 -0
  15. package/dist/specs/currency/currency-symbols.yaml +115 -0
  16. package/dist/specs/currency/currency-time-series.yaml +232 -0
  17. package/dist/specs/currency/geolocalized-currency-conversion.yaml +214 -0
  18. package/dist/specs/currency/historical-currency-converter.yaml +195 -0
  19. package/dist/specs/currency/historical-currency-rate.yaml +180 -0
  20. package/dist/specs/dns/bulk-dns-lookup.yaml +484 -0
  21. package/dist/specs/dns/dns-history-lookup.yaml +451 -0
  22. package/dist/specs/dns/dns-lookup.yaml +360 -0
  23. package/dist/specs/dns/reverse-dns-lookup.yaml +338 -0
  24. package/dist/specs/domain/bulk-domain-checker.yaml +198 -0
  25. package/dist/specs/domain/domain-search-with-suggestions.yaml +196 -0
  26. package/dist/specs/domain/domain-search.yaml +149 -0
  27. package/dist/specs/domain/subdomain-lookup.yaml +251 -0
  28. package/dist/specs/email-validation/bulk-email-validation.yaml +403 -0
  29. package/dist/specs/email-validation/email-checker.yaml +451 -0
  30. package/dist/specs/financial/bulk-vat-rates-country.yaml +250 -0
  31. package/dist/specs/financial/financial-apis-supported-countries.yaml +152 -0
  32. package/dist/specs/financial/iban-validation.yaml +270 -0
  33. package/dist/specs/financial/swift-code-finder.yaml +146 -0
  34. package/dist/specs/financial/swift-code-lookup.yaml +156 -0
  35. package/dist/specs/financial/vat-number-validation.yaml +205 -0
  36. package/dist/specs/financial/vat-rates-by-ip.yaml +200 -0
  37. package/dist/specs/financial/vat-rates-country.yaml +212 -0
  38. package/dist/specs/general/usage-credits.yaml +188 -0
  39. package/dist/specs/geocoding/forward-geocoding.yaml +292 -0
  40. package/dist/specs/geocoding/reverse-geocoding.yaml +237 -0
  41. package/dist/specs/geodb/administrative-units-details.yaml +180 -0
  42. package/dist/specs/geodb/administrative-units-levels.yaml +140 -0
  43. package/dist/specs/geodb/administrative-units.yaml +168 -0
  44. package/dist/specs/geodb/cities.yaml +209 -0
  45. package/dist/specs/geodb/countries-details.yaml +207 -0
  46. package/dist/specs/geodb/countries.yaml +199 -0
  47. package/dist/specs/geodb/flags-supported.yaml +119 -0
  48. package/dist/specs/geodb/flags.yaml +170 -0
  49. package/dist/specs/geodb/regions.yaml +76 -0
  50. package/dist/specs/geodb/subregions.yaml +158 -0
  51. package/dist/specs/ip-intelligence/bulk-ip-lookup.yaml +895 -0
  52. package/dist/specs/ip-intelligence/bulk-ip-threat-intelligence.yaml +310 -0
  53. package/dist/specs/ip-intelligence/ip-locator.yaml +708 -0
  54. package/dist/specs/ip-intelligence/ip-threat-intelligence.yaml +230 -0
  55. package/dist/specs/other/astronomy-data.yaml +632 -0
  56. package/dist/specs/pdf/delete-pdf-page.yaml +193 -0
  57. package/dist/specs/pdf/linearize-pdf.yaml +187 -0
  58. package/dist/specs/pdf/merge-pdf.yaml +193 -0
  59. package/dist/specs/pdf/pdf-compress.yaml +208 -0
  60. package/dist/specs/pdf/pdf-decrypt.yaml +202 -0
  61. package/dist/specs/pdf/pdf-encrypt.yaml +213 -0
  62. package/dist/specs/pdf/pdf-extract-pages.yaml +199 -0
  63. package/dist/specs/pdf/pdf-file-status.yaml +148 -0
  64. package/dist/specs/pdf/pdf-file.yaml +136 -0
  65. package/dist/specs/pdf/pdf-files.yaml +85 -0
  66. package/dist/specs/pdf/pdf-resource-download.yaml +117 -0
  67. package/dist/specs/pdf/pdf-resource-upload-binary.yaml +152 -0
  68. package/dist/specs/pdf/pdf-resource-upload.yaml +163 -0
  69. package/dist/specs/pdf/pdf-restrict.yaml +246 -0
  70. package/dist/specs/pdf/pdf-split-pages.yaml +208 -0
  71. package/dist/specs/pdf/pdf-task-status.yaml +187 -0
  72. package/dist/specs/pdf/pdf-to-image.yaml +844 -0
  73. package/dist/specs/pdf/pdf-unrestrict.yaml +221 -0
  74. package/dist/specs/pdf/rotate-pdf-pages.yaml +207 -0
  75. package/dist/specs/phone-validation/bulk-phone-number-validation.yaml +374 -0
  76. package/dist/specs/phone-validation/phone-number-validation.yaml +344 -0
  77. package/dist/specs/scraper/web-scraper.yaml +479 -0
  78. package/dist/specs/screenshot/bulk-screenshot.yaml +728 -0
  79. package/dist/specs/screenshot/website-screenshot.yaml +822 -0
  80. package/dist/specs/ssl/ssl-certificate-chain-lookup.yaml +593 -0
  81. package/dist/specs/ssl/ssl-certificate-lookup.yaml +478 -0
  82. package/dist/specs/timezone/timezone-converter.yaml +249 -0
  83. package/dist/specs/timezone/timezone-lookup.yaml +712 -0
  84. package/dist/specs/user-agent/bulk-user-agent-parser.yaml +340 -0
  85. package/dist/specs/user-agent/user-agent-parser.yaml +271 -0
  86. package/dist/specs/weather/air-quality.yaml +590 -0
  87. package/dist/specs/weather/bulk-live-weather.yaml +654 -0
  88. package/dist/specs/weather/flood-forecast.yaml +519 -0
  89. package/dist/specs/weather/historical-weather.yaml +842 -0
  90. package/dist/specs/weather/live-weather.yaml +633 -0
  91. package/dist/specs/weather/marine-weather.yaml +806 -0
  92. package/dist/specs/weather/time-series-weather.yaml +821 -0
  93. package/dist/specs/weather/weather-forecast.yaml +935 -0
  94. package/dist/specs/whois/asn-lookup.yaml +618 -0
  95. package/dist/specs/whois/bulk-whois-lookup.yaml +827 -0
  96. package/dist/specs/whois/domain-whois-history-lookup.yaml +445 -0
  97. package/dist/specs/whois/reverse-whois.yaml +566 -0
  98. package/dist/specs/whois/whois-domain-lookup.yaml +537 -0
  99. package/dist/specs/whois/whois-ip-lookup.yaml +1123 -0
  100. package/dist/specs/zip-code/bulk-zip-code-lookup.yaml +232 -0
  101. package/dist/specs/zip-code/zip-code-api.yaml +216 -0
  102. package/dist/specs/zip-code/zip-code-distance-match.yaml +239 -0
  103. package/dist/specs/zip-code/zip-code-distance.yaml +233 -0
  104. package/dist/specs/zip-code/zip-codes-by-city.yaml +201 -0
  105. package/dist/specs/zip-code/zip-codes-by-region.yaml +200 -0
  106. package/dist/specs/zip-code/zip-codes-radius-search.yaml +262 -0
  107. package/package.json +6 -2
  108. package/specs/pdf/merge-pdf.json +2 -2
@@ -0,0 +1,618 @@
1
+ openapi: 3.1.1
2
+ info:
3
+ title: ASN Lookup API - WHOIS Records, CIDR Blocks & BGP Peer Data
4
+ version: 1.0.0
5
+ description: Retrieve complete WHOIS registration data for an Autonomous System Number (ASN), covering the operating organization, every advertised IPv4 and IPv6 route object, and both a structured JSON breakdown and the raw WHOIS text returned by the authoritative Regional Internet Registry. The response also includes the ASN's upstream providers, downstream customers, and BGP peer relationships when the registry publishes them, plus direct technical and abuse contact details. Pass the `asn` parameter with or without the `AS` prefix (e.g. `15169` or `AS15169`). An unallocated or unrecognized ASN returns a `404` error instead of an empty result, and a non-numeric or malformed `asn` value returns a `400` error.
6
+ contact:
7
+ name: APIFreaks Support
8
+ url: https://apifreaks.com/contact
9
+ email: support@apifreaks.com
10
+ servers:
11
+ - url: https://api.apifreaks.com/v1.0
12
+ description: ASN Lookup API Server
13
+ paths:
14
+ /asn/whois/live:
15
+ get:
16
+ tags:
17
+ - WHOIS APIs
18
+ summary: Retrieve WHOIS registration data, CIDR block inventory, and BGP peer relationships for an Autonomous System Number
19
+ description: Returns the WHOIS record for the specified ASN, including organization details, IPv4/IPv6 route objects, upstream/downstream/peer relationships, and both parsed and raw WHOIS text. Accepts the ASN with or without the 'AS' prefix.
20
+ operationId: asnLookup
21
+ parameters:
22
+ - name: format
23
+ in: query
24
+ required: false
25
+ description: Format of the response.
26
+ schema:
27
+ type: string
28
+ enum:
29
+ - json
30
+ - xml
31
+ default: json
32
+ - name: asn
33
+ in: query
34
+ required: true
35
+ description: Autonomous System Number to retrieve WHOIS data for, with or without the 'AS' prefix (e.g. 15169 or AS15169).
36
+ schema:
37
+ type: string
38
+ responses:
39
+ '200':
40
+ description: Successful ASN WHOIS response
41
+ content:
42
+ application/json:
43
+ schema:
44
+ $ref: '#/components/schemas/ASNLookupResponse'
45
+ examples:
46
+ typicalSuccess:
47
+ summary: Typical successful response
48
+ value:
49
+ asNumber: '15'
50
+ asName: NET-DYNAMICS-EXP
51
+ orgName: DYNAMICS
52
+ description: ''
53
+ orgHandle: dynami-109
54
+ country: US
55
+ domain: nisc.sri.com
56
+ website: ''
57
+ allocationStatus: ''
58
+ numOfIPv4Routes: '0'
59
+ numOfIPv6Routes: '0'
60
+ whoisHost: ARIN
61
+ dateAllocated: ''
62
+ type: ISP
63
+ routeObjects: []
64
+ whoisResponse: |
65
+
66
+ #
67
+ # ARIN WHOIS data and services are subject to the Terms of Use
68
+ # available at: https://www.arin.net/resources/registry/whois/tou/
69
+ #
70
+ # If you see inaccuracies in the results, please report at
71
+ # https://www.arin.net/resources/registry/whois/inaccuracy_reporting/
72
+ #
73
+ # Copyright 1997-2026, American Registry for Internet Numbers, Ltd.
74
+ #
75
+
76
+
77
+ ASNumber: 15
78
+ ASName: NET-DYNAMICS-EXP
79
+ ASHandle: AS15
80
+ RegDate:
81
+ Updated: 1991-06-27
82
+ Ref: https://rdap.arin.net/registry/autnum/15
83
+
84
+
85
+ OrgName: DYNAMICS
86
+ OrgId: DYNAMI-109
87
+ City:
88
+ StateProv:
89
+ PostalCode:
90
+ Country: US
91
+ RegDate:
92
+ Updated: 2012-10-10
93
+ Ref: https://rdap.arin.net/registry/entity/DYNAMI-109
94
+
95
+
96
+ OrgTechHandle: ZSU-ARIN
97
+ OrgTechName: Su, Zaw-Sing
98
+ OrgTechPhone: +1-415-859-4576
99
+ OrgTechEmail: zsu@nisc.sri.com
100
+ OrgTechRef: https://rdap.arin.net/registry/entity/ZSU-ARIN
101
+
102
+ OrgAbuseHandle: ZSU-ARIN
103
+ OrgAbuseName: Su, Zaw-Sing
104
+ OrgAbusePhone: +1-415-859-4576
105
+ OrgAbuseEmail: zsu@nisc.sri.com
106
+ OrgAbuseRef: https://rdap.arin.net/registry/entity/ZSU-ARIN
107
+
108
+ RTechHandle: ZSU-ARIN
109
+ RTechName: Su, Zaw-Sing
110
+ RTechPhone: +1-415-859-4576
111
+ RTechEmail: zsu@nisc.sri.com
112
+ RTechRef: https://rdap.arin.net/registry/entity/ZSU-ARIN
113
+
114
+
115
+ #
116
+ # ARIN WHOIS data and services are subject to the Terms of Use
117
+ # available at: https://www.arin.net/resources/registry/whois/tou/
118
+ #
119
+ # If you see inaccuracies in the results, please report at
120
+ # https://www.arin.net/resources/registry/whois/inaccuracy_reporting/
121
+ #
122
+ # Copyright 1997-2026, American Registry for Internet Numbers, Ltd.
123
+ #
124
+ downstreams: []
125
+ parsedWhoisResponse:
126
+ status: true
127
+ whois_server: whois.arin.net
128
+ aut_nums:
129
+ - aut_num: '15'
130
+ as_handle: AS15
131
+ as_name: NET-DYNAMICS-EXP
132
+ tech_contacts:
133
+ - ZSU-ARIN
134
+ - ZSU-ARIN
135
+ abuse_contacts:
136
+ - ZSU-ARIN
137
+ date_updated: '1991-06-27'
138
+ source: https://rdap.arin.net/registry/autnum/15
139
+ organization:
140
+ handle: DYNAMI-109
141
+ name: DYNAMICS
142
+ address:
143
+ - US
144
+ country:
145
+ - US
146
+ date_updated: '2012-10-10'
147
+ source: https://rdap.arin.net/registry/entity/DYNAMI-109
148
+ addressCountry: US
149
+ technical_contacts:
150
+ - handle: ZSU-ARIN
151
+ name: Su, Zaw-Sing
152
+ email:
153
+ - zsu@nisc.sri.com
154
+ phone:
155
+ - +1-415-859-4576
156
+ source: https://rdap.arin.net/registry/entity/ZSU-ARIN
157
+ abuse_contacts:
158
+ - handle: ZSU-ARIN
159
+ name: Su, Zaw-Sing
160
+ email:
161
+ - zsu@nisc.sri.com
162
+ phone:
163
+ - +1-415-859-4576
164
+ source: https://rdap.arin.net/registry/entity/ZSU-ARIN
165
+ upstreams: []
166
+ peers: []
167
+ contacts:
168
+ emailContacts:
169
+ - zsu@nisc.sri.com
170
+ abuseContacts: []
171
+ legacyRoutes: []
172
+ '400':
173
+ description: Bad Request — Invalid asn parameter
174
+ content:
175
+ application/json:
176
+ schema:
177
+ $ref: '#/components/schemas/ErrorResponse'
178
+ examples:
179
+ invalidAsn:
180
+ summary: Non-numeric asn value
181
+ value:
182
+ timestamp: '2026-07-23T07:47:06.640Z'
183
+ status: 400
184
+ error: Input parameter is not valid
185
+ message: Request-param 'asn' (ABC123) is not valid
186
+ path: /v2.0/asn-whois
187
+ '404':
188
+ description: Not Found — ASN could not be found
189
+ content:
190
+ application/json:
191
+ schema:
192
+ $ref: '#/components/schemas/ErrorResponse'
193
+ examples:
194
+ asnNotFound:
195
+ summary: ASN not allocated or unrecognized
196
+ value:
197
+ timestamp: '2026-07-23T07:47:45.427Z'
198
+ status: 404
199
+ error: Data Not Found
200
+ message: ASN data for 999999999 could not be found.
201
+ path: /v2.0/asn-whois
202
+ components:
203
+ securitySchemes:
204
+ ApiKeyAuthHeader:
205
+ type: apiKey
206
+ in: header
207
+ name: X-apiKey
208
+ description: Pass your API key via the X-apiKey request header.
209
+ ApiKeyAuthQuery:
210
+ type: apiKey
211
+ in: query
212
+ name: apiKey
213
+ description: Pass your API key via the apiKey query parameter.
214
+ schemas:
215
+ ErrorResponse:
216
+ type: object
217
+ required:
218
+ - message
219
+ properties:
220
+ error:
221
+ type: string
222
+ description: Short error category or exception type.
223
+ message:
224
+ type: string
225
+ description: Human-readable error message describing the failure.
226
+ path:
227
+ type: string
228
+ description: API endpoint path that produced the error.
229
+ status:
230
+ type: integer
231
+ description: HTTP status code returned with the error.
232
+ timestamp:
233
+ type: string
234
+ format: date-time
235
+ description: Timestamp when the error occurred (ISO 8601).
236
+ ASNLookupResponse:
237
+ type: object
238
+ description: WHOIS registration record for the requested Autonomous System Number.
239
+ required:
240
+ - asNumber
241
+ - asName
242
+ - orgName
243
+ - orgHandle
244
+ - country
245
+ - allocationStatus
246
+ - numOfIPv4Routes
247
+ - numOfIPv6Routes
248
+ - whoisHost
249
+ - type
250
+ - routeObjects
251
+ - whoisResponse
252
+ - downstreams
253
+ - parsedWhoisResponse
254
+ - upstreams
255
+ - peers
256
+ - contacts
257
+ - legacyRoutes
258
+ properties:
259
+ asNumber:
260
+ type: string
261
+ description: The Autonomous System Number, without the 'AS' prefix.
262
+ asName:
263
+ type: string
264
+ description: Registered short name for the Autonomous System.
265
+ orgName:
266
+ type: string
267
+ description: Name of the organization the ASN is registered to.
268
+ description:
269
+ type: string
270
+ description: Free-text description associated with the organization, when published.
271
+ orgHandle:
272
+ type: string
273
+ description: Registry handle identifying the organization record.
274
+ country:
275
+ type: string
276
+ description: ISO 3166-1 alpha-2 country code of the registered organization.
277
+ domain:
278
+ type: string
279
+ description: Domain name associated with the organization, when published.
280
+ website:
281
+ type: string
282
+ description: Organization website URL, when published.
283
+ allocationStatus:
284
+ type: string
285
+ description: Allocation status of the ASN as published by the registry.
286
+ numOfIPv4Routes:
287
+ type: string
288
+ description: Count of IPv4 route objects currently advertised by this ASN.
289
+ numOfIPv6Routes:
290
+ type: string
291
+ description: Count of IPv6 route objects currently advertised by this ASN.
292
+ whoisHost:
293
+ type: string
294
+ description: Regional Internet Registry (RIR) that hosts the authoritative WHOIS record (e.g. ARIN, RIPE, APNIC).
295
+ dateAllocated:
296
+ type: string
297
+ description: Date the ASN was allocated, in YYYY-MM-DD format; empty if not published.
298
+ type:
299
+ type: string
300
+ description: ASN category (e.g. ISP, BUSINESS, HOSTING, EDUCATION).
301
+ routeObjects:
302
+ type: array
303
+ description: IPv4 and IPv6 route objects (CIDR blocks) currently advertised by this ASN.
304
+ items:
305
+ $ref: '#/components/schemas/RouteObject'
306
+ whoisResponse:
307
+ type: string
308
+ description: Raw WHOIS text response returned by the authoritative registry for this ASN.
309
+ downstreams:
310
+ type: array
311
+ description: Downstream customer ASNs that receive routes from this ASN, when published.
312
+ items:
313
+ $ref: '#/components/schemas/AsnRelation'
314
+ parsedWhoisResponse:
315
+ $ref: '#/components/schemas/ParsedWhoisResponse'
316
+ upstreams:
317
+ type: array
318
+ description: Upstream provider ASNs that this ASN receives transit from, when published.
319
+ items:
320
+ $ref: '#/components/schemas/AsnRelation'
321
+ peers:
322
+ type: array
323
+ description: BGP peer ASNs with a settlement-free peering relationship to this ASN, when published.
324
+ items:
325
+ $ref: '#/components/schemas/AsnRelation'
326
+ contacts:
327
+ $ref: '#/components/schemas/Contacts'
328
+ legacyRoutes:
329
+ type: array
330
+ description: Legacy (pre-RIR) route objects associated with this ASN, in CIDR notation.
331
+ items:
332
+ type: string
333
+ RouteObject:
334
+ type: object
335
+ description: A single IPv4 or IPv6 route object (CIDR block) advertised by the ASN.
336
+ required:
337
+ - route
338
+ - origin
339
+ - originName
340
+ - isp
341
+ - numberOfIps
342
+ properties:
343
+ route:
344
+ type: string
345
+ description: Route prefix in CIDR notation.
346
+ origin:
347
+ type: string
348
+ description: Originating ASN for this route, in AS<number> format.
349
+ originName:
350
+ type: string
351
+ description: Organization name for the originating ASN.
352
+ isp:
353
+ type: string
354
+ description: ISP or organization name associated with this route.
355
+ numberOfIps:
356
+ type: integer
357
+ description: Total number of IP addresses contained in this route's prefix.
358
+ AsnRelation:
359
+ type: object
360
+ description: A related Autonomous System (upstream provider, downstream customer, or BGP peer).
361
+ required:
362
+ - asNumber
363
+ properties:
364
+ asNumber:
365
+ type: string
366
+ description: ASN of the related Autonomous System, without the 'AS' prefix.
367
+ description:
368
+ type: string
369
+ description: Free-text description of the related Autonomous System, when published.
370
+ country:
371
+ type: string
372
+ description: ISO 3166-1 alpha-2 country code of the related Autonomous System, when published.
373
+ ParsedWhoisResponse:
374
+ type: object
375
+ description: Structured breakdown of the raw WHOIS response into individual records and contacts.
376
+ required:
377
+ - status
378
+ - whois_server
379
+ - aut_nums
380
+ - organization
381
+ - technical_contacts
382
+ - abuse_contacts
383
+ properties:
384
+ status:
385
+ type: boolean
386
+ description: true if the WHOIS response was parsed successfully.
387
+ whois_server:
388
+ type: string
389
+ description: WHOIS server that returned the raw response (e.g. whois.arin.net).
390
+ aut_nums:
391
+ type: array
392
+ description: Parsed autnum object(s) for the requested ASN.
393
+ items:
394
+ $ref: '#/components/schemas/AutNum'
395
+ organization:
396
+ $ref: '#/components/schemas/Organization'
397
+ technical_contacts:
398
+ type: array
399
+ description: Parsed technical contact records for the ASN.
400
+ items:
401
+ $ref: '#/components/schemas/WhoisContact'
402
+ abuse_contacts:
403
+ type: array
404
+ description: Parsed abuse contact records for the ASN.
405
+ items:
406
+ $ref: '#/components/schemas/WhoisContact'
407
+ whois_raw_response:
408
+ type: string
409
+ description: Unparsed raw WHOIS text, when returned separately from whoisResponse.
410
+ r_whois_raw_response:
411
+ type: string
412
+ description: Raw referral WHOIS (rwhois) text, when the registry delegates to a referral server.
413
+ query_time:
414
+ type: string
415
+ format: date-time
416
+ description: Timestamp when the WHOIS query was executed.
417
+ AutNum:
418
+ type: object
419
+ description: Parsed autnum (Autonomous System Number) registry object and its routing policy attributes.
420
+ required:
421
+ - aut_num
422
+ - as_handle
423
+ - as_name
424
+ - tech_contacts
425
+ - abuse_contacts
426
+ - date_updated
427
+ - source
428
+ properties:
429
+ aut_num:
430
+ type: string
431
+ description: ASN identifier as recorded on the autnum object.
432
+ as_handle:
433
+ type: string
434
+ description: Registry handle for the autnum object (e.g. AS15).
435
+ as_name:
436
+ type: string
437
+ description: Registered name for the autnum object.
438
+ description:
439
+ type: array
440
+ description: Free-text description lines attached to the autnum object.
441
+ items:
442
+ type: string
443
+ country:
444
+ type: string
445
+ description: ISO 3166-1 alpha-2 country code recorded on the autnum object.
446
+ status:
447
+ type: string
448
+ description: Autnum object status as recorded by the registry.
449
+ member_of:
450
+ type: array
451
+ description: Route-set or as-set objects this ASN is a member of.
452
+ items:
453
+ type: string
454
+ import_via:
455
+ type: array
456
+ description: BGP import-via routing policy statements.
457
+ items:
458
+ type: string
459
+ import:
460
+ type: array
461
+ description: BGP import routing policy statements.
462
+ items:
463
+ type: string
464
+ mp_import:
465
+ type: array
466
+ description: Multiprotocol BGP import routing policy statements (mp-import).
467
+ items:
468
+ type: string
469
+ export_via:
470
+ type: array
471
+ description: BGP export-via routing policy statements.
472
+ items:
473
+ type: string
474
+ export:
475
+ type: array
476
+ description: BGP export routing policy statements.
477
+ items:
478
+ type: string
479
+ mp_export:
480
+ type: array
481
+ description: Multiprotocol BGP export routing policy statements (mp-export).
482
+ items:
483
+ type: string
484
+ default:
485
+ type: array
486
+ description: BGP default routing policy statements.
487
+ items:
488
+ type: string
489
+ mp_default:
490
+ type: array
491
+ description: Multiprotocol BGP default routing policy statements (mp-default).
492
+ items:
493
+ type: string
494
+ organization:
495
+ type: string
496
+ description: Registry handle of the organization that holds the autnum object.
497
+ sponsoring_organization:
498
+ type: string
499
+ description: Registry handle of the sponsoring organization, when applicable.
500
+ admin_contacts:
501
+ type: array
502
+ description: Registry handles of administrative contacts for the autnum object.
503
+ items:
504
+ type: string
505
+ tech_contacts:
506
+ type: array
507
+ description: Registry handles of technical contacts for the autnum object.
508
+ items:
509
+ type: string
510
+ abuse_contacts:
511
+ type: array
512
+ description: Registry handles of abuse contacts for the autnum object.
513
+ items:
514
+ type: string
515
+ date_created:
516
+ type: string
517
+ format: date
518
+ description: Date the autnum object was first registered.
519
+ date_updated:
520
+ type: string
521
+ format: date
522
+ description: Date the autnum object was last updated.
523
+ source:
524
+ type: string
525
+ description: URL of the registry record this autnum object was parsed from.
526
+ Organization:
527
+ type: object
528
+ description: Parsed organization (org) registry object that holds the ASN.
529
+ properties:
530
+ handle:
531
+ type: string
532
+ description: Registry handle for the organization object.
533
+ name:
534
+ type: string
535
+ description: Registered name of the organization.
536
+ address:
537
+ type: array
538
+ description: Address lines for the organization, as published by the registry.
539
+ items:
540
+ type: string
541
+ street:
542
+ type: string
543
+ description: Street address of the organization, when published separately.
544
+ city:
545
+ type: string
546
+ description: City of the organization, when published separately.
547
+ state:
548
+ type: string
549
+ description: State or province of the organization, when published separately.
550
+ zip_code:
551
+ type: string
552
+ description: Postal/ZIP code of the organization, when published separately.
553
+ country:
554
+ type: array
555
+ description: Country line(s) of the organization address, as published by the registry.
556
+ items:
557
+ type: string
558
+ addressCountry:
559
+ type: string
560
+ description: ISO 3166-1 alpha-2 country code derived from the organization's address.
561
+ date_created:
562
+ type: string
563
+ format: date
564
+ description: Date the organization object was first registered.
565
+ date_updated:
566
+ type: string
567
+ format: date
568
+ description: Date the organization object was last updated.
569
+ source:
570
+ type: string
571
+ description: URL of the registry record this organization object was parsed from.
572
+ WhoisContact:
573
+ type: object
574
+ description: A parsed technical or abuse contact record from the registry.
575
+ required:
576
+ - handle
577
+ - name
578
+ - email
579
+ properties:
580
+ handle:
581
+ type: string
582
+ description: Registry handle for the contact.
583
+ name:
584
+ type: string
585
+ description: Contact's registered name.
586
+ email:
587
+ type: array
588
+ description: Contact email address(es).
589
+ items:
590
+ type: string
591
+ phone:
592
+ type: array
593
+ description: Contact phone number(s).
594
+ items:
595
+ type: string
596
+ source:
597
+ type: string
598
+ description: URL of the registry record this contact was parsed from.
599
+ Contacts:
600
+ type: object
601
+ description: Direct contact addresses collected from the ASN's WHOIS record.
602
+ required:
603
+ - emailContacts
604
+ - abuseContacts
605
+ properties:
606
+ emailContacts:
607
+ type: array
608
+ description: General contact email addresses for the ASN.
609
+ items:
610
+ type: string
611
+ abuseContacts:
612
+ type: array
613
+ description: Abuse-reporting contact email addresses for the ASN.
614
+ items:
615
+ type: string
616
+ security:
617
+ - ApiKeyAuthHeader: []
618
+ - ApiKeyAuthQuery: []