internetdata 2.16.0__tar.gz → 2.17.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.
Files changed (165) hide show
  1. {internetdata-2.16.0 → internetdata-2.17.0}/PKG-INFO +2 -2
  2. {internetdata-2.16.0 → internetdata-2.17.0}/README.md +1 -1
  3. {internetdata-2.16.0 → internetdata-2.17.0}/spec/openapi.yaml +184 -3
  4. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/__init__.py +13 -1
  5. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/api/lookup/lookup_domain.py +24 -12
  6. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/__init__.py +12 -0
  7. internetdata-2.17.0/src/internetdata/_generated/models/cohosted_domains.py +79 -0
  8. internetdata-2.17.0/src/internetdata/_generated/models/domain_backlinks.py +71 -0
  9. internetdata-2.17.0/src/internetdata/_generated/models/domain_host.py +76 -0
  10. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/domain_lookup_response.py +100 -0
  11. internetdata-2.17.0/src/internetdata/_generated/models/domain_redirects.py +71 -0
  12. internetdata-2.17.0/src/internetdata/_generated/models/domain_web.py +101 -0
  13. internetdata-2.17.0/src/internetdata/_generated/models/domain_web_links.py +70 -0
  14. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/models.py +76 -2
  15. {internetdata-2.16.0 → internetdata-2.17.0}/testdata/testdata.json +80 -3
  16. {internetdata-2.16.0 → internetdata-2.17.0}/tests/test_lookup.py +39 -0
  17. {internetdata-2.16.0 → internetdata-2.17.0}/.gitignore +0 -0
  18. {internetdata-2.16.0 → internetdata-2.17.0}/LICENSE +0 -0
  19. {internetdata-2.16.0 → internetdata-2.17.0}/pyproject.toml +0 -0
  20. {internetdata-2.16.0 → internetdata-2.17.0}/scripts/download-spec.sh +0 -0
  21. {internetdata-2.16.0 → internetdata-2.17.0}/scripts/generate.sh +0 -0
  22. {internetdata-2.16.0 → internetdata-2.17.0}/scripts/publish.sh +0 -0
  23. {internetdata-2.16.0 → internetdata-2.17.0}/scripts/v2_subset.py +0 -0
  24. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_bogons.py +0 -0
  25. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_core.py +0 -0
  26. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/__init__.py +0 -0
  27. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/api/__init__.py +0 -0
  28. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/api/account/__init__.py +0 -0
  29. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/api/account/account_identity.py +0 -0
  30. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/api/api_keys/__init__.py +0 -0
  31. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/api/api_keys/account_create_apikey.py +0 -0
  32. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/api/api_keys/account_list_apikeys.py +0 -0
  33. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/api/api_keys/account_reveal_apikey.py +0 -0
  34. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/api/api_keys/account_revoke_apikey.py +0 -0
  35. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/api/api_keys/account_rotate_apikey.py +0 -0
  36. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/api/authorization/__init__.py +0 -0
  37. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/api/authorization/oauth_authorize.py +0 -0
  38. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/api/authorization/oauth_device_authorization.py +0 -0
  39. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/api/authorization/oauth_metadata.py +0 -0
  40. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/api/authorization/oauth_register.py +0 -0
  41. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/api/authorization/oauth_revoke.py +0 -0
  42. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/api/authorization/oauth_token.py +0 -0
  43. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/api/database_v_2/__init__.py +0 -0
  44. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/api/database_v_2/database_checksum_v2.py +0 -0
  45. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/api/database_v_2/database_metadata_v2.py +0 -0
  46. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/api/database_v_2/download_database_v2.py +0 -0
  47. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/api/database_v_2/list_databases.py +0 -0
  48. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/api/database_v_2/list_downloads.py +0 -0
  49. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/api/entitlement/__init__.py +0 -0
  50. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/api/entitlement/my_entitlement.py +0 -0
  51. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/api/lookup/__init__.py +0 -0
  52. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/api/lookup/lookup_asn.py +0 -0
  53. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/api/lookup/lookup_batch.py +0 -0
  54. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/api/lookup/lookup_ip.py +0 -0
  55. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/api/lookup/lookup_my_ip.py +0 -0
  56. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/api/organization/__init__.py +0 -0
  57. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/api/organization/account_org.py +0 -0
  58. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/api/organization/account_org_members.py +0 -0
  59. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/client.py +0 -0
  60. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/errors.py +0 -0
  61. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/abuse_contact.py +0 -0
  62. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/account_create_apikey_request.py +0 -0
  63. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/account_created_apikey.py +0 -0
  64. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/account_org.py +0 -0
  65. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/account_org_ref.py +0 -0
  66. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/account_org_wrap.py +0 -0
  67. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/account_rc.py +0 -0
  68. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/account_revealed_apikey.py +0 -0
  69. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/account_user.py +0 -0
  70. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/apikey_detail.py +0 -0
  71. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/apikey_list.py +0 -0
  72. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/asn.py +0 -0
  73. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/asn_hosted_domains.py +0 -0
  74. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/asn_lookup_response.py +0 -0
  75. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/asn_lookup_response_whois.py +0 -0
  76. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/asn_prefix.py +0 -0
  77. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/batch_lookup_error.py +0 -0
  78. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/batch_lookup_request.py +0 -0
  79. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/batch_lookup_response.py +0 -0
  80. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/batch_lookup_response_errors.py +0 -0
  81. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/batch_lookup_response_results.py +0 -0
  82. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/bit_torrent_detail.py +0 -0
  83. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/carrier_detail.py +0 -0
  84. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/class_detail.py +0 -0
  85. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/client_registration.py +0 -0
  86. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/client_registration_request.py +0 -0
  87. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/company.py +0 -0
  88. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/database.py +0 -0
  89. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/database_checksum_v2_response_200.py +0 -0
  90. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/database_format.py +0 -0
  91. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/database_license_type_type_1.py +0 -0
  92. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/database_license_type_type_2_type_1.py +0 -0
  93. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/database_license_type_type_3_type_1.py +0 -0
  94. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/database_metadata.py +0 -0
  95. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/database_metadata_column.py +0 -0
  96. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/database_metadata_sample.py +0 -0
  97. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/database_metadata_sample_additional_property_item.py +0 -0
  98. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/database_metadata_sample_size.py +0 -0
  99. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/database_metadata_schema.py +0 -0
  100. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/database_metadata_size.py +0 -0
  101. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/database_version.py +0 -0
  102. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/db_checksums.py +0 -0
  103. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/device_authorization.py +0 -0
  104. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/device_authorization_request.py +0 -0
  105. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/disposable_detail.py +0 -0
  106. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/dns_address_record.py +0 -0
  107. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/dns_cname_record.py +0 -0
  108. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/dns_mx_record.py +0 -0
  109. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/dns_ns_record.py +0 -0
  110. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/dns_resolver_detail.py +0 -0
  111. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/domain_dns.py +0 -0
  112. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/domain_ip_range.py +0 -0
  113. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/domain_ip_ranges.py +0 -0
  114. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/download.py +0 -0
  115. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/download_outcome.py +0 -0
  116. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/entitlement.py +0 -0
  117. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/entitlement_apikey.py +0 -0
  118. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/entitlement_error.py +0 -0
  119. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/entitlement_plan.py +0 -0
  120. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/entitlement_plan_tier.py +0 -0
  121. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/entitlement_usage.py +0 -0
  122. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/error.py +0 -0
  123. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/hosted_domains.py +0 -0
  124. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/identity.py +0 -0
  125. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/list_databases_response_200.py +0 -0
  126. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/list_downloads_response_200.py +0 -0
  127. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/location.py +0 -0
  128. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/lookup_error.py +0 -0
  129. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/lookup_response.py +0 -0
  130. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/oauth_authorize_code_challenge_method.py +0 -0
  131. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/oauth_authorize_response_type.py +0 -0
  132. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/oauth_error.py +0 -0
  133. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/oauth_metadata.py +0 -0
  134. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/oauth_revoke_response_200.py +0 -0
  135. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/proxy_detail.py +0 -0
  136. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/pubproxy_detail.py +0 -0
  137. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/revoke_request.py +0 -0
  138. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/rwhois.py +0 -0
  139. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/satellite_detail.py +0 -0
  140. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/smtp_detail.py +0 -0
  141. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/ssh_detail.py +0 -0
  142. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/standing.py +0 -0
  143. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/token_request.py +0 -0
  144. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/token_response.py +0 -0
  145. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/web_detail.py +0 -0
  146. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/models/whois.py +0 -0
  147. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/_generated/types.py +0 -0
  148. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/aio.py +0 -0
  149. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/bogon.py +0 -0
  150. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/client.py +0 -0
  151. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/errors.py +0 -0
  152. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/middleware/__init__.py +0 -0
  153. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/middleware/condition.py +0 -0
  154. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/middleware/core.py +0 -0
  155. {internetdata-2.16.0 → internetdata-2.17.0}/src/internetdata/py.typed +0 -0
  156. {internetdata-2.16.0 → internetdata-2.17.0}/testdata/bogons.json +0 -0
  157. {internetdata-2.16.0 → internetdata-2.17.0}/tests/conftest.py +0 -0
  158. {internetdata-2.16.0 → internetdata-2.17.0}/tests/helpers.py +0 -0
  159. {internetdata-2.16.0 → internetdata-2.17.0}/tests/test_cache_life.py +0 -0
  160. {internetdata-2.16.0 → internetdata-2.17.0}/tests/test_client.py +0 -0
  161. {internetdata-2.16.0 → internetdata-2.17.0}/tests/test_conformance.py +0 -0
  162. {internetdata-2.16.0 → internetdata-2.17.0}/tests/test_download.py +0 -0
  163. {internetdata-2.16.0 → internetdata-2.17.0}/tests/test_middleware.py +0 -0
  164. {internetdata-2.16.0 → internetdata-2.17.0}/tests/test_oauth.py +0 -0
  165. {internetdata-2.16.0 → internetdata-2.17.0}/tests/test_sharing.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: internetdata
