Sign In
Access your IPWhois.net account
No account? Create one
Home / Blacklist / Docs / Go Integration

Go Integration

Go HTTP middleware for IP threat checking. Step-by-step setup guide with code examples.
184,732 IPs 7,362 reports Free API
Go Integration
Go 1.21+ Gin Echo

Go HTTP middleware for net/http, Gin, Echo and Chi that checks IPs against the IPWhois.net Blacklist with in-memory caching.

Block
Check visitor IPs against the blacklist and return 403 for threats.
Report
Report detected attacks back to the IPWhois.net Blacklist community.
Coming Soon

This integration guide is being written. In the meantime, you can use the Blacklist API directly:

Check if an IP is blacklisted
GET https://bl.ipwhois.net/api/check?ip=1.2.3.4
Report a malicious IP
POST https://bl.ipwhois.net/api/report ip=1.2.3.4&type=brute-force&message=Description

Need this integration? Contact us and we'll prioritize it.