An ASN details API returns the network behind an IP (ASN, org, ranges). On ipXapi those fields sit on GET https://ipxapi.com/api/ip?ip= (and the abuse-check sibling) with Authorization: Bearer. Official docs IP: 148.105.12.120. Quick-start sibling: 8.8.8.8 → hostname dns.google.
Basic is $29.99/mo with a 7-day trial or 50 requests. MCP: mcp.ipxapi.com. Docs: ipxapi.com/docs. Register: ipxapi.com/register.
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'
Response: official hostname / ASN fields (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
}
Read ASN / org on GET /api/ip?ip=148.105.12.120 (docs MailChimp fixture: is_vpn=false, is_cloud_provider=true).
Go live
1. Register — 7-day trial or 50 requests.
2. GET /api/ip or /api/abuse-check with a real address.
Look up ASN with ipXapi →