Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.ip2geo.dev/llms.txt

Use this file to discover all available pages before exploring further.

Websites let you use the Ip2Geo SDK and API directly from the browser. When you add a website, a public key is generated and tied to that domain — only requests originating from that domain will be accepted.
1

Have an Account

Create your Ip2Geo account or login to your existing account if you haven’t already. You can do that by visiting the Ip2Geo Dashboard. Once logged in, select the project you want to add a website to from your dashboard.
2

Add a Website

Navigate to the Websites section within your project. Click on “Add Website”, enter your domain (e.g. myapp.com), and confirm. A public key (i2g_pk_…) will be generated automatically.
3

Authenticate Your Project

Use the public key to authenticate your project when using the SDK or making direct API calls from your frontend.
Public keys are safe to expose in client-side code. They only work from the domain they are registered to, so even if someone copies the key, it won’t work from a different origin.