3
- Version: 2.16.0
3
+ Version: 2.17.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
@@ -206,7 +206,7 @@ domain = client.lookup_domain("example.com")
206
206
  print(domain.is_registered, domain.has_mx) # True True
207
207
  ```
208
208
 
209
- On a paid plan an AS answer also carries its Whois record, its counts, every prefix it announces, its rank, Tier 1 flag, upstreams, peers and downstreams, and the domains it hosts, and a domain answer its DNS records, its organization's IP ranges and `is_disposable`. Neither is cached, and neither goes through the batch. `lookup` takes addresses alone, and refuses an AS or a domain with a `bad_request` before sending anything.
209
+ On a paid plan an AS answer also carries its Whois record, its counts, every prefix it announces, its rank, Tier 1 flag, upstreams, peers and downstreams, and the domains it hosts, and a domain answer its DNS records, the network announcing each of its addresses, the other domains on its first IPv4 address, its organization's IP ranges, `is_disposable`, what its home page says and links to, and the domains whose home page redirects or links to it. Neither is cached, and neither goes through the batch. `lookup` takes addresses alone, and refuses an AS or a domain with a `bad_request` before sending anything.
210
210
 
211
211
  ### Errors
212
212
 
@@ -171,7 +171,7 @@ domain = client.lookup_domain("example.com")
171
171
  print(domain.is_registered, domain.has_mx) # True True
172
172
  ```
