Skip to content

IPSwamp APIThreat Intelligence & IP Reputation

Powerful API for real-time IP threat intelligence, security monitoring, and access control

Quick Start

Get up and running with the IPSwamp API in minutes:

bash
# Check an IP address
curl -X GET "https://ipswamp.com/api/v1/checkIP?ip=1.1.1.1" \
  -H "Authorization: Bearer your-api-key-here"
json
{
	"message": "IP is whitelisted",
	"description": "Cloudflare DNS",
	"details": {
		"score": 0,
		"ip": "1.1.1.1",
		"last_attack": "",
		"total_hits": 0
	},
	"ipInfo": {
		"ip": "1.1.1.1",
		"asn": "AS13335",
		"as_name": "Cloudflare, Inc.",
		"as_domain": "cloudflare.com",
		"country_code": "AU",
		"country": "Australia",
		"continent_code": "OC",
		"continent": "Oceania"
	}
}

Why IPSwamp?

  • Comprehensive Coverage: Threat intelligence from multiple global sources
  • Real-time Updates: Our database is continuously updated with new threats
  • Developer Friendly: Clean REST API with detailed documentation
  • Flexible Plans: From free tier to enterprise solutions
  • Global Scale: Powered by distributed infrastructure for low latency
  • Security Monitoring: Analyze incoming connections for threats
  • Access Control: Block malicious IPs automatically
  • Compliance: Meet security audit requirements
  • Incident Response: Investigate suspicious activities
  • Log Enrichment: Add context to security logs

IPSwamp API Documentation