A highly available backendless geo-location lookup API
GeoJS is a geo-location lookup API supporting plain text, JSON and JSONP endpoints. It also has ChatOps integration and a PTR endpoint. With full CORS support GeoJS can be integrated into any frontend or backend app easily.
Want your IP? Easy.
$ curl -s https://get.geojs.io/v1/ip 22.214.171.124
Need a PTR? Surething!
$ curl -s https://get.geojs.io/v1/dns/ptr google-public-dns-a.google.com
I want to know what country a specific IP belongs to! I gotchu.
$ curl -s https://get.geojs.io/v1/ip/country/126.96.36.199 US
Checkout the GeoJS web app for a real world example.
GeoJS has a free unlimited production instance running at get.geojs.io.
GeoJS is powered by the DigitalOcean cloud and wouldn't be possible without them. Use our referral link to get $10 free credit upon signup. We'd also like to thank DNS Spy who continually monitor our DNS infrastructure to ensure that users can reach GeoJS. Finally we want to thank Cloudflare who power our frontend traffic and enable us to cache our heavily dynamic API.
MIT License Copyright (c) 2017-2020 James Loh Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.