173
173
 
174
- On a paid plan an AS answer also carries its Whois record, its counts, every prefix it announces, its rank, Tier 1 flag, upstreams, peers and downstreams, and the domains it hosts, and a domain answer its DNS records, its organization's IP ranges and `is_disposable`. Neither is cached, and neither goes through the batch. `lookup` takes addresses alone, and refuses an AS or a domain with a `bad_request` before sending anything.
174
+ On a paid plan an AS answer also carries its Whois record, its counts, every prefix it announces, its rank, Tier 1 flag, upstreams, peers and downstreams, and the domains it hosts, and a domain answer its DNS records, the network announcing each of its addresses, the other domains on its first IPv4 address, its organization's IP ranges, `is_disposable`, what its home page says and links to, and the domains whose home page redirects or links to it. Neither is cached, and neither goes through the batch. `lookup` takes addresses alone, and refuses an AS or a domain with a `bad_request` before sending anything.
175
175
 
176
176
  ### Errors
177
177
 
@@ -2047,10 +2047,16 @@ paths:
2047
2047
  whether it is registered and which DNS record types it has; on a paid one the records
2048
2048
  themselves, up to
2049
2049
 
2050
- 100 a type, the organization's IP ranges and whether it is a disposable email domain. An
2051
- internationalized
2050
+ 100 a type, the network announcing each address, the other domains on its first IPv4
2051
+ address, the
2052
2052
 
2053
- name is answered under its punycode spelling.
2053
+ organization's IP ranges, whether it is a disposable email domain, what its home page says
2054
+ of itself and
2055
+
2056
+ links to, and the domains whose home page redirects or links to it. An internationalized
2057
+ name is answered
2058
+
2059
+ under its punycode spelling.
2054
2060
  parameters:
2055
2061
  - in: path
2056
2062
  name: domain
@@ -2107,6 +2113,32 @@ paths:
2107
2113
  - host: ns2.example.com
2108
2114
  last_seen: '2026-11-08'
2109
2115
  cname: []
2116
+ hosting:
2117
+ - ip: 192.0.2.10
2118
+ asn:
2119
+ asn: 64496
2120
+ name: EXAMPLE-AS
2121
+ domain: example.net
2122
+ type: hosting
2123
+ prefix: 192.0.2.0/24
2124
+ country: US
2125
+ rpki_status: valid
2126
+ - ip: 2001:db8::10
2127
+ asn:
2128
+ asn: 64496
2129
+ name: EXAMPLE-AS
2130
+ domain: example.net
2131
+ type: hosting
2132
+ prefix: 2001:db8::/32
2133
+ country: US
2134
+ rpki_status: valid
2135
+ cohosted_domains:
2136
+ ip: 192.0.2.10
2137
+ total: 3
2138
+ domains:
2139
+ - example.net
2140
+ - example.org
2141
+ - shop.example
2110
2142
  ip_ranges:
2111
2143
  domain: example.com
2112
2144
  redirects_to: ''
@@ -2117,6 +2149,26 @@ paths:
2117
2149
  name: EXAMPLE-NET
2118
2150
  country: US
2119
2151
  disposable: {}
2152
+ web:
2153
+ url: https://example.com/
2154
+ title: Example Domain
2155
+ description: ''
2156
+ last_seen: '2026-11-18'
2157
+ links:
2158
+ total: 1
2159
+ hosts:
2160
+ - www.iana.org
2161
+ redirects:
2162
+ total: 2
2163
+ domains:
2164
+ - example.net
2165
+ - example.org
2166
+ backlinks:
2167
+ total: 3
2168
+ domains:
2169
+ - docs.example
2170
+ - news.example
2171
+ - wiki.example
2120
2172
  cap_reached: false
2121
2173
  capReached:
2122
2174
  summary: >-
@@ -4408,12 +4460,27 @@ components:
4408
4460
  description: A CNAME record.
4409
4461
  dns:
4410
4462
  $ref: '#/components/schemas/DomainDns'
4463
+ hosting:
4464
+ type: array
4465
+ items:
4466
+ $ref: '#/components/schemas/DomainHost'
4467
+ description: >-
4468
+ The network announcing each address in `dns.a` and then `dns.aaaa`, from IP ASN; `[]`
4469
+ where it resolves to none. Paid plans and the trial.
4470
+ cohosted_domains:
4471
+ $ref: '#/components/schemas/CohostedDomains'
4411
4472
  ip_ranges:
4412
4473
  $ref: '#/components/schemas/DomainIpRanges'
4413
4474
  disposable:
4414
4475
  allOf:
4415
4476
  - $ref: '#/components/schemas/DisposableDetail'
4416
4477
  description: '`{}` when `is_disposable` is false. Paid plans and the trial.'
4478
+ web:
4479
+ $ref: '#/components/schemas/DomainWeb'
4480
+ redirects:
4481
+ $ref: '#/components/schemas/DomainRedirects'
4482
+ backlinks:
4483
+ $ref: '#/components/schemas/DomainBacklinks'
4417
4484
  trial_expired:
4418
4485
  type: boolean
4419
4486
  description: >-
@@ -4436,6 +4503,120 @@ components:
4436
4503
  - has_ns
4437
4504
  - has_cname
4438
4505
  description: What every database says about one domain.
