internetdata 2.19.0__tar.gz → 2.20.0__tar.gz
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.
- {internetdata-2.19.0 → internetdata-2.20.0}/PKG-INFO +23 -6
- {internetdata-2.19.0 → internetdata-2.20.0}/README.md +22 -5
- {internetdata-2.19.0 → internetdata-2.20.0}/spec/openapi.yaml +96 -91
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/__init__.py +1 -1
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_core.py +70 -20
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/abuse_contact.py +7 -7
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/asn_hosted_domains.py +1 -1
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/asn_lookup_response.py +20 -20
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/asn_lookup_response_whois.py +1 -1
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/cohosted_domains.py +1 -1
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/company.py +2 -2
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/domain_backlinks.py +1 -1
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/domain_dns.py +1 -1
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/domain_ip_ranges.py +1 -1
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/domain_lookup_response.py +8 -8
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/domain_redirects.py +2 -2
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/domain_web.py +2 -2
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/entitlement_plan.py +4 -3
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/entitlement_usage.py +4 -2
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/hosted_domains.py +1 -1
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/location.py +10 -10
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/lookup_response.py +13 -13
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/rwhois.py +1 -1
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/whois.py +1 -1
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/aio.py +82 -34
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/client.py +82 -34
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/middleware/__init__.py +4 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/middleware/core.py +91 -14
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/models.py +4 -2
- {internetdata-2.19.0 → internetdata-2.20.0}/testdata/testdata.json +126 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/tests/test_cache_life.py +2 -2
- internetdata-2.20.0/tests/test_user_agent.py +488 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/.gitignore +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/LICENSE +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/pyproject.toml +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/scripts/download-spec.sh +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/scripts/generate.sh +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/scripts/publish.sh +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/scripts/v2_subset.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_bogons.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/__init__.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/api/__init__.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/api/account/__init__.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/api/account/account_identity.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/api/api_keys/__init__.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/api/api_keys/account_create_apikey.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/api/api_keys/account_list_apikeys.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/api/api_keys/account_reveal_apikey.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/api/api_keys/account_revoke_apikey.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/api/api_keys/account_rotate_apikey.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/api/authorization/__init__.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/api/authorization/oauth_authorize.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/api/authorization/oauth_device_authorization.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/api/authorization/oauth_metadata.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/api/authorization/oauth_register.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/api/authorization/oauth_revoke.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/api/authorization/oauth_token.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/api/database_v_2/__init__.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/api/database_v_2/database_checksum_v2.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/api/database_v_2/database_metadata_v2.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/api/database_v_2/download_database_v2.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/api/database_v_2/list_databases.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/api/database_v_2/list_downloads.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/api/entitlement/__init__.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/api/entitlement/my_entitlement.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/api/lookup/__init__.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/api/lookup/lookup_asn.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/api/lookup/lookup_batch.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/api/lookup/lookup_domain.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/api/lookup/lookup_ip.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/api/lookup/lookup_my_ip.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/api/organization/__init__.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/api/organization/account_org.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/api/organization/account_org_members.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/client.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/errors.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/__init__.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/account_create_apikey_request.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/account_created_apikey.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/account_org.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/account_org_ref.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/account_org_wrap.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/account_rc.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/account_revealed_apikey.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/account_user.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/apikey_detail.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/apikey_list.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/asn.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/asn_prefix.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/batch_lookup_error.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/batch_lookup_request.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/batch_lookup_request_user_agents.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/batch_lookup_response.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/batch_lookup_response_errors.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/batch_lookup_response_results.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/bit_torrent_detail.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/bot_detail.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/carrier_detail.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/class_detail.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/client_registration.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/client_registration_request.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/database.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/database_checksum_v2_response_200.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/database_format.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/database_license_type_type_1.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/database_license_type_type_2_type_1.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/database_license_type_type_3_type_1.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/database_metadata.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/database_metadata_column.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/database_metadata_sample.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/database_metadata_sample_additional_property_item.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/database_metadata_sample_size.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/database_metadata_schema.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/database_metadata_size.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/database_version.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/db_checksums.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/device_authorization.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/device_authorization_request.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/disposable_detail.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/dns_address_record.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/dns_cname_record.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/dns_mx_record.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/dns_ns_record.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/dns_resolver_detail.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/domain_host.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/domain_ip_range.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/domain_web_links.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/download.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/download_outcome.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/entitlement.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/entitlement_apikey.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/entitlement_error.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/entitlement_plan_tier.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/error.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/identity.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/list_databases_response_200.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/list_downloads_response_200.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/lookup_error.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/oauth_authorize_code_challenge_method.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/oauth_authorize_response_type.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/oauth_error.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/oauth_metadata.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/oauth_revoke_response_200.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/proxy_detail.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/pubproxy_detail.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/revoke_request.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/satellite_detail.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/smtp_detail.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/ssh_detail.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/standing.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/token_request.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/token_response.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/user_agent_verdict.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/user_agent_verdict_verdict.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/models/web_detail.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/_generated/types.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/bogon.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/errors.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/middleware/condition.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/src/internetdata/py.typed +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/testdata/bogons.json +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/tests/conftest.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/tests/helpers.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/tests/test_client.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/tests/test_conformance.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/tests/test_download.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/tests/test_lookup.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/tests/test_middleware.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/tests/test_oauth.py +0 -0
- {internetdata-2.19.0 → internetdata-2.20.0}/tests/test_sharing.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: internetdata
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.20.0
|
|
4
4
|
Summary: Official Python client library for the InternetData API. Look up IP addresses, ASNs and domains, and download licensed IP databases.
|
|
5
5
|
Project-URL: Homepage, https://internetdata.io
|
|
6
6
|
Project-URL: Documentation, https://docs.internetdata.io
|
|
@@ -74,7 +74,7 @@ with InternetData() as client:
|
|
|
74
74
|
|
|
75
75
|
### With an API key
|
|
76
76
|
|
|
77
|
-
|
|
77
|
+
A paid plan answers every field: the VPN, proxy, hosting and CDN flags, the detail behind each flag, the city, the Whois records and more. Its quotas differ only in how many lookups they include, and a free account tries every field. Create a key in the [console](https://app.internetdata.io), then pass it in:
|
|
78
78
|
|
|
79
79
|
```python
|
|
80
80
|
import os
|
|
@@ -117,8 +117,8 @@ Same answer `lookup` would give for that address, and the same cost against your
|
|
|
117
117
|
|
|
118
118
|
```python
|
|
119
119
|
acct = client.my_entitlement()
|
|
120
|
-
print(acct.plan.key) #
|
|
121
|
-
print(acct.plan.name) #
|
|
120
|
+
print(acct.plan.key) # data_4
|
|
121
|
+
print(acct.plan.name) # Data, the name to show
|
|
122
122
|
print(acct.usage.requests) # 580
|
|
123
123
|
print(acct.usage.window_end) # when the allowance resets
|
|
124
124
|
```
|
|
@@ -149,6 +149,23 @@ How many chunks are in flight at once, how many times a failed chunk is retried
|
|
|
149
149
|
results = client.lookup_batch(many_ips, concurrency=4, retries=4, timeout=30)
|
|
150
150
|
```
|
|
151
151
|
|
|
152
|
+
### Is that crawler who it says it is?
|
|
153
|
+
|
|
154
|
+
Pass the `User-Agent` the visitor sent, and on a paid plan the answer's `user_agent` says which client it names and whether this address is it: `verified` when its operator vouches for the address, `spoofed` when it does not, `unverifiable` for a bot nothing published can confirm, and `not_bot` for a browser, an app or a script. A batch takes a map from address to agent, and an address with none sends none. Unlimited, without a key or past a free key's trial, never carries `user_agent`.
|
|
155
|
+
|
|
156
|
+
```python
|
|
157
|
+
result = client.lookup("66.249.66.1", user_agent=request_user_agent)
|
|
158
|
+
if result.user_agent is not None and result.user_agent.verdict == "verified":
|
|
159
|
+
print(f"a real {result.user_agent.agent}")
|
|
160
|
+
|
|
161
|
+
results = client.lookup_batch(
|
|
162
|
+
["66.249.66.1", "146.70.116.130"],
|
|
163
|
+
user_agents={"66.249.66.1": "Googlebot/2.1 (+http://www.google.com/bot.html)"},
|
|
164
|
+
)
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
An answer for an address and an agent is cached apart from the address's plain answer and from another agent's. An empty agent sends none, and a bogon carries none.
|
|
168
|
+
|
|
152
169
|
### Caching
|
|
153
170
|
|
|
154
171
|
Answers are cached by default, so repeat lookups of the same address are free:
|
|
@@ -419,9 +436,9 @@ There are official InternetData client libraries available for many languages in
|
|
|
419
436
|
|
|
420
437
|
## About InternetData
|
|
421
438
|
|
|
422
|
-
Geolocation, anonymity, ownership and
|
|
439
|
+
Geolocation, anonymity, ownership, network, service and domain data for any IP address, AS or domain, by API or as databases you download.
|
|
423
440
|
|
|
424
|
-
[<img src="https://s3.internetdata.io/internetdata-public/brand/
|
|
441
|
+
[<picture><source media="(prefers-color-scheme: dark)" srcset="https://s3.internetdata.io/internetdata-public/brand/logo-dark.svg"><img src="https://s3.internetdata.io/internetdata-public/brand/logo.svg" alt="InternetData" height="40"/></picture>](https://internetdata.io/)
|
|
425
442
|
|
|
426
443
|
## License
|
|
427
444
|
|
|
@@ -39,7 +39,7 @@ with InternetData() as client:
|
|
|
39
39
|
|
|
40
40
|
### With an API key
|
|
41
41
|
|
|
42
|
-
|
|
42
|
+
A paid plan answers every field: the VPN, proxy, hosting and CDN flags, the detail behind each flag, the city, the Whois records and more. Its quotas differ only in how many lookups they include, and a free account tries every field. Create a key in the [console](https://app.internetdata.io), then pass it in:
|
|
43
43
|
|
|
44
44
|
```python
|
|
45
45
|
import os
|
|
@@ -82,8 +82,8 @@ Same answer `lookup` would give for that address, and the same cost against your
|
|
|
82
82
|
|
|
83
83
|
```python
|
|
84
84
|
acct = client.my_entitlement()
|
|
85
|
-
print(acct.plan.key) #
|
|
86
|
-
print(acct.plan.name) #
|
|
85
|
+
print(acct.plan.key) # data_4
|
|
86
|
+
print(acct.plan.name) # Data, the name to show
|
|
87
87
|
print(acct.usage.requests) # 580
|
|
88
88
|
print(acct.usage.window_end) # when the allowance resets
|
|
89
89
|
```
|
|
@@ -114,6 +114,23 @@ How many chunks are in flight at once, how many times a failed chunk is retried
|
|
|
114
114
|
results = client.lookup_batch(many_ips, concurrency=4, retries=4, timeout=30)
|
|
115
115
|
```
|
|
116
116
|
|
|
117
|
+
### Is that crawler who it says it is?
|
|
118
|
+
|
|
119
|
+
Pass the `User-Agent` the visitor sent, and on a paid plan the answer's `user_agent` says which client it names and whether this address is it: `verified` when its operator vouches for the address, `spoofed` when it does not, `unverifiable` for a bot nothing published can confirm, and `not_bot` for a browser, an app or a script. A batch takes a map from address to agent, and an address with none sends none. Unlimited, without a key or past a free key's trial, never carries `user_agent`.
|
|
120
|
+
|
|
121
|
+
```python
|
|
122
|
+
result = client.lookup("66.249.66.1", user_agent=request_user_agent)
|
|
123
|
+
if result.user_agent is not None and result.user_agent.verdict == "verified":
|
|
124
|
+
print(f"a real {result.user_agent.agent}")
|
|
125
|
+
|
|
126
|
+
results = client.lookup_batch(
|
|
127
|
+
["66.249.66.1", "146.70.116.130"],
|
|
128
|
+
user_agents={"66.249.66.1": "Googlebot/2.1 (+http://www.google.com/bot.html)"},
|
|
129
|
+
)
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
An answer for an address and an agent is cached apart from the address's plain answer and from another agent's. An empty agent sends none, and a bogon carries none.
|
|
133
|
+
|
|
117
134
|
### Caching
|
|
118
135
|
|
|
119
136
|
Answers are cached by default, so repeat lookups of the same address are free:
|
|
@@ -384,9 +401,9 @@ There are official InternetData client libraries available for many languages in
|
|
|
384
401
|
|
|
385
402
|
## About InternetData
|
|
386
403
|
|
|
387
|
-
Geolocation, anonymity, ownership and
|
|
404
|
+
Geolocation, anonymity, ownership, network, service and domain data for any IP address, AS or domain, by API or as databases you download.
|
|
388
405
|
|
|
389
|
-
[<img src="https://s3.internetdata.io/internetdata-public/brand/
|
|
406
|
+
[<picture><source media="(prefers-color-scheme: dark)" srcset="https://s3.internetdata.io/internetdata-public/brand/logo-dark.svg"><img src="https://s3.internetdata.io/internetdata-public/brand/logo.svg" alt="InternetData" height="40"/></picture>](https://internetdata.io/)
|
|
390
407
|
|
|
391
408
|
## License
|
|
392
409
|
|
|
@@ -13,7 +13,7 @@ info:
|
|
|
13
13
|
email: support@internetdata.io
|
|
14
14
|
url: https://internetdata.io
|
|
15
15
|
termsOfService: https://internetdata.io/terms
|
|
16
|
-
version: 2026.11.
|
|
16
|
+
version: 2026.11.25
|
|
17
17
|
servers:
|
|
18
18
|
- url: https://internetdata.io
|
|
19
19
|
tags:
|
|
@@ -2801,21 +2801,21 @@ paths:
|
|
|
2801
2801
|
expires: null
|
|
2802
2802
|
allowed_cidrs: []
|
|
2803
2803
|
plan:
|
|
2804
|
-
key:
|
|
2805
|
-
name:
|
|
2804
|
+
key: data_4
|
|
2805
|
+
name: Data
|
|
2806
2806
|
tier: max
|
|
2807
2807
|
usage:
|
|
2808
2808
|
requests: 580
|
|
2809
|
-
quota:
|
|
2809
|
+
quota: 1000000
|
|
2810
2810
|
hard_limit: null
|
|
2811
2811
|
window_start: '2026-09-04T07:00:00Z'
|
|
2812
2812
|
window_end: '2026-10-04T07:00:00Z'
|
|
2813
2813
|
free:
|
|
2814
2814
|
summary: >-
|
|
2815
2815
|
A key of an organization on the free plan, Unlimited: its usage is its trial,
|
|
2816
|
-
the lookups answered with every field
|
|
2817
|
-
stops it past
|
|
2818
|
-
no hard limit
|
|
2816
|
+
the lookups answered with every field while it lasts, against the trial's limit.
|
|
2817
|
+
Nothing stops it past the trial, its lookups answering with Unlimited's fields,
|
|
2818
|
+
so there is no hard limit
|
|
2819
2819
|
value:
|
|
2820
2820
|
org_id: f32191d0-ef02-450e-a505-eb5814c35cab
|
|
2821
2821
|
apikey:
|
|
@@ -2828,10 +2828,10 @@ paths:
|
|
|
2828
2828
|
tier: free
|
|
2829
2829
|
usage:
|
|
2830
2830
|
requests: 37
|
|
2831
|
-
quota:
|
|
2831
|
+
quota: 250000
|
|
2832
2832
|
hard_limit: null
|
|
2833
|
-
window_start: '2026-11-
|
|
2834
|
-
window_end: '2026-
|
|
2833
|
+
window_start: '2026-11-24T10:15:00Z'
|
|
2834
|
+
window_end: '2026-12-08T10:15:00Z'
|
|
2835
2835
|
'401':
|
|
2836
2836
|
description: No key was presented, or it is unknown, revoked or expired.
|
|
2837
2837
|
content:
|
|
@@ -3801,7 +3801,7 @@ components:
|
|
|
3801
3801
|
description: Reserved space, answered from the address alone.
|
|
3802
3802
|
is_vpn:
|
|
3803
3803
|
type: boolean
|
|
3804
|
-
description: 'In VPN IP: a VPN service''s server.
|
|
3804
|
+
description: 'In VPN IP: a VPN service''s server. On a paid plan or the trial.'
|
|
3805
3805
|
is_tor:
|
|
3806
3806
|
type: boolean
|
|
3807
3807
|
description: 'In Tor IP: a Tor exit.'
|
|
@@ -3811,25 +3811,25 @@ components:
|
|
|
3811
3811
|
is_resproxy:
|
|
3812
3812
|
type: boolean
|
|
3813
3813
|
description: >-
|
|
3814
|
-
In Residential Proxy IP's 90-day window: a residential proxy exit.
|
|
3814
|
+
In Residential Proxy IP's 90-day window: a residential proxy exit. On a paid plan or the
|
|
3815
3815
|
trial.
|
|
3816
3816
|
is_dcproxy:
|
|
3817
3817
|
type: boolean
|
|
3818
|
-
description: In Datacenter Proxy IP's 90-day window.
|
|
3818
|
+
description: In Datacenter Proxy IP's 90-day window. On a paid plan or the trial.
|
|
3819
3819
|
is_mobproxy:
|
|
3820
3820
|
type: boolean
|
|
3821
|
-
description: In Mobile Proxy IP's 90-day window.
|
|
3821
|
+
description: In Mobile Proxy IP's 90-day window. On a paid plan or the trial.
|
|
3822
3822
|
is_pubproxy:
|
|
3823
3823
|
type: boolean
|
|
3824
3824
|
description: >-
|
|
3825
|
-
In Public Proxy IP: a public proxy listens here, or its traffic left from here.
|
|
3826
|
-
|
|
3825
|
+
In Public Proxy IP: a public proxy listens here, or its traffic left from here. On a
|
|
3826
|
+
paid plan or the trial.
|
|
3827
3827
|
is_hosting:
|
|
3828
3828
|
type: boolean
|
|
3829
|
-
description: 'In Hosting IP: a hosting or cloud network.
|
|
3829
|
+
description: 'In Hosting IP: a hosting or cloud network. On a paid plan or the trial.'
|
|
3830
3830
|
is_cdn:
|
|
3831
3831
|
type: boolean
|
|
3832
|
-
description: 'In CDN IP: a content delivery network.
|
|
3832
|
+
description: 'In CDN IP: a content delivery network. On a paid plan or the trial.'
|
|
3833
3833
|
is_bot:
|
|
3834
3834
|
type: boolean
|
|
3835
3835
|
description: >-
|
|
@@ -3863,7 +3863,7 @@ components:
|
|
|
3863
3863
|
vpn:
|
|
3864
3864
|
allOf:
|
|
3865
3865
|
- $ref: '#/components/schemas/ClassDetail'
|
|
3866
|
-
description: VPN IP's row, `{}` when `is_vpn` is false.
|
|
3866
|
+
description: VPN IP's row, `{}` when `is_vpn` is false. On a paid plan or the trial.
|
|
3867
3867
|
tor:
|
|
3868
3868
|
allOf:
|
|
3869
3869
|
- $ref: '#/components/schemas/ClassDetail'
|
|
@@ -3875,62 +3875,62 @@ components:
|
|
|
3875
3875
|
resproxy:
|
|
3876
3876
|
allOf:
|
|
3877
3877
|
- $ref: '#/components/schemas/ProxyDetail'
|
|
3878
|
-
description: '`{}` when `is_resproxy` is false.
|
|
3878
|
+
description: '`{}` when `is_resproxy` is false. On a paid plan or the trial.'
|
|
3879
3879
|
dcproxy:
|
|
3880
3880
|
allOf:
|
|
3881
3881
|
- $ref: '#/components/schemas/ProxyDetail'
|
|
3882
|
-
description: '`{}` when `is_dcproxy` is false.
|
|
3882
|
+
description: '`{}` when `is_dcproxy` is false. On a paid plan or the trial.'
|
|
3883
3883
|
mobproxy:
|
|
3884
3884
|
allOf:
|
|
3885
3885
|
- $ref: '#/components/schemas/ProxyDetail'
|
|
3886
|
-
description: '`{}` when `is_mobproxy` is false.
|
|
3886
|
+
description: '`{}` when `is_mobproxy` is false. On a paid plan or the trial.'
|
|
3887
3887
|
pubproxy:
|
|
3888
3888
|
allOf:
|
|
3889
3889
|
- $ref: '#/components/schemas/PubproxyDetail'
|
|
3890
|
-
description: '`{}` when `is_pubproxy` is false.
|
|
3890
|
+
description: '`{}` when `is_pubproxy` is false. On a paid plan or the trial.'
|
|
3891
3891
|
hosting:
|
|
3892
3892
|
allOf:
|
|
3893
3893
|
- $ref: '#/components/schemas/ClassDetail'
|
|
3894
|
-
description: '`{}` when `is_hosting` is false.
|
|
3894
|
+
description: '`{}` when `is_hosting` is false. On a paid plan or the trial.'
|
|
3895
3895
|
cdn:
|
|
3896
3896
|
allOf:
|
|
3897
3897
|
- $ref: '#/components/schemas/ClassDetail'
|
|
3898
|
-
description: '`{}` when `is_cdn` is false.
|
|
3898
|
+
description: '`{}` when `is_cdn` is false. On a paid plan or the trial.'
|
|
3899
3899
|
bot:
|
|
3900
3900
|
allOf:
|
|
3901
3901
|
- $ref: '#/components/schemas/BotDetail'
|
|
3902
|
-
description: '`{}` when `is_bot` is false.
|
|
3902
|
+
description: '`{}` when `is_bot` is false. On a paid plan or the trial.'
|
|
3903
3903
|
carrier:
|
|
3904
3904
|
allOf:
|
|
3905
3905
|
- $ref: '#/components/schemas/CarrierDetail'
|
|
3906
|
-
description: '`{}` when `is_carrier` is false.
|
|
3906
|
+
description: '`{}` when `is_carrier` is false. On a paid plan or the trial.'
|
|
3907
3907
|
satellite:
|
|
3908
3908
|
allOf:
|
|
3909
3909
|
- $ref: '#/components/schemas/SatelliteDetail'
|
|
3910
|
-
description: '`{}` when `is_satellite` is false.
|
|
3910
|
+
description: '`{}` when `is_satellite` is false. On a paid plan or the trial.'
|
|
3911
3911
|
ssh:
|
|
3912
3912
|
allOf:
|
|
3913
3913
|
- $ref: '#/components/schemas/SshDetail'
|
|
3914
|
-
description: '`{}` when `is_ssh` is false.
|
|
3914
|
+
description: '`{}` when `is_ssh` is false. On a paid plan or the trial.'
|
|
3915
3915
|
smtp:
|
|
3916
3916
|
allOf:
|
|
3917
3917
|
- $ref: '#/components/schemas/SmtpDetail'
|
|
3918
|
-
description: '`{}` when `is_smtp` is false.
|
|
3918
|
+
description: '`{}` when `is_smtp` is false. On a paid plan or the trial.'
|
|
3919
3919
|
web:
|
|
3920
3920
|
type: array
|
|
3921
3921
|
items:
|
|
3922
3922
|
$ref: '#/components/schemas/WebDetail'
|
|
3923
3923
|
description: >-
|
|
3924
|
-
A row per port that answered, lowest first; `[]` when `is_web` is false.
|
|
3925
|
-
the trial.
|
|
3924
|
+
A row per port that answered, lowest first; `[]` when `is_web` is false. On a paid plan
|
|
3925
|
+
or the trial.
|
|
3926
3926
|
dns_resolver:
|
|
3927
3927
|
allOf:
|
|
3928
3928
|
- $ref: '#/components/schemas/DnsResolverDetail'
|
|
3929
|
-
description: '`{}` when `is_dns_resolver` is false.
|
|
3929
|
+
description: '`{}` when `is_dns_resolver` is false. On a paid plan or the trial.'
|
|
3930
3930
|
bittorrent:
|
|
3931
3931
|
allOf:
|
|
3932
3932
|
- $ref: '#/components/schemas/BitTorrentDetail'
|
|
3933
|
-
description: '`{}` when `is_bittorrent` is false.
|
|
3933
|
+
description: '`{}` when `is_bittorrent` is false. On a paid plan or the trial.'
|
|
3934
3934
|
location:
|
|
3935
3935
|
$ref: '#/components/schemas/Location'
|
|
3936
3936
|
asn:
|
|
@@ -4388,34 +4388,34 @@ components:
|
|
|
4388
4388
|
description: Its code points, `U+1F1E6 U+1F1F9`.
|
|
4389
4389
|
region:
|
|
4390
4390
|
type: string
|
|
4391
|
-
description: Region (state or province).
|
|
4391
|
+
description: Region (state or province). On a paid plan or the trial.
|
|
4392
4392
|
region_code:
|
|
4393
4393
|
type: string
|
|
4394
|
-
description: ISO 3166-2 region code.
|
|
4394
|
+
description: ISO 3166-2 region code. On a paid plan or the trial.
|
|
4395
4395
|
city:
|
|
4396
4396
|
type: string
|
|
4397
|
-
description: City.
|
|
4397
|
+
description: City. On a paid plan or the trial.
|
|
4398
4398
|
postal_code:
|
|
4399
4399
|
type: string
|
|
4400
|
-
description: Postal code.
|
|
4400
|
+
description: Postal code. On a paid plan or the trial.
|
|
4401
4401
|
latitude:
|
|
4402
4402
|
type: number
|
|
4403
|
-
description: Latitude of the city.
|
|
4403
|
+
description: Latitude of the city. On a paid plan or the trial.
|
|
4404
4404
|
longitude:
|
|
4405
4405
|
type: number
|
|
4406
|
-
description: Longitude of the city.
|
|
4406
|
+
description: Longitude of the city. On a paid plan or the trial.
|
|
4407
4407
|
accuracy_radius:
|
|
4408
4408
|
type: integer
|
|
4409
|
-
description: Radius in km holding the true location with 67% confidence.
|
|
4409
|
+
description: Radius in km holding the true location with 67% confidence. On a paid plan or the trial.
|
|
4410
4410
|
geoname_id:
|
|
4411
4411
|
type: string
|
|
4412
|
-
description: GeoNames ID of the city.
|
|
4412
|
+
description: GeoNames ID of the city. On a paid plan or the trial.
|
|
4413
4413
|
dma_code:
|
|
4414
4414
|
type: string
|
|
4415
|
-
description: US TV market (DMA) code.
|
|
4415
|
+
description: US TV market (DMA) code. On a paid plan or the trial.
|
|
4416
4416
|
last_changed:
|
|
4417
4417
|
type: string
|
|
4418
|
-
description: The day the range's location last changed.
|
|
4418
|
+
description: The day the range's location last changed. On a paid plan or the trial.
|
|
4419
4419
|
required:
|
|
4420
4420
|
- continent
|
|
4421
4421
|
- continent_name
|
|
@@ -4474,11 +4474,11 @@ components:
|
|
|
4474
4474
|
type:
|
|
4475
4475
|
type: string
|
|
4476
4476
|
description: >-
|
|
4477
|
-
What kind of organization: hosting, isp, business, education, government.
|
|
4478
|
-
the trial.
|
|
4477
|
+
What kind of organization: hosting, isp, business, education, government. On a paid plan
|
|
4478
|
+
or the trial.
|
|
4479
4479
|
country:
|
|
4480
4480
|
type: string
|
|
4481
|
-
description: ISO 3166 country code.
|
|
4481
|
+
description: ISO 3166 country code. On a paid plan or the trial.
|
|
4482
4482
|
required:
|
|
4483
4483
|
- name
|
|
4484
4484
|
- domain
|
|
@@ -4491,25 +4491,25 @@ components:
|
|
|
4491
4491
|
description: Where to report abuse from the address.
|
|
4492
4492
|
name:
|
|
4493
4493
|
type: string
|
|
4494
|
-
description: The contact.
|
|
4494
|
+
description: The contact. On a paid plan or the trial.
|
|
4495
4495
|
phone:
|
|
4496
4496
|
type: string
|
|
4497
|
-
description: Its phone number.
|
|
4497
|
+
description: Its phone number. On a paid plan or the trial.
|
|
4498
4498
|
address:
|
|
4499
4499
|
type: string
|
|
4500
|
-
description: Its postal address.
|
|
4500
|
+
description: Its postal address. On a paid plan or the trial.
|
|
4501
4501
|
country:
|
|
4502
4502
|
type: string
|
|
4503
|
-
description: ISO 3166 country code.
|
|
4503
|
+
description: ISO 3166 country code. On a paid plan or the trial.
|
|
4504
4504
|
network:
|
|
4505
4505
|
type: string
|
|
4506
|
-
description: The registry block it was derived from.
|
|
4506
|
+
description: The registry block it was derived from. On a paid plan or the trial.
|
|
4507
4507
|
validated:
|
|
4508
4508
|
type: boolean
|
|
4509
|
-
description: ARIN reports the contact answered its yearly validation.
|
|
4509
|
+
description: ARIN reports the contact answered its yearly validation. On a paid plan or the trial.
|
|
4510
4510
|
unvalidated_since:
|
|
4511
4511
|
type: string
|
|
4512
|
-
description: Since when it has not.
|
|
4512
|
+
description: Since when it has not. On a paid plan or the trial.
|
|
4513
4513
|
required:
|
|
4514
4514
|
- email
|
|
4515
4515
|
description: Where to report abuse, from IP Abuse Contact.
|
|
@@ -4554,7 +4554,7 @@ components:
|
|
|
4554
4554
|
- domain
|
|
4555
4555
|
- abuse_email
|
|
4556
4556
|
- asn
|
|
4557
|
-
description: IP Whois's most specific record covering the address.
|
|
4557
|
+
description: IP Whois's most specific record covering the address. On a paid plan or the trial.
|
|
4558
4558
|
Rwhois:
|
|
4559
4559
|
type: object
|
|
4560
4560
|
properties:
|
|
@@ -4583,7 +4583,7 @@ components:
|
|
|
4583
4583
|
- source
|
|
4584
4584
|
- domain
|
|
4585
4585
|
- abuse_email
|
|
4586
|
-
description: IP RWHOIS's most specific network covering the address.
|
|
4586
|
+
description: IP RWHOIS's most specific network covering the address. On a paid plan or the trial.
|
|
4587
4587
|
HostedDomains:
|
|
4588
4588
|
type: object
|
|
4589
4589
|
properties:
|
|
@@ -4599,7 +4599,7 @@ components:
|
|
|
4599
4599
|
- total
|
|
4600
4600
|
description: >-
|
|
4601
4601
|
From IP Hosted Domains: how many registered domains resolve to the address, and the 10 most
|
|
4602
|
-
popular. Its database lists up to 1,000 an address.
|
|
4602
|
+
popular. Its database lists up to 1,000 an address. On a paid plan or the trial.
|
|
4603
4603
|
AsnHostedDomains:
|
|
4604
4604
|
type: object
|
|
4605
4605
|
properties:
|
|
@@ -4615,7 +4615,7 @@ components:
|
|
|
4615
4615
|
- total
|
|
4616
4616
|
description: >-
|
|
4617
4617
|
From ASN Hosted Domains: how many registered domains the AS hosts, and the 10 most popular.
|
|
4618
|
-
Its database lists up to 1,000 an AS.
|
|
4618
|
+
Its database lists up to 1,000 an AS. On a paid plan or the trial.
|
|
4619
4619
|
AsnLookupResponse:
|
|
4620
4620
|
type: object
|
|
4621
4621
|
properties:
|
|
@@ -4640,73 +4640,73 @@ components:
|
|
|
4640
4640
|
description: Its operator's domain.
|
|
4641
4641
|
type:
|
|
4642
4642
|
type: string
|
|
4643
|
-
description: The kind of network it runs.
|
|
4643
|
+
description: The kind of network it runs. On a paid plan or the trial.
|
|
4644
4644
|
num_ips:
|
|
4645
4645
|
type: integer
|
|
4646
|
-
description: IPv4 addresses it announces.
|
|
4646
|
+
description: IPv4 addresses it announces. On a paid plan or the trial.
|
|
4647
4647
|
num_prefixes4:
|
|
4648
4648
|
type: integer
|
|
4649
|
-
description: IPv4 prefixes it announces.
|
|
4649
|
+
description: IPv4 prefixes it announces. On a paid plan or the trial.
|
|
4650
4650
|
num_prefixes6:
|
|
4651
4651
|
type: integer
|
|
4652
|
-
description: IPv6 prefixes it announces.
|
|
4652
|
+
description: IPv6 prefixes it announces. On a paid plan or the trial.
|
|
4653
4653
|
rpki_valid:
|
|
4654
4654
|
type: integer
|
|
4655
|
-
description: Its announcements RPKI calls valid.
|
|
4655
|
+
description: Its announcements RPKI calls valid. On a paid plan or the trial.
|
|
4656
4656
|
rpki_invalid:
|
|
4657
4657
|
type: integer
|
|
4658
|
-
description: Invalid.
|
|
4658
|
+
description: Invalid. On a paid plan or the trial.
|
|
4659
4659
|
rpki_not_found:
|
|
4660
4660
|
type: integer
|
|
4661
|
-
description: With no RPKI record.
|
|
4661
|
+
description: With no RPKI record. On a paid plan or the trial.
|
|
4662
4662
|
whois:
|
|
4663
4663
|
type: object
|
|
4664
4664
|
additionalProperties:
|
|
4665
4665
|
type: string
|
|
4666
4666
|
description: >-
|
|
4667
|
-
Its ASN Whois record, every column, empty where the registry states nothing.
|
|
4668
|
-
|
|
4667
|
+
Its ASN Whois record, every column, empty where the registry states nothing. On a paid
|
|
4668
|
+
plan or the trial.
|
|
4669
4669
|
prefixes:
|
|
4670
4670
|
type: array
|
|
4671
4671
|
items:
|
|
4672
4672
|
$ref: '#/components/schemas/AsnPrefix'
|
|
4673
|
-
description: What it announces, IPv4 then IPv6, up to 20000 a family.
|
|
4673
|
+
description: What it announces, IPv4 then IPv6, up to 20000 a family. On a paid plan or the trial.
|
|
4674
4674
|
rank:
|
|
4675
4675
|
type: integer
|
|
4676
4676
|
description: >-
|
|
4677
4677
|
Its rank in ASN Extended, by customer cone, 1 the largest; `0` for an AS seen in no AS
|
|
4678
|
-
path.
|
|
4678
|
+
path. On a paid plan or the trial.
|
|
4679
4679
|
tier1:
|
|
4680
4680
|
type: boolean
|
|
4681
4681
|
description: >-
|
|
4682
4682
|
Whether it is one of the transit-free networks at the top of the hierarchy, which get
|
|
4683
|
-
transit from no one and peer with each other.
|
|
4683
|
+
transit from no one and peer with each other. On a paid plan or the trial.
|
|
4684
4684
|
num_upstreams:
|
|
4685
4685
|
type: integer
|
|
4686
|
-
description: How many AS numbers it gets transit from.
|
|
4686
|
+
description: How many AS numbers it gets transit from. On a paid plan or the trial.
|
|
4687
4687
|
upstreams:
|
|
4688
4688
|
type: array
|
|
4689
4689
|
items:
|
|
4690
4690
|
type: integer
|
|
4691
|
-
description: Those AS numbers, ascending, up to 20000.
|
|
4691
|
+
description: Those AS numbers, ascending, up to 20000. On a paid plan or the trial.
|
|
4692
4692
|
num_peers:
|
|
4693
4693
|
type: integer
|
|
4694
4694
|
description: >-
|
|
4695
|
-
How many AS numbers it exchanges its own and its customers' routes with.
|
|
4696
|
-
the trial.
|
|
4695
|
+
How many AS numbers it exchanges its own and its customers' routes with. On a paid plan
|
|
4696
|
+
or the trial.
|
|
4697
4697
|
peers:
|
|
4698
4698
|
type: array
|
|
4699
4699
|
items:
|
|
4700
4700
|
type: integer
|
|
4701
|
-
description: Those AS numbers, ascending, up to 20000.
|
|
4701
|
+
description: Those AS numbers, ascending, up to 20000. On a paid plan or the trial.
|
|
4702
4702
|
num_downstreams:
|
|
4703
4703
|
type: integer
|
|
4704
|
-
description: How many AS numbers it provides transit to.
|
|
4704
|
+
description: How many AS numbers it provides transit to. On a paid plan or the trial.
|
|
4705
4705
|
downstreams:
|
|
4706
4706
|
type: array
|
|
4707
4707
|
items:
|
|
4708
4708
|
type: integer
|
|
4709
|
-
description: Those AS numbers, ascending, up to 20000.
|
|
4709
|
+
description: Those AS numbers, ascending, up to 20000. On a paid plan or the trial.
|
|
4710
4710
|
hosted_domains:
|
|
4711
4711
|
$ref: '#/components/schemas/AsnHostedDomains'
|
|
4712
4712
|
trial_expired:
|
|
@@ -4776,7 +4776,7 @@ components:
|
|
|
4776
4776
|
description: 'In Domain List: a registered domain.'
|
|
4777
4777
|
is_disposable:
|
|
4778
4778
|
type: boolean
|
|
4779
|
-
description: In Disposable Domain.
|
|
4779
|
+
description: In Disposable Domain. On a paid plan or the trial.
|
|
4780
4780
|
has_a:
|
|
4781
4781
|
type: boolean
|
|
4782
4782
|
description: It has A records.
|
|
@@ -4800,7 +4800,7 @@ components:
|
|
|
4800
4800
|
$ref: '#/components/schemas/DomainHost'
|
|
4801
4801
|
description: >-
|
|
4802
4802
|
The network announcing each address in `dns.a` and then `dns.aaaa`, from IP ASN; `[]`
|
|
4803
|
-
where it resolves to none.
|
|
4803
|
+
where it resolves to none. On a paid plan or the trial.
|
|
4804
4804
|
cohosted_domains:
|
|
4805
4805
|
$ref: '#/components/schemas/CohostedDomains'
|
|
4806
4806
|
ip_ranges:
|
|
@@ -4808,7 +4808,7 @@ components:
|
|
|
4808
4808
|
disposable:
|
|
4809
4809
|
allOf:
|
|
4810
4810
|
- $ref: '#/components/schemas/DisposableDetail'
|
|
4811
|
-
description: '`{}` when `is_disposable` is false.
|
|
4811
|
+
description: '`{}` when `is_disposable` is false. On a paid plan or the trial.'
|
|
4812
4812
|
web:
|
|
4813
4813
|
$ref: '#/components/schemas/DomainWeb'
|
|
4814
4814
|
redirects:
|
|
@@ -4875,7 +4875,7 @@ components:
|
|
|
4875
4875
|
- domains
|
|
4876
4876
|
description: >-
|
|
4877
4877
|
From IP Hosted Domains: the other registered domains on the domain's first IPv4 address, how
|
|
4878
|
-
many and the 10 most popular.
|
|
4878
|
+
many and the 10 most popular. On a paid plan or the trial.
|
|
4879
4879
|
DomainWeb:
|
|
4880
4880
|
type: object
|
|
4881
4881
|
properties:
|
|
@@ -4901,7 +4901,7 @@ components:
|
|
|
4901
4901
|
- links
|
|
4902
4902
|
description: >-
|
|
4903
4903
|
What our crawl last read of the domain's own home page, every member empty where it holds
|
|
4904
|
-
none.
|
|
4904
|
+
none. On a paid plan or the trial.
|
|
4905
4905
|
DomainWebLinks:
|
|
4906
4906
|
type: object
|
|
4907
4907
|
properties:
|
|
@@ -4933,7 +4933,7 @@ components:
|
|
|
4933
4933
|
- domains
|
|
4934
4934
|
description: >-
|
|
4935
4935
|
The registered domains whose home page redirects to this one, how many and the 10 most
|
|
4936
|
-
popular.
|
|
4936
|
+
popular. On a paid plan or the trial.
|
|
4937
4937
|
DomainBacklinks:
|
|
4938
4938
|
type: object
|
|
4939
4939
|
properties:
|
|
@@ -4950,7 +4950,7 @@ components:
|
|
|
4950
4950
|
- domains
|
|
4951
4951
|
description: >-
|
|
4952
4952
|
The registered domains whose home page links to this one, how many and the 10 most popular.
|
|
4953
|
-
|
|
4953
|
+
On a paid plan or the trial.
|
|
4954
4954
|
DomainDns:
|
|
4955
4955
|
type: object
|
|
4956
4956
|
properties:
|
|
@@ -4980,7 +4980,7 @@ components:
|
|
|
4980
4980
|
- mx
|
|
4981
4981
|
- ns
|
|
4982
4982
|
- cname
|
|
4983
|
-
description: Its records in Domain DNS, up to 100 a type.
|
|
4983
|
+
description: Its records in Domain DNS, up to 100 a type. On a paid plan or the trial.
|
|
4984
4984
|
DnsAddressRecord:
|
|
4985
4985
|
type: object
|
|
4986
4986
|
properties:
|
|
@@ -5063,7 +5063,7 @@ components:
|
|
|
5063
5063
|
- total
|
|
5064
5064
|
- ipv4
|
|
5065
5065
|
- ranges
|
|
5066
|
-
description: The organization's IP ranges, from Domain IP Ranges.
|
|
5066
|
+
description: The organization's IP ranges, from Domain IP Ranges. On a paid plan or the trial.
|
|
5067
5067
|
DomainIpRange:
|
|
5068
5068
|
type: object
|
|
5069
5069
|
properties:
|
|
@@ -5222,15 +5222,16 @@ components:
|
|
|
5222
5222
|
The plan the organization is on, as an identifier that is never
|
|
5223
5223
|
renamed or reused: `free` for the free plan, or a paid plan's key.
|
|
5224
5224
|
Compare against it and show `name`. On `free`, usage counts its
|
|
5225
|
-
trial, the lookups answered with every field.
|
|
5226
|
-
|
|
5225
|
+
trial, the lookups answered with every field. The Data plan is a key
|
|
5226
|
+
per quota, `data_1` to `data_7`, each named Data.
|
|
5227
|
+
example: data_4
|
|
5227
5228
|
name:
|
|
5228
5229
|
type: string
|
|
5229
5230
|
description: |
|
|
5230
5231
|
The plan's name, as the site and console show it: `Unlimited` for
|
|
5231
5232
|
the free plan. Show this rather than a name built from `key`: a
|
|
5232
5233
|
plan's name can change, and its key never does.
|
|
5233
|
-
example:
|
|
5234
|
+
example: Data
|
|
5234
5235
|
tier:
|
|
5235
5236
|
type: string
|
|
5236
5237
|
enum:
|
|
@@ -5277,11 +5278,15 @@ components:
|
|
|
5277
5278
|
window_start:
|
|
5278
5279
|
type: string
|
|
5279
5280
|
format: date-time
|
|
5280
|
-
description:
|
|
5281
|
+
description: |
|
|
5282
|
+
When the current allowance period began. On the free plan, when
|
|
5283
|
+
its trial began, or now before a first lookup starts it.
|
|
5281
5284
|
window_end:
|
|
5282
5285
|
type: string
|
|
5283
5286
|
format: date-time
|
|
5284
|
-
description:
|
|
5287
|
+
description: |
|
|
5288
|
+
When the allowance next resets. On the free plan, when its trial
|
|
5289
|
+
ends, which it does once.
|
|
5285
5290
|
EntitlementError:
|
|
5286
5291
|
type: object
|
|
5287
5292
|
required:
|