Code examples

1.Select type: Native, Browser

Native: Native code

Browser: Browser code

2.Language selection based on type

Select Native, which supports C/C++, Go, Node.js, Php, JAVA, and Python.

Select Browser. Supported options include Chrome Windows, Chrome Mac, Microsoft Edge, Firefox, and Safari.

3. Enter the target URL. The default is ipinfo.io. This setting is editable.

4. Select Country/Region, State/Province, or City.

5. Generate a code sample based on your needs and start using it.

Last updated