vpndetection 5.13.1 → 5.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +8 -8
  3. data/lib/vpndetection/api/account_wire_api.rb +1 -1
  4. data/lib/vpndetection/api/api_keys_wire_api.rb +1 -1
  5. data/lib/vpndetection/api/authorization_wire_api.rb +1 -1
  6. data/lib/vpndetection/api/database_wire_api.rb +1 -1
  7. data/lib/vpndetection/api/entitlement_wire_api.rb +1 -1
  8. data/lib/vpndetection/api/lookup_wire_api.rb +7 -7
  9. data/lib/vpndetection/api/organization_wire_api.rb +1 -1
  10. data/lib/vpndetection/api_client.rb +1 -1
  11. data/lib/vpndetection/api_error.rb +1 -1
  12. data/lib/vpndetection/api_model_base.rb +1 -1
  13. data/lib/vpndetection/client.rb +11 -10
  14. data/lib/vpndetection/configuration.rb +1 -1
  15. data/lib/vpndetection/models/account_create_apikey_request.rb +1 -1
  16. data/lib/vpndetection/models/account_created_apikey.rb +1 -1
  17. data/lib/vpndetection/models/account_org.rb +1 -1
  18. data/lib/vpndetection/models/account_org_ref.rb +1 -1
  19. data/lib/vpndetection/models/account_org_wrap.rb +1 -1
  20. data/lib/vpndetection/models/account_rc.rb +1 -1
  21. data/lib/vpndetection/models/account_revealed_apikey.rb +1 -1
  22. data/lib/vpndetection/models/account_user.rb +1 -1
  23. data/lib/vpndetection/models/apikey_detail.rb +1 -1
  24. data/lib/vpndetection/models/apikey_list.rb +1 -1
  25. data/lib/vpndetection/models/asn.rb +1 -1
  26. data/lib/vpndetection/models/batch_lookup_error.rb +2 -2
  27. data/lib/vpndetection/models/batch_lookup_request.rb +1 -1
  28. data/lib/vpndetection/models/batch_lookup_response.rb +1 -1
  29. data/lib/vpndetection/models/class_detail.rb +1 -1
  30. data/lib/vpndetection/models/client_registration.rb +1 -1
  31. data/lib/vpndetection/models/client_registration_request.rb +1 -1
  32. data/lib/vpndetection/models/database.rb +1 -1
  33. data/lib/vpndetection/models/database_checksums_response.rb +1 -1
  34. data/lib/vpndetection/models/database_format.rb +1 -1
  35. data/lib/vpndetection/models/database_format_size.rb +1 -1
  36. data/lib/vpndetection/models/database_list.rb +1 -1
  37. data/lib/vpndetection/models/database_metadata.rb +1 -1
  38. data/lib/vpndetection/models/database_metadata_column.rb +1 -1
  39. data/lib/vpndetection/models/database_version.rb +1 -1
  40. data/lib/vpndetection/models/db_checksums.rb +1 -1
  41. data/lib/vpndetection/models/device_authorization.rb +1 -1
  42. data/lib/vpndetection/models/download.rb +1 -1
  43. data/lib/vpndetection/models/download_list.rb +1 -1
  44. data/lib/vpndetection/models/entitlement.rb +1 -1
  45. data/lib/vpndetection/models/entitlement_apikey.rb +1 -1
  46. data/lib/vpndetection/models/entitlement_error.rb +1 -1
  47. data/lib/vpndetection/models/entitlement_plan.rb +3 -3
  48. data/lib/vpndetection/models/entitlement_usage.rb +1 -1
  49. data/lib/vpndetection/models/error_envelope.rb +1 -1
  50. data/lib/vpndetection/models/identity.rb +1 -1
  51. data/lib/vpndetection/models/location.rb +1 -1
  52. data/lib/vpndetection/models/lookup_error.rb +1 -1
  53. data/lib/vpndetection/models/lookup_response.rb +22 -12
  54. data/lib/vpndetection/models/oauth_error.rb +1 -1
  55. data/lib/vpndetection/models/oauth_metadata.rb +1 -1
  56. data/lib/vpndetection/models/proxy_detail.rb +1 -1
  57. data/lib/vpndetection/models/pubproxy_detail.rb +1 -1
  58. data/lib/vpndetection/models/standing.rb +1 -1
  59. data/lib/vpndetection/models/token_response.rb +1 -1
  60. data/lib/vpndetection/models/vpn_detail.rb +1 -1
  61. data/lib/vpndetection/result.rb +18 -6
  62. data/lib/vpndetection/version.rb +1 -1
  63. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 19f67b3d99978bf48bc57ce35856bb63f9fb694c84cefcf6a5fafb6d0947cbce
4
- data.tar.gz: 5edf4e4d3097810bf3d01ca9d4e7c50da761f7796bc10d7d5983f73262e90a36
3
+ metadata.gz: 6128473e369b60fb2307cd72d5843777fd39c298972b0c3220a26da045e69bb0
4
+ data.tar.gz: 490a2bb1aced0e1c136506e8a915d26cdc2d3f0b424b26161b986b59cdf91b81
5
5
  SHA512:
