@apifreaks/openapi-specs 0.4.9 → 0.4.11

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.
@@ -0,0 +1,322 @@
1
+ openapi: 3.1.1
2
+ info:
3
+ title: Disposable Email Checker API - Detect Temporary & Throwaway Email Addresses
4
+ version: 1.0.0
5
+ description: Check a single email address for disposable/temporary domains, free webmail providers, spam-listed domains, and role-based accounts, with syntax validation and DNS record lookup (MX/A). Returns a minimal shape for syntactically invalid addresses and omits the domain/account/dns detail blocks when the domain cannot be resolved.
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: Disposable Email Checker API Server
13
+ paths:
14
+ /email/disposable:
15
+ get:
16
+ tags:
17
+ - Email Validation APIs
18
+ summary: Check a single email for disposable/temporary domain
19
+ description: Validates email syntax and checks the domain for disposable, free, spam, and role-account signals, plus MX/A DNS records.
20
+ parameters:
21
+ - name: email
22
+ in: query
23
+ required: true
24
+ schema:
25
+ type: string
26
+ format: email
27
+ description: Email address to check.
28
+ responses:
29
+ '200':
30
+ description: Successful response with disposable email check result.
31
+ content:
32
+ application/json:
33
+ schema:
34
+ $ref: '#/components/schemas/DisposableEmailCheckResponse'
35
+ examples:
36
+ disposableDomain:
37
+ summary: Disposable domain, MX present
38
+ value:
39
+ email: test@sogetthis.com
40
+ validSyntax: true
41
+ domain:
42
+ disposable: true
43
+ free: false
44
+ name: sogetthis.com
45
+ spam: false
46
+ validDomain: true
47
+ account:
48
+ role: false
49
+ dns:
50
+ mxRecord:
51
+ - mail.mailinator.com.
52
+ freeWebmail:
53
+ summary: Free consumer webmail, not disposable
54
+ value:
55
+ email: someone@gmail.com
56
+ validSyntax: true
57
+ domain:
58
+ disposable: false
59
+ free: true
60
+ name: gmail.com
61
+ spam: false
62
+ validDomain: true
63
+ account:
64
+ role: false
65
+ dns:
66
+ mxRecord:
67
+ - gmail-smtp-in.l.google.com.
68
+ - alt1.gmail-smtp-in.l.google.com.
69
+ - alt2.gmail-smtp-in.l.google.com.
70
+ - alt3.gmail-smtp-in.l.google.com.
71
+ - alt4.gmail-smtp-in.l.google.com.
72
+ roleAccount:
73
+ summary: Role-based mailbox (support@)
74
+ value:
75
+ email: support@microsoft.com
76
+ validSyntax: true
77
+ domain:
78
+ disposable: false
79
+ free: false
80
+ name: microsoft.com
81
+ spam: false
82
+ validDomain: true
83
+ account:
84
+ role: true
85
+ dns:
86
+ mxRecord:
87
+ - microsoft-com.mail.protection.outlook.com.
88
+ addressRecordOnly:
89
+ summary: No MX record, domain resolves via A record only
90
+ value:
91
+ email: test@rotodirect.com
92
+ validSyntax: true
93
+ domain:
94
+ disposable: false
95
+ free: false
96
+ name: rotodirect.com
97
+ spam: false
98
+ validDomain: true
99
+ account:
100
+ role: false
101
+ dns:
102
+ aRecord:
103
+ - 166.78.44.241
104
+ nullMxDomain:
105
+ summary: Domain publishes a null MX (single "."), accepts no mail at all
106
+ value:
107
+ email: test@mailblacklist.com
108
+ validSyntax: true
109
+ domain:
110
+ disposable: false
111
+ free: false
112
+ name: mailblacklist.com
113
+ spam: false
114
+ validDomain: true
115
+ account:
116
+ role: false
117
+ dns:
118
+ mxRecord:
119
+ - .
120
+ invalidSyntax:
121
+ summary: Syntactically invalid email — minimal shape, no domain/account/dns detail
122
+ value:
123
+ email: abc
124
+ validSyntax: false
125
+ domain:
126
+ name: abc
127
+ validDomain: false
128
+ nonexistentDomain:
129
+ summary: Valid syntax, domain does not exist — account block present, no dns block
130
+ value:
131
+ email: test@xxxxxyyyyy123spam.com
132
+ validSyntax: true
133
+ domain:
134
+ disposable: false
135
+ free: false
136
+ name: xxxxxyyyyy123spam.com
137
+ spam: false
138
+ validDomain: false
139
+ account:
140
+ role: false
141
+ headers:
142
+ X-AF-Credits-Cost:
143
+ $ref: '#/components/headers/X-AF-Credits-Cost'
144
+ X-Concurrent-Threads:
145
+ $ref: '#/components/headers/X-Concurrent-Threads'
146
+ X-Concurrent-Threads-Active:
147
+ $ref: '#/components/headers/X-Concurrent-Threads-Active'
148
+ '400':
149
+ description: Bad Request – Invalid or missing parameters
150
+ content:
151
+ application/json:
152
+ schema:
153
+ $ref: '#/components/schemas/ErrorResponse'
154
+ examples:
155
+ missingEmail:
156
+ summary: email parameter missing or empty
157
+ value:
158
+ error: Invalid Param Exception
159
+ message: please pass correct parameters
160
+ path: /v1.0/email/disposable
161
+ status: 400
162
+ timestamp: '2026-10-13T10:40:11.892Z'
163
+ missingApiKey:
164
+ summary: apiKey not supplied
165
+ value:
166
+ error: Invalid Param Exception
167
+ message: Please provide apiKey
168
+ path: /v1.0/email/disposable
169
+ status: 400
170
+ timestamp: '2026-10-13T10:40:12.475Z'
171
+ headers:
172
+ X-AF-Credits-Cost:
173
+ $ref: '#/components/headers/X-AF-Credits-Cost'
174
+ '401':
175
+ description: Unauthorized – Invalid API key
176
+ content:
177
+ application/json:
178
+ schema:
179
+ $ref: '#/components/schemas/ErrorResponse'
180
+ examples:
181
+ invalidApiKey:
182
+ value:
183
+ error: API Access Exception
184
+ message: 'Provided API key is invalid. [For Technical Support: support@apifreaks.com]'
185
+ path: /v1.0/email/disposable
186
+ status: 401
187
+ timestamp: '2026-10-13T10:40:13.056Z'
188
+ '404':
189
+ description: Not Found – The requested resource could not be found
190
+ content:
191
+ application/json:
192
+ schema:
193
+ $ref: '#/components/schemas/ErrorResponse'
194
+ examples:
195
+ Resource Not Found:
196
+ value:
197
+ error: Resource Not Found
198
+ message: The requested resource could not be found. Please verify the URL and try again.
199
+ path: /v1.0/email/disposablex
200
+ status: 404
201
+ timestamp: '2026-10-13T11:00:07.798Z'
202
+ headers:
203
+ X-AF-Credits-Cost:
204
+ $ref: '#/components/headers/X-AF-Credits-Cost'
205
+ operationId: checkDisposableEmail
206
+ components:
207
+ securitySchemes:
208
+ ApiKeyAuthHeader:
209
+ type: apiKey
210
+ in: header
211
+ name: X-apiKey
212
+ description: Pass your API key via the X-apiKey request header.
213
+ ApiKeyAuthQuery:
214
+ type: apiKey
215
+ in: query
216
+ name: apiKey
217
+ description: Pass your API key via the apiKey query parameter.
218
+ schemas:
219
+ DisposableEmailCheckResponse:
220
+ type: object
221
+ required:
222
+ - email
223
+ - validSyntax
224
+ - domain
225
+ properties:
226
+ email:
227
+ type: string
228
+ description: The email address submitted for the check.
229
+ validSyntax:
230
+ type: boolean
231
+ description: Validates email address format compliance with RFC 5322 standards. When false, domain only contains name/validDomain and account/dns are omitted entirely.
232
+ domain:
233
+ $ref: '#/components/schemas/DisposableDomainObject'
234
+ account:
235
+ $ref: '#/components/schemas/DisposableAccountObject'
236
+ dns:
237
+ $ref: '#/components/schemas/DisposableDnsObject'
238
+ description: Disposable email check response.
239
+ DisposableDomainObject:
240
+ type: object
241
+ required:
242
+ - name
243
+ - validDomain
244
+ properties:
245
+ name:
246
+ type: string
247
+ description: Extracted domain component from the email address.
248
+ validDomain:
249
+ type: boolean
250
+ description: Domain validation status confirming DNS resolution capability.
251
+ disposable:
252
+ type: boolean
253
+ description: Classification flag identifying domains from temporary/throwaway email service providers. Omitted when validSyntax is false or the domain could not be resolved.
254
+ free:
255
+ type: boolean
256
+ description: Classification indicating free or consumer-grade email service providers. Omitted when validSyntax is false or the domain could not be resolved.
257
+ spam:
258
+ type: boolean
259
+ description: Reputation indicator flagging domains on spam databases. Omitted when validSyntax is false or the domain could not be resolved.
260
+ description: Domain-level disposable/spam/free classification for the email address.
261
+ DisposableAccountObject:
262
+ type: object
263
+ required:
264
+ - role
265
+ properties:
266
+ role:
267
+ type: boolean
268
+ description: Detection flag identifying role-based email addresses (e.g., admin@, support@).
269
+ description: Account-level detection details. Omitted entirely when validSyntax is false.
270
+ DisposableDnsObject:
271
+ type: object
272
+ required: []
273
+ properties:
274
+ mxRecord:
275
+ type: array
276
+ items:
277
+ type: string
278
+ description: Every MX hostname at the domain's lowest preference (not just one). ["."] means the domain publishes a null MX and accepts no mail at all. Absent entirely when the domain has no MX record of any kind — check aRecord in that case.
279
+ aRecord:
280
+ type: array
281
+ items:
282
+ type: string
283
+ description: Collection of A (Address) records for the domain. Present when the domain has no MX record but does resolve to a web server or other host.
284
+ description: DNS records for the email domain. Omitted entirely when validSyntax is false or the domain does not exist (NXDOMAIN).
285
+ ErrorResponse:
286
+ type: object
287
+ description: Standard error envelope returned by the API on failed requests.
288
+ required:
289
+ - message
290
+ properties:
291
+ error:
292
+ type: string
293
+ description: Short error category or exception type.
294
+ message:
295
+ type: string
296
+ description: Human-readable error message describing the failure.
297
+ path:
298
+ type: string
299
+ description: API endpoint path that produced the error.
300
+ status:
301
+ type: integer
302
+ description: HTTP status code returned with the error.
303
+ timestamp:
304
+ type: string
305
+ format: date-time
306
+ description: Timestamp when the error occurred (ISO 8601).
307
+ headers:
308
+ X-AF-Credits-Cost:
309
+ description: Specifies the number of credits consumed by the current request. 15 credits per checked record.
310
+ schema:
311
+ type: integer
312
+ X-Concurrent-Threads:
313
+ description: Specifies the maximum number of concurrent requests allowed.
314
+ schema:
315
+ type: integer
316
+ X-Concurrent-Threads-Active:
317
+ description: Indicates the number of active concurrent requests being processed.
318
+ schema:
319
+ type: integer
320
+ security:
321
+ - ApiKeyAuthHeader: []
322
+ - ApiKeyAuthQuery: []
@@ -89,22 +89,21 @@ paths:
89
89
  spam: false
