Carrier(3G/4G) detect by IP

This API checks the carrier of an IP address and returns the result in plain text or JSON format
3ms

About

The API accepts an IP address and checks its carrier using a comprehensive, weekly updated database of IP ranges. This database includes carriers from over 20 countries that support WAP click advertising. It returns the carrier’s name if found, or “undefined” otherwise. Responses are available in plain text or JSON format based on the parameters provided
by GLOBUS.studio

Endpoint

				
					/**
 * Mobile Carrier Detect API
 * GET https://api.globus.studio/v2/carrier?ip=128.45.1.1&format=json
 * Response: { operator: "IT-H3G" | "undefined" }
 */

async function checkCarrier(ip) {
    const res = await fetch(`https://api.globus.studio/v2/carrier?ip=${encodeURIComponent(ip)}&format=json`);
    return res.json();
}

// Mobile IP
checkCarrier('128.45.1.1').then(d => console.log(d.operator));

// Non-mobile IP
checkCarrier('8.8.8.8').then(d => console.log(d.operator));