Skip to content

Latest commit

 

History

History
62 lines (51 loc) · 1.12 KB

File metadata and controls

62 lines (51 loc) · 1.12 KB

IP-Data Service - Check Region

URL: https://ip-data-service-prod.ecbc.live.use1a.on.epicgames.com/region/check
Method: POST
Auth Required: Yes (ipdata:region READ)

{
  "allow_on_error": false,
  "type": "continent",
  "limits": {
    "EU": "Res=656"
  },
  "content_id": "AF9yLAAsklQALFTy"
}

Parameters

allow_on_error: Boolean
type: Type to check
limits: Unknown
content_id: Base64 of the following (Example below):

  • continent.geoname_id
  • country.geoname_id
  • subdivisions.geoname_id (All Elements)

Example Region lookup data (shortened)

{
  "continent": {
    "geoname_id": 6255148
  },
  "country": {
    "geoname_id": 2921044
  },
  "subdivisions": [
    {
      "geoname_id": 2905330
    }
  ]
}

All the numbers should be written as an Int32 Numbers as binary using Big Endian.
Then we would have the following Value (here showcased as hex): 00 5F 72 2C 00 2C 92 54 00 2C 54 F2
As Base64: AF9yLAAsklQALFTy


Example Response

{
  "content_id": "AF9yLAAsklQALFTy",
  "allowed": true,
  "resolved": true,
  "limit": "Res=656"
}