import requests, uuid
GATE = "gate.aeonproxy.com:7000"
# Country key only. The holder names sit on other islands: AS33576 is Digicel Jamaica, AS14813
# is Columbus (Barbados) and AS11139 is Cable & Wireless Dominica. Name the brand from the ASN.
BRAND = {"AS11594": "APUA", "AS33576": "Digicel", "AS14813": "Flow", "AS11139": "Flow",
"AS19246": "ACT"}
def antiguan_exit(tries=10):
turned_down = []
for _ in range(tries):
login = f"ap_a1b2c3-cc-ag-sid-{uuid.uuid4().hex[:8]}-time-1800"
proxy = f"http://{login}:PASS@{GATE}"
try:
geo = requests.get("https://ipinfo.io/json", proxies={"http": proxy, "https": proxy}, timeout=15).json()
except requests.RequestException:
continue # no reply: open another session
asn = geo.get("org", "").split(" ")[0]
if geo.get("country") == "AG":
return proxy, BRAND.get(asn, geo.get("org")), geo.get("city"), turned_down
turned_down.append((asn, geo.get("country"))) # read this list before you widen the test
return None, None, None, turned_down
proxy, brand, town, turned_down = antiguan_exit()
print(brand, town, turned_down)
A Digicel line can land on that list. A lookup of 10 addresses in 104.255.178.0/23, the AS33576 block GeoLite places in Antigua, read Barbados for 9 and Saint Kitts and Nevis for 1 on ipinfo.io on 5 November 2026. Decide for your job whether such an exit counts.