6
- metadata.gz: 854befe2839b82a145d776e357f85ea819470f2474b7e1431141722fec1c64a85cc438b6b6957c9f32edd0fbcd26a3f6aa23e00305e18486f7d62c40c0acfda3
7
- data.tar.gz: b2bdccc3fb59c98eb863db25e167b17cd6076f5bdd9f98da13eecb38bcd48d5fa9deb5432c43184c2e5093959096046c6036a23a31c6ac363c96eae6c96f49b1
6
+ metadata.gz: 35ef53d9fc9356d76ac1ae3a351fcc5846c3d0b3edef80ac41e92f37c3059b945bb8105c4dfd4762d7c93b7d7cab693c4b698958be71c09be5a0360ec91de1cd
7
+ data.tar.gz: 2431a0f9c422036985e52c5ced188e4302785bb1fd872c19444fdc4bd0a9b0b822b052635ab4efc27b59c5bb5909f5f14fba3a5e01460cd068ea0ddef9e70820
data/README.md CHANGED
@@ -23,7 +23,7 @@ Requires Ruby 3.3 or newer.
23
23
 
24
24
  ## Usage
25
25
 
26
- **No API key needed to start.** Without a key a lookup answers `ip`, `is_vpn`, Tor and relay detection, `location` and `asn`, unlimited, with no daily or monthly cap.
26
+ **No API key needed to start.** The Unlimited tier answers `ip`, `is_vpn`, Tor and relay detection, `location` and `asn`, with no daily or monthly cap, with a key or without one.
27
27
 
28
28
  ```ruby
29
29
  require 'vpndetection'
@@ -38,14 +38,14 @@ result.asn['name'] # who runs the announcing network
38
38
 
39
39
  ### With an API key
40
40
 
41
- A free key adds every other flag, `is_hosting`, `is_cdn` and the four proxy flags, at 50,000 lookups a month, and every paid plan answers every field, the provider, confidence and last-seen detail behind each flag included. The paid plans differ only in how many lookups they include. Batch lookups need a key. Create one in the [console](https://app.vpndetection.io), then pass it in:
41
+ Every paid plan answers every field: `is_hosting`, `is_cdn` and the four proxy flags as well, and the provider, confidence and last-seen detail behind each flag. The plans differ only in how many lookups they include, and a new account can try every field, 100 lookups a day. Create a key in the [console](https://app.vpndetection.io), then pass it in:
42
42
 
43
43
  ```ruby
44
44
  client = VPNDetection::Client.new(api_key: ENV['VPNDETECTION_API_KEY'])
45
45
 
46
46
  result = client.lookup('45.83.91.1')
47
47
  result.is_vpn # => true
48
- result.is_hosting # => true, with any key, a free one included
48
+ result.is_hosting # => true, on a paid plan
49
49
  result.vpn['provider'] # => "nordvpn", on a paid plan
50
50
  ```
51
51
 
@@ -67,11 +67,11 @@ acct.usage.requests # => 580
67
67
  acct.usage.window_end # => when the allowance resets
68
68
  ```
69
69
 
70
- Usage counts against the anniversary of your subscription, not the calendar month and not the billing period, and it is the same number a lookup is gated on. `hard_limit` is `nil` on an uncapped plan, which is not the same as zero.
70
+ Usage counts against the anniversary of your subscription on a paid plan, not the calendar month and not the billing period, and against the UTC day on a trial key; it is the same number a lookup is gated on. `hard_limit` is `nil` on an uncapped plan, which is not the same as zero.
71
71
 
72
72
  ### Batch lookup
73
73
 
74
- Look up as many addresses as you like at once. Bogons and cached answers are handled locally, and everything else goes to the batch endpoint in chunks of up to 1000 addresses, in parallel. The batch endpoint needs an API key, a free one included:
74
+ Look up as many addresses as you like at once. Bogons and cached answers are handled locally, and everything else goes to the batch endpoint in chunks of up to 1000 addresses, in parallel. The batch endpoint needs a paid plan:
75
75
 
76
76
  ```ruby
77
77
  results = client.lookup_batch(['45.83.91.1', '8.8.8.8', '1.1.1.1'])
@@ -241,12 +241,12 @@ Each redirect URI must be https on a public host name, or http on a loopback add
241
241
 
242
242
  ### Absent is not false
243
243
 
244
- Without a key a lookup leaves out `is_hosting`, `is_cdn` and the four proxy flags, and a free key leaves out `vpn` and the detail behind each flag. A field is present when your plan includes it and `nil` when it does not. `nil` means "not in your plan"; `false` means "we checked, and no".
244
+ The Unlimited tier leaves out `is_hosting`, `is_cdn` and the four proxy flags, and of the detail behind each flag it answers only Tor's and relay's; a trial key's answer carries `trial_expired`, true once its day of full answers is spent. A field is present when your plan includes it and `nil` when it does not. `nil` means "not in your plan"; `false` means "we checked, and no".
245
245
 
246
246
  ```ruby
247
247
  result.hosting? # false when absent, for when you only want the flag
