modl.gg
Developer API

Submit IP Info

Submit IP geolocation information for a player.

POST /v1/minecraft/players/submit-ip-info

Submit IP geolocation and proxy detection information for a player. This data is used for alt account detection and security analysis.

Authentication

Requires the X-API-Key header with your server's API key.

X-API-Key: your-api-key-here

Request

Headers

HeaderTypeRequiredDescription
X-API-KeystringYesYour server's API key.
Content-TypestringYesMust be application/json.

Body

FieldTypeRequiredDescription
minecraftUUIDstringYesThe player's Minecraft UUID.
ipstringYesThe player's IP address.
countrystringNoThe country associated with the IP address.
regionstringNoThe region/state associated with the IP address.
asnstringNoThe autonomous system number (ASN) of the IP.
proxybooleanYesWhether the IP is detected as a proxy.
hostingbooleanYesWhether the IP is detected as a hosting provider.
{
  "minecraftUUID": "550e8400-e29b-41d4-a716-446655440000",
  "ip": "192.168.1.1",
  "country": "US",
  "region": "California",
  "asn": "AS12345",
  "proxy": false,
  "hosting": false
}

Response

200 OK

{
  "status": 200,
  "success": true
}

Error Responses

Status CodeDescription
400Invalid request body or missing required fields.
401Missing or invalid API key.
429Rate limit exceeded.
500Internal server error.

On this page