@apifreaks/openapi-specs 0.4.13 → 0.4.15

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.
@@ -3,7 +3,7 @@
3
3
  "info": {
4
4
  "title": "IP Threat Intelligence API - VPN, Proxy & Tor Detection with Threat Scoring",
5
5
  "version": "1.0.0",
6
- "description": "Retrieve real-time threat intelligence and security signals for a single IPv4 or IPv6 address. Returns an aggregate `threat_score` (0-100) plus detection flags and provider names for VPNs, proxies (including residential proxies), Tor exit nodes, relays, known attackers, bots, spam sources, and cloud-provider ranges. Use `fields`/`excludes` with dot notation (e.g. `security.threat_score`) to trim the response to only the modules you need. If `ip` is omitted, the API returns threat data for the public IP of the requesting client. Bogon and reserved IP addresses return a `423` error, and malformed IP input returns a `400` error, instead of partial data.",
6
+ "description": "Retrieve real-time threat intelligence and security signals for a single IPv4 or IPv6 address. Returns an aggregate `threat_score` (0-100) plus detection flags and provider names for VPNs, proxies (including residential proxies), Tor exit nodes, relays, known attackers, bots (with bot type and whether it is a declared, known-good bot), spam sources, cloud-provider ranges, and corporate security gateways. Use `fields`/`excludes` with dot notation (e.g. `security.threat_score`) to trim the response to only the modules you need. If `ip` is omitted, the API returns threat data for the public IP of the requesting client. Bogon and reserved IP addresses return a `423` error, and malformed IP input returns a `400` error, instead of partial data.",
7
7
  "contact": {
8
8
  "name": "APIFreaks Support",
9
9
  "url": "https://apifreaks.com/contact",
@@ -93,9 +93,17 @@
93
93
  "is_anonymous": false,
94
94
  "is_known_attacker": false,
95
95
  "is_bot": false,
96
+ "bot_confidence_score": 0,
97
+ "bot_operator_name": "",
98
+ "bot_type": "",
99
+ "is_known_good_bot": false,
100
+ "bot_last_seen": "",
96
101
  "is_spam": false,
97
102
  "is_cloud_provider": true,
98
- "cloud_provider_name": "Google LLC"
103
+ "cloud_provider_name": "Google LLC",
104
+ "is_corporate_gateway": false,
105
+ "corporate_gateway_type": "",
106
+ "corporate_gateway_provider_name": ""
99
107
  }
100
108
  }
101
109
  }
@@ -230,8 +238,11 @@
230
238
  "is_anonymous",
231
239
  "is_known_attacker",
232
240
  "is_bot",
241
+ "bot_confidence_score",
242
+ "is_known_good_bot",
233
243
  "is_spam",
234
- "is_cloud_provider"
244
+ "is_cloud_provider",
245
+ "is_corporate_gateway"
235
246
  ],
236
247
  "properties": {
237
248
  "threat_score": {
@@ -304,17 +315,49 @@
304
315
  "type": "boolean",
305
316
  "description": "true if the IP is associated with bot activity."
306
317
  },
318
+ "bot_confidence_score": {
319
+ "type": "number",
320
+ "description": "Bot detection confidence from 0 to 100. 0 unless is_bot is true."
321
+ },
322
+ "bot_operator_name": {
323
+ "type": "string",
324
+ "description": "Organization running the bot, when known (mostly declared bots)."
325
+ },
326
+ "bot_type": {
327
+ "type": "string",
328
+ "description": "Kind of bot activity, when known. Declared bots (is_known_good_bot true): search_engine, ai_crawler, ai_assistant, seo_crawler, site_monitor, link_preview, feed_fetcher, archiver, ad_verification, scanner. Undeclared bots (is_known_good_bot false): scanner, scraper, exploit, credential_stuffing, brute_force, worm. New values can be added over time, so treat it as a plain string."
329
+ },
330
+ "is_known_good_bot": {
331
+ "type": "boolean",
332
+ "description": "true if the bot is a declared bot with a verifiable operator (e.g. a search engine crawler or uptime monitor)."
333
+ },
334
+ "bot_last_seen": {
335
+ "type": "string",
336
+ "description": "Last observed bot activity date in YYYY-MM-DD, when available."
337
+ },
307
338
  "is_spam": {
308
339
  "type": "boolean",
309
340
  "description": "true if the IP is associated with spam activity."
310
341
  },
311
342
  "is_cloud_provider": {
312
343
  "type": "boolean",
313
- "description": "true if the IP belongs to a cloud provider range."
344
+ "description": "true if the IP belongs to a cloud or hosting provider range."
314
345
  },
315
346
  "cloud_provider_name": {
316
347
  "type": "string",
317
- "description": "Cloud provider name."
348
+ "description": "Cloud or hosting provider name."
349
+ },
350
+ "is_corporate_gateway": {
351
+ "type": "boolean",
352
+ "description": "true if the IP is an outbound address of a corporate security gateway (SWG, SSE, or SASE)."
353
+ },
354
+ "corporate_gateway_type": {
355
+ "type": "string",
356
+ "description": "Kind of corporate gateway, when known. Known values: secure_web_gateway, browser_isolation."
357
+ },
358
+ "corporate_gateway_provider_name": {
359
+ "type": "string",
360
+ "description": "Corporate gateway provider name, when known."
318
361
  }
319
362
  }
