Skip to main content

Get mobile operator info

GET https://www.lightsms.com/external/get/operator.php

Get mobile operator information for a phone number.

Identify the mobile network operator (carrier) for any phone number, useful for routing optimization and pricing calculations.

Authorization​

This endpoint requires authentication using login, signature, and timestamp parameters.

See the Authentication documentation for more details.

AUTHORIZATION: HTTP

REQUEST

Base URL
https://www.lightsms.com
Query Parameters
loginREQUIRED
Your LightSMS account login
signatureREQUIRED
Request signature for authentication
phoneREQUIRED
Phone number to query
timestampREQUIRED
UTC timestamp of the request
text
SMS text for accurate pricing calculation
return
Response format (json or xml)

RESPONSE

Operator information retrieved successfully
{
"currency": "EUR",
"error": 0,
"mcc": "246",
"mnc": "02",
"ok": true,
"operator": "Tele2 Lithuania",
"phone": "37061234567",
"ported": 0,
"price": 0.012,
"regionCode": 0,
"timeZone": 2
}