248
- result.included?(:is_hosting) # false without a key: not in your plan
249
- result.included?(:vpn) # false on a free key: not in your plan
248
+ result.included?(:is_hosting) # false on the Unlimited tier: not in your plan
249
+ result.trial_expired == true # a trial key's day of full answers is spent
250
250
  ```
251
251
 
252
252
  ## Other Libraries
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #VPNDetection API
3
3
 
4
- #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
4
+ #The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
6
  The version of the OpenAPI document: 2026.11.11
7
7
  Contact: support@vpndetection.io
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #VPNDetection API
3
3
 
4
- #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
4
+ #The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
6
  The version of the OpenAPI document: 2026.11.11
7
7
  Contact: support@vpndetection.io
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #VPNDetection API
3
3
 
4
- #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
4
+ #The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
6
  The version of the OpenAPI document: 2026.11.11
7
7
  Contact: support@vpndetection.io
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #VPNDetection API
3
3
 
4
- #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
4
+ #The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
6
  The version of the OpenAPI document: 2026.11.11
7
7
  Contact: support@vpndetection.io
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #VPNDetection API
3
3
 
4
- #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
4
+ #The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
6
  The version of the OpenAPI document: 2026.11.11
7
7
  Contact: support@vpndetection.io
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #VPNDetection API
3
3
 
4
- #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
4
+ #The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
6
  The version of the OpenAPI document: 2026.11.11
7
7
  Contact: support@vpndetection.io
@@ -20,7 +20,7 @@ module VPNDetection
20
20
  @api_client = api_client
21
21
  end
22
22
  # Batch
23
- # Answers up to 1000 addresses in one call. Each distinct string in `ips` is one lookup: it costs exactly what `GET /{ip}` costs for that address and comes back with exactly the fields that call would carry for your plan. Exact duplicates collapse to one entry and one lookup. Both maps in the answer are keyed by the string you sent, so nothing has to be lined up by position; the `ip` inside each result is the normalized form. An address that could not be answered sits in `errors` with the status and message the single lookup would have given, and never disturbs the others: a string that is not an address is a `400` there, and an allowance that runs out part way through leaves the remaining entries as `429`s. The call itself fails only for the reasons below, and a `429` on the call always carries `Retry-After`: the batch is admitted or refused whole by the rate limit, so a per-entry `429` is always a spent allowance and never a throttle. A batch needs an API key, a free one included: without one the call is refused with `401`. Keyless lookups are one address at a time.
23
+ # Answers up to 1000 addresses in one call. Each distinct string in `ips` is one lookup: it costs exactly what `GET /{ip}` costs for that address and comes back with exactly the fields that call would carry for your plan. Exact duplicates collapse to one entry and one lookup. Both maps in the answer are keyed by the string you sent, so nothing has to be lined up by position; the `ip` inside each result is the normalized form. An address that could not be answered sits in `errors` with the status and message the single lookup would have given, and never disturbs the others: a string that is not an address is a `400` there, and an overage cap reached part way through leaves the remaining entries as `429`s. The call itself fails only for the reasons below, and a `429` on the call always carries `Retry-After`: the batch is admitted or refused whole by the rate limit, so a per-entry `429` is always the overage cap and never a throttle. A batch needs a paid plan: without a key the call is refused with `401`, and with a trial key with `402`, unless it names one address, which is answered as `GET /{ip}` would answer it. Unlimited and a trial look up one address at a time.
24
24
  # @param batch_lookup_request [BatchLookupRequest]
25
25
  # @param [Hash] opts the optional parameters
26
26
  # @return [BatchLookupResponse]
@@ -30,7 +30,7 @@ module VPNDetection
30
30
  end
31
31
 
32
32
  # Batch
33
- # Answers up to 1000 addresses in one call. Each distinct string in `ips` is one lookup: it costs exactly what `GET /{ip}` costs for that address and comes back with exactly the fields that call would carry for your plan. Exact duplicates collapse to one entry and one lookup. Both maps in the answer are keyed by the string you sent, so nothing has to be lined up by position; the `ip` inside each result is the normalized form. An address that could not be answered sits in `errors` with the status and message the single lookup would have given, and never disturbs the others: a string that is not an address is a `400` there, and an allowance that runs out part way through leaves the remaining entries as `429`s. The call itself fails only for the reasons below, and a `429` on the call always carries `Retry-After`: the batch is admitted or refused whole by the rate limit, so a per-entry `429` is always a spent allowance and never a throttle. A batch needs an API key, a free one included: without one the call is refused with `401`. Keyless lookups are one address at a time.
33
+ # Answers up to 1000 addresses in one call. Each distinct string in `ips` is one lookup: it costs exactly what `GET /{ip}` costs for that address and comes back with exactly the fields that call would carry for your plan. Exact duplicates collapse to one entry and one lookup. Both maps in the answer are keyed by the string you sent, so nothing has to be lined up by position; the `ip` inside each result is the normalized form. An address that could not be answered sits in `errors` with the status and message the single lookup would have given, and never disturbs the others: a string that is not an address is a `400` there, and an overage cap reached part way through leaves the remaining entries as `429`s. The call itself fails only for the reasons below, and a `429` on the call always carries `Retry-After`: the batch is admitted or refused whole by the rate limit, so a per-entry `429` is always the overage cap and never a throttle. A batch needs a paid plan: without a key the call is refused with `401`, and with a trial key with `402`, unless it names one address, which is answered as `GET /{ip}` would answer it. Unlimited and a trial look up one address at a time.
34
34
  # @param batch_lookup_request [BatchLookupRequest]
35
35
  # @param [Hash] opts the optional parameters
36
36
  # @return [Array<(BatchLookupResponse, Integer, Hash)>] BatchLookupResponse data, response status code and response headers
@@ -88,7 +88,7 @@ module VPNDetection
88
88
  end
89
89
 
90
90
  # Lookup
91
- # Answers what is known about a single IPv4 or IPv6 address. Which fields come back is decided by the presented key; with no key the answer is `ip`, `is_vpn`, the Tor and relay members, `location` and `asn`.
91
+ # Answers what is known about a single IPv4 or IPv6 address. Which fields come back is decided by the presented key; with no key, the Unlimited tier, the answer is `ip`, `is_vpn`, the Tor and relay members, `location` and `asn`.
92
92
  # @param ip [String] The IPv4 or IPv6 address to classify.
93
93
  # @param [Hash] opts the optional parameters
94
94
  # @return [LookupResponse]
@@ -98,7 +98,7 @@ module VPNDetection
98
98
  end
99
99
 
100
100
  # Lookup
101
- # Answers what is known about a single IPv4 or IPv6 address. Which fields come back is decided by the presented key; with no key the answer is &#x60;ip&#x60;, &#x60;is_vpn&#x60;, the Tor and relay members, &#x60;location&#x60; and &#x60;asn&#x60;.
101
+ # Answers what is known about a single IPv4 or IPv6 address. Which fields come back is decided by the presented key; with no key, the Unlimited tier, the answer is &#x60;ip&#x60;, &#x60;is_vpn&#x60;, the Tor and relay members, &#x60;location&#x60; and &#x60;asn&#x60;.
102
102
  # @param ip [String] The IPv4 or IPv6 address to classify.
103
103
  # @param [Hash] opts the optional parameters
104
104
  # @return [Array<(LookupResponse, Integer, Hash)>] LookupResponse data, response status code and response headers
@@ -151,7 +151,7 @@ module VPNDetection
151
151
  end
152
152
 
153
153
  # My IP
154
- # Answers what is known about the address this request came from, which is the same answer `GET /{ip}` gives for that address: the presented key decides which fields come back, and the request counts against the same limit or allowance. The address is the one our edge observed, so a request through a proxy or a VPN reports the exit it left through rather than the machine that made it. That is usually the point of asking.
154
+ # Answers what is known about the address this request came from, which is the same answer `GET /{ip}` gives for that address: the presented key decides which fields come back, and the request counts against the same limits. The address is the one our edge observed, so a request through a proxy or a VPN reports the exit it left through rather than the machine that made it. That is usually the point of asking.
155
155
  # @param [Hash] opts the optional parameters
156
156
  # @return [LookupResponse]
157
157
  def lookup_my_ip(opts = {})
@@ -160,7 +160,7 @@ module VPNDetection
160
160
  end
161
161
 
162
162
  # My IP
163
- # Answers what is known about the address this request came from, which is the same answer &#x60;GET /{ip}&#x60; gives for that address: the presented key decides which fields come back, and the request counts against the same limit or allowance. The address is the one our edge observed, so a request through a proxy or a VPN reports the exit it left through rather than the machine that made it. That is usually the point of asking.
163
+ # Answers what is known about the address this request came from, which is the same answer &#x60;GET /{ip}&#x60; gives for that address: the presented key decides which fields come back, and the request counts against the same limits. The address is the one our edge observed, so a request through a proxy or a VPN reports the exit it left through rather than the machine that made it. That is usually the point of asking.
164
164
  # @param [Hash] opts the optional parameters
165
165
  # @return [Array<(LookupResponse, Integer, Hash)>] LookupResponse data, response status code and response headers
166
166
  def lookup_my_ip_with_http_info(opts = {})
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #VPNDetection API
3
3
 
4
- #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
4
+ #The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
6
  The version of the OpenAPI document: 2026.11.11
7
7
  Contact: support@vpndetection.io
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #VPNDetection API
3
3
 
4
- #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
4
+ #The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
6
  The version of the OpenAPI document: 2026.11.11
7
7
  Contact: support@vpndetection.io
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #VPNDetection API
3
3
 
4
- #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
4
+ #The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
6
  The version of the OpenAPI document: 2026.11.11
7
7
  Contact: support@vpndetection.io
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #VPNDetection API
3
3
 
4
- #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
4
+ #The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
6
  The version of the OpenAPI document: 2026.11.11
7
7
  Contact: support@vpndetection.io
@@ -23,10 +23,9 @@ module VPNDetection
23
23
  # Signing a person in with OAuth, which needs no API key at all.
24
24
  attr_reader :oauth
25
25
 
26
- # @param api_key [String, nil] omit it to look up without one: a lookup then
27
- # answers `ip`, `is_vpn`, the Tor and relay members, `location` and `asn`,
28
- # with no daily or monthly cap, and a batch is refused as
29
- # `:unauthorized`. It is trimmed, and a key of blanks alone is no key.
26
+ # @param api_key [String, nil] without one a lookup is on the Unlimited tier:
27
+ # `ip`, `is_vpn`, the Tor and relay members, `location` and `asn`, with no
28
+ # daily or monthly cap. A batch needs a key on a paid plan. It is trimmed, and a key of blanks alone is no key.
30
29
  # @param cache [Boolean] pass false to disable caching.
31
30
  # @param cache_ttl [Numeric] how long an answer stays fresh, in seconds.
32
31
  # @param concurrency [Integer] batch requests - chunks of up to 1000 addresses - in flight during a batch, from 1.
@@ -142,10 +141,11 @@ module VPNDetection
142
141
  # built without an API key gets an unauthorized error rather than a partial
143
142
  # one.
144
143
  #
145
- # Usage counts against the ALLOWANCE WINDOW - the anniversary of the
146
- # subscription, not the calendar month and not the billing period - and it
147
- # is the same number a lookup is gated on. It can lag by a few seconds,
148
- # because requests are counted in memory and flushed in aggregate.
144
+ # Usage counts against the ALLOWANCE WINDOW - on a paid plan the
145
+ # anniversary of the subscription, not the calendar month and not the
146
+ # billing period, and on a trial key the UTC day - and it is the same
147
+ # number a lookup is gated on. It can lag by a few seconds, because
148
+ # requests are counted in memory and flushed in aggregate.
149
149
  #
150
150
  # Deliberately NOT cached: the whole point is what has been spent, and a
151
151
  # cached answer is a wrong one within seconds of the next request.
@@ -168,8 +168,9 @@ module VPNDetection
168
168
  # so one bad entry cannot lose the rest of the answers: the API reports a
169
169
  # per-entry failure with the status the single lookup would have answered,
170
170
  # and a chunk that fails as a whole marks every address in it. The batch
171
- # endpoint needs an API key, a free one included: without one, every address
172
- # sent to it carries an `:unauthorized` error.
171
+ # endpoint needs a paid plan: without a key every address sent to it carries
172
+ # an `:unauthorized` error, and a trial key's batch of two or more a
173
+ # `:bad_request` (HTTP 402).
173
174
  #
174
175
  # @param concurrency [Integer, nil] chunks in flight, for THIS batch only.
175
176
  # Anything but an Integer from 1 is refused as `:bad_request` before any
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #VPNDetection API
3
3
 
4
- #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
4
+ #The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
6
  The version of the OpenAPI document: 2026.11.11
7
7
  Contact: support@vpndetection.io
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #VPNDetection API
3
3
 
4
- #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
4
+ #The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
6
  The version of the OpenAPI document: 2026.11.11
7
7
  Contact: support@vpndetection.io
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #VPNDetection API
3
3
 
4
- #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
4
+ #The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
6
  The version of the OpenAPI document: 2026.11.11
7
7
  Contact: support@vpndetection.io
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #VPNDetection API
3
3
 
4
- #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
4
+ #The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
6
  The version of the OpenAPI document: 2026.11.11
7
7
  Contact: support@vpndetection.io
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #VPNDetection API
3
3
 
4
- #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
4
+ #The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
6
  The version of the OpenAPI document: 2026.11.11
7
7
  Contact: support@vpndetection.io
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #VPNDetection API
3
3
 
4
- #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
4
+ #The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
6
  The version of the OpenAPI document: 2026.11.11
7
7
  Contact: support@vpndetection.io
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #VPNDetection API
3
3
 
4
- #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
4
+ #The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
6
  The version of the OpenAPI document: 2026.11.11
7
7
  Contact: support@vpndetection.io
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #VPNDetection API
3
3
 
4
- #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
4
+ #The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
6
  The version of the OpenAPI document: 2026.11.11
7
7
  Contact: support@vpndetection.io
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #VPNDetection API
3
3
 
4
- #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
4
+ #The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
6
  The version of the OpenAPI document: 2026.11.11
7
7
  Contact: support@vpndetection.io
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #VPNDetection API
3
3
 
4
- #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
4
+ #The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
6
  The version of the OpenAPI document: 2026.11.11
7
7
  Contact: support@vpndetection.io
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #VPNDetection API
3
3
 
4
- #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
4
+ #The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
6
  The version of the OpenAPI document: 2026.11.11
7
7
  Contact: support@vpndetection.io
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #VPNDetection API
3
3
 
4
- #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
4
+ #The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
6
  The version of the OpenAPI document: 2026.11.11
7
7
  Contact: support@vpndetection.io
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #VPNDetection API
3
3
 
4
- #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
4
+ #The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
6
  The version of the OpenAPI document: 2026.11.11
7
7
  Contact: support@vpndetection.io
@@ -16,7 +16,7 @@ require 'time'
16
16
  module VPNDetection
17
17
  # Why one entry of a batch was not answered, as the single lookup would have reported it.
18
18
  class BatchLookupError < ApiModelBase
19
- # The HTTP status `GET /{ip}` would have answered for this entry: `400` for a string that is not an address, `429` for a spent allowance, `500` when the VPN dataset could not be consulted. A `429` here is never a throttle; the whole call is refused instead.
19
+ # The HTTP status `GET /{ip}` would have answered for this entry: `400` for a string that is not an address, `429` for a reached overage cap, `500` when the VPN dataset could not be consulted. A `429` here is never a throttle; the whole call is refused instead.
20
20
  attr_accessor :status
21
21
 
22
22
  # The same message the single lookup carries for that status.
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #VPNDetection API
3
3
 
4
- #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
4
+ #The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
6
  The version of the OpenAPI document: 2026.11.11
7
7
  Contact: support@vpndetection.io
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #VPNDetection API
3
3
 
4
- #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
4
+ #The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
6
  The version of the OpenAPI document: 2026.11.11
7
7
  Contact: support@vpndetection.io
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #VPNDetection API
3
3
 
4
- #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
4
+ #The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
6
  The version of the OpenAPI document: 2026.11.11
7
7
  Contact: support@vpndetection.io
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #VPNDetection API
3
3
 
4
- #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
4
+ #The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
6
  The version of the OpenAPI document: 2026.11.11
7
7
  Contact: support@vpndetection.io
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #VPNDetection API
3
3
 
4
- #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
4
+ #The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
6
  The version of the OpenAPI document: 2026.11.11
7
7
  Contact: support@vpndetection.io
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #VPNDetection API
3
3
 
4
- #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
4
+ #The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
6
  The version of the OpenAPI document: 2026.11.11
7
7
  Contact: support@vpndetection.io
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #VPNDetection API
3
3
 
4
- #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
4
+ #The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
6
  The version of the OpenAPI document: 2026.11.11
7
7
  Contact: support@vpndetection.io
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #VPNDetection API
3
3
 
4
- #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
4
+ #The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
6
  The version of the OpenAPI document: 2026.11.11
7
7
  Contact: support@vpndetection.io
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #VPNDetection API
3
3
 
4
- #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
4
+ #The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
6
  The version of the OpenAPI document: 2026.11.11
7
7
  Contact: support@vpndetection.io
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #VPNDetection API
3
3
 
4
- #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
4
+ #The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
6
  The version of the OpenAPI document: 2026.11.11
7
7
  Contact: support@vpndetection.io
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #VPNDetection API
3
3
 
4
- #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
4
+ #The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
6
  The version of the OpenAPI document: 2026.11.11
7
7
  Contact: support@vpndetection.io
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #VPNDetection API
3
3
 
4
- #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
4
+ #The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
6
  The version of the OpenAPI document: 2026.11.11
7
7
  Contact: support@vpndetection.io
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #VPNDetection API
3
3
 
4
- #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
4
+ #The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
6
  The version of the OpenAPI document: 2026.11.11
7
7
  Contact: support@vpndetection.io
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #VPNDetection API
3
3
 
4
- #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
4
+ #The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
6
  The version of the OpenAPI document: 2026.11.11
7
7
  Contact: support@vpndetection.io
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #VPNDetection API
3
3
 
4
- #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
4
+ #The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
6
  The version of the OpenAPI document: 2026.11.11
7
7
  Contact: support@vpndetection.io
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #VPNDetection API
3
3
 
4
- #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
4
+ #The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
6
  The version of the OpenAPI document: 2026.11.11
7
7
  Contact: support@vpndetection.io
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #VPNDetection API
3
3
 
4
- #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
4
+ #The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
6
  The version of the OpenAPI document: 2026.11.11
7
7
  Contact: support@vpndetection.io
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #VPNDetection API
3
3
 
4
- #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
4
+ #The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
6
  The version of the OpenAPI document: 2026.11.11
7
7
  Contact: support@vpndetection.io
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #VPNDetection API
3
3
 
4
- #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
4
+ #The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
6
  The version of the OpenAPI document: 2026.11.11
7
7
  Contact: support@vpndetection.io
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #VPNDetection API
3
3
 
4
- #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
4
+ #The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
6
  The version of the OpenAPI document: 2026.11.11
7
7
  Contact: support@vpndetection.io
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #VPNDetection API
3
3
 
4
- #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
4
+ #The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
6
  The version of the OpenAPI document: 2026.11.11
7
7
  Contact: support@vpndetection.io
@@ -15,10 +15,10 @@ require 'time'
15
15
 
16
16
  module VPNDetection
17
17
  class EntitlementPlan < ApiModelBase
18
- # The plan the organization is on.
18
+ # The plan the organization is on, or `trial` on none: a trial answers every field for the organization's first 100 lookups each UTC day, and Unlimited's answer after them.
19
19
  attr_accessor :key
20
20
 
21
- # The field tier, which decides how much of a lookup answer comes back. What each tier includes is documented on the lookup endpoint rather than repeated here, so there is one place it can be wrong.
21
+ # The field tier, which decides how much of a lookup answer comes back; `free` is a trial's. What each tier includes is documented on the lookup endpoint rather than repeated here, so there is one place it can be wrong.
22
22
  attr_accessor :tier
23
23
 
24
24
  class EnumAttributeValidator
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #VPNDetection API
3
3
 
4
- #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
4
+ #The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
6
  The version of the OpenAPI document: 2026.11.11
7
7
  Contact: support@vpndetection.io
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #VPNDetection API
3
3
 
4
- #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
4
+ #The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
6
  The version of the OpenAPI document: 2026.11.11
7
7
  Contact: support@vpndetection.io
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #VPNDetection API
3
3
 
4
- #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
4
+ #The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
6
  The version of the OpenAPI document: 2026.11.11
7
7
  Contact: support@vpndetection.io
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #VPNDetection API
3
3
 
4
- #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
4
+ #The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
6
  The version of the OpenAPI document: 2026.11.11
7
7
  Contact: support@vpndetection.io
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #VPNDetection API
3
3
 
4
- #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
4
+ #The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
6
  The version of the OpenAPI document: 2026.11.11
7
7
  Contact: support@vpndetection.io
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #VPNDetection API
3
3
 
4
- #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
4
+ #The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
6
  The version of the OpenAPI document: 2026.11.11
7
7
  Contact: support@vpndetection.io
@@ -14,7 +14,7 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module VPNDetection
17
- # The union of every plan's answer. Every answer carries `ip`, `is_vpn`, the Tor and relay members, `location` and `asn`, with or without a key; each remaining field is present when your key includes it, and absent otherwise. A client that must work across plans should treat an absent flag as unknown rather than as `false`.
17
+ # The union of every tier's answer. Every answer carries `ip`, `is_vpn`, the Tor and relay members, `location` and `asn`, with or without a key; each remaining field is present when your tier includes it, and absent otherwise. A client that must work across plans should treat an absent flag as unknown rather than as `false`.
18
18
  class LookupResponse < ApiModelBase
19
19
  # The address that was looked up, normalized.
20
20
  attr_accessor :ip
@@ -22,7 +22,7 @@ module VPNDetection
22
22
  # Whether the address is VPN infrastructure. Keys off presence in the VPN dataset, so an unattributed range with no provider is still `true`.
23
23
  attr_accessor :is_vpn
24
24
 
25
- # Whether the address belongs to a hosting or cloud provider. Free and paid plans.
25
+ # Whether the address belongs to a hosting or cloud provider. Paid plans.
26
26
  attr_accessor :is_hosting
27
27
 
28
28
  # Whether the address is privacy relay or enterprise web gateway egress, such as iCloud Private Relay or Zscaler. Every answer, with or without a key.
@@ -31,19 +31,19 @@ module VPNDetection
31
31
  # Whether the address is a Tor node. Every answer, with or without a key.
32
32
  attr_accessor :is_tor
33
33
 
34
- # Whether the address belongs to a CDN. Free and paid plans.
34
+ # Whether the address belongs to a CDN. Paid plans.
35
35
  attr_accessor :is_cdn
36
36
 
37
- # Whether the address was seen in a residential proxy pool. Free and paid plans.
37
+ # Whether the address was seen in a residential proxy pool. Paid plans.
38
38
  attr_accessor :is_resproxy
39
39
 
40
- # Whether the address is one a datacenter proxy service sells or runs on, a proxy company's own ranges included. Free and paid plans.
40
+ # Whether the address is one a datacenter proxy service sells or runs on, a proxy company's own ranges included. Paid plans.
41
41
  attr_accessor :is_dcproxy
42
42
 
43
- # Whether the address was seen in a mobile proxy pool. Free and paid plans.
43
+ # Whether the address was seen in a mobile proxy pool. Paid plans.
44
44
  attr_accessor :is_mobproxy
45
45
 
46
- # Whether a public proxy, one anyone can connect through, listens on the address or sends its traffic out from it. Free and paid plans.
46
+ # Whether a public proxy, one anyone can connect through, listens on the address or sends its traffic out from it. Paid plans.
47
47
  attr_accessor :is_pubproxy
48
48
 
49
49
  # Detail for `is_vpn`. Empty when `is_vpn` is false. Paid plans.
@@ -77,6 +77,9 @@ module VPNDetection
77
77
 
78
78
  attr_accessor :asn
79
79
 
80
+ # On every answer to a trial key, an organization on no paid plan, and on no other: `false` while the organization's 100 full answers for the UTC day last, `true` once the answer is Unlimited's.
81
+ attr_accessor :trial_expired
82
+
80
83
  # Attribute mapping from ruby-style variable name to JSON key.
81
84
  def self.attribute_map
82
85
  {
@@ -100,7 +103,8 @@ module VPNDetection
100
103
  :'mobproxy' => :'mobproxy',
101
104
  :'pubproxy' => :'pubproxy',
102
105
  :'location' => :'location',
103
- :'asn' => :'asn'
106
+ :'asn' => :'asn',
107
+ :'trial_expired' => :'trial_expired'
104
108
  }
105
109
  end
106
110
 
@@ -137,7 +141,8 @@ module VPNDetection
137
141
  :'mobproxy' => :'ProxyDetail',
138
142
  :'pubproxy' => :'PubproxyDetail',
139
143
  :'location' => :'Location',
140
- :'asn' => :'Asn'
144
+ :'asn' => :'Asn',
145
+ :'trial_expired' => :'Boolean'
141
146
  }
142
147
  end
143
148
 
@@ -250,6 +255,10 @@ module VPNDetection
250
255
  if attributes.key?(:'asn')
251
256
  self.asn = attributes[:'asn']
252
257
  end
258
+
259
+ if attributes.key?(:'trial_expired')
260
+ self.trial_expired = attributes[:'trial_expired']
261
+ end
253
262
  end
254
263
 
255
264
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -322,7 +331,8 @@ module VPNDetection
322
331
  mobproxy == o.mobproxy &&
323
332
  pubproxy == o.pubproxy &&
324
333
  location == o.location &&
325
- asn == o.asn
334
+ asn == o.asn &&
335
+ trial_expired == o.trial_expired
326
336
  end
327
337
 
328
338
  # @see the `==` method
@@ -334,7 +344,7 @@ module VPNDetection
334
344
  # Calculates hash code according to all attributes.
335
345
  # @return [Integer] Hash code
336
346
  def hash
337
- [ip, is_vpn, is_hosting, is_relay, is_tor, is_cdn, is_resproxy, is_dcproxy, is_mobproxy, is_pubproxy, vpn, hosting, relay, tor, cdn, resproxy, dcproxy, mobproxy, pubproxy, location, asn].hash
347
+ [ip, is_vpn, is_hosting, is_relay, is_tor, is_cdn, is_resproxy, is_dcproxy, is_mobproxy, is_pubproxy, vpn, hosting, relay, tor, cdn, resproxy, dcproxy, mobproxy, pubproxy, location, asn, trial_expired].hash
338
348
  end
339
349
 
340
350
  # Builds the object from hash
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #VPNDetection API
3
3
 
4
- #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
4
+ #The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
6
  The version of the OpenAPI document: 2026.11.11
7
7
  Contact: support@vpndetection.io
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #VPNDetection API
3
3
 
4
- #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
4
+ #The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
6
  The version of the OpenAPI document: 2026.11.11
7
7
  Contact: support@vpndetection.io
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #VPNDetection API
3
3
 
4
- #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
4
+ #The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
6
  The version of the OpenAPI document: 2026.11.11
7
7
  Contact: support@vpndetection.io
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #VPNDetection API
3
3
 
4
- #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
4
+ #The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
6
  The version of the OpenAPI document: 2026.11.11
7
7
  Contact: support@vpndetection.io
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #VPNDetection API
3
3
 
4
- #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
4
+ #The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
6
  The version of the OpenAPI document: 2026.11.11
7
7
  Contact: support@vpndetection.io
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #VPNDetection API
3
3
 
4
- #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
4
+ #The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
6
  The version of the OpenAPI document: 2026.11.11
7
7
  Contact: support@vpndetection.io
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #VPNDetection API
3
3
 
4
- #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
4
+ #The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
6
  The version of the OpenAPI document: 2026.11.11
7
7
  Contact: support@vpndetection.io
@@ -76,7 +76,7 @@ module VPNDetection
76
76
  end
77
77
 
78
78
  # Whether the address belongs to a hosting or cloud provider, or nil when
79
- # your plan does not include it. With any key, a free one included.
79
+ # your plan does not include it. On every paid plan.
80
80
  def is_hosting
81
81
  @raw['is_hosting']
82
82
  end
@@ -109,7 +109,7 @@ module VPNDetection
109
109
  end
110
110
 
111
111
  # Whether the address belongs to a CDN, or nil when your plan does not
112
- # include it. With any key, a free one included.
112
+ # include it. On every paid plan.
113
113
  def is_cdn
114
114
  @raw['is_cdn']
115
115
  end
@@ -120,7 +120,7 @@ module VPNDetection
120
120
  end
121
121
 
122
122
  # Whether the address was seen in a residential proxy pool, or nil when your
123
- # plan does not include it. With any key, a free one included.
123
+ # plan does not include it. On every paid plan.
124
124
  def is_resproxy
125
125
  @raw['is_resproxy']
126
126
  end
@@ -132,7 +132,7 @@ module VPNDetection
132
132
 
133
133
  # Whether the address is one a datacenter proxy service sells or runs on, a
134
134
  # proxy company's own ranges included, or nil when your plan does not
135
- # include it. With any key, a free one included.
135
+ # include it. On every paid plan.
136
136
  def is_dcproxy
137
137
  @raw['is_dcproxy']
138
138
  end
@@ -143,7 +143,7 @@ module VPNDetection
143
143
  end
144
144
 
145
145
  # Whether the address was seen in a mobile proxy pool, or nil when your plan
146
- # does not include it. With any key, a free one included.
146
+ # does not include it. On every paid plan.
147
147
  def is_mobproxy
148
148
  @raw['is_mobproxy']
149
149
  end
@@ -155,7 +155,7 @@ module VPNDetection
155
155
 
156
156
  # Whether a public proxy, one anyone can connect through, listens on the
157
157
  # address or sends its traffic out from it, or nil when your plan does not
158
- # include it. With any key, a free one included.
158
+ # include it. On every paid plan.
159
159
  def is_pubproxy
160
160
  @raw['is_pubproxy']
161
161
  end
@@ -229,6 +229,18 @@ module VPNDetection
229
229
  @raw['asn']
230
230
  end
231
231
 
232
+ # On a Trial key's answers only: false while the organization's 100 full
233
+ # answers for the UTC day last, true once the answer is Unlimited's; nil on
234
+ # any other answer.
235
+ def trial_expired
236
+ @raw['trial_expired']
237
+ end
238
+
239
+ # `trial_expired` with an absent member read as false.
240
+ def trial_expired?
241
+ @raw['trial_expired'] == true
242
+ end
243
+
232
244
  def to_h
233
245
  @raw
234
246
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module VPNDetection
4
- VERSION = '5.13.1'
4
+ VERSION = '5.14.0'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vpndetection
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.13.1
4
+ version: 5.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mslm Dev