REST API
Quickstart
If you want to check out the API we provide, try out the following code:
$ curl https://api.kwelo.com/v1/network/ip-address/location/0.255.185.206 {"data":{"ip_address":"0.255.185.206","geolocation":{"city": {...}, "country": {...}, "continent": {...}, "location": {...}}}}
Our API provides an easy way to retrieve the location information of an IP address and use it in your programs, aka an IP to geolocation API.
Usage
Using our API is extremely simple. Make a HTTP GET request and fetch
the results in JSON or JSONP format.
For JSONP format, add ?callback="something"
in the request URL.
Our commitments
- You can use this API for free but there is a sensible rate-limiting in place, see below.
- The service is deployed on highly available clusters of major cloud providers (AWS, GCP, etc.) which means it should always be up, no matter what.
- This API is here to stay ! My own software depends on these services so I'll keep them running and improving for the years to come.
- I'm a bit obsessed with quality and performance. If you see anything strange or slow, contact me.
Rate-limiting
The requests are throttled at 1 per second which should be plenty for most use cases. If you hit the speed limit the service will return a 429 http status code.
If you need more, you can get unlimited access for a small contribution by reaching out to me at hello@kwelo.com and we'll sort things out depending on your situation and use-case.