cf-ip-info

IP geolocation & threat intelligence API

Endpoints

MethodPathDescriptionExample
GET /all All IP data (geo + abuse + VT) https://ip.matapacos.org/all?json
GET /ip Client IP address https://ip.matapacos.org/ip
GET /country Country code (ISO 3166-1) https://ip.matapacos.org/country
GET /continent Continent code https://ip.matapacos.org/continent
GET /abuse AbuseIPDB threat report https://ip.matapacos.org/abuse?json
GET /vt VirusTotal threat report https://ip.matapacos.org/vt?json
GET /schema OpenAPI 3.1 schema https://ip.matapacos.org/schema

Query parameters

?ip=<address> Look up a specific IPv4 or IPv6 address instead of the caller's IP. Available on /ip, /country, /abuse, /vt.
?json Return a JSON object instead of plain text. Any value except false enables JSON mode.

Machine-readable schema

OpenAPI 3.1 — https://ip.matapacos.org/schema

Examples

RequestResponse
GET https://ip.matapacos.org/all?json{"ip":"1.2.3.4","country":"CH","continent":"EU","abuse":{...},"vt":{...}}
GET https://ip.matapacos.org/ip1.2.3.4
GET https://ip.matapacos.org/ip?json{"ip":"1.2.3.4"}
GET https://ip.matapacos.org/country?ip=8.8.8.8US
GET https://ip.matapacos.org/abuse?json{"abuseConfidenceScore":0,"isTor":false,"lastReportedAt":null}(score 0–100: 0 = safe, 100 = malicious)
GET https://ip.matapacos.org/vt?json{"score":0,"country":"CH"} (score 0–100: 0 = safe, 100 = malicious)