carrier
Detects if the IP address is being used in a mobile carrier network. It returns the Mobile Country Code (MCC), Mobile Network Code (MNC), and the originating country of the carrier.
Detects if the IP address is being used in a mobile carrier network. This API endpoint can be used to detect the usage of a phone device through an IP address. It returns the Mobile Country Code (MCC), Mobile Network Code (MNC), and the originating country of the carrier.
get/{ip}/carrier
Request
- Base URLhttps://ipinfo.io
- Auth
- HTTP basic
- or HTTP bearer
- or API key in query parameter token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
ipstring required
A single IPv4 or IPv6 IP address.
Response
Carrier detection response object.
Example response
{
"name": "Sprint Corporation",
"mcc": "310",
"mnc": "120"
}Changes
No recorded changes to this operation across all 1 revision of this API.