90
90
  free: false
91
91
  validDomain: false
92
- catchAll: false
93
92
  account:
94
93
  role: false
95
94
  acceptAll:
96
- summary: Catch-all domain accepted the recipient — mailbox unconfirmed
95
+ summary: Catch-all domain accepted the recipient, mailbox unconfirmed
97
96
  value:
98
97
  success: true
99
- email: random12345@yahoo.com
98
+ email: someone@mailinator.com
100
99
  validEmail: accept_all
101
100
  validSyntax: true
102
101
  reason: domain accepts all addresses.
103
102
  domain:
104
- name: yahoo.com
105
- disposable: false
103
+ name: mailinator.com
104
+ disposable: true
106
105
  spam: false
107
- free: true
106
+ free: false
108
107
  validDomain: true
109
108
  catchAll: true
110
109
  account:
@@ -112,11 +111,10 @@ paths:
112
111
  fullMailBox: false
113
112
  dns:
114
113
  mxRecord:
115
- - mta5.am0.yahoodns.net.
116
- - mta6.am0.yahoodns.net.
117
- - mta7.am0.yahoodns.net.
114
+ - mail.mailinator.com.
115
+ - mail2.mailinator.com.
118
116
  nullMxDomain:
119
- summary: Domain publishes a null MX (single ".") — accepts no mail at all
117
+ summary: Domain publishes a null MX (single "."), accepts no mail at all
120
118
  value:
