An IP abuse check API in Python returns reputation and reverse DNS on GET /api/abuse-check. Official quick-start IP: 8.8.8.8 → hostname dns.google. Geo / proxy flags stay on GET /api/ip.
Basic is $29.99/mo with a 7-day trial or 50 requests. MCP: mcp.ipxapi.com.
Request: official 8.8.8.8
curl "https://ipxapi.com/api/abuse-check?ip=8.8.8.8" \
-H "Accept: application/json" \
-H "Authorization: Bearer YOUR_KEY"
Python
import os, urllib.request
req = urllib.request.Request(
"https://ipxapi.com/api/abuse-check?ip=8.8.8.8",
headers={"Authorization": "Bearer " + os.environ["IPXAPI_KEY"], "Accept": "application/json"},
)
print(urllib.request.urlopen(req).read().decode())
Response: official hostname sample (selected)
{
"ip": "8.8.8.8",
"hostname": "dns.google",
"domain": "google.com",
"isp": "Google LLC",
"usage_type": "Content Delivery Network",
"is_listed": false,
"is_whitelisted": true
}
Live flags can change. MailChimp 148.105.12.120 is the geo fixture, not this abuse body.
Go live
1. Register — 7-day trial.
2. Copy the Bearer key.
3. GET /api/abuse-check with an IP.
4. Read hostname and is_listed.
Check abuse in Python →