4506
+ DomainHost:
4507
+ type: object
4508
+ properties:
4509
+ ip:
4510
+ type: string
4511
+ description: One address the domain resolves to.
4512
+ asn:
4513
+ allOf:
4514
+ - $ref: '#/components/schemas/Asn'
4515
+ description: >-
4516
+ The network announcing it, as an address lookup's `asn`; every member empty where IP ASN
4517
+ holds none.
4518
+ required:
4519
+ - ip
4520
+ - asn
4521
+ description: An address the domain resolves to and the network announcing it.
4522
+ CohostedDomains:
4523
+ type: object
4524
+ properties:
4525
+ ip:
4526
+ type: string
4527
+ description: The domain's first IPv4 address, `''` where it has none.
4528
+ total:
4529
+ type: integer
4530
+ description: How many other registered domains resolve to it.
4531
+ domains:
4532
+ type: array
4533
+ items:
4534
+ type: string
4535
+ description: >-
4536
+ Up to 10 of them, the most popular first, the domain itself left out; `[]` when none
4537
+ does.
4538
+ required:
4539
+ - ip
4540
+ - total
4541
+ - domains
4542
+ description: >-
4543
+ From IP Hosted Domains: the other registered domains on the domain's first IPv4 address, how
4544
+ many and the 10 most popular. Paid plans and the trial.
4545
+ DomainWeb:
4546
+ type: object
4547
+ properties:
4548
+ url:
4549
+ type: string
4550
+ description: The URL of the home page read.
4551
+ title:
4552
+ type: string
4553
+ description: An English page's title.
4554
+ description:
4555
+ type: string
4556
+ description: An English page's description.
4557
+ last_seen:
4558
+ type: string
4559
+ description: The day it was last read.
4560
+ links:
4561
+ $ref: '#/components/schemas/DomainWebLinks'
4562
+ required:
4563
+ - url
4564
+ - title
4565
+ - description
4566
+ - last_seen
4567
+ - links
4568
+ description: >-
4569
+ What our crawl last read of the domain's own home page, every member empty where it holds
4570
+ none. Paid plans and the trial.
4571
+ DomainWebLinks:
4572
+ type: object
4573
+ properties:
4574
+ total:
4575
+ type: integer
4576
+ description: How many external hosts the home page links to.
4577
+ hosts:
4578
+ type: array
4579
+ items:
4580
+ type: string
4581
+ description: Up to 10 of them; `[]` when it links to none.
4582
+ required:
4583
+ - total
4584
+ - hosts
4585
+ description: The external hosts the home page links to.
4586
+ DomainRedirects:
4587
+ type: object
4588
+ properties:
4589
+ total:
4590
+ type: integer
4591
+ description: How many registered domains have a home page that redirects to this domain.
4592
+ domains:
4593
+ type: array
4594
+ items:
4595
+ type: string
4596
+ description: Up to 10 of them, the most popular first; `[]` when none does.
4597
+ required:
4598
+ - total
4599
+ - domains
4600
+ description: >-
4601
+ The registered domains whose home page redirects to this one, how many and the 10 most
4602
+ popular. Paid plans and the trial.
4603
+ DomainBacklinks:
4604
+ type: object
4605
+ properties:
4606
+ total:
4607
+ type: integer
4608
+ description: How many registered domains have a home page that links to this domain.
4609
+ domains:
4610
+ type: array
4611
+ items:
4612
+ type: string
4613
+ description: Up to 10 of them, the most popular first; `[]` when none does.
4614
+ required:
4615
+ - total
4616
+ - domains
4617
+ description: >-
4618
+ The registered domains whose home page links to this one, how many and the 10 most popular.
4619
+ Paid plans and the trial.
4439
4620
  DomainDns:
4440
4621
  type: object
4441
4622
  properties:
