Skip to main content

zetalytics-api

A straightforward python library for the Zetalytics Zonecruncher API. For a list of all endpoints and query parameters, refer to the API documentation.

Use of the Zetalytics API and zetalytics-api client requires a user token. You can request one here.

If you qualify for premium API access, inquire via our website chat at zetalytics.com for the endpoint.

Installation

To install zetalytics-api, use Pypi via pip.

pip install zetalytics-api

Initialization

from zetalytics import Zetalytics

zeta = Zetalytics(token=[YOUR USER TOKEN])

Examples

domain2ns

Search passive dns by domain for NS records

query = {'q': 'example.com'}
zeta.domain2ns(**query)

email_address

Search for domains sharing a registration email address or SOA email from passive

query = {'q': 'johndoe@example.com', 'size': 10}
zeta.email_address(**query)

Search passive dns by IP, CIDR, or Range (v6 compatible)

query = {'q': '1.2.3.4', 'tsfield': 'first_seen', 'start': '2019-01-01', 'size': 100}
zeta.ip(**query)

License

This project is licensed under the GNU General Public License v3.0.

Metadata

Release files for zetalytics-api 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for zetalytics-api 2.0.0
File Size Uploaded
zetalytics_api-2.0.0.tar.gz 17.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for zetalytics-api 2.0.0
File Interpreter ABI Platform
zetalytics_api-2.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 34.4 kB

Release files / zetalytics_api-2.0.0.tar.gz

Download URL zetalytics_api-2.0.0.tar.gz
Size 17.5 kB
Tags Source
SHA-256 checksum
How to use checksums
0f7d9b6329d43e618182c4e77b6903b3ad8d06ef8f8cf500065aa982d8fad7bb
BLAKE2b-256 checksum
How to use checksums
a86c1a72db17c72fa79f261392cc0bab39f0a5b4100b38cf53a80694db8b8871
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.1

Release files / zetalytics_api-2.0.0-py3-none-any.whl

Download URL zetalytics_api-2.0.0-py3-none-any.whl
Size 16.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9524137f6be9025d8dcfd7e8392d24612ad69f593d8a6d05a12fd405d8f911a2
BLAKE2b-256 checksum
How to use checksums
5417824576e0ccdf20988ad9adcf7f29ddbe0af50b3b9b5d2787889a9114beef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.1

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page