320
363
  }
@@ -108,6 +108,261 @@
108
108
  }
109
109
  ]
110
110
  }
111
+ },
112
+ "perUrlCaptureErrors": {
113
+ "summary": "Each URL in the batch fails with a different per-URL capture error. The same error codes the single Website Screenshot API can return for a target URL show up here inside each item's `url` field, while the overall response stays 200/success.",
114
+ "value": {
115
+ "status": "success",
116
+ "meta_data": {
117
+ "total_urls": 22,
118
+ "successful_urls": 0,
119
+ "failed_urls": 22
120
+ },
121
+ "results": [
122
+ {
123
+ "url": {
124
+ "timestamp": "2026-07-27T10:19:12.100Z",
125
+ "status": 310,
126
+ "error": "too_many_redirects",
127
+ "message": "The target URL redirected too many times (redirect loop), so a final page could not be reached.",
128
+ "path": "/v3/screenshot"
129
+ },
130
+ "status": "fulfilled",
131
+ "error_message": null
132
+ },
133
+ {
134
+ "url": {
135
+ "timestamp": "2026-07-27T10:19:12.200Z",
136
+ "status": 400,
137
+ "error": "url_required",
138
+ "message": "The url parameter is required but was not provided.",
139
+ "path": "/v3/screenshot"
140
+ },
141
+ "status": "fulfilled",
142
+ "error_message": null
143
+ },
144
+ {
145
+ "url": {
146
+ "timestamp": "2026-07-27T10:19:12.300Z",
147
+ "status": 400,
148
+ "error": "invalid_file_type",
149
+ "message": "The file_type value is not a supported output format.",
150
+ "path": "/v3/screenshot"
151
+ },
152
+ "status": "fulfilled",
153
+ "error_message": null
154
+ },
155
+ {
156
+ "url": {
157
+ "timestamp": "2026-07-27T10:19:12.400Z",
158
+ "status": 400,
159
+ "error": "invalid_proxy",
160
+ "message": "The proxy value is malformed or invalid.",
161
+ "path": "/v3/screenshot"
162
+ },
163
+ "status": "fulfilled",
164
+ "error_message": null
165
+ },
166
+ {
167
+ "url": {
168
+ "timestamp": "2026-07-27T10:19:12.500Z",
169
+ "status": 400,
170
+ "error": "Invalid_geolocation_parameter",
171
+ "message": "The latitude or longitude value is outside the allowed range.",
172
+ "path": "/v3/screenshot"
173
+ },
174
+ "status": "fulfilled",
175
+ "error_message": null
176
+ },
177
+ {
178
+ "url": {
179
+ "timestamp": "2026-07-27T10:19:12.600Z",
180
+ "status": 400,
181
+ "error": "invalid_css_url",
182
+ "message": "The css_url value is not a valid URL.",
183
+ "path": "/v3/screenshot"
184
+ },
185
+ "status": "fulfilled",
186
+ "error_message": null
187
+ },
188
+ {
189
+ "url": {
190
+ "timestamp": "2026-07-27T10:19:12.700Z",
191
+ "status": 400,
192
+ "error": "invalid_js_url",
193
+ "message": "The js_url value is not a valid URL.",
194
+ "path": "/v3/screenshot"
195
+ },
196
+ "status": "fulfilled",
197
+ "error_message": null
198
+ },
199
+ {
200
+ "url": {
201
+ "timestamp": "2026-07-27T10:19:12.800Z",
202
+ "status": 400,
203
+ "error": "invalid_js_code",
204
+ "message": "The JavaScript passed in js is invalid and could not be executed.",
205
+ "path": "/v3/screenshot"
206
+ },
207
+ "status": "fulfilled",
208
+ "error_message": null
209
+ },
210
+ {
211
+ "url": {
212
+ "timestamp": "2026-07-27T10:19:12.900Z",
213
+ "status": 400,
214
+ "error": "invalid_clipped_area",
215
+ "message": "The clip[x], clip[y], clip[width] or clip[height] values are invalid.",
216
+ "path": "/v3/screenshot"
217
+ },
218
+ "status": "fulfilled",
219
+ "error_message": null
220
+ },
221
+ {
222
+ "url": {
223
+ "timestamp": "2026-07-27T10:19:13.000Z",
224
+ "status": 400,
225
+ "error": "invalid_input_syntax",
226
+ "message": "A parameter that expects an integer received an invalid value.",
227
+ "path": "/v3/screenshot"
228
+ },
229
+ "status": "fulfilled",
230
+ "error_message": null
231
+ },
232
+ {
233
+ "url": {
234
+ "timestamp": "2026-07-27T10:19:13.100Z",
235
+ "status": 400,
236
+ "error": "ERR_SSL_PROTOCOL_ERROR",
237
+ "message": "A secure connection could not be established because of an SSL certificate problem on the target site.",
238
+ "path": "/v3/screenshot"
239
+ },
240
+ "status": "fulfilled",
241
+ "error_message": null
242
+ },
243
+ {
244
+ "url": {
245
+ "timestamp": "2026-07-27T10:19:13.200Z",
246
+ "status": 400,
247
+ "error": "ERR_SSL_UNRECOGNIZED_NAME_ALERT",
248
+ "message": "The SSL certificate does not match the domain. The site may be down or may have moved.",
249
+ "path": "/v3/screenshot"
250
+ },
251
+ "status": "fulfilled",
252
+ "error_message": null
253
+ },
254
+ {
255
+ "url": {
256
+ "timestamp": "2026-07-27T10:19:13.300Z",
257
+ "status": 400,
258
+ "error": "feature_not_supported",
259
+ "message": "HTML, Markdown or text extraction is not supported.",
260
+ "path": "/v3/screenshot"
261
+ },
262
+ "status": "fulfilled",
263
+ "error_message": null
264
+ },
265
+ {
266
+ "url": {
267
+ "timestamp": "2026-07-27T10:19:13.400Z",
268
+ "status": 400,
269
+ "error": "invalid_scrolling_file_type",
270
+ "message": "PNG, JPG and WEBP are not supported for scrolling capture. Use a video format such as MP4, WEBM or GIF.",
271
+ "path": "/v3/screenshot"
272
+ },
273
+ "status": "fulfilled",
274
+ "error_message": null
275
+ },
276
+ {
277
+ "url": {
278
+ "timestamp": "2026-07-27T10:19:13.500Z",
279
+ "status": 400,
280
+ "error": "request_aborted",
281
+ "message": "The request was aborted before it completed, for example due to a timeout or cancellation.",
282
+ "path": "/v3/screenshot"
283
+ },
284
+ "status": "fulfilled",
285
+ "error_message": null
286
+ },
287
+ {
288
+ "url": {
289
+ "timestamp": "2026-07-27T10:19:20.100Z",
290
+ "status": 407,
291
+ "error": "network_connection_failed",
292
+ "message": "A tunnel connection to the target could not be established. Check the URL and proxy setting.",
293
+ "path": "/v3/screenshot"
294
+ },
295
+ "status": "fulfilled",
296
+ "error_message": null
297
+ },
298
+ {
299
+ "url": {
300
+ "timestamp": "2026-07-27T10:19:20.200Z",
301
+ "status": 407,
302
+ "error": "ERR_TUNNEL_CONNECTION_FAILED",
303
+ "message": "A tunnel to the target failed. Verify the URL and proxy settings.",
304
+ "path": "/v3/screenshot"
305
+ },
306
+ "status": "fulfilled",
307
+ "error_message": null
308
+ },
309
+ {
310
+ "url": {
311
+ "timestamp": "2026-07-27T10:19:30.100Z",
312
+ "status": 444,
313
+ "error": "ERR_CONNECTION_CLOSED",
314
+ "message": "The target site unexpectedly closed the connection.",
315
+ "path": "/v3/screenshot"
316
+ },
317
+ "status": "fulfilled",
318
+ "error_message": null
319
+ },
320
+ {
321
+ "url": {
322
+ "timestamp": "2026-07-27T10:19:30.200Z",
323
+ "status": 444,
324
+ "error": "ERR_EMPTY_RESPONSE",
325
+ "message": "The target server closed the connection without returning any data.",
326
+ "path": "/v3/screenshot"
327
+ },
328
+ "status": "fulfilled",
329
+ "error_message": null
330
+ },
331
+ {
332
+ "url": {
333
+ "timestamp": "2026-07-27T10:19:31.100Z",
334
+ "status": 495,
335
+ "error": "ssl_version_or_cipher_mismatch",
336
+ "message": "The browser and the target website have incompatible SSL/TLS versions or ciphers.",
337
+ "path": "/v3/screenshot"
338
+ },
339
+ "status": "fulfilled",
340
+ "error_message": null
341
+ },
342
+ {
343
+ "url": {
344
+ "timestamp": "2026-07-27T10:19:32.100Z",
345
+ "status": 503,
346
+ "error": "temporary_unavailable",
347
+ "message": "The request could not be completed due to temporary unavailability, such as a closed browser. Retry the request.",
348
+ "path": "/v3/screenshot"
349
+ },
350
+ "status": "fulfilled",
351
+ "error_message": null
352
+ },
353
+ {
354
+ "url": {
355
+ "timestamp": "2026-07-27T10:19:32.200Z",
356
+ "status": 503,
357
+ "error": "ERR_SOCKET_NOT_CONNECTED",
358
+ "message": "The target page may be temporarily down or may have moved permanently.",
359
+ "path": "/v3/screenshot"
360
+ },
361
+ "status": "fulfilled",
362
+ "error_message": null
363
+ }
364
+ ]
365
+ }
111
366
  }
112
367
  }
113
368
  }