121
119
  success: true
122
120
  email: test@example.com
@@ -129,14 +127,13 @@ paths:
129
127
  spam: false
130
128
  free: false
131
129
  validDomain: true
132
- catchAll: false
133
130
  account:
134
131
  role: false
135
132
  dns:
136
133
  mxRecord:
137
134
  - .
138
135
  noMxAddressOnly:
139
- summary: Domain has no MX record but a working A record — gets a real SMTP probe
136
+ summary: Domain has no MX record but a working A record, gets a real SMTP probe
140
137
  value:
141
138
  success: true
142
139
  email: test@neverssl.com
@@ -149,7 +146,6 @@ paths:
149
146
  spam: false
150
147
  free: false
151
148
  validDomain: true
152
- catchAll: false
153
149
  account:
154
150
  role: false
155
151
  dns:
@@ -185,7 +181,6 @@ paths:
185
181
  location:
186
182
  city: Mountain View
187
183
  district: Santa Clara
188
- confidence: low
189
184
  zipcode: 94043-1351
190
185
  state_prov: California
191
186
  country_name: United States
@@ -194,14 +189,11 @@ paths:
194
189
  country_code2: US
195
190
  country_code3: USA
196
191
  country_name_official: United States of America
197
- accuracy_radius: '27.42'
198
192
  is_eu: false
