The ipdata API offers geolocation data, threat intelligence feeds, proxy and VPN detection and other data. It's geared for developers who want to localize website content, enforce geographic restrictions and block spam and abuse. The API has several pricing levels, including a free tier for noncommercial use.
Another good option is Radar, an all-in-one location service that promises accuracy and privacy. It offers hyper-accurate geofencing, powerful mapping abilities and integration with common tools. Radar's tiered pricing system includes a free tier, so it's good for small projects and can grow as your needs increase.
For companies that want to personalize users and protect them from security problems, IP-API offers a full geolocation service with detailed network data. It uses HTTPS/SSL encryption to protect data and works with several programming languages. The API can be used for geotargeting, content personalization and geofencing.
Last, AdTheorent offers a suite of services for predictive targeting and geo-intelligence that can help advertisers optimize their campaigns in a variety of industries. Its approach is designed to be privacy focused, eliminating cookies and one-to-one advertising, so it's a good option for companies that want to put consumers' privacy first.