These docs are for v2.0. Click to read the latest docs for v2.1.

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

NameTypeDescription
ipAddress* stringIP 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"
}