Available Fields
LeakPy supports 82+ fields organized by category. All events are returned as L9Event objects that support dot notation access.
Note
The field structure follows the official l9format schema from LeakIX. For the complete official documentation of the L9Event format, see the LeakIX API documentation.
Accessing Fields
Get all available fields from the schema (no API call needed):
from leakpy import LeakIX
client = LeakIX()
# Get all fields from schema (no API call needed)
fields = client.get_all_fields()
for field in sorted(fields):
print(field)
Or use search() to get events as L9Event objects:
from leakpy import LeakIX
client = LeakIX()
events = client.search(
scope="leak",
query='+country:"France"',
pages=2,
fields="full"
)
for event in events:
print(event.ip, event.port, event.protocol)
Field Reference
Root Fields
Root-level fields for basic event information:
event_fingerprint,event_pipeline,event_source,event_typehost,ip,mac,port,protocolreverse,summary,tags,time,transport,vendor
GeoIP Fields
Geographic information fields:
geoip.city_name,geoip.continent_name,geoip.country_iso_code,geoip.country_namegeoip.location.lat,geoip.location.longeoip.region_iso_code,geoip.region_name
HTTP Fields
HTTP protocol fields:
http.favicon_hash,http.length,http.roothttp.status,http.title,http.url
Note
HTTP headers are accessible via event.http.header.get('header_name')
Leak Fields
Leak dataset and metadata fields:
leak.dataset.collections,leak.dataset.files,leak.dataset.infected,leak.dataset.ransom_notesleak.dataset.rows,leak.dataset.sizeleak.severity,leak.stage,leak.type
Network Fields
Network information fields:
network.asn,network.network,network.organization_name
Service Fields
Service credentials and software information:
service.credentials.key,service.credentials.noauth,service.credentials.password,service.credentials.raw,service.credentials.usernameservice.software.fingerprint,service.software.modules,service.software.nameservice.software.os,service.software.version
SSH Fields
SSH protocol fields:
ssh.banner,ssh.fingerprint,ssh.motd,ssh.version
SSL Fields
SSL/TLS certificate and protocol fields:
ssl.certificate.cn,ssl.certificate.domain,ssl.certificate.fingerprint,ssl.certificate.issuer_namessl.certificate.key_algo,ssl.certificate.key_size,ssl.certificate.not_after,ssl.certificate.not_beforessl.certificate.valid,ssl.cypher_suite,ssl.detected,ssl.enabled,ssl.jarm,ssl.version
Complete Example
See Examples for complete usage examples.