For example, you may show a default language or currency based on current country. Or, you may show nearby content based on current city.
If you haven't already, sign up for Radar to get your API key. You can make up to 100,000 API requests per month for free.Get API Keys
In an HTML page, include the SDK using a
In a web app, install the package from npm, then import the library:
The IP geocoding API converts IP address into city, state, and country.
Initialize the SDK with your publishable API key, then call the IP geocoding API.
In the callback,
result.address will include
longitude, and more.
Have questions or feedback on this documentation? Let us know! Email us at [email protected].