Skip to content

IP Location etc missing from API calls #13

Description

@Pathduck

Hi,
This has been an issue for a week or so:
The API call used to return the same data as seen on your website. Now the Company, Abuse, ASN and Location info is missing from the JSON/HTML and other output options.

$ curl -s "https://api.ipapi.is/?q=165.227.0.0" | jq
{
"ip": "165.227.0.0",
"is_bogon": false,
"is_datacenter": true,
"is_tor": false,
"is_proxy": false,
"is_vpn": false,
"is_abuser": false,
"company_name": "DigitalOcean, LLC",
"asn_num": 14061,
"asn_org": "DigitalOcean, LLC",
"cc": "US",
"lat": 37.35411,
"lon": -121.95524
}

If I add a Referer header in curl it supplies the full information, so not sure if this is intentional or a bug?
If it is to deter abuse it's understandable, but sad as you were providing a useful service.
I'm a moderator of a small forum and used the service maybe 2-3 times a day to find the abuse score and location of spammer IPs.
I don't really want to sign up just for such a small number of calls and might have to bookmark another service.

All the best,
Stian

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions