Skip to main content

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

Release history Release notifications

This version
History Node


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
pyfofa-1.0.0.tar.gz (2.8 kB) Copy SHA256 hash SHA256 Source None Mar 25, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page