@@ -33,6 +33,7 @@ from .models import (
33
33
  CarrierDetail,
34
34
  ClassDetail,
35
35
  ClientRegistration,
36
+ CohostedDomains,
36
37
  Company,
37
38
  Database,
38
39
  DatabaseMetadata,
@@ -44,10 +45,15 @@ from .models import (
44
45
  DnsMxRecord,
45
46
  DnsNsRecord,
46
47
  DnsResolverDetail,
48
+ DomainBacklinks,
47
49
  DomainDns,
50
+ DomainHost,
48
51
  DomainIpRange,
49
52
  DomainIpRanges,
53
+ DomainRedirects,
50
54
  DomainResult,
55
+ DomainWeb,
56
+ DomainWebLinks,
51
57
  Download,
52
58
  Entitlement,
53
59
  EntitlementApikey,
@@ -76,7 +82,7 @@ from .models import (
76
82
  Whois,
77
83
  )
78
84
 
79
- __version__ = "2.16.0"
85
+ __version__ = "2.17.0"
80
86
 
81
87
  __all__ = [
82
88
  "DATABASE_FORMATS",
@@ -95,6 +101,7 @@ __all__ = [
95
101
  "CarrierDetail",
96
102
  "ClassDetail",
97
103
  "ClientRegistration",
104
+ "CohostedDomains",
98
105
  "Company",
99
106
  "Database",
100
107
  "DatabaseApi",
@@ -107,10 +114,15 @@ __all__ = [
107
114
  "DnsMxRecord",
108
115
  "DnsNsRecord",
109
116
  "DnsResolverDetail",
117
+ "DomainBacklinks",
110
118
  "DomainDns",
119
+ "DomainHost",
111
120
  "DomainIpRange",
112
121
  "DomainIpRanges",
122
+ "DomainRedirects",
113
123
  "DomainResult",
124
+ "DomainWeb",
125
+ "DomainWebLinks",
114
126
  "Download",
115
127
  "Entitlement",
116
128
  "EntitlementApikey",
@@ -85,9 +85,12 @@ def sync_detailed(
85
85
  Answers what InternetData knows about one domain from its latest snapshots: on every plan
86
86
  whether it is registered and which DNS record types it has; on a paid one the records themselves, up
87
87
  to
88
- 100 a type, the organization's IP ranges and whether it is a disposable email domain. An
89
- internationalized
90
- name is answered under its punycode spelling.
88
+ 100 a type, the network announcing each address, the other domains on its first IPv4 address, the
89
+ organization's IP ranges, whether it is a disposable email domain, what its home page says of itself
90
+ and
91
+ links to, and the domains whose home page redirects or links to it. An internationalized name is
92
+ answered
93
+ under its punycode spelling.
91
94
 
92
95
  Args:
93
96
  domain (str):
@@ -121,9 +124,12 @@ def sync(
121
124
  Answers what InternetData knows about one domain from its latest snapshots: on every plan
122
125
  whether it is registered and which DNS record types it has; on a paid one the records themselves, up
123
126
  to
124
- 100 a type, the organization's IP ranges and whether it is a disposable email domain. An
125
- internationalized
126
- name is answered under its punycode spelling.
127
+ 100 a type, the network announcing each address, the other domains on its first IPv4 address, the
128
+ organization's IP ranges, whether it is a disposable email domain, what its home page says of itself
129
+ and
130
+ links to, and the domains whose home page redirects or links to it. An internationalized name is
131
+ answered
132
+ under its punycode spelling.
127
133
 
128
134
  Args:
129
135
  domain (str):
@@ -152,9 +158,12 @@ async def asyncio_detailed(
152
158
  Answers what InternetData knows about one domain from its latest snapshots: on every plan
153
159
  whether it is registered and which DNS record types it has; on a paid one the records themselves, up
154
160
  to
155
- 100 a type, the organization's IP ranges and whether it is a disposable email domain. An
156
- internationalized
157
- name is answered under its punycode spelling.
161
+ 100 a type, the network announcing each address, the other domains on its first IPv4 address, the
162
+ organization's IP ranges, whether it is a disposable email domain, what its home page says of itself
163
+ and
164
+ links to, and the domains whose home page redirects or links to it. An internationalized name is
165
+ answered
166
+ under its punycode spelling.
158
167
 
159
168
  Args:
160
169
  domain (str):
@@ -186,9 +195,12 @@ async def asyncio(
186
195
  Answers what InternetData knows about one domain from its latest snapshots: on every plan
187
196
  whether it is registered and which DNS record types it has; on a paid one the records themselves, up
188
197
  to
189
- 100 a type, the organization's IP ranges and whether it is a disposable email domain. An
190
- internationalized
191
- name is answered under its punycode spelling.
198
+ 100 a type, the network announcing each address, the other domains on its first IPv4 address, the
199
+ organization's IP ranges, whether it is a disposable email domain, what its home page says of itself
200
+ and
201
+ links to, and the domains whose home page redirects or links to it. An internationalized name is
202
+ answered
203
+ under its punycode spelling.
192
204
 
193
205
  Args:
194
206
  domain (str):
@@ -26,6 +26,7 @@ from .carrier_detail import CarrierDetail
26
26
  from .class_detail import ClassDetail
27
27
  from .client_registration import ClientRegistration
28
28
  from .client_registration_request import ClientRegistrationRequest
29
+ from .cohosted_domains import CohostedDomains
29
30
  from .company import Company
30
31
  from .database import Database
31
32
  from .database_checksum_v2_response_200 import DatabaseChecksumV2Response200
@@ -52,10 +53,15 @@ from .dns_cname_record import DnsCnameRecord
52
53
  from .dns_mx_record import DnsMxRecord
53
54
  from .dns_ns_record import DnsNsRecord
54
55
  from .dns_resolver_detail import DnsResolverDetail
56
+ from .domain_backlinks import DomainBacklinks
55
57
  from .domain_dns import DomainDns
58
+ from .domain_host import DomainHost
56
59
  from .domain_ip_range import DomainIpRange
57
60
  from .domain_ip_ranges import DomainIpRanges
58
61
  from .domain_lookup_response import DomainLookupResponse
62
+ from .domain_redirects import DomainRedirects
63
+ from .domain_web import DomainWeb
64
+ from .domain_web_links import DomainWebLinks
59
65
  from .download import Download
60
66
  from .download_outcome import DownloadOutcome
61
67
  from .entitlement import Entitlement
@@ -117,6 +123,7 @@ __all__ = (
117
123
  "ClassDetail",
118
124
  "ClientRegistration",
119
125
  "ClientRegistrationRequest",
126
+ "CohostedDomains",
120
127
  "Company",
121
128
  "Database",
122
129
  "DatabaseChecksumV2Response200",
@@ -141,10 +148,15 @@ __all__ = (
141
148
  "DnsMxRecord",
142
149
  "DnsNsRecord",
143
150
  "DnsResolverDetail",
151
+ "DomainBacklinks",
144
152
  "DomainDns",
153
+ "DomainHost",
145
154
  "DomainIpRange",
146
155
  "DomainIpRanges",
147
156
  "DomainLookupResponse",
157
+ "DomainRedirects",
158
+ "DomainWeb",
159
+ "DomainWebLinks",
148
160
  "Download",
149
161
  "DownloadOutcome",
150
162
  "Entitlement",
@@ -0,0 +1,79 @@
1
+ from __future__ import annotations
2
+
3
+ from collections.abc import Mapping
4
+ from typing import Any, Self, TypeVar, cast
5
+
6
+ from attrs import define as _attrs_define
7
+ from attrs import field as _attrs_field
8
+
9
+ T = TypeVar("T", bound="CohostedDomains")
10
+
11
+
12
+ @_attrs_define
13
+ class CohostedDomains:
14
+ """From IP Hosted Domains: the other registered domains on the domain's first IPv4 address, how many and the 10 most
15
+ popular. Paid plans and the trial.
16
+
17
+ Attributes:
18
+ ip (str): The domain's first IPv4 address, `''` where it has none.
19
+ total (int): How many other registered domains resolve to it.
20
+ domains (list[str]): Up to 10 of them, the most popular first, the domain itself left out; `[]` when none does.
21
+ """
22
+
23
+ ip: str
24
+ total: int
25
+ domains: list[str]
26
+ additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
27
+
28
+ def to_dict(self) -> dict[str, Any]:
29
+ ip = self.ip
30
+
31
+ total = self.total
32
+
33
+ domains = self.domains
34
+
35
+ field_dict: dict[str, Any] = {}
36
+ field_dict.update(self.additional_properties)
37
+ field_dict.update(
38
+ {
39
+ "ip": ip,
40
+ "total": total,
41
+ "domains": domains,
42
+ }
43
+ )
44
+
45
+ return field_dict
46
+
47
+ @classmethod
48
+ def from_dict(cls, src_dict: Mapping[str, Any]) -> Self:
49
+ d = dict(src_dict)
50
+ ip = d.pop("ip")
51
+
52
+ total = d.pop("total")
53
+
54
+ domains = cast(list[str], d.pop("domains"))
55
+
56
+ cohosted_domains = cls(
57
+ ip=ip,
58
+ total=total,
59
+ domains=domains,
60
+ )
61
+
62
+ cohosted_domains.additional_properties = d
63
+ return cohosted_domains
64
+
65
+ @property
66
+ def additional_keys(self) -> list[str]:
67
+ return list(self.additional_properties.keys())
68
+
69
+ def __getitem__(self, key: str) -> Any:
70
+ return self.additional_properties[key]
71
+
72
+ def __setitem__(self, key: str, value: Any) -> None:
73
+ self.additional_properties[key] = value
74
+
75
+ def __delitem__(self, key: str) -> None:
76
+ del self.additional_properties[key]
77
+
78
+ def __contains__(self, key: str) -> bool:
79
+ return key in self.additional_properties
@@ -0,0 +1,71 @@
1
+ from __future__ import annotations
2
+
3
+ from collections.abc import Mapping
4
+ from typing import Any, Self, TypeVar, cast
5
+
6
+ from attrs import define as _attrs_define
7
+ from attrs import field as _attrs_field
8
+
9
+ T = TypeVar("T", bound="DomainBacklinks")
10
+
11
+
12
+ @_attrs_define
13
+ class DomainBacklinks:
14
+ """The registered domains whose home page links to this one, how many and the 10 most popular. Paid plans and the
15
+ trial.
16
+
17
+ Attributes:
18
+ total (int): How many registered domains have a home page that links to this domain.
19
+ domains (list[str]): Up to 10 of them, the most popular first; `[]` when none does.
20
+ """
21
+
22
+ total: int
23
+ domains: list[str]
24
+ additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
25
+
26
+ def to_dict(self) -> dict[str, Any]:
27
+ total = self.total
28
+
29
+ domains = self.domains
30
+
31
+ field_dict: dict[str, Any] = {}
32
+ field_dict.update(self.additional_properties)
33
+ field_dict.update(
34
+ {
35
+ "total": total,
36
+ "domains": domains,
37
+ }
38
+ )
39
+
40
+ return field_dict
41
+
42
+ @classmethod
43
+ def from_dict(cls, src_dict: Mapping[str, Any]) -> Self:
44
+ d = dict(src_dict)
45
+ total = d.pop("total")
46
+
47
+ domains = cast(list[str], d.pop("domains"))
48
+
49
+ domain_backlinks = cls(
50
+ total=total,
51
+ domains=domains,
52
+ )
53
+
54
+ domain_backlinks.additional_properties = d
55
+ return domain_backlinks
56
+
57
+ @property
58
+ def additional_keys(self) -> list[str]:
59
+ return list(self.additional_properties.keys())
60
+
61
+ def __getitem__(self, key: str) -> Any:
62
+ return self.additional_properties[key]
63
+
64
+ def __setitem__(self, key: str, value: Any) -> None:
65
+ self.additional_properties[key] = value
66
+
67
+ def __delitem__(self, key: str) -> None:
68
+ del self.additional_properties[key]
69
+
70
+ def __contains__(self, key: str) -> bool:
71
+ return key in self.additional_properties
@@ -0,0 +1,76 @@
1
+ from __future__ import annotations
2
+
3
+ from collections.abc import Mapping
4
+ from typing import TYPE_CHECKING, Any, Self, TypeVar
5
+
6
+ from attrs import define as _attrs_define
7
+ from attrs import field as _attrs_field
8
+
9
+ if TYPE_CHECKING:
10
+ from ..models.asn import Asn
11
+
12
+
13
+ T = TypeVar("T", bound="DomainHost")
14
+
15
+
16
+ @_attrs_define
17
+ class DomainHost:
18
+ """An address the domain resolves to and the network announcing it.
19
+
20
+ Attributes:
21
+ ip (str): One address the domain resolves to.
22
+ asn (Asn): The network announcing the address, from IP ASN.
23
+ """
24
+
25
+ ip: str
26
+ asn: Asn
27
+ additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
28
+
29
+ def to_dict(self) -> dict[str, Any]:
30
+ ip = self.ip
31
+
32
+ asn = self.asn.to_dict()
33
+
34
+ field_dict: dict[str, Any] = {}
35
+ field_dict.update(self.additional_properties)
36
+ field_dict.update(
37
+ {
38
+ "ip": ip,
39
+ "asn": asn,
40
+ }
41
+ )
42
+
43
+ return field_dict
44
+
45
+ @classmethod
46
+ def from_dict(cls, src_dict: Mapping[str, Any]) -> Self:
47
+ from ..models.asn import Asn
48
+
49
+ d = dict(src_dict)
50
+ ip = d.pop("ip")
51
+
52
+ asn = Asn.from_dict(d.pop("asn"))
53
+
54
+ domain_host = cls(
55
+ ip=ip,
56
+ asn=asn,
57
+ )
58
+
59
+ domain_host.additional_properties = d
60
+ return domain_host
61
+
62
+ @property
63
+ def additional_keys(self) -> list[str]:
64
+ return list(self.additional_properties.keys())
65
+
66
+ def __getitem__(self, key: str) -> Any:
67
+ return self.additional_properties[key]
68
+
69
+ def __setitem__(self, key: str, value: Any) -> None:
70
+ self.additional_properties[key] = value
71
+
72
+ def __delitem__(self, key: str) -> None:
73
+ del self.additional_properties[key]
74
+
75
+ def __contains__(self, key: str) -> bool:
76
+ return key in self.additional_properties