@apifreaks/openapi-specs 0.4.14 → 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.
- package/dist/index.cjs +222 -26
- package/dist/index.js +222 -26
- package/dist/specs/ip-intelligence/bulk-ip-lookup.yaml +41 -2
- package/dist/specs/ip-intelligence/bulk-ip-threat-intelligence.yaml +54 -3
- package/dist/specs/ip-intelligence/ip-locator.yaml +37 -2
- package/dist/specs/ip-intelligence/ip-threat-intelligence.yaml +38 -3
- package/package.json +1 -1
- package/specs/ip-intelligence/bulk-ip-lookup.json +55 -6
- package/specs/ip-intelligence/bulk-ip-threat-intelligence.json +66 -7
- package/specs/ip-intelligence/ip-locator.json +49 -4
- package/specs/ip-intelligence/ip-threat-intelligence.json +48 -5
package/dist/index.js
CHANGED
|
@@ -18117,7 +18117,9 @@ var bulk_ip_lookup_default = {
|
|
|
18117
18117
|
network: {
|
|
18118
18118
|
connection_type: "",
|
|
18119
18119
|
route: "8.8.8.0/24",
|
|
18120
|
-
is_anycast: true
|
|
18120
|
+
is_anycast: true,
|
|
18121
|
+
is_cdn: false,
|
|
18122
|
+
cdn_provider_name: ""
|
|
18121
18123
|
},
|
|
18122
18124
|
currency: {
|
|
18123
18125
|
code: "USD",
|
|
@@ -18201,7 +18203,9 @@ var bulk_ip_lookup_default = {
|
|
|
18201
18203
|
network: {
|
|
18202
18204
|
connection_type: "",
|
|
18203
18205
|
route: "1.1.1.0/24",
|
|
18204
|
-
is_anycast: true
|
|
18206
|
+
is_anycast: true,
|
|
18207
|
+
is_cdn: false,
|
|
18208
|
+
cdn_provider_name: ""
|
|
18205
18209
|
},
|
|
18206
18210
|
currency: {
|
|
18207
18211
|
code: "AUD",
|
|
@@ -18279,7 +18283,9 @@ var bulk_ip_lookup_default = {
|
|
|
18279
18283
|
network: {
|
|
18280
18284
|
connection_type: "",
|
|
18281
18285
|
route: "8.8.8.0/24",
|
|
18282
|
-
is_anycast: true
|
|
18286
|
+
is_anycast: true,
|
|
18287
|
+
is_cdn: false,
|
|
18288
|
+
cdn_provider_name: ""
|
|
18283
18289
|
},
|
|
18284
18290
|
currency: {
|
|
18285
18291
|
code: "USD",
|
|
@@ -18697,6 +18703,14 @@ var bulk_ip_lookup_default = {
|
|
|
18697
18703
|
is_anycast: {
|
|
18698
18704
|
type: "boolean",
|
|
18699
18705
|
description: "true if the IP is anycast (same IP announced from multiple locations)."
|
|
18706
|
+
},
|
|
18707
|
+
is_cdn: {
|
|
18708
|
+
type: "boolean",
|
|
18709
|
+
description: "true if the IP belongs to a content delivery network (CDN) or a cloud provider's network."
|
|
18710
|
+
},
|
|
18711
|
+
cdn_provider_name: {
|
|
18712
|
+
type: "string",
|
|
18713
|
+
description: "CDN provider name (e.g. Cloudflare) when is_cdn is true; empty otherwise."
|
|
18700
18714
|
}
|
|
18701
18715
|
}
|
|
18702
18716
|
},
|
|
@@ -18785,8 +18799,11 @@ var bulk_ip_lookup_default = {
|
|
|
18785
18799
|
"is_anonymous",
|
|
18786
18800
|
"is_known_attacker",
|
|
18787
18801
|
"is_bot",
|
|
18802
|
+
"bot_confidence_score",
|
|
18803
|
+
"is_known_good_bot",
|
|
18788
18804
|
"is_spam",
|
|
18789
|
-
"is_cloud_provider"
|
|
18805
|
+
"is_cloud_provider",
|
|
18806
|
+
"is_corporate_gateway"
|
|
18790
18807
|
],
|
|
18791
18808
|
properties: {
|
|
18792
18809
|
threat_score: {
|
|
@@ -18859,17 +18876,49 @@ var bulk_ip_lookup_default = {
|
|
|
18859
18876
|
type: "boolean",
|
|
18860
18877
|
description: "true if the IP is associated with bot activity."
|
|
18861
18878
|
},
|
|
18879
|
+
bot_confidence_score: {
|
|
18880
|
+
type: "number",
|
|
18881
|
+
description: "Bot detection confidence from 0 to 100. 0 unless is_bot is true."
|
|
18882
|
+
},
|
|
18883
|
+
bot_operator_name: {
|
|
18884
|
+
type: "string",
|
|
18885
|
+
description: "Organization running the bot, when known (mostly declared bots)."
|
|
18886
|
+
},
|
|
18887
|
+
bot_type: {
|
|
18888
|
+
type: "string",
|
|
18889
|
+
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."
|
|
18890
|
+
},
|
|
18891
|
+
is_known_good_bot: {
|
|
18892
|
+
type: "boolean",
|
|
18893
|
+
description: "true if the bot is a declared bot with a verifiable operator (e.g. a search engine crawler or uptime monitor)."
|
|
18894
|
+
},
|
|
18895
|
+
bot_last_seen: {
|
|
18896
|
+
type: "string",
|
|
18897
|
+
description: "Last observed bot activity date in YYYY-MM-DD, when available."
|
|
18898
|
+
},
|
|
18862
18899
|
is_spam: {
|
|
18863
18900
|
type: "boolean",
|
|
18864
18901
|
description: "true if the IP is associated with spam activity."
|
|
18865
18902
|
},
|
|
18866
18903
|
is_cloud_provider: {
|
|
18867
18904
|
type: "boolean",
|
|
18868
|
-
description: "true if the IP belongs to a cloud provider range."
|
|
18905
|
+
description: "true if the IP belongs to a cloud or hosting provider range."
|
|
18869
18906
|
},
|
|
18870
18907
|
cloud_provider_name: {
|
|
18871
18908
|
type: "string",
|
|
18872
|
-
description: "Cloud provider name."
|
|
18909
|
+
description: "Cloud or hosting provider name."
|
|
18910
|
+
},
|
|
18911
|
+
is_corporate_gateway: {
|
|
18912
|
+
type: "boolean",
|
|
18913
|
+
description: "true if the IP is an outbound address of a corporate security gateway (SWG, SSE, or SASE)."
|
|
18914
|
+
},
|
|
18915
|
+
corporate_gateway_type: {
|
|
18916
|
+
type: "string",
|
|
18917
|
+
description: "Kind of corporate gateway, when known. Known values: secure_web_gateway, browser_isolation."
|
|
18918
|
+
},
|
|
18919
|
+
corporate_gateway_provider_name: {
|
|
18920
|
+
type: "string",
|
|
18921
|
+
description: "Corporate gateway provider name, when known."
|
|
18873
18922
|
}
|
|
18874
18923
|
}
|
|
18875
18924
|
},
|
|
@@ -19160,7 +19209,7 @@ var bulk_ip_threat_intelligence_default = {
|
|
|
19160
19209
|
info: {
|
|
19161
19210
|
title: "Bulk IP Threat Intelligence API Reference",
|
|
19162
19211
|
version: "1.0.0",
|
|
19163
|
-
description: "Retrieve threat intelligence and security profiles for up to 50,000 IP addresses in a single request. Each entry in the response array includes a composite 0-100 threat score plus per-signal flags for VPN, proxy, residential proxy, Tor exit node, bot, spam,
|
|
19212
|
+
description: "Retrieve threat intelligence and security profiles for up to 50,000 IP addresses in a single request. Each entry in the response array includes a composite 0-100 threat score plus per-signal flags for VPN, proxy, residential proxy, Tor exit node, bot, spam, known-attacker, and corporate-gateway activity, along with confidence scores and provider names where available. Use the `fields` and `excludes` query parameters to control which security signals are returned, reducing payload size for bulk workflows. A bad or bogon IP in the batch returns a per-item error object instead of failing the entire request, so you can process mixed-validity inputs in one call.",
|
|
19164
19213
|
contact: {
|
|
19165
19214
|
name: "APIFreaks Support",
|
|
19166
19215
|
url: "https://apifreaks.com/contact",
|
|
@@ -19260,9 +19309,17 @@ var bulk_ip_threat_intelligence_default = {
|
|
|
19260
19309
|
is_anonymous: false,
|
|
19261
19310
|
is_known_attacker: false,
|
|
19262
19311
|
is_bot: false,
|
|
19312
|
+
bot_confidence_score: 0,
|
|
19313
|
+
bot_operator_name: "",
|
|
19314
|
+
bot_type: "",
|
|
19315
|
+
is_known_good_bot: false,
|
|
19316
|
+
bot_last_seen: "",
|
|
19263
19317
|
is_spam: false,
|
|
19264
19318
|
is_cloud_provider: true,
|
|
19265
|
-
cloud_provider_name: "Google LLC"
|
|
19319
|
+
cloud_provider_name: "Google LLC",
|
|
19320
|
+
is_corporate_gateway: false,
|
|
19321
|
+
corporate_gateway_type: "",
|
|
19322
|
+
corporate_gateway_provider_name: ""
|
|
19266
19323
|
}
|
|
19267
19324
|
},
|
|
19268
19325
|
{
|
|
@@ -19284,9 +19341,17 @@ var bulk_ip_threat_intelligence_default = {
|
|
|
19284
19341
|
is_anonymous: false,
|
|
19285
19342
|
is_known_attacker: false,
|
|
19286
19343
|
is_bot: false,
|
|
19344
|
+
bot_confidence_score: 0,
|
|
19345
|
+
bot_operator_name: "",
|
|
19346
|
+
bot_type: "",
|
|
19347
|
+
is_known_good_bot: false,
|
|
19348
|
+
bot_last_seen: "",
|
|
19287
19349
|
is_spam: false,
|
|
19288
19350
|
is_cloud_provider: true,
|
|
19289
|
-
cloud_provider_name: "Cloudflare, Inc."
|
|
19351
|
+
cloud_provider_name: "Cloudflare, Inc.",
|
|
19352
|
+
is_corporate_gateway: false,
|
|
19353
|
+
corporate_gateway_type: "",
|
|
19354
|
+
corporate_gateway_provider_name: ""
|
|
19290
19355
|
}
|
|
19291
19356
|
}
|
|
19292
19357
|
]
|
|
@@ -19316,9 +19381,17 @@ var bulk_ip_threat_intelligence_default = {
|
|
|
19316
19381
|
is_anonymous: false,
|
|
19317
19382
|
is_known_attacker: false,
|
|
19318
19383
|
is_bot: false,
|
|
19384
|
+
bot_confidence_score: 0,
|
|
19385
|
+
bot_operator_name: "",
|
|
19386
|
+
bot_type: "",
|
|
19387
|
+
is_known_good_bot: false,
|
|
19388
|
+
bot_last_seen: "",
|
|
19319
19389
|
is_spam: false,
|
|
19320
19390
|
is_cloud_provider: true,
|
|
19321
|
-
cloud_provider_name: "Google LLC"
|
|
19391
|
+
cloud_provider_name: "Google LLC",
|
|
19392
|
+
is_corporate_gateway: false,
|
|
19393
|
+
corporate_gateway_type: "",
|
|
19394
|
+
corporate_gateway_provider_name: ""
|
|
19322
19395
|
}
|
|
19323
19396
|
}
|
|
19324
19397
|
]
|
|
@@ -19483,8 +19556,11 @@ var bulk_ip_threat_intelligence_default = {
|
|
|
19483
19556
|
"is_anonymous",
|
|
19484
19557
|
"is_known_attacker",
|
|
19485
19558
|
"is_bot",
|
|
19559
|
+
"bot_confidence_score",
|
|
19560
|
+
"is_known_good_bot",
|
|
19486
19561
|
"is_spam",
|
|
19487
|
-
"is_cloud_provider"
|
|
19562
|
+
"is_cloud_provider",
|
|
19563
|
+
"is_corporate_gateway"
|
|
19488
19564
|
],
|
|
19489
19565
|
properties: {
|
|
19490
19566
|
threat_score: {
|
|
@@ -19557,17 +19633,49 @@ var bulk_ip_threat_intelligence_default = {
|
|
|
19557
19633
|
type: "boolean",
|
|
19558
19634
|
description: "Indicates whether the IP is associated with bot activity."
|
|
19559
19635
|
},
|
|
19636
|
+
bot_confidence_score: {
|
|
19637
|
+
type: "number",
|
|
19638
|
+
description: "Confidence score (0-100) that the IP is used for bot activity. Set only when is_bot is true; otherwise 0."
|
|
19639
|
+
},
|
|
19640
|
+
bot_operator_name: {
|
|
19641
|
+
type: "string",
|
|
19642
|
+
description: "Organization that runs the bot, when known. Usually present only for declared bots such as search engine crawlers."
|
|
19643
|
+
},
|
|
19644
|
+
bot_type: {
|
|
19645
|
+
type: "string",
|
|
19646
|
+
description: "Kind of automated activity detected, 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."
|
|
19647
|
+
},
|
|
19648
|
+
is_known_good_bot: {
|
|
19649
|
+
type: "boolean",
|
|
19650
|
+
description: "Indicates whether the bot is a declared bot with a verifiable operator, such as a search engine crawler, uptime monitor, or security scanner."
|
|
19651
|
+
},
|
|
19652
|
+
bot_last_seen: {
|
|
19653
|
+
type: "string",
|
|
19654
|
+
description: "Date (YYYY-MM-DD) the bot activity was last observed, when available."
|
|
19655
|
+
},
|
|
19560
19656
|
is_spam: {
|
|
19561
19657
|
type: "boolean",
|
|
19562
19658
|
description: "Indicates whether the IP is associated with spam activity."
|
|
19563
19659
|
},
|
|
19564
19660
|
is_cloud_provider: {
|
|
19565
19661
|
type: "boolean",
|
|
19566
|
-
description: "Indicates whether the IP belongs to a cloud provider."
|
|
19662
|
+
description: "Indicates whether the IP belongs to a cloud or hosting provider."
|
|
19567
19663
|
},
|
|
19568
19664
|
cloud_provider_name: {
|
|
19569
19665
|
type: "string",
|
|
19570
|
-
description: "Name of the cloud provider, if the IP address belongs to
|
|
19666
|
+
description: "Name of the cloud or hosting provider, if the IP address belongs to one."
|
|
19667
|
+
},
|
|
19668
|
+
is_corporate_gateway: {
|
|
19669
|
+
type: "boolean",
|
|
19670
|
+
description: "Indicates whether the IP is an outbound address of a corporate security gateway (SWG, SSE, or SASE), meaning traffic from a company network is routed through it."
|
|
19671
|
+
},
|
|
19672
|
+
corporate_gateway_type: {
|
|
19673
|
+
type: "string",
|
|
19674
|
+
description: "Kind of corporate gateway, when known. Known values: secure_web_gateway, browser_isolation."
|
|
19675
|
+
},
|
|
19676
|
+
corporate_gateway_provider_name: {
|
|
19677
|
+
type: "string",
|
|
19678
|
+
description: "Name of the company that operates the gateway, such as Zscaler, when known."
|
|
19571
19679
|
}
|
|
19572
19680
|
}
|
|
19573
19681
|
}
|
|
@@ -19731,7 +19839,9 @@ var ip_locator_default = {
|
|
|
19731
19839
|
network: {
|
|
19732
19840
|
connection_type: "",
|
|
19733
19841
|
route: "8.8.8.0/24",
|
|
19734
|
-
is_anycast: true
|
|
19842
|
+
is_anycast: true,
|
|
19843
|
+
is_cdn: false,
|
|
19844
|
+
cdn_provider_name: ""
|
|
19735
19845
|
},
|
|
19736
19846
|
currency: {
|
|
19737
19847
|
code: "USD",
|
|
@@ -20077,6 +20187,14 @@ var ip_locator_default = {
|
|
|
20077
20187
|
is_anycast: {
|
|
20078
20188
|
type: "boolean",
|
|
20079
20189
|
description: "true if the IP is anycast (same IP announced from multiple locations)."
|
|
20190
|
+
},
|
|
20191
|
+
is_cdn: {
|
|
20192
|
+
type: "boolean",
|
|
20193
|
+
description: "true if the IP belongs to a content delivery network (CDN) or a cloud provider's network."
|
|
20194
|
+
},
|
|
20195
|
+
cdn_provider_name: {
|
|
20196
|
+
type: "string",
|
|
20197
|
+
description: "CDN provider name (e.g. Cloudflare) when is_cdn is true; empty otherwise."
|
|
20080
20198
|
}
|
|
20081
20199
|
}
|
|
20082
20200
|
},
|
|
@@ -20165,8 +20283,11 @@ var ip_locator_default = {
|
|
|
20165
20283
|
"is_anonymous",
|
|
20166
20284
|
"is_known_attacker",
|
|
20167
20285
|
"is_bot",
|
|
20286
|
+
"bot_confidence_score",
|
|
20287
|
+
"is_known_good_bot",
|
|
20168
20288
|
"is_spam",
|
|
20169
|
-
"is_cloud_provider"
|
|
20289
|
+
"is_cloud_provider",
|
|
20290
|
+
"is_corporate_gateway"
|
|
20170
20291
|
],
|
|
20171
20292
|
properties: {
|
|
20172
20293
|
threat_score: {
|
|
@@ -20239,17 +20360,49 @@ var ip_locator_default = {
|
|
|
20239
20360
|
type: "boolean",
|
|
20240
20361
|
description: "true if the IP is associated with bot activity."
|
|
20241
20362
|
},
|
|
20363
|
+
bot_confidence_score: {
|
|
20364
|
+
type: "number",
|
|
20365
|
+
description: "Bot detection confidence from 0 to 100. 0 unless is_bot is true."
|
|
20366
|
+
},
|
|
20367
|
+
bot_operator_name: {
|
|
20368
|
+
type: "string",
|
|
20369
|
+
description: "Organization running the bot, when known (mostly declared bots)."
|
|
20370
|
+
},
|
|
20371
|
+
bot_type: {
|
|
20372
|
+
type: "string",
|
|
20373
|
+
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."
|
|
20374
|
+
},
|
|
20375
|
+
is_known_good_bot: {
|
|
20376
|
+
type: "boolean",
|
|
20377
|
+
description: "true if the bot is a declared bot with a verifiable operator (e.g. a search engine crawler or uptime monitor)."
|
|
20378
|
+
},
|
|
20379
|
+
bot_last_seen: {
|
|
20380
|
+
type: "string",
|
|
20381
|
+
description: "Last observed bot activity date in YYYY-MM-DD, when available."
|
|
20382
|
+
},
|
|
20242
20383
|
is_spam: {
|
|
20243
20384
|
type: "boolean",
|
|
20244
20385
|
description: "true if the IP is associated with spam activity."
|
|
20245
20386
|
},
|
|
20246
20387
|
is_cloud_provider: {
|
|
20247
20388
|
type: "boolean",
|
|
20248
|
-
description: "true if the IP belongs to a cloud provider range."
|
|
20389
|
+
description: "true if the IP belongs to a cloud or hosting provider range."
|
|
20249
20390
|
},
|
|
20250
20391
|
cloud_provider_name: {
|
|
20251
20392
|
type: "string",
|
|
20252
|
-
description: "Cloud provider name."
|
|
20393
|
+
description: "Cloud or hosting provider name."
|
|
20394
|
+
},
|
|
20395
|
+
is_corporate_gateway: {
|
|
20396
|
+
type: "boolean",
|
|
20397
|
+
description: "true if the IP is an outbound address of a corporate security gateway (SWG, SSE, or SASE)."
|
|
20398
|
+
},
|
|
20399
|
+
corporate_gateway_type: {
|
|
20400
|
+
type: "string",
|
|
20401
|
+
description: "Kind of corporate gateway, when known. Known values: secure_web_gateway, browser_isolation."
|
|
20402
|
+
},
|
|
20403
|
+
corporate_gateway_provider_name: {
|
|
20404
|
+
type: "string",
|
|
20405
|
+
description: "Corporate gateway provider name, when known."
|
|
20253
20406
|
}
|
|
20254
20407
|
}
|
|
20255
20408
|
},
|
|
@@ -20568,7 +20721,7 @@ var ip_threat_intelligence_default = {
|
|
|
20568
20721
|
info: {
|
|
20569
20722
|
title: "IP Threat Intelligence API - VPN, Proxy & Tor Detection with Threat Scoring",
|
|
20570
20723
|
version: "1.0.0",
|
|
20571
|
-
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,
|
|
20724
|
+
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.",
|
|
20572
20725
|
contact: {
|
|
20573
20726
|
name: "APIFreaks Support",
|
|
20574
20727
|
url: "https://apifreaks.com/contact",
|
|
@@ -20658,9 +20811,17 @@ var ip_threat_intelligence_default = {
|
|
|
20658
20811
|
is_anonymous: false,
|
|
20659
20812
|
is_known_attacker: false,
|
|
20660
20813
|
is_bot: false,
|
|
20814
|
+
bot_confidence_score: 0,
|
|
20815
|
+
bot_operator_name: "",
|
|
20816
|
+
bot_type: "",
|
|
20817
|
+
is_known_good_bot: false,
|
|
20818
|
+
bot_last_seen: "",
|
|
20661
20819
|
is_spam: false,
|
|
20662
20820
|
is_cloud_provider: true,
|
|
20663
|
-
cloud_provider_name: "Google LLC"
|
|
20821
|
+
cloud_provider_name: "Google LLC",
|
|
20822
|
+
is_corporate_gateway: false,
|
|
20823
|
+
corporate_gateway_type: "",
|
|
20824
|
+
corporate_gateway_provider_name: ""
|
|
20664
20825
|
}
|
|
20665
20826
|
}
|
|
20666
20827
|
}
|
|
@@ -20795,8 +20956,11 @@ var ip_threat_intelligence_default = {
|
|
|
20795
20956
|
"is_anonymous",
|
|
20796
20957
|
"is_known_attacker",
|
|
20797
20958
|
"is_bot",
|
|
20959
|
+
"bot_confidence_score",
|
|
20960
|
+
"is_known_good_bot",
|
|
20798
20961
|
"is_spam",
|
|
20799
|
-
"is_cloud_provider"
|
|
20962
|
+
"is_cloud_provider",
|
|
20963
|
+
"is_corporate_gateway"
|
|
20800
20964
|
],
|
|
20801
20965
|
properties: {
|
|
20802
20966
|
threat_score: {
|
|
@@ -20869,17 +21033,49 @@ var ip_threat_intelligence_default = {
|
|
|
20869
21033
|
type: "boolean",
|
|
20870
21034
|
description: "true if the IP is associated with bot activity."
|
|
20871
21035
|
},
|
|
21036
|
+
bot_confidence_score: {
|
|
21037
|
+
type: "number",
|
|
21038
|
+
description: "Bot detection confidence from 0 to 100. 0 unless is_bot is true."
|
|
21039
|
+
},
|
|
21040
|
+
bot_operator_name: {
|
|
21041
|
+
type: "string",
|
|
21042
|
+
description: "Organization running the bot, when known (mostly declared bots)."
|
|
21043
|
+
},
|
|
21044
|
+
bot_type: {
|
|
21045
|
+
type: "string",
|
|
21046
|
+
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."
|
|
21047
|
+
},
|
|
21048
|
+
is_known_good_bot: {
|
|
21049
|
+
type: "boolean",
|
|
21050
|
+
description: "true if the bot is a declared bot with a verifiable operator (e.g. a search engine crawler or uptime monitor)."
|
|
21051
|
+
},
|
|
21052
|
+
bot_last_seen: {
|
|
21053
|
+
type: "string",
|
|
21054
|
+
description: "Last observed bot activity date in YYYY-MM-DD, when available."
|
|
21055
|
+
},
|
|
20872
21056
|
is_spam: {
|
|
20873
21057
|
type: "boolean",
|
|
20874
21058
|
description: "true if the IP is associated with spam activity."
|
|
20875
21059
|
},
|
|
20876
21060
|
is_cloud_provider: {
|
|
20877
21061
|
type: "boolean",
|
|
20878
|
-
description: "true if the IP belongs to a cloud provider range."
|
|
21062
|
+
description: "true if the IP belongs to a cloud or hosting provider range."
|
|
20879
21063
|
},
|
|
20880
21064
|
cloud_provider_name: {
|
|
20881
21065
|
type: "string",
|
|
20882
|
-
description: "Cloud provider name."
|
|
21066
|
+
description: "Cloud or hosting provider name."
|
|
21067
|
+
},
|
|
21068
|
+
is_corporate_gateway: {
|
|
21069
|
+
type: "boolean",
|
|
21070
|
+
description: "true if the IP is an outbound address of a corporate security gateway (SWG, SSE, or SASE)."
|
|
21071
|
+
},
|
|
21072
|
+
corporate_gateway_type: {
|
|
21073
|
+
type: "string",
|
|
21074
|
+
description: "Kind of corporate gateway, when known. Known values: secure_web_gateway, browser_isolation."
|
|
21075
|
+
},
|
|
21076
|
+
corporate_gateway_provider_name: {
|
|
21077
|
+
type: "string",
|
|
21078
|
+
description: "Corporate gateway provider name, when known."
|
|
20883
21079
|
}
|
|
20884
21080
|
}
|
|
20885
21081
|
}
|
|
@@ -56792,10 +56988,10 @@ security:
|
|
|
56792
56988
|
"flags": "openapi: 3.1.1\ninfo:\n title: Flags API - Country & Organization Flags in Multiple Formats, Shapes, or Sizes\n version: 1.0.0\n description: Retrieve country and international organization flag images in PNG, WEBP, or SVG format. Supports flat and round shapes in five sizes (16px to 64px, PNG/WEBP only \u2014 size is ignored for SVG). Requires a country code or organization identifier, the flag type (country or organization), and the shape (flat or round). Organization identifiers are case-sensitive and must exactly match an entry from the Supported Flags endpoint (e.g. NATO, European_Union, United_Nations) \u2014 lowercase or abbreviated forms are not recognized. Optional format (png, webp, svg) and size parameters control the output. Missing/invalid parameter values return a 400 error; unrecognized country or organization identifiers return a 404. On success the response body is the raw binary image, not JSON.\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v1.0\n description: Flags API Server\npaths:\n /flags:\n get:\n tags:\n - Flags APIs\n summary: Retrieve a country or organization flag image\n description: Returns a flag image for a specified country or international organization. Supports PNG, WEBP, and SVG formats with flat or round shapes.\n operationId: getFlag\n parameters:\n - name: name\n in: query\n required: true\n description: Country code in ISO 3166-1 alpha-2 format for country flags, or organization identifier for organization flags. Organization identifiers are case-sensitive and must exactly match an entry from the Supported Flags endpoint (e.g. NATO, European_Union) \u2014 lowercase or abbreviated forms return a 404.\n schema:\n type: string\n - name: type\n in: query\n required: true\n description: 'Type of flag to retrieve. Possible values: country, organization.'\n schema:\n type: string\n enum:\n - country\n - organization\n - name: shape\n in: query\n required: true\n description: 'Shape of the flag image. Possible values: flat, round.'\n schema:\n type: string\n enum:\n - flat\n - round\n - name: format\n in: query\n required: false\n description: 'Image format. Possible values: png, webp, svg. Default: png.'\n schema:\n type: string\n enum:\n - png\n - webp\n - svg\n default: png\n - name: size\n in: query\n required: false\n description: 'Size of the flag image in pixels. Possible values: 16px, 24px, 32px, 48px, 64px. Default is 64px when omitted. Applies to PNG and WEBP formats only; silently ignored (no error) when format is svg, since SVG is vector-scalable.'\n schema:\n type: string\n enum:\n - 16px\n - 24px\n - 32px\n - 48px\n - 64px\n responses:\n '200':\n description: Successful response with the flag image as raw binary data (not JSON) in the format requested\n content:\n image/png:\n schema:\n $ref: '#/components/schemas/ApiResponseSchemas'\n image/webp:\n schema:\n $ref: '#/components/schemas/ApiResponseSchemas'\n image/svg+xml:\n schema:\n $ref: '#/components/schemas/ApiResponseSchemas'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Missing required parameter, or type/shape/format/size is not one of the allowed enum values\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n MissingParams:\n summary: Missing required name, type, or shape parameter\n value:\n error: Invalid Param Exception\n message: please pass correct parameters\n path: /v1.0/flags\n status: 400\n timestamp: '2026-07-24T11:04:56.443Z'\n InvalidType:\n summary: type is not country or organization\n value:\n timestamp: '2026-07-24T11:04:56.981953+00:00'\n path: /flags\n status: 400\n error: Bad Request\n message: Invalid type\n InvalidShape:\n summary: shape is not flat or round\n value:\n timestamp: '2026-07-24T11:04:57.507529+00:00'\n path: /flags\n status: 400\n error: Bad Request\n message: Invalid shape\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '404':\n description: Not Found \u2014 Country code or organization identifier not recognized\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n InvalidCountryCode:\n summary: Invalid country name or code\n value:\n timestamp: '2026-07-24T11:04:58.077767+00:00'\n path: /flags\n status: 404\n error: Not Found\n message: 'Invalid country name or code: ZZ'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\ncomponents:\n securitySchemes:\n ApiKeyAuthHeader:\n type: apiKey\n in: header\n name: X-apiKey\n description: Pass your API key via the X-apiKey request header.\n ApiKeyAuthQuery:\n type: apiKey\n in: query\n name: apiKey\n description: Pass your API key via the apiKey query parameter.\n schemas:\n ApiResponseSchemas:\n type: string\n format: binary\n title: Flag Image Response\n description: The flag image returned as raw binary data in the requested format (not JSON). Content-Type is one of image/png, image/webp, or image/svg+xml depending on the format parameter.\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests. path and timestamp formatting differ between the missing-parameter case (versioned path, Z-suffixed timestamp) and the invalid-value/not-found cases (unversioned path, offset timestamp with microseconds), since this endpoint is served by a different backend than most of the API.\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type.\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path that produced the error.\n status:\n type: integer\n description: HTTP status code returned with the error.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n headers:\n X-AF-Credits-Cost:\n description: Specifies the number of credits consumed by the current request.\n schema:\n type: integer\nsecurity:\n - ApiKeyAuthHeader: []\n - ApiKeyAuthQuery: []\n",
|
|
56793
56989
|
"regions": "openapi: 3.1.1\ninfo:\n title: Regions API - Retrieve World Regions & Subregions\n version: 1.0.0\n description: Retrieve all geographical regions supported by the GeoDB service. Returns a flat array of exactly 6 region names - Africa, Americas, Asia, Europe, Oceania, and Polar. This endpoint takes no required parameters, ignores unrecognized query parameters rather than erroring, and has no documented error responses. Use the returned region names with the Subregions endpoint to drill down into subregional data.\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v1.0\n description: Regions API Server\npaths:\n /geo/regions:\n get:\n tags:\n - GeoDB APIs\n summary: Retrieve all geographical regions\n description: Returns all geographical regions supported by the service, such as Africa, Americas, Asia, Europe, Oceania, and Polar.\n operationId: getRegions\n parameters:\n - name: format\n in: query\n required: false\n description: 'Format of the response. Possible values: json, xml.'\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n responses:\n '200':\n description: Successful response with list of regions\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/RegionsResponse'\n examples:\n typicalSuccess:\n summary: Typical successful response\n value:\n regions:\n - Africa\n - Americas\n - Asia\n - Europe\n - Oceania\n - Polar\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\ncomponents:\n securitySchemes:\n ApiKeyAuthHeader:\n type: apiKey\n in: header\n name: X-apiKey\n description: Pass your API key via the X-apiKey request header.\n ApiKeyAuthQuery:\n type: apiKey\n in: query\n name: apiKey\n description: Pass your API key via the apiKey query parameter.\n schemas:\n RegionsResponse:\n type: object\n description: Response containing the flat list of geographical regions supported by the GeoDB service.\n required:\n - regions\n properties:\n regions:\n type: array\n description: An array of region names representing all geographical regions supported by the service.\n items:\n type: string\n headers:\n X-AF-Credits-Cost:\n description: Specifies the number of credits consumed by the current request.\n schema:\n type: integer\nsecurity:\n - ApiKeyAuthHeader: []\n - ApiKeyAuthQuery: []\n",
|
|
56794
56990
|
"subregions": "openapi: 3.1.1\ninfo:\n title: Subregions API Reference\n version: 1.0.0\n description: Retrieve all subregions within a specified geographical region, or all subregions across every region when none is specified. The region parameter is optional. Returns a flat array of subregion names such as Western Europe, Southern Asia, or Northern America. Invalid region names return a 400 error; a region with no subregions (Polar) returns a 404.\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v1.0\n description: Subregions API Server\npaths:\n /geo/subregions:\n get:\n tags:\n - GeoDB APIs\n summary: Retrieve subregions for a specific geographical region\n description: Returns all subregions within a specified region, or all subregions across every region when the region parameter is omitted.\n operationId: getSubregionsByRegion\n parameters:\n - name: format\n in: query\n required: false\n description: 'Format of the response. Possible values: json, xml.'\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n - name: region\n in: query\n required: false\n description: Name of the region to retrieve subregions for. Omit to return all subregions across every region.\n schema:\n type: string\n responses:\n '200':\n description: Successful response with list of subregions\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/SubregionsResponse'\n examples:\n typicalSuccess:\n summary: Filtered by region=Europe\n value:\n subregions:\n - Eastern Europe\n - Northern Europe\n - Southern Europe\n - Western Europe\n allRegions:\n summary: region parameter omitted \u2014 all 22 subregions across every region\n value:\n subregions:\n - Australia and New Zealand\n - Caribbean\n - Central America\n - Central Asia\n - Eastern Africa\n - Eastern Asia\n - Eastern Europe\n - Melanesia\n - Micronesia\n - Middle Africa\n - Northern Africa\n - Northern America\n - Northern Europe\n - Polynesia\n - South America\n - South-Eastern Asia\n - Southern Africa\n - Southern Asia\n - Southern Europe\n - Western Africa\n - Western Asia\n - Western Europe\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Region name is not a recognized region\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n InvalidRegionName:\n summary: Invalid region name\n value:\n timestamp: '2026-07-24T11:00:12.748Z'\n path: /v1/subregions\n status: 400\n error: Invalid Region Name provided\n message: Please provide a valid region name.\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '404':\n description: Not Found \u2014 Region is valid but has no subregions (e.g. Polar)\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n NoSubregions:\n summary: No subregions for this region\n value:\n timestamp: '2026-07-24T11:00:06.003Z'\n path: /v1/subregions\n status: 404\n error: No subregions exist\n message: This region does not have any subregions.\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\ncomponents:\n securitySchemes:\n ApiKeyAuthHeader:\n type: apiKey\n in: header\n name: X-apiKey\n description: Pass your API key via the X-apiKey request header.\n ApiKeyAuthQuery:\n type: apiKey\n in: query\n name: apiKey\n description: Pass your API key via the apiKey query parameter.\n schemas:\n SubregionsResponse:\n type: object\n description: Response containing subregion names for the requested region, or all subregions across every region when unfiltered.\n required:\n - subregions\n properties:\n subregions:\n type: array\n description: An array of subregion names within the specified region.\n items:\n type: string\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests.\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type.\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path that produced the error.\n status:\n type: integer\n description: HTTP status code returned with the error.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n headers:\n X-AF-Credits-Cost:\n description: Specifies the number of credits consumed by the current request.\n schema:\n type: integer\nsecurity:\n - ApiKeyAuthHeader: []\n - ApiKeyAuthQuery: []\n",
|
|
56795
|
-
"bulk-ip-lookup": "openapi: 3.1.1\ninfo:\n title: Bulk IP Geolocation Lookup API - Instantly Geolocate Thousands of IP Addresses\n version: 1.0.0\n description: Retrieve the same geolocation and network intelligence as the single-IP Geolocation API for up to 50,000 IP addresses or hostnames in one request. The response is an array in request order; each entry is either a full location result (location, network, ASN, company, currency, and time zone data) or, if that specific IP is invalid, bogon, reserved, or unresolvable, an error object --- a bad IP in the batch does not fail the whole request. The same optional `include=security,hostname,liveHostname,user_agent,abuse` modules from the single-IP API (or `include=*`) apply to every item in the batch.\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v2.0\n description: Bulk IP Lookup API Server\npaths:\n /geolocation/lookup:\n post:\n tags:\n - IP Geolocation APIs\n summary: Retrieve geolocation and threat intelligence data for multiple IP addresses in a single request\n description: Get detailed IP geolocation data for multiple IP addresses including country, city, timezone, currency, and optional threat intelligence information. Supports up to 50,000 IP addresses per request.\n operationId: bulkIpLookup\n parameters:\n - name: format\n in: query\n required: false\n description: Format of the response.\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n - name: lang\n in: query\n required: false\n description: 'Response language for location fields. Default: en.'\n schema:\n type: string\n enum:\n - en\n - de\n - ru\n - ja\n - fr\n - cn\n - es\n - cs\n - it\n - ko\n - fa\n - pt\n default: en\n - name: fields\n in: query\n required: false\n description: Comma-separated list of fields to include in the response. For example, `location` includes all location fields, `location.city` is a specific field.\n schema:\n type: string\n - name: excludes\n in: query\n required: false\n description: Comma-separated list of fields to exclude from response.\n schema:\n type: string\n - name: include\n in: query\n required: false\n description: 'Comma-separated list of additional data modules to include. Possible values: security (threat intelligence), hostname (IP-Hostname lookup), liveHostname (live hostname lookup), user_agent (parse User-Agent header), abuse (abuse contact info), * (all modules).'\n schema:\n type: string\n requestBody:\n required: true\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/BulkIpLookupRequest'\n examples:\n typicalRequest:\n summary: Typical bulk lookup request\n value:\n ips:\n - 8.8.8.8\n - 1.1.1.1\n responses:\n '200':\n description: Successful geolocation response. Each item corresponds to one requested IP, in the same order; an IP that fails validation (invalid, bogon, reserved, or not found) yields an error item instead of a location result.\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/BulkIpLookupResponse'\n examples:\n typicalSuccess:\n summary: Typical successful response\n value:\n - ip: 8.8.8.8\n location:\n continent_code: NA\n continent_name: North America\n country_code2: US\n country_code3: USA\n country_name: United States\n country_name_official: United States of America\n country_capital: Washington, D.C.\n state_prov: California\n state_code: US-CA\n district: Santa Clara\n city: Mountain View\n zipcode: 94043-1351\n latitude: '37.42240'\n longitude: '-122.08421'\n is_eu: false\n country_flag: https://ipgeolocation.io/static/flags/us_64.png\n geoname_id: '6301403'\n country_emoji: \u{1F1FA}\u{1F1F8}\n country_metadata:\n calling_code: '+1'\n tld: .us\n languages:\n - en-US\n - es-US\n - haw\n - fr\n network:\n connection_type: ''\n route: 8.8.8.0/24\n is_anycast: true\n currency:\n code: USD\n name: US Dollar\n symbol: $\n asn:\n as_number: AS15169\n organization: Google LLC\n country: US\n type: BUSINESS\n domain: google.com\n date_allocated: '2000-03-30'\n rir: ARIN\n company:\n name: Google LLC\n type: HOSTING\n domain: google.com\n time_zone:\n name: America/Los_Angeles\n offset: -8\n offset_with_dst: -7\n current_time: 2026-07-08 03:21:52.843-0700\n current_time_unix: 1783506112.843\n current_tz_abbreviation: PDT\n current_tz_full_name: Pacific Daylight Time\n standard_tz_abbreviation: PST\n standard_tz_full_name: Pacific Standard Time\n is_dst: true\n dst_savings: 1\n dst_exists: true\n dst_tz_abbreviation: PDT\n dst_tz_full_name: Pacific Daylight Time\n dst_start:\n utc_time: 2026-03-08 TIME 10:00\n duration: +1.00H\n gap: true\n date_time_after: 2026-03-08 TIME 03:00\n date_time_before: 2026-03-08 TIME 02:00\n overlap: false\n dst_end:\n utc_time: 2026-11-01 TIME 09:00\n duration: -1.00H\n gap: false\n date_time_after: 2026-11-01 TIME 01:00\n date_time_before: 2026-11-01 TIME 02:00\n overlap: true\n - ip: 1.1.1.1\n location:\n continent_code: OC\n continent_name: Oceania\n country_code2: AU\n country_code3: AUS\n country_name: Australia\n country_name_official: Commonwealth of Australia\n country_capital: Canberra\n state_prov: Queensland\n state_code: AU-QLD\n district: Brisbane\n city: South Brisbane\n zipcode: '4101'\n latitude: '-27.47301'\n longitude: '153.01425'\n is_eu: false\n country_flag: https://ipgeolocation.io/static/flags/au_64.png\n geoname_id: '10113228'\n country_emoji: \u{1F1E6}\u{1F1FA}\n country_metadata:\n calling_code: '+61'\n tld: .au\n languages:\n - en-AU\n network:\n connection_type: ''\n route: 1.1.1.0/24\n is_anycast: true\n currency:\n code: AUD\n name: Australian Dollar\n symbol: A$\n asn:\n as_number: AS13335\n organization: Cloudflare, Inc.\n country: US\n type: BUSINESS\n domain: cloudflare.com\n date_allocated: '2010-07-14'\n rir: ARIN\n company:\n name: APNIC Research and Development\n type: ''\n domain: ''\n time_zone:\n name: Australia/Brisbane\n offset: 10\n offset_with_dst: 10\n current_time: 2026-07-08 20:21:52.843+1000\n current_time_unix: 1783506112.843\n current_tz_abbreviation: AEST\n current_tz_full_name: Australian Eastern Standard Time\n standard_tz_abbreviation: AEST\n standard_tz_full_name: Australian Eastern Standard Time\n is_dst: false\n dst_savings: 0\n dst_exists: false\n dst_tz_abbreviation: ''\n dst_tz_full_name: ''\n dst_start: {}\n dst_end: {}\n partialFailure:\n summary: Response with an invalid IP mixed in \u2014 that item returns an error object instead of location data\n value:\n - message: Provided name, service or IP address 'not-an-ip' is not valid.\n - ip: 8.8.8.8\n location:\n continent_code: NA\n continent_name: North America\n country_code2: US\n country_code3: USA\n country_name: United States\n country_name_official: United States of America\n country_capital: Washington, D.C.\n state_prov: California\n state_code: US-CA\n district: Santa Clara\n city: Mountain View\n zipcode: 94043-1351\n latitude: '37.42240'\n longitude: '-122.08421'\n is_eu: false\n country_flag: https://ipgeolocation.io/static/flags/us_64.png\n geoname_id: '6301403'\n country_emoji: \u{1F1FA}\u{1F1F8}\n country_metadata:\n calling_code: '+1'\n tld: .us\n languages:\n - en-US\n - es-US\n - haw\n - fr\n network:\n connection_type: ''\n route: 8.8.8.0/24\n is_anycast: true\n currency:\n code: USD\n name: US Dollar\n symbol: $\n asn:\n as_number: AS15169\n organization: Google LLC\n country: US\n type: BUSINESS\n domain: google.com\n date_allocated: '2000-03-30'\n rir: ARIN\n company:\n name: Google LLC\n type: HOSTING\n domain: google.com\n time_zone:\n name: America/Los_Angeles\n offset: -8\n offset_with_dst: -7\n current_time: 2026-07-22 06:08:52.526-0700\n current_time_unix: 1784725732.526\n current_tz_abbreviation: PDT\n current_tz_full_name: Pacific Daylight Time\n standard_tz_abbreviation: PST\n standard_tz_full_name: Pacific Standard Time\n is_dst: true\n dst_savings: 1\n dst_exists: true\n dst_tz_abbreviation: PDT\n dst_tz_full_name: Pacific Daylight Time\n dst_start:\n utc_time: 2026-03-08 TIME 10:00\n duration: +1.00H\n gap: true\n date_time_after: 2026-03-08 TIME 03:00\n date_time_before: 2026-03-08 TIME 02:00\n overlap: false\n dst_end:\n utc_time: 2026-11-01 TIME 09:00\n duration: -1.00H\n gap: false\n date_time_after: 2026-11-01 TIME 01:00\n date_time_before: 2026-11-01 TIME 02:00\n overlap: true\n bogonOrNotFound:\n summary: Bogon, reserved, or not-in-database IP \u2014 returns an error object for that item\n value:\n - message: '''127.0.0.1'' is a bogon IP address.'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Invalid or missing parameters\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n invalidRequestBody:\n summary: Missing, empty, or malformed `ips` in the request body\n value:\n error: Invalid request body Exception\n message: Please provide data in required format in request body\n path: /v2.0/geolocation/lookup\n status: 400\n timestamp: '2026-07-22T13:08:51.422Z'\n missingApiKey:\n summary: No API key provided\n value:\n error: Invalid Param Exception\n message: Please provide apiKey\n path: /v2.0/geolocation/lookup\n status: 400\n timestamp: '2026-07-22T13:09:02.595Z'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '413':\n description: Payload Too Large \u2014 Request body exceeds the maximum allowed size\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n payloadTooLarge:\n summary: Request body exceeds the maximum size limit\n value:\n error: Payload too large Exception\n message: Maximum request body size limit exceeded\n path: /v2.0/geolocation/lookup\n status: 413\n timestamp: '2026-07-22T13:09:13.142Z'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\ncomponents:\n securitySchemes:\n ApiKeyAuthHeader:\n type: apiKey\n in: header\n name: X-apiKey\n description: Pass your API key via the X-apiKey request header.\n ApiKeyAuthQuery:\n type: apiKey\n in: query\n name: apiKey\n description: Pass your API key via the apiKey query parameter.\n schemas:\n BulkIpLookupRequest:\n type: object\n required:\n - ips\n description: Request body for bulk IP geolocation lookup.\n properties:\n ips:\n type: array\n description: List of IP addresses or hostnames to lookup.\n maxItems: 50000\n items:\n type: string\n ErrorResponse:\n type: object\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type.\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path that produced the error.\n status:\n type: integer\n description: HTTP status code returned with the error.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n BulkIpLookupItemError:\n type: object\n description: Per-item error, returned in place of a location result when an individual IP is invalid, bogon/reserved, or not found in the database.\n required:\n - message\n properties:\n message:\n type: string\n description: Human-readable reason this IP could not be resolved.\n BulkIpLookupResultItem:\n type: object\n description: Geolocation and threat intelligence result for one successfully resolved IP address.\n required:\n - ip\n properties:\n ip:\n type: string\n description: The IP address used for the lookup (IPv4 or IPv6).\n domain:\n type: string\n description: The input domain, returned only for domain-based lookups.\n hostname:\n type: string\n description: Reverse DNS hostname (PTR) for the input IP; returns the input IP if not resolvable.\n location:\n $ref: '#/components/schemas/Location'\n country_metadata:\n $ref: '#/components/schemas/CountryMetadata'\n network:\n $ref: '#/components/schemas/Network'\n asn:\n $ref: '#/components/schemas/Asn'\n company:\n $ref: '#/components/schemas/Company'\n currency:\n $ref: '#/components/schemas/Currency'\n security:\n $ref: '#/components/schemas/Security'\n abuse:\n $ref: '#/components/schemas/Abuse'\n time_zone:\n $ref: '#/components/schemas/TimeZone'\n user_agent:\n $ref: '#/components/schemas/UserAgent'\n BulkIpLookupResponse:\n type: array\n description: Array of per-IP results, one entry per requested IP, in the same order as the request. Each entry is either a location result or, if that IP could not be resolved, an error object.\n items:\n oneOf:\n - $ref: '#/components/schemas/BulkIpLookupResultItem'\n - $ref: '#/components/schemas/BulkIpLookupItemError'\n Location:\n type: object\n description: Geographic location information for the IP.\n required:\n - continent_code\n - continent_name\n - country_code2\n - country_code3\n - country_name\n - country_name_official\n - country_capital\n - latitude\n - longitude\n - is_eu\n - country_flag\n properties:\n continent_code:\n type: string\n description: 2-letter code of the continent.\n continent_name:\n type: string\n description: Name of the continent.\n country_code2:\n type: string\n description: Country code (ISO 3166-1 alpha-2) of the country.\n country_code3:\n type: string\n description: Country code (ISO 3166-1 alpha-3) of the country.\n country_name:\n type: string\n description: Name of the country.\n country_name_official:\n type: string\n description: Official name (ISO 3166) of the country.\n country_capital:\n type: string\n description: Name of the country's capital.\n state_prov:\n type: string\n description: Name of the state/province/region.\n state_code:\n type: string\n description: Code of the state/province/region.\n district:\n type: string\n description: Name of the district or county.\n city:\n type: string\n description: Name of the city.\n locality:\n type: string\n description: A more specific area in city or it can be same as city.\n accuracy_radius:\n type: string\n description: Circular radius in Km, where the IP address location can be found.\n confidence:\n type: string\n description: Confidence level of the location match (e.g., low, medium, high).\n dma_code:\n type:\n - string\n - 'null'\n description: Designated Market Area (DMA) code used in the United States for media marketing.\n zipcode:\n type: string\n description: ZIP/Postal code of the place.\n latitude:\n type: string\n description: Latitude of the place.\n longitude:\n type: string\n description: Longitude of the place.\n is_eu:\n type: boolean\n description: Is the country belong to European Union?\n country_flag:\n type: string\n format: uri\n description: URL to get the country flag.\n geoname_id:\n type: string\n description: Geoname ID of the place from geonames.org.\n country_emoji:\n type: string\n description: Emoji of the Country flag.\n CountryMetadata:\n type: object\n description: Country-specific metadata.\n required:\n - calling_code\n - tld\n - languages\n properties:\n calling_code:\n type: string\n description: Calling code/Dialing code of the country.\n tld:\n type: string\n description: Top Level Domain Name (TLD) of the country, which is also called ccTLD.\n languages:\n type: array\n items:\n type: string\n description: List of the languages' codes, spoken in the country.\n Network:\n type: object\n description: Network information for the IP.\n properties:\n connection_type:\n type: string\n description: Network access type classification (e.g., DSL, Cable, Mobile, 5G) when available.\n route:\n type: string\n description: Network prefix in CIDR notation that contains the IP.\n is_anycast:\n type: boolean\n description: true if the IP is anycast (same IP announced from multiple locations).\n Asn:\n type: object\n description: Autonomous System details for the IP.\n properties:\n as_number:\n type: string\n description: ASN identifier in AS<number> format associated with the IP's network.\n organization:\n type: string\n description: ASN operator name.\n country:\n type: string\n description: ASN registration country as ISO 3166-1 alpha-2.\n type:\n type: string\n description: ASN category (ISP, HOSTING, BUSINESS, etc.).\n domain:\n type: string\n description: ASN operator domain name.\n date_allocated:\n type: string\n description: ASN allocation date in YYYY-MM-DD format.\n rir:\n type: string\n description: Regional Internet Registry that allocated the ASN.\n Company:\n type: object\n description: Company or ISP information mapped to the IP address.\n properties:\n name:\n type: string\n description: Company name mapped to the IP.\n type:\n type: string\n description: Company category (ISP, HOSTING, BUSINESS, etc.).\n domain:\n type: string\n description: Company domain name.\n Currency:\n type: object\n description: Currency information for the IP's country.\n properties:\n code:\n type: string\n description: Currency code (ISO 4217).\n name:\n type: string\n description: Currency name (ISO 4217).\n symbol:\n type: string\n description: Currency symbol.\n Security:\n type: object\n description: Threat intelligence and security information for the IP.\n required:\n - threat_score\n - is_tor\n - is_proxy\n - proxy_confidence_score\n - is_residential_proxy\n - is_vpn\n - vpn_confidence_score\n - is_relay\n - is_anonymous\n - is_known_attacker\n - is_bot\n - is_spam\n - is_cloud_provider\n properties:\n threat_score:\n type: number\n description: Aggregate risk score from 0 to 100.\n is_tor:\n type: boolean\n description: true if the IP matches a Tor exit node.\n is_proxy:\n type: boolean\n description: true if the IP is associated with a proxy service.\n proxy_provider_names:\n type: array\n items:\n type: string\n description: Detected proxy provider names.\n proxy_confidence_score:\n type: number\n description: Proxy detection confidence from 0 to 100.\n proxy_last_seen:\n type: string\n description: Last observed proxy activity date in YYYY-MM-DD.\n is_residential_proxy:\n type: boolean\n description: true if the IP is linked to a residential proxy network.\n is_vpn:\n type: boolean\n description: true if the IP is associated with a VPN service.\n vpn_provider_names:\n type: array\n items:\n type: string\n description: Detected VPN provider names.\n vpn_confidence_score:\n type: number\n description: VPN detection confidence from 0 to 100.\n vpn_last_seen:\n type: string\n description: Last observed VPN activity date in YYYY-MM-DD.\n is_relay:\n type: boolean\n description: true if the IP is associated with a relay network.\n relay_provider_name:\n type: string\n description: Relay provider name.\n is_anonymous:\n type: boolean\n description: true if any anonymity signal is present.\n is_known_attacker:\n type: boolean\n description: true if the IP is flagged for known attacker behavior.\n is_bot:\n type: boolean\n description: true if the IP is associated with bot activity.\n is_spam:\n type: boolean\n description: true if the IP is associated with spam activity.\n is_cloud_provider:\n type: boolean\n description: true if the IP belongs to a cloud provider range.\n cloud_provider_name:\n type: string\n description: Cloud provider name.\n Abuse:\n type: object\n description: Abuse contact information for the IP.\n properties:\n route:\n type: string\n description: Abuse-handling IP range in CIDR notation.\n country:\n type: string\n description: ISO 3166-1 alpha-2 country code of the abuse contact.\n name:\n type: string\n description: Display name for the abuse contact.\n organization:\n type: string\n description: Organization name for the abuse contact.\n kind:\n type: string\n description: 'Contact type: group or individual.'\n address:\n type: string\n description: Registered address of the organization owning the IP.\n emails:\n type: array\n items:\n type: string\n description: Abuse contact email addresses.\n phone_numbers:\n type: array\n items:\n type: string\n description: Abuse contact phone numbers.\n DstTransition:\n type: object\n description: DST transition details (used for both the DST start and DST end transitions).\n properties:\n utc_time:\n type: string\n description: DST transition moment in UTC.\n duration:\n type: string\n description: Clock change at the DST transition, in hours.\n gap:\n type: boolean\n description: true if local time jumps forward (some times do not exist).\n date_time_after:\n type: string\n description: Local date/time immediately after the DST transition.\n date_time_before:\n type: string\n description: Local date/time immediately before the DST transition.\n overlap:\n type: boolean\n description: true if local times repeat around the DST transition.\n TimeZone:\n type: object\n description: Time zone information for the IP's location.\n required:\n - name\n - offset\n - offset_with_dst\n - current_time\n - current_time_unix\n - is_dst\n - dst_savings\n - dst_exists\n properties:\n name:\n type: string\n description: Time zone in IANA TZDB format.\n offset:\n type: number\n format: float\n description: Standard time UTC offset in hours.\n offset_with_dst:\n type: number\n format: float\n description: Current effective UTC offset in hours, including DST.\n current_time:\n type: string\n description: Local date/time in YYYY-MM-DD HH:mm:ss.SSS\xB1ZZZZ format.\n current_time_unix:\n type: number\n format: float\n description: Local time as Unix epoch seconds.\n current_tz_abbreviation:\n type: string\n description: Current time zone abbreviation.\n current_tz_full_name:\n type: string\n description: Current time zone full name.\n standard_tz_abbreviation:\n type: string\n description: Standard (non-DST) abbreviation.\n standard_tz_full_name:\n type: string\n description: Standard (non-DST) full name.\n is_dst:\n type: boolean\n description: true if DST is active.\n dst_savings:\n type: number\n format: float\n description: DST shift amount in hours.\n dst_exists:\n type: boolean\n description: true if the time zone observes DST.\n dst_tz_abbreviation:\n type: string\n description: DST abbreviation when DST is active.\n dst_tz_full_name:\n type: string\n description: DST full name when DST is active.\n dst_start:\n $ref: '#/components/schemas/DstTransition'\n dst_end:\n $ref: '#/components/schemas/DstTransition'\n Device:\n type: object\n description: Device details.\n properties:\n name:\n type: string\n description: Detected device label.\n type:\n type: string\n description: Device category (Desktop, Mobile, Tablet, Bot).\n brand:\n type: string\n description: Device vendor/brand.\n cpu:\n type: string\n description: CPU / architecture string.\n Engine:\n type: object\n description: Rendering engine details.\n properties:\n name:\n type: string\n description: Rendering engine name.\n type:\n type: string\n description: Engine category.\n version:\n type: string\n description: Full engine version string.\n version_major:\n type: string\n description: Major engine version.\n OperatingSystem:\n type: object\n description: Operating system details.\n properties:\n name:\n type: string\n description: Operating system name.\n type:\n type: string\n description: OS category (Desktop, Mobile, Server).\n version:\n type: string\n description: OS version string.\n version_major:\n type: string\n description: Major OS version.\n build:\n type: string\n description: OS build identifier.\n UserAgent:\n type: object\n description: Parsed User-Agent details from the request.\n properties:\n user_agent_string:\n type: string\n description: Raw User-Agent string used for parsing.\n name:\n type: string\n description: Detected user agent product name.\n type:\n type: string\n description: User agent category (e.g., Browser, Mobile App, Bot).\n version:\n type: string\n description: Full product version string.\n version_major:\n type: string\n description: Major version extracted from version.\n device:\n $ref: '#/components/schemas/Device'\n engine:\n $ref: '#/components/schemas/Engine'\n operating_system:\n $ref: '#/components/schemas/OperatingSystem'\n headers:\n X-AF-Credits-Cost:\n description: Specifies the number of credits consumed by the current request.\n schema:\n type: integer\nsecurity:\n - ApiKeyAuthHeader: []\n - ApiKeyAuthQuery: []\n",
|
|
56796
|
-
"bulk-ip-threat-intelligence": "openapi: 3.1.1\ninfo:\n title: Bulk IP Threat Intelligence API Reference\n version: 1.0.0\n description: Retrieve threat intelligence and security profiles for up to 50,000 IP addresses in a single request. Each entry in the response array includes a composite 0-100 threat score plus per-signal flags for VPN, proxy, residential proxy, Tor exit node, bot, spam, and known-attacker activity, along with confidence scores and provider names where available. Use the `fields` and `excludes` query parameters to control which security signals are returned, reducing payload size for bulk workflows. A bad or bogon IP in the batch returns a per-item error object instead of failing the entire request, so you can process mixed-validity inputs in one call.\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v1.0\n description: IP Threat Intelligence API Server\npaths:\n /ip/security:\n post:\n tags:\n - IP Geolocation APIs\n summary: Retrieve threat intelligence data for multiple IP addresses in a single request\n description: Get security profiles including threat score, VPN, proxy, Tor, bot, and spam detection for up to 50,000 IPs per request. Each item in the response array corresponds to one requested IP; invalid or bogon IPs return a per-item error object.\n operationId: bulkIpSecurityLookup\n parameters:\n - name: format\n in: query\n required: false\n description: Format of the response.\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n - name: fields\n in: query\n required: false\n description: Comma-separated list of fields to return. Supports dot notation (e.g. security.threat_score).\n schema:\n type: string\n - name: excludes\n in: query\n required: false\n description: Comma-separated list of fields to remove from the response. Supports dot notation (e.g. security.is_tor).\n schema:\n type: string\n requestBody:\n required: true\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/BulkIpSecurityRequest'\n examples:\n typicalRequest:\n summary: Typical bulk threat intelligence request\n value:\n ips:\n - 8.8.8.8\n - 1.1.1.1\n - 45.33.32.156\n responses:\n '200':\n description: Successful threat intelligence response. The response array always contains one item for each input IP, preserving order; an IP that fails validation (invalid, bogon, reserved, or not found) yields an error item instead of a security result.\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/BulkIpSecurityResponse'\n examples:\n typicalSuccess:\n summary: Typical successful response\n value:\n - ip: 8.8.8.8\n security:\n threat_score: 5\n is_tor: false\n is_proxy: false\n proxy_provider_names: []\n proxy_confidence_score: 0\n proxy_last_seen: ''\n is_residential_proxy: false\n is_vpn: false\n vpn_provider_names: []\n vpn_confidence_score: 0\n vpn_last_seen: ''\n is_relay: false\n relay_provider_name: ''\n is_anonymous: false\n is_known_attacker: false\n is_bot: false\n is_spam: false\n is_cloud_provider: true\n cloud_provider_name: Google LLC\n - ip: 1.1.1.1\n security:\n threat_score: 5\n is_tor: false\n is_proxy: false\n proxy_provider_names: []\n proxy_confidence_score: 0\n proxy_last_seen: ''\n is_residential_proxy: false\n is_vpn: false\n vpn_provider_names: []\n vpn_confidence_score: 0\n vpn_last_seen: ''\n is_relay: false\n relay_provider_name: ''\n is_anonymous: false\n is_known_attacker: false\n is_bot: false\n is_spam: false\n is_cloud_provider: true\n cloud_provider_name: Cloudflare, Inc.\n partialFailure:\n summary: Response with an invalid IP mixed in - that item returns an error object instead of security data\n value:\n - message: Provided IP address 'not-an-ip' is not valid\n - ip: 8.8.8.8\n security:\n threat_score: 5\n is_tor: false\n is_proxy: false\n proxy_provider_names: []\n proxy_confidence_score: 0\n proxy_last_seen: ''\n is_residential_proxy: false\n is_vpn: false\n vpn_provider_names: []\n vpn_confidence_score: 0\n vpn_last_seen: ''\n is_relay: false\n relay_provider_name: ''\n is_anonymous: false\n is_known_attacker: false\n is_bot: false\n is_spam: false\n is_cloud_provider: true\n cloud_provider_name: Google LLC\n bogonIp:\n summary: Bogon or reserved IP - returns an error object for that item\n value:\n - message: '''127.0.0.1'' is a bogon IP address.'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request - Missing, empty, or malformed request body\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n invalidRequestBody:\n summary: Missing, empty, or malformed `ips` in the request body\n value:\n error: Invalid request body Exception\n message: Please provide data in required format in request body\n path: /v1.0/ip/security\n status: 400\n timestamp: '2026-07-22T14:03:26.577Z'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\ncomponents:\n securitySchemes:\n ApiKeyAuthHeader:\n type: apiKey\n in: header\n name: X-apiKey\n description: Pass your API key via the X-apiKey request header.\n ApiKeyAuthQuery:\n type: apiKey\n in: query\n name: apiKey\n description: Pass your API key via the apiKey query parameter.\n schemas:\n BulkIpSecurityRequest:\n type: object\n required:\n - ips\n description: Request body for bulk IP threat intelligence lookup.\n properties:\n ips:\n type: array\n description: List of 1\u201350,000 IPv4 and/or IPv6 addresses to look up for threat intelligence data.\n maxItems: 50000\n items:\n type: string\n ErrorResponse:\n type: object\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type.\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path that produced the error.\n status:\n type: integer\n description: HTTP status code returned with the error.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n BulkIpSecurityItemError:\n type: object\n description: Per-item error, returned in place of a security result when an individual IP is invalid, bogon/reserved, or not found in the database.\n required:\n - message\n properties:\n message:\n type: string\n description: Human-readable reason this IP could not be resolved.\n BulkIpSecurityResultItem:\n type: object\n description: Threat intelligence result for one successfully resolved IP address.\n required:\n - ip\n - security\n properties:\n ip:\n type: string\n description: The IP address used for the lookup (IPv4 or IPv6).\n security:\n $ref: '#/components/schemas/Security'\n BulkIpSecurityResponse:\n type: array\n description: Array of per-IP results, one entry per requested IP, in the same order as the request. Each entry is either a security result or, if that IP could not be resolved, an error object.\n items:\n oneOf:\n - $ref: '#/components/schemas/BulkIpSecurityResultItem'\n - $ref: '#/components/schemas/BulkIpSecurityItemError'\n Security:\n type: object\n description: Threat intelligence and security information for the IP.\n required:\n - threat_score\n - is_tor\n - is_proxy\n - proxy_confidence_score\n - is_residential_proxy\n - is_vpn\n - vpn_confidence_score\n - is_relay\n - is_anonymous\n - is_known_attacker\n - is_bot\n - is_spam\n - is_cloud_provider\n properties:\n threat_score:\n type: number\n description: Overall threat score for the IP address. Ranges from 0 to 100. 100 indicates the highest risk.\n is_tor:\n type: boolean\n description: Indicates whether the IP is a Tor exit node.\n is_proxy:\n type: boolean\n description: Indicates whether the IP is associated with a proxy network.\n proxy_provider_names:\n type: array\n description: List of detected proxy provider names, when available.\n items:\n type: string\n proxy_confidence_score:\n type: number\n description: Confidence score (0-100) for proxy detection, when flag is true. Defaults to 0.\n proxy_last_seen:\n type: string\n description: Last seen date (YYYY-MM-DD) for proxy activity, when available.\n is_residential_proxy:\n type: boolean\n description: Indicates whether the IP is associated with a residential proxy network.\n is_vpn:\n type: boolean\n description: Indicates whether the IP is associated with a VPN network.\n vpn_provider_names:\n type: array\n description: List of detected VPN provider names, when available.\n items:\n type: string\n vpn_confidence_score:\n type: number\n description: Confidence score (0-100) for VPN detection, when flag is true. Defaults to 0.\n vpn_last_seen:\n type: string\n description: Last seen date (YYYY-MM-DD) for VPN activity, when available.\n is_relay:\n type: boolean\n description: Indicates whether the IP is associated with a relay network.\n relay_provider_name:\n type: string\n description: Relay provider name, when available.\n is_anonymous:\n type: boolean\n description: Indicates whether the IP is anonymous. True if VPN, proxy, Tor, or relay is detected.\n is_known_attacker:\n type: boolean\n description: Indicates whether the IP is flagged for known attacker behavior.\n is_bot:\n type: boolean\n description: Indicates whether the IP is associated with bot activity.\n is_spam:\n type: boolean\n description: Indicates whether the IP is associated with spam activity.\n is_cloud_provider:\n type: boolean\n description: Indicates whether the IP belongs to a cloud provider.\n cloud_provider_name:\n type: string\n description: Name of the cloud provider, if the IP address belongs to a cloud provider.\n headers:\n X-AF-Credits-Cost:\n description: Specifies the number of credits consumed by the current request.\n schema:\n type: integer\nsecurity:\n - ApiKeyAuthHeader: []\n - ApiKeyAuthQuery: []\n",
|
|
56797
|
-
"ip-locator": "openapi: 3.1.1\ninfo:\n title: IP Geolocation API - City, Country, Coordinates & ISP Data\n version: 1.0.0\n description: Retrieve real-time geolocation and network intelligence for a single IPv4 or IPv6 address or hostname. Returns location (continent, country, region, city, coordinates, timezone), network (ASN, ISP/company, route), and currency data by default. Pass `include=security,hostname,liveHostname,hostnameFallbackLive,user_agent,abuse,dma_code,geo_accuracy` (or `include=*`) to add threat-intelligence scoring, reverse DNS resolution, parsed User-Agent details, abuse contact info, DMA code, or geolocation accuracy metadata as additional response blocks. Reserved, bogon, or unrecognized IP addresses return a `423` or `404` error instead of partial location data.\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v2.0\n description: IP Locator API Server\npaths:\n /geolocation/lookup:\n get:\n tags:\n - IP Geolocation APIs\n summary: Retrieve real-time and accurate IP geolocation and threat intelligence information for an IPv4 or IPv6 address\n description: Get detailed IP geolocation data for an IP address including country, city, timezone, currency, and optional threat intelligence and user-agent information.\n operationId: ipLookup\n parameters:\n - name: format\n in: query\n required: false\n description: Format of the response.\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n - name: ip\n in: query\n required: false\n description: IPv4, IPv6, or hostname for geolocation lookup.\n schema:\n type: string\n - name: lang\n in: query\n required: false\n description: 'Response language for location fields. Default: en.'\n schema:\n type: string\n enum:\n - en\n - de\n - ru\n - ja\n - fr\n - cn\n - es\n - cs\n - it\n - ko\n - fa\n - pt\n default: en\n - name: fields\n in: query\n required: false\n description: Comma-separated list of fields to include in response. For example, `location` includes all location fields, `location.city` is a specific field.\n schema:\n type: string\n - name: excludes\n in: query\n required: false\n description: Comma-separated list of fields to exclude from response.\n schema:\n type: string\n - name: include\n in: query\n required: false\n description: 'Comma-separated list of additional data modules to include. Possible values: security (threat intelligence), hostname (IP-Hostname lookup), liveHostname (live hostname lookup), hostnameFallbackLive (hostname with live fallback), user_agent (parse User-Agent header), abuse (abuse contact info), dma_code (DMA code), geo_accuracy (accuracy_radius, confidence, locality), * (all modules).'\n schema:\n type: string\n responses:\n '200':\n description: Successful geolocation response\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/IpLookupResponse'\n examples:\n typicalSuccess:\n summary: Typical successful response\n value:\n ip: 8.8.8.8\n location:\n continent_code: NA\n continent_name: North America\n country_code2: US\n country_code3: USA\n country_name: United States\n country_name_official: United States of America\n country_capital: Washington, D.C.\n state_prov: California\n state_code: US-CA\n district: Santa Clara\n city: Mountain View\n zipcode: 94043-1351\n latitude: '37.42240'\n longitude: '-122.08421'\n is_eu: false\n country_flag: https://ipgeolocation.io/static/flags/us_64.png\n geoname_id: '6301403'\n country_emoji: \u{1F1FA}\u{1F1F8}\n country_metadata:\n calling_code: '+1'\n tld: .us\n languages:\n - en-US\n - es-US\n - haw\n - fr\n network:\n connection_type: ''\n route: 8.8.8.0/24\n is_anycast: true\n currency:\n code: USD\n name: US Dollar\n symbol: $\n asn:\n as_number: AS15169\n organization: Google LLC\n country: US\n type: BUSINESS\n domain: google.com\n date_allocated: '2000-03-30'\n rir: ARIN\n company:\n name: Google LLC\n type: HOSTING\n domain: google.com\n time_zone:\n name: America/Los_Angeles\n offset: -8\n offset_with_dst: -7\n current_time: 2026-07-08 03:03:31.835-0700\n current_time_unix: 1783505011.835\n current_tz_abbreviation: PDT\n current_tz_full_name: Pacific Daylight Time\n standard_tz_abbreviation: PST\n standard_tz_full_name: Pacific Standard Time\n is_dst: true\n dst_savings: 1\n dst_exists: true\n dst_tz_abbreviation: PDT\n dst_tz_full_name: Pacific Daylight Time\n dst_start:\n utc_time: 2026-03-08 TIME 10:00\n duration: +1.00H\n gap: true\n date_time_after: 2026-03-08 TIME 03:00\n date_time_before: 2026-03-08 TIME 02:00\n overlap: false\n dst_end:\n utc_time: 2026-11-01 TIME 09:00\n duration: -1.00H\n gap: false\n date_time_after: 2026-11-01 TIME 01:00\n date_time_before: 2026-11-01 TIME 02:00\n overlap: true\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Invalid or missing parameters\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n badRequest:\n summary: Missing or invalid parameters\n value:\n message: The request was unacceptable. Typically due to missing or invalid parameters.\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '404':\n description: Not Found \u2014 IP address not in database\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n notFound:\n summary: IP address not in database\n value:\n message: Provided IP address '255.255.255.255' doesn't exist in our database.\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '423':\n description: Locked \u2014 Bogon or reserved IP address\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n locked:\n summary: Bogon or reserved IP address\n value:\n message: '''127.0.0.1'' is a bogon (Internet Assigned Numbers Authority) IP address.'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\ncomponents:\n securitySchemes:\n ApiKeyAuthHeader:\n type: apiKey\n in: header\n name: X-apiKey\n description: Pass your API key via the X-apiKey request header.\n ApiKeyAuthQuery:\n type: apiKey\n in: query\n name: apiKey\n description: Pass your API key via the apiKey query parameter.\n schemas:\n IpLookupResponse:\n type: object\n required:\n - ip\n properties:\n ip:\n type: string\n description: The IP address used for the lookup (IPv4 or IPv6).\n domain:\n type: string\n description: The input domain, returned only for domain-based lookups.\n hostname:\n type: string\n description: Reverse DNS hostname (PTR) for the input IP; returns the input IP if not resolvable.\n location:\n $ref: '#/components/schemas/Location'\n country_metadata:\n $ref: '#/components/schemas/CountryMetadata'\n network:\n $ref: '#/components/schemas/Network'\n asn:\n $ref: '#/components/schemas/Asn'\n company:\n $ref: '#/components/schemas/Company'\n currency:\n $ref: '#/components/schemas/Currency'\n security:\n $ref: '#/components/schemas/Security'\n abuse:\n $ref: '#/components/schemas/Abuse'\n time_zone:\n $ref: '#/components/schemas/TimeZone'\n user_agent:\n $ref: '#/components/schemas/UserAgent'\n Location:\n type: object\n description: Geographic location information for the IP.\n required:\n - continent_code\n - continent_name\n - country_code2\n - country_code3\n - country_name\n - country_name_official\n - country_capital\n - latitude\n - longitude\n - is_eu\n - country_flag\n properties:\n continent_code:\n type: string\n description: 2-letter code of the continent.\n continent_name:\n type: string\n description: Name of the continent.\n country_code2:\n type: string\n description: Country code (ISO 3166-1 alpha-2) of the country.\n country_code3:\n type: string\n description: Country code (ISO 3166-1 alpha-3) of the country.\n country_name:\n type: string\n description: Name of the country.\n country_name_official:\n type: string\n description: Official name (ISO 3166) of the country.\n country_capital:\n type: string\n description: Name of the country's capital.\n state_prov:\n type: string\n description: Name of the state/province/region.\n state_code:\n type: string\n description: Code of the state/province/region.\n district:\n type: string\n description: Name of the district or county.\n city:\n type: string\n description: Name of the city.\n locality:\n type: string\n description: A more specific area in city or it can be same as city.\n accuracy_radius:\n type: string\n description: Circular radius in Km, where the IP address location can be found.\n confidence:\n type: string\n description: Confidence level of the location match (e.g., low, medium, high).\n dma_code:\n type:\n - string\n - 'null'\n description: Designated Market Area (DMA) code used in the United States for media marketing.\n zipcode:\n type: string\n description: ZIP/Postal code of the place.\n latitude:\n type: string\n description: Latitude of the place.\n longitude:\n type: string\n description: Longitude of the place.\n is_eu:\n type: boolean\n description: Is the country belong to European Union?\n country_flag:\n type: string\n format: uri\n description: URL to get the country flag.\n geoname_id:\n type: string\n description: Geoname ID of the place from geonames.org.\n country_emoji:\n type: string\n description: Emoji of the Country flag.\n CountryMetadata:\n type: object\n description: Country-specific metadata.\n required:\n - calling_code\n - tld\n - languages\n properties:\n calling_code:\n type: string\n description: Calling code/Dialing code of the country.\n tld:\n type: string\n description: Top Level Domain Name (TLD) of the country, which is also called ccTLD.\n languages:\n type: array\n items:\n type: string\n description: List of the languages' codes, spoken in the country.\n Network:\n type: object\n description: Network information for the IP.\n properties:\n connection_type:\n type: string\n description: Network access type classification (e.g., DSL, Cable, Mobile, 5G) when available.\n route:\n type: string\n description: Network prefix in CIDR notation that contains the IP.\n is_anycast:\n type: boolean\n description: true if the IP is anycast (same IP announced from multiple locations).\n Asn:\n type: object\n description: Autonomous System details for the IP.\n properties:\n as_number:\n type: string\n description: ASN identifier in AS<number> format associated with the IP's network.\n organization:\n type: string\n description: ASN operator name.\n country:\n type: string\n description: ASN registration country as ISO 3166-1 alpha-2.\n type:\n type: string\n description: ASN category (ISP, HOSTING, BUSINESS, etc.).\n domain:\n type: string\n description: ASN operator domain name.\n date_allocated:\n type: string\n description: ASN allocation date in YYYY-MM-DD format.\n rir:\n type: string\n description: Regional Internet Registry that allocated the ASN.\n Company:\n type: object\n description: Company or ISP information mapped to the IP address.\n properties:\n name:\n type: string\n description: Company name mapped to the IP.\n type:\n type: string\n description: Company category (ISP, HOSTING, BUSINESS, etc.).\n domain:\n type: string\n description: Company domain name.\n Currency:\n type: object\n description: Currency information for the IP's country.\n properties:\n code:\n type: string\n description: Currency code (ISO 4217).\n name:\n type: string\n description: Currency name (ISO 4217).\n symbol:\n type: string\n description: Currency symbol.\n Security:\n type: object\n description: Threat intelligence and security information for the IP.\n required:\n - threat_score\n - is_tor\n - is_proxy\n - proxy_confidence_score\n - is_residential_proxy\n - is_vpn\n - vpn_confidence_score\n - is_relay\n - is_anonymous\n - is_known_attacker\n - is_bot\n - is_spam\n - is_cloud_provider\n properties:\n threat_score:\n type: number\n description: Aggregate risk score from 0 to 100.\n is_tor:\n type: boolean\n description: true if the IP matches a Tor exit node.\n is_proxy:\n type: boolean\n description: true if the IP is associated with a proxy service.\n proxy_provider_names:\n type: array\n items:\n type: string\n description: Detected proxy provider names.\n proxy_confidence_score:\n type: number\n description: Proxy detection confidence from 0 to 100.\n proxy_last_seen:\n type: string\n description: Last observed proxy activity date in YYYY-MM-DD.\n is_residential_proxy:\n type: boolean\n description: true if the IP is linked to a residential proxy network.\n is_vpn:\n type: boolean\n description: true if the IP is associated with a VPN service.\n vpn_provider_names:\n type: array\n items:\n type: string\n description: Detected VPN provider names.\n vpn_confidence_score:\n type: number\n description: VPN detection confidence from 0 to 100.\n vpn_last_seen:\n type: string\n description: Last observed VPN activity date in YYYY-MM-DD.\n is_relay:\n type: boolean\n description: true if the IP is associated with a relay network.\n relay_provider_name:\n type: string\n description: Relay provider name.\n is_anonymous:\n type: boolean\n description: true if any anonymity signal is present.\n is_known_attacker:\n type: boolean\n description: true if the IP is flagged for known attacker behavior.\n is_bot:\n type: boolean\n description: true if the IP is associated with bot activity.\n is_spam:\n type: boolean\n description: true if the IP is associated with spam activity.\n is_cloud_provider:\n type: boolean\n description: true if the IP belongs to a cloud provider range.\n cloud_provider_name:\n type: string\n description: Cloud provider name.\n Abuse:\n type: object\n description: Abuse contact information for the IP.\n properties:\n route:\n type: string\n description: Abuse-handling IP range in CIDR notation.\n country:\n type: string\n description: ISO 3166-1 alpha-2 country code of the abuse contact.\n name:\n type: string\n description: Display name for the abuse contact.\n organization:\n type: string\n description: Organization name for the abuse contact.\n kind:\n type: string\n description: 'Contact type: group or individual.'\n address:\n type: string\n description: Registered address of the organization owning the IP.\n emails:\n type: array\n items:\n type: string\n description: Abuse contact email addresses.\n phone_numbers:\n type: array\n items:\n type: string\n description: Abuse contact phone numbers.\n DstTransition:\n type: object\n description: DST transition details (used for both the DST start and DST end transitions).\n properties:\n utc_time:\n type: string\n description: DST transition moment in UTC.\n duration:\n type: string\n description: Clock change at the DST transition, in hours.\n gap:\n type: boolean\n description: true if local time jumps forward (some times do not exist).\n date_time_after:\n type: string\n description: Local date/time immediately after the DST transition.\n date_time_before:\n type: string\n description: Local date/time immediately before the DST transition.\n overlap:\n type: boolean\n description: true if local times repeat around the DST transition.\n TimeZone:\n type: object\n description: Time zone information for the IP's location.\n required:\n - name\n - offset\n - offset_with_dst\n - current_time\n - current_time_unix\n - is_dst\n - dst_savings\n - dst_exists\n properties:\n name:\n type: string\n description: Time zone in IANA TZDB format.\n offset:\n type: number\n format: float\n description: Standard time UTC offset in hours.\n offset_with_dst:\n type: number\n format: float\n description: Current effective UTC offset in hours, including DST.\n current_time:\n type: string\n description: Local date/time in YYYY-MM-DD HH:mm:ss.SSS\xB1ZZZZ format.\n current_time_unix:\n type: number\n format: float\n description: Local time as Unix epoch seconds.\n current_tz_abbreviation:\n type: string\n description: Current time zone abbreviation.\n current_tz_full_name:\n type: string\n description: Current time zone full name.\n standard_tz_abbreviation:\n type: string\n description: Standard (non-DST) abbreviation.\n standard_tz_full_name:\n type: string\n description: Standard (non-DST) full name.\n is_dst:\n type: boolean\n description: true if DST is active.\n dst_savings:\n type: number\n format: float\n description: DST shift amount in hours.\n dst_exists:\n type: boolean\n description: true if the time zone observes DST.\n dst_tz_abbreviation:\n type: string\n description: DST abbreviation when DST is active.\n dst_tz_full_name:\n type: string\n description: DST full name when DST is active.\n dst_start:\n $ref: '#/components/schemas/DstTransition'\n dst_end:\n $ref: '#/components/schemas/DstTransition'\n Device:\n type: object\n description: Device details.\n properties:\n name:\n type: string\n description: Detected device label.\n type:\n type: string\n description: Device category (Desktop, Mobile, Tablet, Bot).\n brand:\n type: string\n description: Device vendor/brand.\n cpu:\n type: string\n description: CPU / architecture string.\n Engine:\n type: object\n description: Rendering engine details.\n properties:\n name:\n type: string\n description: Rendering engine name.\n type:\n type: string\n description: Engine category.\n version:\n type: string\n description: Full engine version string.\n version_major:\n type: string\n description: Major engine version.\n OperatingSystem:\n type: object\n description: Operating system details.\n properties:\n name:\n type: string\n description: Operating system name.\n type:\n type: string\n description: OS category (Desktop, Mobile, Server).\n version:\n type: string\n description: OS version string.\n version_major:\n type: string\n description: Major OS version.\n build:\n type: string\n description: OS build identifier.\n UserAgent:\n type: object\n description: Parsed User-Agent details from the request.\n properties:\n user_agent_string:\n type: string\n description: Raw User-Agent string used for parsing.\n name:\n type: string\n description: Detected user agent product name.\n type:\n type: string\n description: User agent category (e.g., Browser, Mobile App, Bot).\n version:\n type: string\n description: Full product version string.\n version_major:\n type: string\n description: Major version extracted from version.\n device:\n $ref: '#/components/schemas/Device'\n engine:\n $ref: '#/components/schemas/Engine'\n operating_system:\n $ref: '#/components/schemas/OperatingSystem'\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests.\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type.\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path that produced the error.\n status:\n type: integer\n description: HTTP status code returned with the error.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n headers:\n X-AF-Credits-Cost:\n description: Specifies the number of credits consumed by the current request.\n schema:\n type: integer\nsecurity:\n - ApiKeyAuthHeader: []\n - ApiKeyAuthQuery: []\n",
|
|
56798
|
-
"ip-threat-intelligence": "openapi: 3.1.1\ninfo:\n title: IP Threat Intelligence API - VPN, Proxy & Tor Detection with Threat Scoring\n version: 1.0.0\n 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.\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v1.0\n description: IP Threat Intelligence API Server\npaths:\n /ip/security:\n get:\n tags:\n - IP Geolocation APIs\n summary: Retrieve real-time threat intelligence and security signals for an IPv4 or IPv6 address\n description: Get a threat score along with VPN, proxy, Tor, relay, bot, spam, known-attacker, and cloud-provider detection flags for an IP address.\n operationId: ipSecurityLookup\n parameters:\n - name: format\n in: query\n required: false\n description: Format of the response.\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n - name: ip\n in: query\n required: false\n description: IPv4 or IPv6 address to check for threat intelligence and security signals. If omitted, the public IP of the requesting client is used.\n schema:\n type: string\n - name: fields\n in: query\n required: false\n description: Comma-separated list of fields to return. Supports dot notation (e.g. `security.threat_score`).\n schema:\n type: string\n - name: excludes\n in: query\n required: false\n description: Comma-separated list of fields to remove from the response. Supports dot notation (e.g. `security.is_tor`). The `ip` field is always included and cannot be excluded.\n schema:\n type: string\n responses:\n '200':\n description: Successful threat intelligence response\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/IpSecurityResponse'\n examples:\n typicalSuccess:\n summary: Typical successful response\n value:\n ip: 8.8.8.8\n security:\n threat_score: 5\n is_tor: false\n is_proxy: false\n proxy_provider_names: []\n proxy_confidence_score: 0\n proxy_last_seen: ''\n is_residential_proxy: false\n is_vpn: false\n vpn_provider_names: []\n vpn_confidence_score: 0\n vpn_last_seen: ''\n is_relay: false\n relay_provider_name: ''\n is_anonymous: false\n is_known_attacker: false\n is_bot: false\n is_spam: false\n is_cloud_provider: true\n cloud_provider_name: Google LLC\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Invalid or missing IP address\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n invalidIp:\n summary: Malformed IP address\n value:\n message: Provided IP address 'invalid' is not valid\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '423':\n description: Locked \u2014 Bogon or reserved IP address\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n locked:\n summary: Bogon or reserved IP address\n value:\n message: '''10.0.0.1'' is a bogon IP address.'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\ncomponents:\n securitySchemes:\n ApiKeyAuthHeader:\n type: apiKey\n in: header\n name: X-apiKey\n description: Pass your API key via the X-apiKey request header.\n ApiKeyAuthQuery:\n type: apiKey\n in: query\n name: apiKey\n description: Pass your API key via the apiKey query parameter.\n schemas:\n ErrorResponse:\n type: object\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type.\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path that produced the error.\n status:\n type: integer\n description: HTTP status code returned with the error.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n IpSecurityResponse:\n type: object\n description: Threat intelligence result for an IP address.\n required:\n - ip\n properties:\n ip:\n type: string\n description: The IP address used for the lookup (IPv4 or IPv6).\n security:\n $ref: '#/components/schemas/Security'\n Security:\n type: object\n description: Threat intelligence and security information for the IP.\n required:\n - threat_score\n - is_tor\n - is_proxy\n - proxy_confidence_score\n - is_residential_proxy\n - is_vpn\n - vpn_confidence_score\n - is_relay\n - is_anonymous\n - is_known_attacker\n - is_bot\n - is_spam\n - is_cloud_provider\n properties:\n threat_score:\n type: number\n description: Aggregate risk score from 0 to 100.\n is_tor:\n type: boolean\n description: true if the IP matches a Tor exit node.\n is_proxy:\n type: boolean\n description: true if the IP is associated with a proxy service.\n proxy_provider_names:\n type: array\n items:\n type: string\n description: Detected proxy provider names.\n proxy_confidence_score:\n type: number\n description: Proxy detection confidence from 0 to 100.\n proxy_last_seen:\n type: string\n description: Last observed proxy activity date in YYYY-MM-DD.\n is_residential_proxy:\n type: boolean\n description: true if the IP is linked to a residential proxy network.\n is_vpn:\n type: boolean\n description: true if the IP is associated with a VPN service.\n vpn_provider_names:\n type: array\n items:\n type: string\n description: Detected VPN provider names.\n vpn_confidence_score:\n type: number\n description: VPN detection confidence from 0 to 100.\n vpn_last_seen:\n type: string\n description: Last observed VPN activity date in YYYY-MM-DD.\n is_relay:\n type: boolean\n description: true if the IP is associated with a relay network.\n relay_provider_name:\n type: string\n description: Relay provider name.\n is_anonymous:\n type: boolean\n description: true if any anonymity signal is present.\n is_known_attacker:\n type: boolean\n description: true if the IP is flagged for known attacker behavior.\n is_bot:\n type: boolean\n description: true if the IP is associated with bot activity.\n is_spam:\n type: boolean\n description: true if the IP is associated with spam activity.\n is_cloud_provider:\n type: boolean\n description: true if the IP belongs to a cloud provider range.\n cloud_provider_name:\n type: string\n description: Cloud provider name.\n headers:\n X-AF-Credits-Cost:\n description: Specifies the number of credits consumed by the current request.\n schema:\n type: integer\nsecurity:\n - ApiKeyAuthHeader: []\n - ApiKeyAuthQuery: []\n",
|
|
56991
|
+
"bulk-ip-lookup": "openapi: 3.1.1\ninfo:\n title: Bulk IP Geolocation Lookup API - Instantly Geolocate Thousands of IP Addresses\n version: 1.0.0\n description: Retrieve the same geolocation and network intelligence as the single-IP Geolocation API for up to 50,000 IP addresses or hostnames in one request. The response is an array in request order; each entry is either a full location result (location, network, ASN, company, currency, and time zone data) or, if that specific IP is invalid, bogon, reserved, or unresolvable, an error object --- a bad IP in the batch does not fail the whole request. The same optional `include=security,hostname,liveHostname,user_agent,abuse` modules from the single-IP API (or `include=*`) apply to every item in the batch.\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v2.0\n description: Bulk IP Lookup API Server\npaths:\n /geolocation/lookup:\n post:\n tags:\n - IP Geolocation APIs\n summary: Retrieve geolocation and threat intelligence data for multiple IP addresses in a single request\n description: Get detailed IP geolocation data for multiple IP addresses including country, city, timezone, currency, and optional threat intelligence information. Supports up to 50,000 IP addresses per request.\n operationId: bulkIpLookup\n parameters:\n - name: format\n in: query\n required: false\n description: Format of the response.\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n - name: lang\n in: query\n required: false\n description: 'Response language for location fields. Default: en.'\n schema:\n type: string\n enum:\n - en\n - de\n - ru\n - ja\n - fr\n - cn\n - es\n - cs\n - it\n - ko\n - fa\n - pt\n default: en\n - name: fields\n in: query\n required: false\n description: Comma-separated list of fields to include in the response. For example, `location` includes all location fields, `location.city` is a specific field.\n schema:\n type: string\n - name: excludes\n in: query\n required: false\n description: Comma-separated list of fields to exclude from response.\n schema:\n type: string\n - name: include\n in: query\n required: false\n description: 'Comma-separated list of additional data modules to include. Possible values: security (threat intelligence), hostname (IP-Hostname lookup), liveHostname (live hostname lookup), user_agent (parse User-Agent header), abuse (abuse contact info), * (all modules).'\n schema:\n type: string\n requestBody:\n required: true\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/BulkIpLookupRequest'\n examples:\n typicalRequest:\n summary: Typical bulk lookup request\n value:\n ips:\n - 8.8.8.8\n - 1.1.1.1\n responses:\n '200':\n description: Successful geolocation response. Each item corresponds to one requested IP, in the same order; an IP that fails validation (invalid, bogon, reserved, or not found) yields an error item instead of a location result.\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/BulkIpLookupResponse'\n examples:\n typicalSuccess:\n summary: Typical successful response\n value:\n - ip: 8.8.8.8\n location:\n continent_code: NA\n continent_name: North America\n country_code2: US\n country_code3: USA\n country_name: United States\n country_name_official: United States of America\n country_capital: Washington, D.C.\n state_prov: California\n state_code: US-CA\n district: Santa Clara\n city: Mountain View\n zipcode: 94043-1351\n latitude: '37.42240'\n longitude: '-122.08421'\n is_eu: false\n country_flag: https://ipgeolocation.io/static/flags/us_64.png\n geoname_id: '6301403'\n country_emoji: \u{1F1FA}\u{1F1F8}\n country_metadata:\n calling_code: '+1'\n tld: .us\n languages:\n - en-US\n - es-US\n - haw\n - fr\n network:\n connection_type: ''\n route: 8.8.8.0/24\n is_anycast: true\n is_cdn: false\n cdn_provider_name: ''\n currency:\n code: USD\n name: US Dollar\n symbol: $\n asn:\n as_number: AS15169\n organization: Google LLC\n country: US\n type: BUSINESS\n domain: google.com\n date_allocated: '2000-03-30'\n rir: ARIN\n company:\n name: Google LLC\n type: HOSTING\n domain: google.com\n time_zone:\n name: America/Los_Angeles\n offset: -8\n offset_with_dst: -7\n current_time: 2026-07-08 03:21:52.843-0700\n current_time_unix: 1783506112.843\n current_tz_abbreviation: PDT\n current_tz_full_name: Pacific Daylight Time\n standard_tz_abbreviation: PST\n standard_tz_full_name: Pacific Standard Time\n is_dst: true\n dst_savings: 1\n dst_exists: true\n dst_tz_abbreviation: PDT\n dst_tz_full_name: Pacific Daylight Time\n dst_start:\n utc_time: 2026-03-08 TIME 10:00\n duration: +1.00H\n gap: true\n date_time_after: 2026-03-08 TIME 03:00\n date_time_before: 2026-03-08 TIME 02:00\n overlap: false\n dst_end:\n utc_time: 2026-11-01 TIME 09:00\n duration: -1.00H\n gap: false\n date_time_after: 2026-11-01 TIME 01:00\n date_time_before: 2026-11-01 TIME 02:00\n overlap: true\n - ip: 1.1.1.1\n location:\n continent_code: OC\n continent_name: Oceania\n country_code2: AU\n country_code3: AUS\n country_name: Australia\n country_name_official: Commonwealth of Australia\n country_capital: Canberra\n state_prov: Queensland\n state_code: AU-QLD\n district: Brisbane\n city: South Brisbane\n zipcode: '4101'\n latitude: '-27.47301'\n longitude: '153.01425'\n is_eu: false\n country_flag: https://ipgeolocation.io/static/flags/au_64.png\n geoname_id: '10113228'\n country_emoji: \u{1F1E6}\u{1F1FA}\n country_metadata:\n calling_code: '+61'\n tld: .au\n languages:\n - en-AU\n network:\n connection_type: ''\n route: 1.1.1.0/24\n is_anycast: true\n is_cdn: false\n cdn_provider_name: ''\n currency:\n code: AUD\n name: Australian Dollar\n symbol: A$\n asn:\n as_number: AS13335\n organization: Cloudflare, Inc.\n country: US\n type: BUSINESS\n domain: cloudflare.com\n date_allocated: '2010-07-14'\n rir: ARIN\n company:\n name: APNIC Research and Development\n type: ''\n domain: ''\n time_zone:\n name: Australia/Brisbane\n offset: 10\n offset_with_dst: 10\n current_time: 2026-07-08 20:21:52.843+1000\n current_time_unix: 1783506112.843\n current_tz_abbreviation: AEST\n current_tz_full_name: Australian Eastern Standard Time\n standard_tz_abbreviation: AEST\n standard_tz_full_name: Australian Eastern Standard Time\n is_dst: false\n dst_savings: 0\n dst_exists: false\n dst_tz_abbreviation: ''\n dst_tz_full_name: ''\n dst_start: {}\n dst_end: {}\n partialFailure:\n summary: Response with an invalid IP mixed in \u2014 that item returns an error object instead of location data\n value:\n - message: Provided name, service or IP address 'not-an-ip' is not valid.\n - ip: 8.8.8.8\n location:\n continent_code: NA\n continent_name: North America\n country_code2: US\n country_code3: USA\n country_name: United States\n country_name_official: United States of America\n country_capital: Washington, D.C.\n state_prov: California\n state_code: US-CA\n district: Santa Clara\n city: Mountain View\n zipcode: 94043-1351\n latitude: '37.42240'\n longitude: '-122.08421'\n is_eu: false\n country_flag: https://ipgeolocation.io/static/flags/us_64.png\n geoname_id: '6301403'\n country_emoji: \u{1F1FA}\u{1F1F8}\n country_metadata:\n calling_code: '+1'\n tld: .us\n languages:\n - en-US\n - es-US\n - haw\n - fr\n network:\n connection_type: ''\n route: 8.8.8.0/24\n is_anycast: true\n is_cdn: false\n cdn_provider_name: ''\n currency:\n code: USD\n name: US Dollar\n symbol: $\n asn:\n as_number: AS15169\n organization: Google LLC\n country: US\n type: BUSINESS\n domain: google.com\n date_allocated: '2000-03-30'\n rir: ARIN\n company:\n name: Google LLC\n type: HOSTING\n domain: google.com\n time_zone:\n name: America/Los_Angeles\n offset: -8\n offset_with_dst: -7\n current_time: 2026-07-22 06:08:52.526-0700\n current_time_unix: 1784725732.526\n current_tz_abbreviation: PDT\n current_tz_full_name: Pacific Daylight Time\n standard_tz_abbreviation: PST\n standard_tz_full_name: Pacific Standard Time\n is_dst: true\n dst_savings: 1\n dst_exists: true\n dst_tz_abbreviation: PDT\n dst_tz_full_name: Pacific Daylight Time\n dst_start:\n utc_time: 2026-03-08 TIME 10:00\n duration: +1.00H\n gap: true\n date_time_after: 2026-03-08 TIME 03:00\n date_time_before: 2026-03-08 TIME 02:00\n overlap: false\n dst_end:\n utc_time: 2026-11-01 TIME 09:00\n duration: -1.00H\n gap: false\n date_time_after: 2026-11-01 TIME 01:00\n date_time_before: 2026-11-01 TIME 02:00\n overlap: true\n bogonOrNotFound:\n summary: Bogon, reserved, or not-in-database IP \u2014 returns an error object for that item\n value:\n - message: '''127.0.0.1'' is a bogon IP address.'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Invalid or missing parameters\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n invalidRequestBody:\n summary: Missing, empty, or malformed `ips` in the request body\n value:\n error: Invalid request body Exception\n message: Please provide data in required format in request body\n path: /v2.0/geolocation/lookup\n status: 400\n timestamp: '2026-07-22T13:08:51.422Z'\n missingApiKey:\n summary: No API key provided\n value:\n error: Invalid Param Exception\n message: Please provide apiKey\n path: /v2.0/geolocation/lookup\n status: 400\n timestamp: '2026-07-22T13:09:02.595Z'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '413':\n description: Payload Too Large \u2014 Request body exceeds the maximum allowed size\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n payloadTooLarge:\n summary: Request body exceeds the maximum size limit\n value:\n error: Payload too large Exception\n message: Maximum request body size limit exceeded\n path: /v2.0/geolocation/lookup\n status: 413\n timestamp: '2026-07-22T13:09:13.142Z'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\ncomponents:\n securitySchemes:\n ApiKeyAuthHeader:\n type: apiKey\n in: header\n name: X-apiKey\n description: Pass your API key via the X-apiKey request header.\n ApiKeyAuthQuery:\n type: apiKey\n in: query\n name: apiKey\n description: Pass your API key via the apiKey query parameter.\n schemas:\n BulkIpLookupRequest:\n type: object\n required:\n - ips\n description: Request body for bulk IP geolocation lookup.\n properties:\n ips:\n type: array\n description: List of IP addresses or hostnames to lookup.\n maxItems: 50000\n items:\n type: string\n ErrorResponse:\n type: object\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type.\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path that produced the error.\n status:\n type: integer\n description: HTTP status code returned with the error.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n BulkIpLookupItemError:\n type: object\n description: Per-item error, returned in place of a location result when an individual IP is invalid, bogon/reserved, or not found in the database.\n required:\n - message\n properties:\n message:\n type: string\n description: Human-readable reason this IP could not be resolved.\n BulkIpLookupResultItem:\n type: object\n description: Geolocation and threat intelligence result for one successfully resolved IP address.\n required:\n - ip\n properties:\n ip:\n type: string\n description: The IP address used for the lookup (IPv4 or IPv6).\n domain:\n type: string\n description: The input domain, returned only for domain-based lookups.\n hostname:\n type: string\n description: Reverse DNS hostname (PTR) for the input IP; returns the input IP if not resolvable.\n location:\n $ref: '#/components/schemas/Location'\n country_metadata:\n $ref: '#/components/schemas/CountryMetadata'\n network:\n $ref: '#/components/schemas/Network'\n asn:\n $ref: '#/components/schemas/Asn'\n company:\n $ref: '#/components/schemas/Company'\n currency:\n $ref: '#/components/schemas/Currency'\n security:\n $ref: '#/components/schemas/Security'\n abuse:\n $ref: '#/components/schemas/Abuse'\n time_zone:\n $ref: '#/components/schemas/TimeZone'\n user_agent:\n $ref: '#/components/schemas/UserAgent'\n BulkIpLookupResponse:\n type: array\n description: Array of per-IP results, one entry per requested IP, in the same order as the request. Each entry is either a location result or, if that IP could not be resolved, an error object.\n items:\n oneOf:\n - $ref: '#/components/schemas/BulkIpLookupResultItem'\n - $ref: '#/components/schemas/BulkIpLookupItemError'\n Location:\n type: object\n description: Geographic location information for the IP.\n required:\n - continent_code\n - continent_name\n - country_code2\n - country_code3\n - country_name\n - country_name_official\n - country_capital\n - latitude\n - longitude\n - is_eu\n - country_flag\n properties:\n continent_code:\n type: string\n description: 2-letter code of the continent.\n continent_name:\n type: string\n description: Name of the continent.\n country_code2:\n type: string\n description: Country code (ISO 3166-1 alpha-2) of the country.\n country_code3:\n type: string\n description: Country code (ISO 3166-1 alpha-3) of the country.\n country_name:\n type: string\n description: Name of the country.\n country_name_official:\n type: string\n description: Official name (ISO 3166) of the country.\n country_capital:\n type: string\n description: Name of the country's capital.\n state_prov:\n type: string\n description: Name of the state/province/region.\n state_code:\n type: string\n description: Code of the state/province/region.\n district:\n type: string\n description: Name of the district or county.\n city:\n type: string\n description: Name of the city.\n locality:\n type: string\n description: A more specific area in city or it can be same as city.\n accuracy_radius:\n type: string\n description: Circular radius in Km, where the IP address location can be found.\n confidence:\n type: string\n description: Confidence level of the location match (e.g., low, medium, high).\n dma_code:\n type:\n - string\n - 'null'\n description: Designated Market Area (DMA) code used in the United States for media marketing.\n zipcode:\n type: string\n description: ZIP/Postal code of the place.\n latitude:\n type: string\n description: Latitude of the place.\n longitude:\n type: string\n description: Longitude of the place.\n is_eu:\n type: boolean\n description: Is the country belong to European Union?\n country_flag:\n type: string\n format: uri\n description: URL to get the country flag.\n geoname_id:\n type: string\n description: Geoname ID of the place from geonames.org.\n country_emoji:\n type: string\n description: Emoji of the Country flag.\n CountryMetadata:\n type: object\n description: Country-specific metadata.\n required:\n - calling_code\n - tld\n - languages\n properties:\n calling_code:\n type: string\n description: Calling code/Dialing code of the country.\n tld:\n type: string\n description: Top Level Domain Name (TLD) of the country, which is also called ccTLD.\n languages:\n type: array\n items:\n type: string\n description: List of the languages' codes, spoken in the country.\n Network:\n type: object\n description: Network information for the IP.\n properties:\n connection_type:\n type: string\n description: Network access type classification (e.g., DSL, Cable, Mobile, 5G) when available.\n route:\n type: string\n description: Network prefix in CIDR notation that contains the IP.\n is_anycast:\n type: boolean\n description: true if the IP is anycast (same IP announced from multiple locations).\n is_cdn:\n type: boolean\n description: true if the IP belongs to a content delivery network (CDN) or a cloud provider's network.\n cdn_provider_name:\n type: string\n description: CDN provider name (e.g. Cloudflare) when is_cdn is true; empty otherwise.\n Asn:\n type: object\n description: Autonomous System details for the IP.\n properties:\n as_number:\n type: string\n description: ASN identifier in AS<number> format associated with the IP's network.\n organization:\n type: string\n description: ASN operator name.\n country:\n type: string\n description: ASN registration country as ISO 3166-1 alpha-2.\n type:\n type: string\n description: ASN category (ISP, HOSTING, BUSINESS, etc.).\n domain:\n type: string\n description: ASN operator domain name.\n date_allocated:\n type: string\n description: ASN allocation date in YYYY-MM-DD format.\n rir:\n type: string\n description: Regional Internet Registry that allocated the ASN.\n Company:\n type: object\n description: Company or ISP information mapped to the IP address.\n properties:\n name:\n type: string\n description: Company name mapped to the IP.\n type:\n type: string\n description: Company category (ISP, HOSTING, BUSINESS, etc.).\n domain:\n type: string\n description: Company domain name.\n Currency:\n type: object\n description: Currency information for the IP's country.\n properties:\n code:\n type: string\n description: Currency code (ISO 4217).\n name:\n type: string\n description: Currency name (ISO 4217).\n symbol:\n type: string\n description: Currency symbol.\n Security:\n type: object\n description: Threat intelligence and security information for the IP.\n required:\n - threat_score\n - is_tor\n - is_proxy\n - proxy_confidence_score\n - is_residential_proxy\n - is_vpn\n - vpn_confidence_score\n - is_relay\n - is_anonymous\n - is_known_attacker\n - is_bot\n - bot_confidence_score\n - is_known_good_bot\n - is_spam\n - is_cloud_provider\n - is_corporate_gateway\n properties:\n threat_score:\n type: number\n description: Aggregate risk score from 0 to 100.\n is_tor:\n type: boolean\n description: true if the IP matches a Tor exit node.\n is_proxy:\n type: boolean\n description: true if the IP is associated with a proxy service.\n proxy_provider_names:\n type: array\n items:\n type: string\n description: Detected proxy provider names.\n proxy_confidence_score:\n type: number\n description: Proxy detection confidence from 0 to 100.\n proxy_last_seen:\n type: string\n description: Last observed proxy activity date in YYYY-MM-DD.\n is_residential_proxy:\n type: boolean\n description: true if the IP is linked to a residential proxy network.\n is_vpn:\n type: boolean\n description: true if the IP is associated with a VPN service.\n vpn_provider_names:\n type: array\n items:\n type: string\n description: Detected VPN provider names.\n vpn_confidence_score:\n type: number\n description: VPN detection confidence from 0 to 100.\n vpn_last_seen:\n type: string\n description: Last observed VPN activity date in YYYY-MM-DD.\n is_relay:\n type: boolean\n description: true if the IP is associated with a relay network.\n relay_provider_name:\n type: string\n description: Relay provider name.\n is_anonymous:\n type: boolean\n description: true if any anonymity signal is present.\n is_known_attacker:\n type: boolean\n description: true if the IP is flagged for known attacker behavior.\n is_bot:\n type: boolean\n description: true if the IP is associated with bot activity.\n bot_confidence_score:\n type: number\n description: Bot detection confidence from 0 to 100. 0 unless is_bot is true.\n bot_operator_name:\n type: string\n description: Organization running the bot, when known (mostly declared bots).\n bot_type:\n type: string\n 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.'\n is_known_good_bot:\n type: boolean\n description: true if the bot is a declared bot with a verifiable operator (e.g. a search engine crawler or uptime monitor).\n bot_last_seen:\n type: string\n description: Last observed bot activity date in YYYY-MM-DD, when available.\n is_spam:\n type: boolean\n description: true if the IP is associated with spam activity.\n is_cloud_provider:\n type: boolean\n description: true if the IP belongs to a cloud or hosting provider range.\n cloud_provider_name:\n type: string\n description: Cloud or hosting provider name.\n is_corporate_gateway:\n type: boolean\n description: true if the IP is an outbound address of a corporate security gateway (SWG, SSE, or SASE).\n corporate_gateway_type:\n type: string\n description: 'Kind of corporate gateway, when known. Known values: secure_web_gateway, browser_isolation.'\n corporate_gateway_provider_name:\n type: string\n description: Corporate gateway provider name, when known.\n Abuse:\n type: object\n description: Abuse contact information for the IP.\n properties:\n route:\n type: string\n description: Abuse-handling IP range in CIDR notation.\n country:\n type: string\n description: ISO 3166-1 alpha-2 country code of the abuse contact.\n name:\n type: string\n description: Display name for the abuse contact.\n organization:\n type: string\n description: Organization name for the abuse contact.\n kind:\n type: string\n description: 'Contact type: group or individual.'\n address:\n type: string\n description: Registered address of the organization owning the IP.\n emails:\n type: array\n items:\n type: string\n description: Abuse contact email addresses.\n phone_numbers:\n type: array\n items:\n type: string\n description: Abuse contact phone numbers.\n DstTransition:\n type: object\n description: DST transition details (used for both the DST start and DST end transitions).\n properties:\n utc_time:\n type: string\n description: DST transition moment in UTC.\n duration:\n type: string\n description: Clock change at the DST transition, in hours.\n gap:\n type: boolean\n description: true if local time jumps forward (some times do not exist).\n date_time_after:\n type: string\n description: Local date/time immediately after the DST transition.\n date_time_before:\n type: string\n description: Local date/time immediately before the DST transition.\n overlap:\n type: boolean\n description: true if local times repeat around the DST transition.\n TimeZone:\n type: object\n description: Time zone information for the IP's location.\n required:\n - name\n - offset\n - offset_with_dst\n - current_time\n - current_time_unix\n - is_dst\n - dst_savings\n - dst_exists\n properties:\n name:\n type: string\n description: Time zone in IANA TZDB format.\n offset:\n type: number\n format: float\n description: Standard time UTC offset in hours.\n offset_with_dst:\n type: number\n format: float\n description: Current effective UTC offset in hours, including DST.\n current_time:\n type: string\n description: Local date/time in YYYY-MM-DD HH:mm:ss.SSS\xB1ZZZZ format.\n current_time_unix:\n type: number\n format: float\n description: Local time as Unix epoch seconds.\n current_tz_abbreviation:\n type: string\n description: Current time zone abbreviation.\n current_tz_full_name:\n type: string\n description: Current time zone full name.\n standard_tz_abbreviation:\n type: string\n description: Standard (non-DST) abbreviation.\n standard_tz_full_name:\n type: string\n description: Standard (non-DST) full name.\n is_dst:\n type: boolean\n description: true if DST is active.\n dst_savings:\n type: number\n format: float\n description: DST shift amount in hours.\n dst_exists:\n type: boolean\n description: true if the time zone observes DST.\n dst_tz_abbreviation:\n type: string\n description: DST abbreviation when DST is active.\n dst_tz_full_name:\n type: string\n description: DST full name when DST is active.\n dst_start:\n $ref: '#/components/schemas/DstTransition'\n dst_end:\n $ref: '#/components/schemas/DstTransition'\n Device:\n type: object\n description: Device details.\n properties:\n name:\n type: string\n description: Detected device label.\n type:\n type: string\n description: Device category (Desktop, Mobile, Tablet, Bot).\n brand:\n type: string\n description: Device vendor/brand.\n cpu:\n type: string\n description: CPU / architecture string.\n Engine:\n type: object\n description: Rendering engine details.\n properties:\n name:\n type: string\n description: Rendering engine name.\n type:\n type: string\n description: Engine category.\n version:\n type: string\n description: Full engine version string.\n version_major:\n type: string\n description: Major engine version.\n OperatingSystem:\n type: object\n description: Operating system details.\n properties:\n name:\n type: string\n description: Operating system name.\n type:\n type: string\n description: OS category (Desktop, Mobile, Server).\n version:\n type: string\n description: OS version string.\n version_major:\n type: string\n description: Major OS version.\n build:\n type: string\n description: OS build identifier.\n UserAgent:\n type: object\n description: Parsed User-Agent details from the request.\n properties:\n user_agent_string:\n type: string\n description: Raw User-Agent string used for parsing.\n name:\n type: string\n description: Detected user agent product name.\n type:\n type: string\n description: User agent category (e.g., Browser, Mobile App, Bot).\n version:\n type: string\n description: Full product version string.\n version_major:\n type: string\n description: Major version extracted from version.\n device:\n $ref: '#/components/schemas/Device'\n engine:\n $ref: '#/components/schemas/Engine'\n operating_system:\n $ref: '#/components/schemas/OperatingSystem'\n headers:\n X-AF-Credits-Cost:\n description: Specifies the number of credits consumed by the current request.\n schema:\n type: integer\nsecurity:\n - ApiKeyAuthHeader: []\n - ApiKeyAuthQuery: []\n",
|
|
56992
|
+
"bulk-ip-threat-intelligence": "openapi: 3.1.1\ninfo:\n title: Bulk IP Threat Intelligence API Reference\n version: 1.0.0\n description: Retrieve threat intelligence and security profiles for up to 50,000 IP addresses in a single request. Each entry in the response array includes a composite 0-100 threat score plus per-signal flags for VPN, proxy, residential proxy, Tor exit node, bot, spam, known-attacker, and corporate-gateway activity, along with confidence scores and provider names where available. Use the `fields` and `excludes` query parameters to control which security signals are returned, reducing payload size for bulk workflows. A bad or bogon IP in the batch returns a per-item error object instead of failing the entire request, so you can process mixed-validity inputs in one call.\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v1.0\n description: IP Threat Intelligence API Server\npaths:\n /ip/security:\n post:\n tags:\n - IP Geolocation APIs\n summary: Retrieve threat intelligence data for multiple IP addresses in a single request\n description: Get security profiles including threat score, VPN, proxy, Tor, bot, and spam detection for up to 50,000 IPs per request. Each item in the response array corresponds to one requested IP; invalid or bogon IPs return a per-item error object.\n operationId: bulkIpSecurityLookup\n parameters:\n - name: format\n in: query\n required: false\n description: Format of the response.\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n - name: fields\n in: query\n required: false\n description: Comma-separated list of fields to return. Supports dot notation (e.g. security.threat_score).\n schema:\n type: string\n - name: excludes\n in: query\n required: false\n description: Comma-separated list of fields to remove from the response. Supports dot notation (e.g. security.is_tor).\n schema:\n type: string\n requestBody:\n required: true\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/BulkIpSecurityRequest'\n examples:\n typicalRequest:\n summary: Typical bulk threat intelligence request\n value:\n ips:\n - 8.8.8.8\n - 1.1.1.1\n - 45.33.32.156\n responses:\n '200':\n description: Successful threat intelligence response. The response array always contains one item for each input IP, preserving order; an IP that fails validation (invalid, bogon, reserved, or not found) yields an error item instead of a security result.\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/BulkIpSecurityResponse'\n examples:\n typicalSuccess:\n summary: Typical successful response\n value:\n - ip: 8.8.8.8\n security:\n threat_score: 5\n is_tor: false\n is_proxy: false\n proxy_provider_names: []\n proxy_confidence_score: 0\n proxy_last_seen: ''\n is_residential_proxy: false\n is_vpn: false\n vpn_provider_names: []\n vpn_confidence_score: 0\n vpn_last_seen: ''\n is_relay: false\n relay_provider_name: ''\n is_anonymous: false\n is_known_attacker: false\n is_bot: false\n bot_confidence_score: 0\n bot_operator_name: ''\n bot_type: ''\n is_known_good_bot: false\n bot_last_seen: ''\n is_spam: false\n is_cloud_provider: true\n cloud_provider_name: Google LLC\n is_corporate_gateway: false\n corporate_gateway_type: ''\n corporate_gateway_provider_name: ''\n - ip: 1.1.1.1\n security:\n threat_score: 5\n is_tor: false\n is_proxy: false\n proxy_provider_names: []\n proxy_confidence_score: 0\n proxy_last_seen: ''\n is_residential_proxy: false\n is_vpn: false\n vpn_provider_names: []\n vpn_confidence_score: 0\n vpn_last_seen: ''\n is_relay: false\n relay_provider_name: ''\n is_anonymous: false\n is_known_attacker: false\n is_bot: false\n bot_confidence_score: 0\n bot_operator_name: ''\n bot_type: ''\n is_known_good_bot: false\n bot_last_seen: ''\n is_spam: false\n is_cloud_provider: true\n cloud_provider_name: Cloudflare, Inc.\n is_corporate_gateway: false\n corporate_gateway_type: ''\n corporate_gateway_provider_name: ''\n partialFailure:\n summary: Response with an invalid IP mixed in - that item returns an error object instead of security data\n value:\n - message: Provided IP address 'not-an-ip' is not valid\n - ip: 8.8.8.8\n security:\n threat_score: 5\n is_tor: false\n is_proxy: false\n proxy_provider_names: []\n proxy_confidence_score: 0\n proxy_last_seen: ''\n is_residential_proxy: false\n is_vpn: false\n vpn_provider_names: []\n vpn_confidence_score: 0\n vpn_last_seen: ''\n is_relay: false\n relay_provider_name: ''\n is_anonymous: false\n is_known_attacker: false\n is_bot: false\n bot_confidence_score: 0\n bot_operator_name: ''\n bot_type: ''\n is_known_good_bot: false\n bot_last_seen: ''\n is_spam: false\n is_cloud_provider: true\n cloud_provider_name: Google LLC\n is_corporate_gateway: false\n corporate_gateway_type: ''\n corporate_gateway_provider_name: ''\n bogonIp:\n summary: Bogon or reserved IP - returns an error object for that item\n value:\n - message: '''127.0.0.1'' is a bogon IP address.'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request - Missing, empty, or malformed request body\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n invalidRequestBody:\n summary: Missing, empty, or malformed `ips` in the request body\n value:\n error: Invalid request body Exception\n message: Please provide data in required format in request body\n path: /v1.0/ip/security\n status: 400\n timestamp: '2026-07-22T14:03:26.577Z'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\ncomponents:\n securitySchemes:\n ApiKeyAuthHeader:\n type: apiKey\n in: header\n name: X-apiKey\n description: Pass your API key via the X-apiKey request header.\n ApiKeyAuthQuery:\n type: apiKey\n in: query\n name: apiKey\n description: Pass your API key via the apiKey query parameter.\n schemas:\n BulkIpSecurityRequest:\n type: object\n required:\n - ips\n description: Request body for bulk IP threat intelligence lookup.\n properties:\n ips:\n type: array\n description: List of 1\u201350,000 IPv4 and/or IPv6 addresses to look up for threat intelligence data.\n maxItems: 50000\n items:\n type: string\n ErrorResponse:\n type: object\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type.\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path that produced the error.\n status:\n type: integer\n description: HTTP status code returned with the error.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n BulkIpSecurityItemError:\n type: object\n description: Per-item error, returned in place of a security result when an individual IP is invalid, bogon/reserved, or not found in the database.\n required:\n - message\n properties:\n message:\n type: string\n description: Human-readable reason this IP could not be resolved.\n BulkIpSecurityResultItem:\n type: object\n description: Threat intelligence result for one successfully resolved IP address.\n required:\n - ip\n - security\n properties:\n ip:\n type: string\n description: The IP address used for the lookup (IPv4 or IPv6).\n security:\n $ref: '#/components/schemas/Security'\n BulkIpSecurityResponse:\n type: array\n description: Array of per-IP results, one entry per requested IP, in the same order as the request. Each entry is either a security result or, if that IP could not be resolved, an error object.\n items:\n oneOf:\n - $ref: '#/components/schemas/BulkIpSecurityResultItem'\n - $ref: '#/components/schemas/BulkIpSecurityItemError'\n Security:\n type: object\n description: Threat intelligence and security information for the IP.\n required:\n - threat_score\n - is_tor\n - is_proxy\n - proxy_confidence_score\n - is_residential_proxy\n - is_vpn\n - vpn_confidence_score\n - is_relay\n - is_anonymous\n - is_known_attacker\n - is_bot\n - bot_confidence_score\n - is_known_good_bot\n - is_spam\n - is_cloud_provider\n - is_corporate_gateway\n properties:\n threat_score:\n type: number\n description: Overall threat score for the IP address. Ranges from 0 to 100. 100 indicates the highest risk.\n is_tor:\n type: boolean\n description: Indicates whether the IP is a Tor exit node.\n is_proxy:\n type: boolean\n description: Indicates whether the IP is associated with a proxy network.\n proxy_provider_names:\n type: array\n description: List of detected proxy provider names, when available.\n items:\n type: string\n proxy_confidence_score:\n type: number\n description: Confidence score (0-100) for proxy detection, when flag is true. Defaults to 0.\n proxy_last_seen:\n type: string\n description: Last seen date (YYYY-MM-DD) for proxy activity, when available.\n is_residential_proxy:\n type: boolean\n description: Indicates whether the IP is associated with a residential proxy network.\n is_vpn:\n type: boolean\n description: Indicates whether the IP is associated with a VPN network.\n vpn_provider_names:\n type: array\n description: List of detected VPN provider names, when available.\n items:\n type: string\n vpn_confidence_score:\n type: number\n description: Confidence score (0-100) for VPN detection, when flag is true. Defaults to 0.\n vpn_last_seen:\n type: string\n description: Last seen date (YYYY-MM-DD) for VPN activity, when available.\n is_relay:\n type: boolean\n description: Indicates whether the IP is associated with a relay network.\n relay_provider_name:\n type: string\n description: Relay provider name, when available.\n is_anonymous:\n type: boolean\n description: Indicates whether the IP is anonymous. True if VPN, proxy, Tor, or relay is detected.\n is_known_attacker:\n type: boolean\n description: Indicates whether the IP is flagged for known attacker behavior.\n is_bot:\n type: boolean\n description: Indicates whether the IP is associated with bot activity.\n bot_confidence_score:\n type: number\n description: Confidence score (0-100) that the IP is used for bot activity. Set only when is_bot is true; otherwise 0.\n bot_operator_name:\n type: string\n description: Organization that runs the bot, when known. Usually present only for declared bots such as search engine crawlers.\n bot_type:\n type: string\n description: 'Kind of automated activity detected, 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.'\n is_known_good_bot:\n type: boolean\n description: Indicates whether the bot is a declared bot with a verifiable operator, such as a search engine crawler, uptime monitor, or security scanner.\n bot_last_seen:\n type: string\n description: Date (YYYY-MM-DD) the bot activity was last observed, when available.\n is_spam:\n type: boolean\n description: Indicates whether the IP is associated with spam activity.\n is_cloud_provider:\n type: boolean\n description: Indicates whether the IP belongs to a cloud or hosting provider.\n cloud_provider_name:\n type: string\n description: Name of the cloud or hosting provider, if the IP address belongs to one.\n is_corporate_gateway:\n type: boolean\n description: Indicates whether the IP is an outbound address of a corporate security gateway (SWG, SSE, or SASE), meaning traffic from a company network is routed through it.\n corporate_gateway_type:\n type: string\n description: 'Kind of corporate gateway, when known. Known values: secure_web_gateway, browser_isolation.'\n corporate_gateway_provider_name:\n type: string\n description: Name of the company that operates the gateway, such as Zscaler, when known.\n headers:\n X-AF-Credits-Cost:\n description: Specifies the number of credits consumed by the current request.\n schema:\n type: integer\nsecurity:\n - ApiKeyAuthHeader: []\n - ApiKeyAuthQuery: []\n",
|
|
56993
|
+
"ip-locator": "openapi: 3.1.1\ninfo:\n title: IP Geolocation API - City, Country, Coordinates & ISP Data\n version: 1.0.0\n description: Retrieve real-time geolocation and network intelligence for a single IPv4 or IPv6 address or hostname. Returns location (continent, country, region, city, coordinates, timezone), network (ASN, ISP/company, route), and currency data by default. Pass `include=security,hostname,liveHostname,hostnameFallbackLive,user_agent,abuse,dma_code,geo_accuracy` (or `include=*`) to add threat-intelligence scoring, reverse DNS resolution, parsed User-Agent details, abuse contact info, DMA code, or geolocation accuracy metadata as additional response blocks. Reserved, bogon, or unrecognized IP addresses return a `423` or `404` error instead of partial location data.\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v2.0\n description: IP Locator API Server\npaths:\n /geolocation/lookup:\n get:\n tags:\n - IP Geolocation APIs\n summary: Retrieve real-time and accurate IP geolocation and threat intelligence information for an IPv4 or IPv6 address\n description: Get detailed IP geolocation data for an IP address including country, city, timezone, currency, and optional threat intelligence and user-agent information.\n operationId: ipLookup\n parameters:\n - name: format\n in: query\n required: false\n description: Format of the response.\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n - name: ip\n in: query\n required: false\n description: IPv4, IPv6, or hostname for geolocation lookup.\n schema:\n type: string\n - name: lang\n in: query\n required: false\n description: 'Response language for location fields. Default: en.'\n schema:\n type: string\n enum:\n - en\n - de\n - ru\n - ja\n - fr\n - cn\n - es\n - cs\n - it\n - ko\n - fa\n - pt\n default: en\n - name: fields\n in: query\n required: false\n description: Comma-separated list of fields to include in response. For example, `location` includes all location fields, `location.city` is a specific field.\n schema:\n type: string\n - name: excludes\n in: query\n required: false\n description: Comma-separated list of fields to exclude from response.\n schema:\n type: string\n - name: include\n in: query\n required: false\n description: 'Comma-separated list of additional data modules to include. Possible values: security (threat intelligence), hostname (IP-Hostname lookup), liveHostname (live hostname lookup), hostnameFallbackLive (hostname with live fallback), user_agent (parse User-Agent header), abuse (abuse contact info), dma_code (DMA code), geo_accuracy (accuracy_radius, confidence, locality), * (all modules).'\n schema:\n type: string\n responses:\n '200':\n description: Successful geolocation response\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/IpLookupResponse'\n examples:\n typicalSuccess:\n summary: Typical successful response\n value:\n ip: 8.8.8.8\n location:\n continent_code: NA\n continent_name: North America\n country_code2: US\n country_code3: USA\n country_name: United States\n country_name_official: United States of America\n country_capital: Washington, D.C.\n state_prov: California\n state_code: US-CA\n district: Santa Clara\n city: Mountain View\n zipcode: 94043-1351\n latitude: '37.42240'\n longitude: '-122.08421'\n is_eu: false\n country_flag: https://ipgeolocation.io/static/flags/us_64.png\n geoname_id: '6301403'\n country_emoji: \u{1F1FA}\u{1F1F8}\n country_metadata:\n calling_code: '+1'\n tld: .us\n languages:\n - en-US\n - es-US\n - haw\n - fr\n network:\n connection_type: ''\n route: 8.8.8.0/24\n is_anycast: true\n is_cdn: false\n cdn_provider_name: ''\n currency:\n code: USD\n name: US Dollar\n symbol: $\n asn:\n as_number: AS15169\n organization: Google LLC\n country: US\n type: BUSINESS\n domain: google.com\n date_allocated: '2000-03-30'\n rir: ARIN\n company:\n name: Google LLC\n type: HOSTING\n domain: google.com\n time_zone:\n name: America/Los_Angeles\n offset: -8\n offset_with_dst: -7\n current_time: 2026-07-08 03:03:31.835-0700\n current_time_unix: 1783505011.835\n current_tz_abbreviation: PDT\n current_tz_full_name: Pacific Daylight Time\n standard_tz_abbreviation: PST\n standard_tz_full_name: Pacific Standard Time\n is_dst: true\n dst_savings: 1\n dst_exists: true\n dst_tz_abbreviation: PDT\n dst_tz_full_name: Pacific Daylight Time\n dst_start:\n utc_time: 2026-03-08 TIME 10:00\n duration: +1.00H\n gap: true\n date_time_after: 2026-03-08 TIME 03:00\n date_time_before: 2026-03-08 TIME 02:00\n overlap: false\n dst_end:\n utc_time: 2026-11-01 TIME 09:00\n duration: -1.00H\n gap: false\n date_time_after: 2026-11-01 TIME 01:00\n date_time_before: 2026-11-01 TIME 02:00\n overlap: true\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Invalid or missing parameters\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n badRequest:\n summary: Missing or invalid parameters\n value:\n message: The request was unacceptable. Typically due to missing or invalid parameters.\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '404':\n description: Not Found \u2014 IP address not in database\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n notFound:\n summary: IP address not in database\n value:\n message: Provided IP address '255.255.255.255' doesn't exist in our database.\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '423':\n description: Locked \u2014 Bogon or reserved IP address\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n locked:\n summary: Bogon or reserved IP address\n value:\n message: '''127.0.0.1'' is a bogon (Internet Assigned Numbers Authority) IP address.'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\ncomponents:\n securitySchemes:\n ApiKeyAuthHeader:\n type: apiKey\n in: header\n name: X-apiKey\n description: Pass your API key via the X-apiKey request header.\n ApiKeyAuthQuery:\n type: apiKey\n in: query\n name: apiKey\n description: Pass your API key via the apiKey query parameter.\n schemas:\n IpLookupResponse:\n type: object\n required:\n - ip\n properties:\n ip:\n type: string\n description: The IP address used for the lookup (IPv4 or IPv6).\n domain:\n type: string\n description: The input domain, returned only for domain-based lookups.\n hostname:\n type: string\n description: Reverse DNS hostname (PTR) for the input IP; returns the input IP if not resolvable.\n location:\n $ref: '#/components/schemas/Location'\n country_metadata:\n $ref: '#/components/schemas/CountryMetadata'\n network:\n $ref: '#/components/schemas/Network'\n asn:\n $ref: '#/components/schemas/Asn'\n company:\n $ref: '#/components/schemas/Company'\n currency:\n $ref: '#/components/schemas/Currency'\n security:\n $ref: '#/components/schemas/Security'\n abuse:\n $ref: '#/components/schemas/Abuse'\n time_zone:\n $ref: '#/components/schemas/TimeZone'\n user_agent:\n $ref: '#/components/schemas/UserAgent'\n Location:\n type: object\n description: Geographic location information for the IP.\n required:\n - continent_code\n - continent_name\n - country_code2\n - country_code3\n - country_name\n - country_name_official\n - country_capital\n - latitude\n - longitude\n - is_eu\n - country_flag\n properties:\n continent_code:\n type: string\n description: 2-letter code of the continent.\n continent_name:\n type: string\n description: Name of the continent.\n country_code2:\n type: string\n description: Country code (ISO 3166-1 alpha-2) of the country.\n country_code3:\n type: string\n description: Country code (ISO 3166-1 alpha-3) of the country.\n country_name:\n type: string\n description: Name of the country.\n country_name_official:\n type: string\n description: Official name (ISO 3166) of the country.\n country_capital:\n type: string\n description: Name of the country's capital.\n state_prov:\n type: string\n description: Name of the state/province/region.\n state_code:\n type: string\n description: Code of the state/province/region.\n district:\n type: string\n description: Name of the district or county.\n city:\n type: string\n description: Name of the city.\n locality:\n type: string\n description: A more specific area in city or it can be same as city.\n accuracy_radius:\n type: string\n description: Circular radius in Km, where the IP address location can be found.\n confidence:\n type: string\n description: Confidence level of the location match (e.g., low, medium, high).\n dma_code:\n type:\n - string\n - 'null'\n description: Designated Market Area (DMA) code used in the United States for media marketing.\n zipcode:\n type: string\n description: ZIP/Postal code of the place.\n latitude:\n type: string\n description: Latitude of the place.\n longitude:\n type: string\n description: Longitude of the place.\n is_eu:\n type: boolean\n description: Is the country belong to European Union?\n country_flag:\n type: string\n format: uri\n description: URL to get the country flag.\n geoname_id:\n type: string\n description: Geoname ID of the place from geonames.org.\n country_emoji:\n type: string\n description: Emoji of the Country flag.\n CountryMetadata:\n type: object\n description: Country-specific metadata.\n required:\n - calling_code\n - tld\n - languages\n properties:\n calling_code:\n type: string\n description: Calling code/Dialing code of the country.\n tld:\n type: string\n description: Top Level Domain Name (TLD) of the country, which is also called ccTLD.\n languages:\n type: array\n items:\n type: string\n description: List of the languages' codes, spoken in the country.\n Network:\n type: object\n description: Network information for the IP.\n properties:\n connection_type:\n type: string\n description: Network access type classification (e.g., DSL, Cable, Mobile, 5G) when available.\n route:\n type: string\n description: Network prefix in CIDR notation that contains the IP.\n is_anycast:\n type: boolean\n description: true if the IP is anycast (same IP announced from multiple locations).\n is_cdn:\n type: boolean\n description: true if the IP belongs to a content delivery network (CDN) or a cloud provider's network.\n cdn_provider_name:\n type: string\n description: CDN provider name (e.g. Cloudflare) when is_cdn is true; empty otherwise.\n Asn:\n type: object\n description: Autonomous System details for the IP.\n properties:\n as_number:\n type: string\n description: ASN identifier in AS<number> format associated with the IP's network.\n organization:\n type: string\n description: ASN operator name.\n country:\n type: string\n description: ASN registration country as ISO 3166-1 alpha-2.\n type:\n type: string\n description: ASN category (ISP, HOSTING, BUSINESS, etc.).\n domain:\n type: string\n description: ASN operator domain name.\n date_allocated:\n type: string\n description: ASN allocation date in YYYY-MM-DD format.\n rir:\n type: string\n description: Regional Internet Registry that allocated the ASN.\n Company:\n type: object\n description: Company or ISP information mapped to the IP address.\n properties:\n name:\n type: string\n description: Company name mapped to the IP.\n type:\n type: string\n description: Company category (ISP, HOSTING, BUSINESS, etc.).\n domain:\n type: string\n description: Company domain name.\n Currency:\n type: object\n description: Currency information for the IP's country.\n properties:\n code:\n type: string\n description: Currency code (ISO 4217).\n name:\n type: string\n description: Currency name (ISO 4217).\n symbol:\n type: string\n description: Currency symbol.\n Security:\n type: object\n description: Threat intelligence and security information for the IP.\n required:\n - threat_score\n - is_tor\n - is_proxy\n - proxy_confidence_score\n - is_residential_proxy\n - is_vpn\n - vpn_confidence_score\n - is_relay\n - is_anonymous\n - is_known_attacker\n - is_bot\n - bot_confidence_score\n - is_known_good_bot\n - is_spam\n - is_cloud_provider\n - is_corporate_gateway\n properties:\n threat_score:\n type: number\n description: Aggregate risk score from 0 to 100.\n is_tor:\n type: boolean\n description: true if the IP matches a Tor exit node.\n is_proxy:\n type: boolean\n description: true if the IP is associated with a proxy service.\n proxy_provider_names:\n type: array\n items:\n type: string\n description: Detected proxy provider names.\n proxy_confidence_score:\n type: number\n description: Proxy detection confidence from 0 to 100.\n proxy_last_seen:\n type: string\n description: Last observed proxy activity date in YYYY-MM-DD.\n is_residential_proxy:\n type: boolean\n description: true if the IP is linked to a residential proxy network.\n is_vpn:\n type: boolean\n description: true if the IP is associated with a VPN service.\n vpn_provider_names:\n type: array\n items:\n type: string\n description: Detected VPN provider names.\n vpn_confidence_score:\n type: number\n description: VPN detection confidence from 0 to 100.\n vpn_last_seen:\n type: string\n description: Last observed VPN activity date in YYYY-MM-DD.\n is_relay:\n type: boolean\n description: true if the IP is associated with a relay network.\n relay_provider_name:\n type: string\n description: Relay provider name.\n is_anonymous:\n type: boolean\n description: true if any anonymity signal is present.\n is_known_attacker:\n type: boolean\n description: true if the IP is flagged for known attacker behavior.\n is_bot:\n type: boolean\n description: true if the IP is associated with bot activity.\n bot_confidence_score:\n type: number\n description: Bot detection confidence from 0 to 100. 0 unless is_bot is true.\n bot_operator_name:\n type: string\n description: Organization running the bot, when known (mostly declared bots).\n bot_type:\n type: string\n 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.'\n is_known_good_bot:\n type: boolean\n description: true if the bot is a declared bot with a verifiable operator (e.g. a search engine crawler or uptime monitor).\n bot_last_seen:\n type: string\n description: Last observed bot activity date in YYYY-MM-DD, when available.\n is_spam:\n type: boolean\n description: true if the IP is associated with spam activity.\n is_cloud_provider:\n type: boolean\n description: true if the IP belongs to a cloud or hosting provider range.\n cloud_provider_name:\n type: string\n description: Cloud or hosting provider name.\n is_corporate_gateway:\n type: boolean\n description: true if the IP is an outbound address of a corporate security gateway (SWG, SSE, or SASE).\n corporate_gateway_type:\n type: string\n description: 'Kind of corporate gateway, when known. Known values: secure_web_gateway, browser_isolation.'\n corporate_gateway_provider_name:\n type: string\n description: Corporate gateway provider name, when known.\n Abuse:\n type: object\n description: Abuse contact information for the IP.\n properties:\n route:\n type: string\n description: Abuse-handling IP range in CIDR notation.\n country:\n type: string\n description: ISO 3166-1 alpha-2 country code of the abuse contact.\n name:\n type: string\n description: Display name for the abuse contact.\n organization:\n type: string\n description: Organization name for the abuse contact.\n kind:\n type: string\n description: 'Contact type: group or individual.'\n address:\n type: string\n description: Registered address of the organization owning the IP.\n emails:\n type: array\n items:\n type: string\n description: Abuse contact email addresses.\n phone_numbers:\n type: array\n items:\n type: string\n description: Abuse contact phone numbers.\n DstTransition:\n type: object\n description: DST transition details (used for both the DST start and DST end transitions).\n properties:\n utc_time:\n type: string\n description: DST transition moment in UTC.\n duration:\n type: string\n description: Clock change at the DST transition, in hours.\n gap:\n type: boolean\n description: true if local time jumps forward (some times do not exist).\n date_time_after:\n type: string\n description: Local date/time immediately after the DST transition.\n date_time_before:\n type: string\n description: Local date/time immediately before the DST transition.\n overlap:\n type: boolean\n description: true if local times repeat around the DST transition.\n TimeZone:\n type: object\n description: Time zone information for the IP's location.\n required:\n - name\n - offset\n - offset_with_dst\n - current_time\n - current_time_unix\n - is_dst\n - dst_savings\n - dst_exists\n properties:\n name:\n type: string\n description: Time zone in IANA TZDB format.\n offset:\n type: number\n format: float\n description: Standard time UTC offset in hours.\n offset_with_dst:\n type: number\n format: float\n description: Current effective UTC offset in hours, including DST.\n current_time:\n type: string\n description: Local date/time in YYYY-MM-DD HH:mm:ss.SSS\xB1ZZZZ format.\n current_time_unix:\n type: number\n format: float\n description: Local time as Unix epoch seconds.\n current_tz_abbreviation:\n type: string\n description: Current time zone abbreviation.\n current_tz_full_name:\n type: string\n description: Current time zone full name.\n standard_tz_abbreviation:\n type: string\n description: Standard (non-DST) abbreviation.\n standard_tz_full_name:\n type: string\n description: Standard (non-DST) full name.\n is_dst:\n type: boolean\n description: true if DST is active.\n dst_savings:\n type: number\n format: float\n description: DST shift amount in hours.\n dst_exists:\n type: boolean\n description: true if the time zone observes DST.\n dst_tz_abbreviation:\n type: string\n description: DST abbreviation when DST is active.\n dst_tz_full_name:\n type: string\n description: DST full name when DST is active.\n dst_start:\n $ref: '#/components/schemas/DstTransition'\n dst_end:\n $ref: '#/components/schemas/DstTransition'\n Device:\n type: object\n description: Device details.\n properties:\n name:\n type: string\n description: Detected device label.\n type:\n type: string\n description: Device category (Desktop, Mobile, Tablet, Bot).\n brand:\n type: string\n description: Device vendor/brand.\n cpu:\n type: string\n description: CPU / architecture string.\n Engine:\n type: object\n description: Rendering engine details.\n properties:\n name:\n type: string\n description: Rendering engine name.\n type:\n type: string\n description: Engine category.\n version:\n type: string\n description: Full engine version string.\n version_major:\n type: string\n description: Major engine version.\n OperatingSystem:\n type: object\n description: Operating system details.\n properties:\n name:\n type: string\n description: Operating system name.\n type:\n type: string\n description: OS category (Desktop, Mobile, Server).\n version:\n type: string\n description: OS version string.\n version_major:\n type: string\n description: Major OS version.\n build:\n type: string\n description: OS build identifier.\n UserAgent:\n type: object\n description: Parsed User-Agent details from the request.\n properties:\n user_agent_string:\n type: string\n description: Raw User-Agent string used for parsing.\n name:\n type: string\n description: Detected user agent product name.\n type:\n type: string\n description: User agent category (e.g., Browser, Mobile App, Bot).\n version:\n type: string\n description: Full product version string.\n version_major:\n type: string\n description: Major version extracted from version.\n device:\n $ref: '#/components/schemas/Device'\n engine:\n $ref: '#/components/schemas/Engine'\n operating_system:\n $ref: '#/components/schemas/OperatingSystem'\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests.\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type.\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path that produced the error.\n status:\n type: integer\n description: HTTP status code returned with the error.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n headers:\n X-AF-Credits-Cost:\n description: Specifies the number of credits consumed by the current request.\n schema:\n type: integer\nsecurity:\n - ApiKeyAuthHeader: []\n - ApiKeyAuthQuery: []\n",
|
|
56994
|
+
"ip-threat-intelligence": "openapi: 3.1.1\ninfo:\n title: IP Threat Intelligence API - VPN, Proxy & Tor Detection with Threat Scoring\n version: 1.0.0\n 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.\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v1.0\n description: IP Threat Intelligence API Server\npaths:\n /ip/security:\n get:\n tags:\n - IP Geolocation APIs\n summary: Retrieve real-time threat intelligence and security signals for an IPv4 or IPv6 address\n description: Get a threat score along with VPN, proxy, Tor, relay, bot, spam, known-attacker, and cloud-provider detection flags for an IP address.\n operationId: ipSecurityLookup\n parameters:\n - name: format\n in: query\n required: false\n description: Format of the response.\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n - name: ip\n in: query\n required: false\n description: IPv4 or IPv6 address to check for threat intelligence and security signals. If omitted, the public IP of the requesting client is used.\n schema:\n type: string\n - name: fields\n in: query\n required: false\n description: Comma-separated list of fields to return. Supports dot notation (e.g. `security.threat_score`).\n schema:\n type: string\n - name: excludes\n in: query\n required: false\n description: Comma-separated list of fields to remove from the response. Supports dot notation (e.g. `security.is_tor`). The `ip` field is always included and cannot be excluded.\n schema:\n type: string\n responses:\n '200':\n description: Successful threat intelligence response\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/IpSecurityResponse'\n examples:\n typicalSuccess:\n summary: Typical successful response\n value:\n ip: 8.8.8.8\n security:\n threat_score: 5\n is_tor: false\n is_proxy: false\n proxy_provider_names: []\n proxy_confidence_score: 0\n proxy_last_seen: ''\n is_residential_proxy: false\n is_vpn: false\n vpn_provider_names: []\n vpn_confidence_score: 0\n vpn_last_seen: ''\n is_relay: false\n relay_provider_name: ''\n is_anonymous: false\n is_known_attacker: false\n is_bot: false\n bot_confidence_score: 0\n bot_operator_name: ''\n bot_type: ''\n is_known_good_bot: false\n bot_last_seen: ''\n is_spam: false\n is_cloud_provider: true\n cloud_provider_name: Google LLC\n is_corporate_gateway: false\n corporate_gateway_type: ''\n corporate_gateway_provider_name: ''\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Invalid or missing IP address\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n invalidIp:\n summary: Malformed IP address\n value:\n message: Provided IP address 'invalid' is not valid\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '423':\n description: Locked \u2014 Bogon or reserved IP address\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n locked:\n summary: Bogon or reserved IP address\n value:\n message: '''10.0.0.1'' is a bogon IP address.'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\ncomponents:\n securitySchemes:\n ApiKeyAuthHeader:\n type: apiKey\n in: header\n name: X-apiKey\n description: Pass your API key via the X-apiKey request header.\n ApiKeyAuthQuery:\n type: apiKey\n in: query\n name: apiKey\n description: Pass your API key via the apiKey query parameter.\n schemas:\n ErrorResponse:\n type: object\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type.\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path that produced the error.\n status:\n type: integer\n description: HTTP status code returned with the error.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n IpSecurityResponse:\n type: object\n description: Threat intelligence result for an IP address.\n required:\n - ip\n properties:\n ip:\n type: string\n description: The IP address used for the lookup (IPv4 or IPv6).\n security:\n $ref: '#/components/schemas/Security'\n Security:\n type: object\n description: Threat intelligence and security information for the IP.\n required:\n - threat_score\n - is_tor\n - is_proxy\n - proxy_confidence_score\n - is_residential_proxy\n - is_vpn\n - vpn_confidence_score\n - is_relay\n - is_anonymous\n - is_known_attacker\n - is_bot\n - bot_confidence_score\n - is_known_good_bot\n - is_spam\n - is_cloud_provider\n - is_corporate_gateway\n properties:\n threat_score:\n type: number\n description: Aggregate risk score from 0 to 100.\n is_tor:\n type: boolean\n description: true if the IP matches a Tor exit node.\n is_proxy:\n type: boolean\n description: true if the IP is associated with a proxy service.\n proxy_provider_names:\n type: array\n items:\n type: string\n description: Detected proxy provider names.\n proxy_confidence_score:\n type: number\n description: Proxy detection confidence from 0 to 100.\n proxy_last_seen:\n type: string\n description: Last observed proxy activity date in YYYY-MM-DD.\n is_residential_proxy:\n type: boolean\n description: true if the IP is linked to a residential proxy network.\n is_vpn:\n type: boolean\n description: true if the IP is associated with a VPN service.\n vpn_provider_names:\n type: array\n items:\n type: string\n description: Detected VPN provider names.\n vpn_confidence_score:\n type: number\n description: VPN detection confidence from 0 to 100.\n vpn_last_seen:\n type: string\n description: Last observed VPN activity date in YYYY-MM-DD.\n is_relay:\n type: boolean\n description: true if the IP is associated with a relay network.\n relay_provider_name:\n type: string\n description: Relay provider name.\n is_anonymous:\n type: boolean\n description: true if any anonymity signal is present.\n is_known_attacker:\n type: boolean\n description: true if the IP is flagged for known attacker behavior.\n is_bot:\n type: boolean\n description: true if the IP is associated with bot activity.\n bot_confidence_score:\n type: number\n description: Bot detection confidence from 0 to 100. 0 unless is_bot is true.\n bot_operator_name:\n type: string\n description: Organization running the bot, when known (mostly declared bots).\n bot_type:\n type: string\n 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.'\n is_known_good_bot:\n type: boolean\n description: true if the bot is a declared bot with a verifiable operator (e.g. a search engine crawler or uptime monitor).\n bot_last_seen:\n type: string\n description: Last observed bot activity date in YYYY-MM-DD, when available.\n is_spam:\n type: boolean\n description: true if the IP is associated with spam activity.\n is_cloud_provider:\n type: boolean\n description: true if the IP belongs to a cloud or hosting provider range.\n cloud_provider_name:\n type: string\n description: Cloud or hosting provider name.\n is_corporate_gateway:\n type: boolean\n description: true if the IP is an outbound address of a corporate security gateway (SWG, SSE, or SASE).\n corporate_gateway_type:\n type: string\n description: 'Kind of corporate gateway, when known. Known values: secure_web_gateway, browser_isolation.'\n corporate_gateway_provider_name:\n type: string\n description: Corporate gateway provider name, when known.\n headers:\n X-AF-Credits-Cost:\n description: Specifies the number of credits consumed by the current request.\n schema:\n type: integer\nsecurity:\n - ApiKeyAuthHeader: []\n - ApiKeyAuthQuery: []\n",
|
|
56799
56995
|
"delete-pdf-page": "openapi: 3.1.1\ninfo:\n title: PDF Remove Pages API - Delete PDF Pages and Clean Up Documents Instantly\n version: 1.0.0\n description: Remove specific pages from a PDF file. Specify page numbers to delete. Returns a task ID for tracking the deletion progress.\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v1.0\n description: PDF Remove Pages API Server\npaths:\n /pdf/remove-pages:\n post:\n tags:\n - PDF Operations APIs\n summary: Delete specific pages from a PDF\n description: This API removes a selection or range of pages from a PDF file.\n parameters:\n - name: format\n in: query\n required: false\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n description: Specifies the desired format for the API response. Choose 'json' for a JSON object or 'xml' for an XML structure.\n - name: file_id\n in: query\n required: false\n schema:\n type: string\n description: The unique identifier of a PDF file already uploaded to the API Freaks server. Use this as an alternative to uploading a new file directly.\n - name: destroy\n in: query\n required: false\n schema:\n type: boolean\n description: If set to `true`, the input file(s) will be permanently deleted from the server immediately after the output PDF is generated.\n - name: output\n in: query\n required: false\n schema:\n type: string\n description: The desired name for the output PDF file after pages have been removed. If not provided, a default name will be assigned.\n - name: pages\n in: query\n required: true\n schema:\n type: string\n description: 'Specifies which pages to remove from the PDF. Accepts individual page numbers (e.g., ''1,7'') and/or ascending page ranges (e.g., ''3-5''). Use commas to separate entries and hyphens for ranges. Reverse ranges (e.g., ''5-3'') are not allowed. Alternatively, you may provide only one of the following keywords: ''even'' (removes all even-numbered pages), ''odd'' (removes all odd-numbered pages), or ''last'' (removes only the last page). The keyword ''all'' is not supported for this operation. Examples: ''1,3-5'', ''even''. Mixing special keywords with specific pages/ranges is not allowed. Malformed values or page numbers exceeding the document''s page count are not rejected on this call \u2014 the resulting task fails asynchronously (check task status).'\n - name: webhook_url\n in: query\n required: false\n schema:\n type: string\n description: The URL to which the webhook notification will be sent after the task is completed.\n - name: webhook_failure_notification\n in: query\n required: false\n schema:\n type: boolean\n description: If true, a notification will also be sent by email in case the webhook request fails all the retries. The email notification will be sent to the requesting user or their organization\u2019s admin if part of one.\n - name: X-Webhook-Authorization\n in: header\n required: false\n schema:\n type: string\n description: 'Optional custom header for webhook requests. Format: `Key:Value` (e.g., `Authorization:Bearer token123`). This will be sent as an HTTP header in the webhook call.'\n requestBody:\n description: Multipart form-data body carrying the PDF file to remove pages from. Alternatively, reference an already-uploaded file via the file_id query parameter instead of uploading here.\n required: false\n content:\n multipart/form-data:\n schema:\n $ref: '#/components/schemas/PdfFileUploadRequest'\n responses:\n '200':\n description: Remove task created successfully. Malformed or out-of-range page specifications are not rejected synchronously \u2014 the task is created, then fails asynchronously; poll the task status endpoint and check for status \"failed\" with an error/message pair.\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/PDFResponse'\n examples:\n success:\n summary: Task created\n value:\n taskId: 04a06cd5-158d-4191-a45b-6f58249c599d\n inputIds:\n - 7a9e4b12-f3c8-4d56-b7e1-8c2f9d0a3e6f\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Missing/invalid parameters or file ID\n content:\n application/json:\n examples:\n MissingPages:\n summary: Missing required pages parameter\n value:\n error: Invalid Param Exception\n message: please pass correct parameters\n path: /v1.0/pdf/remove-pages\n status: 400\n timestamp: '2026-07-27T10:52:11.692Z'\n InvalidID:\n summary: file_id is malformed or does not exist\n value:\n timestamp: '2026-07-27T10:52:14.049Z'\n path: /v1.0/pdf/remove-pages\n status: 400\n error: Invalid File ID Provided\n message: Please provide a valid file ID\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '415':\n description: Unsupported Media Type \u2014 File type not supported\n content:\n application/json:\n examples:\n InvalidPDF:\n summary: Uploaded file is not a supported type\n value:\n timestamp: '2026-07-27T10:52:14.649Z'\n path: /v1.0/pdf/remove-pages\n status: 415\n error: Unsupported File Type\n message: The provided file type is not supported. Refer to the documentation for valid file types.\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n operationId: deletePdfPage\ncomponents:\n securitySchemes:\n ApiKeyAuthHeader:\n type: apiKey\n in: header\n name: X-apiKey\n description: Pass your API key via the X-apiKey request header.\n ApiKeyAuthQuery:\n type: apiKey\n in: query\n name: apiKey\n description: Pass your API key via the apiKey query parameter.\n schemas:\n PDFResponse:\n type: object\n description: Response containing the task ID and input file IDs for a PDF processing task.\n required:\n - taskId\n properties:\n taskId:\n type: string\n description: Task ID of the requested task, used to check the task status.\n inputIds:\n type: array\n items:\n type: string\n description: File IDs for the input files provided for the task. Not returned when destroy parameter is true.\n PdfFileUploadRequest:\n type: object\n description: Multipart form-data request body containing the PDF file to process.\n required: []\n properties:\n file:\n type: string\n format: binary\n description: Raw PDF file bytes sent as a multipart/form-data field named 'file'. Omit this field entirely and pass file_id in the query string instead to use an already-uploaded file.\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests.\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type.\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path that produced the error.\n status:\n type: integer\n description: HTTP status code returned with the error.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n headers:\n X-AF-Credits-Cost:\n description: Specifies the number of credits consumed by the current request.\n schema:\n type: integer\nsecurity:\n - ApiKeyAuthHeader: []\n - ApiKeyAuthQuery: []\n",
|
|
56800
56996
|
"linearize-pdf": "openapi: 3.1.1\ninfo:\n title: PDF Linearize API - Optimize PDFs for Fast Web Viewing\n version: 1.0.0\n description: Linearize (web-optimize) a PDF file for faster viewing in web browsers. Optimized PDFs load page-by-page without downloading the entire file.\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v1.0\n description: Linearize PDF API Server\npaths:\n /pdf/linearize:\n post:\n tags:\n - PDF Operations APIs\n summary: Linearize a PDF\n description: API endpoint that linearizes any given PDF, restructuring it for faster loading and page-by-page viewing in web browsers.\n parameters:\n - name: format\n in: query\n required: false\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n description: Specifies the desired format for the API response. Choose 'json' for a JSON object or 'xml' for an XML structure.\n - name: file_id\n in: query\n required: false\n schema:\n type: string\n description: The unique ID of a PDF file already uploaded to the API Freaks server. Use this as an alternative to uploading a new file directly.\n - name: destroy\n in: query\n required: false\n schema:\n type: boolean\n description: If set to `true`, the input file(s) will be permanently deleted from the server immediately after the output PDF is generated.\n - name: output\n in: query\n required: false\n schema:\n type: string\n description: The desired name for the output PDF file after pages have been extracted. If not provided, a default name will be assigned.\n - name: webhook_url\n in: query\n required: false\n schema:\n type: string\n description: The URL to which the webhook notification will be sent after the task is completed.\n - name: webhook_failure_notification\n in: query\n required: false\n schema:\n type: boolean\n description: If true, a notification will also be sent by email in case the webhook request fails all the retries. The email notification will be sent to the requesting user or their organization\u2019s admin if part of one.\n - name: X-Webhook-Authorization\n in: header\n required: false\n schema:\n type: string\n description: 'Optional custom header for webhook requests. Format: `Key:Value` (e.g., `Authorization:Bearer token123`). This will be sent as an HTTP header in the webhook call.'\n requestBody:\n description: Multipart form-data body carrying the PDF file to linearize. Alternatively, reference an already-uploaded file via the file_id query parameter instead of uploading here.\n required: false\n content:\n multipart/form-data:\n schema:\n $ref: '#/components/schemas/PdfFileUploadRequest'\n responses:\n '200':\n description: Linearize task created successfully\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/PDFResponse'\n examples:\n success:\n summary: Task created\n value:\n taskId: 8750f9bb-4cb9-45fd-80a6-e1adf6556618\n inputIds:\n - 5f214118-f848-41f8-809d-8c6058b4b74a\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Missing/invalid file or file ID\n content:\n application/json:\n examples:\n MissingFileOrID:\n summary: Neither a file nor a file ID was provided\n value:\n timestamp: '2026-07-27T10:55:07.695Z'\n path: /v1.0/pdf/linearize\n status: 400\n message: Please provide either a file or a file ID.\n error: Missing File or ID\n InvalidID:\n summary: file_id is malformed or does not exist\n value:\n error: Invalid File ID Provided\n message: Please provide a valid file ID\n path: /v1.0/pdf/linearize\n status: 400\n timestamp: '2026-07-27T10:55:08.238Z'\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '415':\n description: Unsupported Media Type \u2014 File type not supported\n content:\n application/json:\n examples:\n UnsupportedFileType:\n summary: Uploaded file is not a supported type\n value:\n timestamp: '2026-07-27T10:55:08.869Z'\n path: /v1.0/pdf/linearize\n status: 415\n error: Unsupported File Type\n message: The provided file type is not supported. Refer to the documentation for valid file types.\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n operationId: linearizePdf\ncomponents:\n securitySchemes:\n ApiKeyAuthHeader:\n type: apiKey\n in: header\n name: X-apiKey\n description: Pass your API key via the X-apiKey request header.\n ApiKeyAuthQuery:\n type: apiKey\n in: query\n name: apiKey\n description: Pass your API key via the apiKey query parameter.\n schemas:\n PDFResponse:\n type: object\n description: Response containing the task ID and input file IDs for a PDF processing task.\n required:\n - taskId\n properties:\n taskId:\n type: string\n description: Task ID of the requested task, used to check the task status.\n inputIds:\n type: array\n items:\n type: string\n description: File IDs for the input files provided for the task. Not returned when destroy parameter is true.\n PdfFileUploadRequest:\n type: object\n description: Multipart form-data request body containing the PDF file to process.\n required: []\n properties:\n file:\n type: string\n format: binary\n description: Raw PDF file bytes sent as a multipart/form-data field named 'file'. Omit this field entirely and pass file_id in the query string instead to use an already-uploaded file.\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests.\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type.\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path that produced the error.\n status:\n type: integer\n description: HTTP status code returned with the error.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n headers:\n X-AF-Credits-Cost:\n description: Specifies the number of credits consumed by the current request.\n schema:\n type: integer\nsecurity:\n - ApiKeyAuthHeader: []\n - ApiKeyAuthQuery: []\n",
|
|
56801
56997
|
"merge-pdf": "openapi: 3.1.1\ninfo:\n title: Merge PDF API - Instantly Combine PDFs at Scale\n version: 1.0.1\n description: Merge multiple PDF files into a single PDF document in the order they are provided. Accepts input files up to 1GB in size via file upload or existing file IDs. Returns a task ID for tracking the merge progress.\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v1.0\n description: PDF Merge API Server\npaths:\n /pdf/merge:\n post:\n tags:\n - PDF Operations APIs\n summary: Combine multiple PDF files into one\n description: This API merges multiple PDF files into a single PDF, in the order they are provided\n parameters:\n - name: format\n in: query\n required: false\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n description: Specifies the desired format for the API response. Choose 'json' for a JSON object or 'xml' for an XML structure.\n - name: file_id\n in: query\n required: false\n schema:\n type: array\n items:\n type: string\n default: ''\n default: []\n description: An array of unique file IDs referencing PDF files previously uploaded to the API Freaks server. Use this parameter to merge existing files without re-uploading them. Provide multiple IDs to merge files in the specified order.\n - name: destroy\n in: query\n required: false\n schema:\n type: boolean\n description: If set to `true`, the input file(s) will be permanently deleted from the server immediately after the output PDF is generated.\n - name: output\n in: query\n required: false\n schema:\n type: string\n description: Specifies the desired name for the resulting merged PDF file. If not provided, a default name will be assigned.\n - name: webhook_url\n in: query\n required: false\n schema:\n type: string\n description: The URL to which the webhook notification will be sent after the task is completed.\n - name: webhook_failure_notification\n in: query\n required: false\n schema:\n type: boolean\n description: If true, a notification will also be sent by email in case the webhook request fails all the retries. The email notification will be sent to the requesting user or their organization\u2019s admin if part of one.\n - name: X-Webhook-Authorization\n in: header\n required: false\n schema:\n type: string\n description: 'Optional custom header for webhook requests. Format: `Key:Value` (e.g., `Authorization:Bearer token123`). This will be sent as an HTTP header in the webhook call.'\n requestBody:\n description: Multipart form-data body carrying the PDF file(s) to merge. Alternatively, reference already-uploaded files via the file_id query parameter instead of uploading here.\n required: false\n content:\n multipart/form-data:\n schema:\n $ref: '#/components/schemas/PdfMergeUploadRequest'\n responses:\n '200':\n description: Merge task created successfully\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/PDFResponse'\n examples:\n success:\n summary: Task created\n value:\n taskId: 04a06cd5-158d-4191-a45b-6f58249c599d\n inputIds:\n - 7a9e4b12-f3c8-4d56-b7e1-8c2f9d0a3e6f\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request\n content:\n application/json:\n examples:\n InvalidID:\n summary: Invalid file ID provided\n value:\n error: Invalid File ID Provided\n message: Please provide a valid file ID\n path: /v1.0/pdf/merge\n status: 400\n timestamp: '2026-07-27T10:49:41.973Z'\n MissingUploadOrId:\n summary: Neither a file nor a file ID was provided\n value:\n timestamp: '2026-07-27T10:49:41.432Z'\n path: /v1.0/pdf/merge-pdf\n status: 400\n error: Missing File or ID\n message: Please provide either a file or a file ID.\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '415':\n description: Unsupported Media Type \u2014 File type not supported\n content:\n application/json:\n examples:\n UnsupportedFileType:\n summary: Unsupported file type\n value:\n timestamp: '2026-07-27T10:49:42.554Z'\n path: /v1.0/pdf/merge-pdf\n status: 415\n error: Unsupported File Type\n message: The provided file type is not supported. Refer to the documentation for valid file types.\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n operationId: mergePdf\ncomponents:\n securitySchemes:\n ApiKeyAuthHeader:\n type: apiKey\n in: header\n name: X-apiKey\n description: Pass your API key via the X-apiKey request header.\n ApiKeyAuthQuery:\n type: apiKey\n in: query\n name: apiKey\n description: Pass your API key via the apiKey query parameter.\n schemas:\n PDFResponse:\n type: object\n required:\n - taskId\n properties:\n taskId:\n type: string\n description: Task ID of the requested task, used to check the task status.\n inputIds:\n type: array\n items:\n type: string\n description: File IDs for the input files provided for the task.\n description: Response containing the task ID and input file IDs for a PDF processing task.\n PdfMergeUploadRequest:\n type: object\n description: Multipart form-data request body containing multiple PDF files to merge.\n required: []\n properties:\n file:\n type: array\n items:\n type: string\n format: binary\n description: One or more raw PDF file byte streams, each sent as a separate multipart/form-data field named 'file'. Omit this field entirely and pass one or more file_id query parameters instead to merge already-uploaded files.\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests.\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type.\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path that produced the error.\n status:\n type: integer\n description: HTTP status code returned with the error.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n headers:\n X-AF-Credits-Cost:\n description: Specifies the number of credits consumed by the current request.\n schema:\n type: integer\nsecurity:\n - ApiKeyAuthHeader: []\n - ApiKeyAuthQuery: []\n",
|