getLocaleDataFromIp

If you are interested in our SSO solution, this method will help you gathering all the required elements to create a new user.

📘

You can try that method by clicking here

Parameters

Name

Type

Description

ipAddress*

string

IP Address of your visitor, e.g. 109.123.123.42

API Request/Response

Request

{
    "method": "getLocaleDataFromIp",
    "params": {
        "ipAddress": "109.123.123.42"
    },
    "jsonrpc": "2.0",
    "id": 1
}

Response

{
  "result":{
    "country":"FR",
    "currency":"EUR",
    "locale":"fr_FR"
  },
  "id":"1",
  "error":null,
  "jsonrpc":"2.0"
}