Live data from Hacker News

Show HN: IP Geolocation and Threat Data API

ipdata.co

21–30 of 67 posts

Re: Show HN: IP Geolocation and Threat Data API

#21
post #13

Earlier quoted context omitted.

It still errors out: % curl --header "Accept: application/json" https://api.ipdata.co {"message": "Internal server error"} Also, this request doesn't seem to return valid JSON: % curl --header "Accept: application/json" https://api.ipdata.co/224.0.0.1 224.0.0.1 is a bogon address.

That's an expected response for bogon IP addresses, but you have you make a good point, we should make our error responses JSON. Please email me your IP address at jonathan at ipdata dot co and I'll help you out.

[deleted]

Re: Show HN: IP Geolocation and Threat Data API

#22
post #18

Do you provide local database? Making a web service call for every request seems like a performance bottle neck.

Hi, unfortunately we don't. However performance is very important to us which is why we have 11 endpoints around the world. And average ~65ms response times see status.ipdata.co.

Re: Show HN: IP Geolocation and Threat Data API

#23

Jonathan's been doing a great job of ipdata.co! I'd like to also shout out to my own service https://ipinfo.io here though, where we've recently launched new plans that include company details, carrier details, and IP type - we have a custom classifier that labels each IP as isp, business, or hosting, which can be really useful for a bunch of use cases. Here's sample output from the pro plan: { "ip": "66.87.125.72",…

Do you think it's appropriate to shill your own service every time a competitor has a Show HN? You made the same post during OP's last Show HN: https://news.ycombinator.com/item?id=15881463 I also wonder how mature a project has to be before it seems sheepish to "Show HN".

No hard feelings :)

We're still less than a year old, so not at all sheepish about sharing whenever we can :)

Re: Show HN: IP Geolocation and Threat Data API

#25
post #18

Do you provide local database? Making a web service call for every request seems like a performance bottle neck.

I've always had good luck with Maxmind's local database [1] offering. It bewilders me how many companies today create SaaS offerings and refuse to offer on-prem versions. It's like they intentionally want to avoid customers with serious needs (speed and security being the most common need for on-prem) who are willing to pay serious amounts of money.

[1] https://www.maxmind.com/en/geoip2-databases

Re: Show HN: IP Geolocation and Threat Data API

#28

How often is the threat data updated? Any way to truncate the response to just what we want?

The data is updated as often as every 15 minutes, though we aggregate all those changes over the course of an hour. Are you interested in only the threat data? We have been considering making it possible to query for individual fields

Re: Show HN: IP Geolocation and Threat Data API

#30
This is definitely really cool and something I imagine myself using for future projects. The price points are very reasonable and the website is very usable. One question I have though is what best practices do you recommend for how one can protect against IP address spoofing.
Post reply on HN