199
193
  security:
200
194
  threat_score: 5
201
195
  is_tor: false
202
196
  is_proxy: false
203
- proxy_type: ''
204
- proxy_provider: ''
205
197
  is_anonymous: false
206
198
  is_known_attacker: false
207
199
  is_spam: false
@@ -222,7 +214,6 @@ paths:
222
214
  spam: false
223
215
  free: true
224
216
  validDomain: true
225
- catchAll: false
226
217
  account:
227
218
  role: false
228
219
  dns:
@@ -406,7 +397,7 @@ components:
406
397
  description: Classification indicating free or consumer-grade email service providers.
407
398
  catchAll:
408
399
  type: boolean
409
- description: Detection flag for domains configured to accept mail for any recipient address. true always corresponds to a top-level validEmail of accept_all.
400
+ description: 'Whether the domain is catch-all, meaning its mail server accepts email for any address. true: the domain accepts all addresses, and validEmail is accept_all. false: the check ran and the domain is not catch-all. This field is omitted when the check could not complete.'
410
401
  description: Domain validation details for the email address.
411
402
  AccountObject:
412
403
  type: object
@@ -483,10 +474,10 @@ components:
483
474
  description: Continental region identifier.
484
475
  accuracy_radius:
485
476
  type: string
486
- description: Geolocation precision radius.
477
+ description: Geolocation precision radius. Not included for every IP.
487
478
  confidence:
488
479
  type: string
489
- description: Confidence score for geolocation accuracy.
480
+ description: Confidence score for geolocation accuracy. Not included for every IP.
490
481
  is_eu:
491
482
  type: boolean
492
483
  description: European Union membership status.
@@ -498,8 +489,6 @@ components:
498
489
  - threat_score
499
490
  - is_tor
500
491
  - is_proxy
501
- - proxy_type
502
- - proxy_provider
503
492
  - is_anonymous
504
493
  - is_known_attacker
505
494
  - is_spam
@@ -518,10 +507,10 @@ components:
518
507
  description: Detection flag identifying IP addresses operating as proxy servers.
519
508
  proxy_type:
520
509
  type: string
521
- description: Classification of detected proxy infrastructure type (e.g. VPN, HTTP, SOCKS).
510
+ description: Classification of detected proxy infrastructure type (e.g. VPN, HTTP, SOCKS). Included only when is_proxy is true.
522
511
  proxy_provider:
523
512
  type: string
524
- description: Identified service provider operating the proxy infrastructure.
513
+ description: Identified service provider operating the proxy infrastructure. Included only when is_proxy is true.
525
514
  is_anonymous:
526
515
  type: boolean
527
516
  description: Anonymization detection flag for IP addresses using identity obfuscation techniques.
@@ -2,7 +2,7 @@ openapi: 3.1.1
2
2
  info:
3
3
  title: IBAN Validation API - Validate Format, Check SEPA & Return Bank Details
4
4
  version: 1.0.0
5
- description: Validate an IBAN number against country-specific format, length, and checksum rules. Supports IBANs from all SEPA and IBAN-compliant countries. Returns detailed validation results for each check — alphanumeric, supported country, length, structure, and check digit. Includes bank data such as BIC/SWIFT code, bank name, branch details, and SEPA eligibility when available.
5
+ description: Validate an IBAN number against country-specific format, length, and checksum rules. Supports IBANs from all SEPA and IBAN-compliant countries. Returns detailed validation results for each check — alphanumeric, supported country, length, structure, and check digit. Includes bank data such as BIC/SWIFT code, bank name, institution type, branch name, postal code, and SEPA eligibility when available.
6
6
  contact:
7
7
  name: APIFreaks Support
8
8
  url: https://apifreaks.com/contact
@@ -55,14 +55,17 @@ paths:
55
55
  is_iban_check_digit_valid: true
56
56
  bban: valid
57
57
  bank_data:
58
- bic: NWBKGB2LBHM
58
+ bic: NWBKGB2104T
59
59
  bank: NATIONAL WESTMINSTER BANK PLC
60
+ instit_type: FIIN
61
+ branch_name: NATIONAL WESTMINSTER BANK PLC
60
62
  bank_code: NWBK
61
63
  branch_code: '601613'
62
64
  country: United Kingdom
63
65
  country_iso2: GB
64
- city: BIRMINGHAM
65
- address: 6 BRINDLEY PLACE - BIRMINGHAM, B1
66
+ city: ALTRINCHAM
67
+ address: 23 STAMFORD NEW ROAD, GREATER
68
+ postal_code: WA141DB
66
69
  account: '31926819'
67
70
  sepa: true
68
71
  invalidIban:
@@ -80,12 +83,15 @@ paths:
80
83
  bank_data:
81
84
  bic: null
82
85
  bank: null
86
+ instit_type: null
87
+ branch_name: null
83
88
  bank_code: null
84
89
  branch_code: ''
85
90
  country: Norway
86
91
  country_iso2: 'NO'
87
92
  city: null
88
93
  address: null
94
+ postal_code: null
89
95
  account: N123
90
96
  sepa: true
91
97
  unsupportedCountry:
@@ -103,12 +109,15 @@ paths:
103
109
  bank_data:
104
110
  bic: null
105
111
  bank: null
112
+ instit_type: null
113
+ branch_name: null
106
114
  bank_code: null
107
115
  branch_code: ''
108
116
  country: null
109
117
  country_iso2: US
110
118
  city: null
111
119
  address: null
120
+ postal_code: null
112
121
  account: null
113
122
  sepa: null
114
123
  headers:
@@ -213,6 +222,16 @@ components:
213
222
  - string
214
223
  - 'null'
215
224
  description: Bank name extracted from the IBAN. Null when not resolvable.
225
+ instit_type:
226
+ type:
227
+ - string
228
+ - 'null'
229
+ description: 'Type of institution: "FIIN" (financial institution) or "NFIN" (non-financial institution). Null when not resolvable.'
230
+ branch_name:
231
+ type:
232
+ - string
233
+ - 'null'
234
+ description: Name of the branch or office. Null when not resolvable.
216
235
  bank_code:
217
236
  type:
218
237
  - string
@@ -239,6 +258,11 @@ components:
239
258
  - string
240
259
  - 'null'
241
260
  description: Bank branch address. Null when not resolvable.
261
+ postal_code:
262
+ type:
263
+ - string
264
+ - 'null'
265
+ description: Postal/ZIP code of the bank branch. Null when not resolvable.
242
266
  account:
243
267
  type:
244
268
  - string
@@ -2,7 +2,7 @@ openapi: 3.1.1
2
2
  info:
3
3
  title: SWIFT/BIC Code API - Look Up Bank Details or Find Codes by Country, Bank & City
4
4
  version: 1.0.0
5
- description: Look up a SWIFT/BIC code to retrieve bank details. Returns the bank name, address, city, country, country code, and bank code for any valid 8 or 11 character SWIFT/BIC code. Supports both headquarters and branch-level SWIFT codes.
5
+ description: Look up a SWIFT/BIC code to retrieve bank details. Returns the bank name, institution type, branch name, address, postal code, city, country, country code, and bank code for any valid 8 or 11 character SWIFT/BIC code. Supports both headquarters and branch-level SWIFT codes.
6
6
  contact:
