Obtaining Available Geo-locations in Real-time (API)

Obtaining available geolocations in real time via API allows you to access up-to-date information about the geographic locations supported by your proxy service. This data is crucial for configuring your proxy connections to target specific regions and optimize your online activities. This guide will outline the process of obtaining available geolocations in real time using the API.

Use the API to request available Geo-locations in real time:

Request
GET
curl -X GET "https://monitor.geonode.com/services/geo-target/RESIDENTIAL-PREMIUM" -u geonode_:


Parameters

service-name e.g., residential-premium

The name of the service that you purchase.


username string

Your API username (Required)


password string

Your API password (Required)


Implementation

Expected Response

[
{
        "code": "us",
        "name": "United States of America",
        "cities": {
            "prefix": "-city-",
            "options": [
                {
                    "code": "'aiea",
                    "name": "'aiea"
                },
                {
                    "code": "abbeville",
                    "name": "Abbeville"
                },
                {
                    "code": "acworth",
                    "name": "Acworth"
                },
                {
                    "code": "aiken",
                    "name": "Aiken"
                },
                {
                    "code": "akron",
                    "name": "Akron"
                },
                {
                    "code": "alamogordo",
                    "name": "Alamogordo"
                },
                {
                    "code": "albany",
                    "name": "Albany"
                },
                {
                    "code": "albuquerque",
                    "name": "Albuquerque"
                },
                {
                    "code": "alexander_city",
                    "name": "Alexander City"
                },
                {
                    "code": "alexandria",
                    "name": "Alexandria"
                },
                {
                    "code": "algonquin",
                    "name": "Algonquin"
                },
                {
                    "code": "alhambra",
                    "name": "Alhambra"
                },
                {
                    "code": "aliquippa",
                    "name": "Aliquippa"
                },
                {
                    "code": "allentown",
                    "name": "Allentown"
                },
                {
                    "code": "alpharetta",
                    "name": "Alpharetta"
                },
                {
                    "code": "alpine",
                    "name": "Alpine"
                },
                {
                    "code": "amarillo",
                    "name": "Amarillo"
                },
                {
                    "code": "amherst",
                    "name": "Amherst"
                },
            ]
        }
}
]

.....
.....
.....
.....

Conclusion

Obtaining available real-time geolocations via API provides you with the necessary information to effectively configure your proxy connections for targeted.