Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

Python3 library for FOFA (

Project description

The fofa SDK written in python3 makes it easy for developers to call fofa’s API interface.


pip install pyfofa

Only Python 3.6 is supported.


import pyfofa
email = ''
key = 'xxxxxxx'
search = pyfofa.FofaAPI(email, key)
for host, ip in search.get_data('cert=""', 1, "host,ip")['results']:
    print(host, ip)

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pyfofa, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size pyfofa-1.0.0.tar.gz (2.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page