7
7
  name: APIFreaks Support
8
8
  url: https://apifreaks.com/contact
@@ -47,11 +47,27 @@ paths:
47
47
  value:
48
48
  swiftCode: NWBKGB2LXXX
49
49
  countryCode: GB
50
- bankAddress: 250 BISHOPSGATE
50
+ bankAddress: 250 BISHOPSGATE, GREATER LONDON
51
51
  bankCode: NWBK
52
52
  bankName: NATIONAL WESTMINSTER BANK PLC
53
+ institType: FIIN
54
+ branchName: NATIONAL WESTMINSTER BANK PLC
53
55
  city: LONDON
54
56
  country: United Kingdom
57
+ postalCode: EC2M 4AA
58
+ nullablePostalCode:
59
+ summary: branchName/postalCode can be null when not resolvable
60
+ value:
61
+ swiftCode: HSBCHKHHXXX
62
+ countryCode: HK
63
+ bankAddress: HSBC MAIN BUILDING
64
+ bankCode: HSBC
65
+ bankName: THE HONGKONG AND SHANGHAI BANKING CORPORATION LIMITED
66
+ institType: FIIN
67
+ branchName: HONGKONG AND SHANGHAI BANKING CORPORATION LIMITED, THE
68
+ city: CENTRAL
69
+ country: Hong Kong
70
+ postalCode: null
55
71
  headers:
56
72
  X-AF-Credits-Cost:
57
73
  $ref: '#/components/headers/X-AF-Credits-Cost'
@@ -123,18 +139,32 @@ components:
123
139
  bankName:
124
140
  type: string
125
141
  description: Full name of the bank or financial institution.
142
+ institType:
143
+ type: string
144
+ description: 'Type of institution: "FIIN" (financial institution) or "NFIN" (non-financial institution).'
145
+ branchName:
146
+ type:
147
+ - string
148
+ - 'null'
149
+ description: Name of the branch or office. Null when not resolvable.
126
150
  city:
127
151
  type: string
128
152
  description: City where the bank branch is located.
129
153
  country:
130
154
  type: string
131
155
  description: Full country name where the bank is registered.
156
+ postalCode:
157
+ type:
158
+ - string
159
+ - 'null'
160
+ description: Postal/ZIP code of the bank branch. Null when not resolvable.
132
161
  required:
133
162
  - swiftCode
134
163
  - countryCode
135
164
  - bankAddress
136
165
  - bankCode
137
166
  - bankName
167
+ - institType
138
168
  - city
139
169
  - country
140
170
  description: Bank details returned for a SWIFT/BIC code lookup.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apifreaks/openapi-specs",
3
- "version": "0.4.9",
3
+ "version": "0.4.11",
4
4
  "description": "Public OpenAPI 3.1 specifications for all APIFreaks API products.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
package/specs/README.md CHANGED
@@ -4,7 +4,7 @@ OpenAPI 3.1 documents for [APIFreaks](https://apifreaks.com) API products. Each
4
4
 
5
5
  This folder is the source of truth. JSON only. YAML is produced when the npm package is built, not checked in here.
6
6
 
7
- To install the specs as a package (`getSpec`, `SpecSlug`, JSON imports), see the [repository README](../README.md).
7
+ To install the specs as a package (`getSpecJson`, `SpecSlug`, JSON imports), see the [repository README](../README.md).
8
8
 
9
9
  ## Open a spec
10
10
 
@@ -24,7 +24,7 @@ https://raw.githubusercontent.com/api-freaks/af-openapi-specs/main/specs/ip-inte
24
24
  npx openapi-typescript https://raw.githubusercontent.com/api-freaks/af-openapi-specs/main/specs/ip-intelligence/ip-locator.json -o ip-locator.ts
25
25
  ```
26
26
 
27
- The slug is the filename without `.json`. It is the identifier the npm package uses (`getSpec("ip-locator")`).
27
+ The slug is the filename without `.json`. It is the identifier the npm package uses (`getSpecJson("ip-locator")`).
28
28
 
29
29
  ## Authentication
30
30