Ohne KYC — keine Ausweisdokumente, kein Selfie und keine Unterlagen. Mit Krypto bezahlen.
Sprache: Deutsch
1 GB auswählen

API-Referenz

Residential-Proxys und Zugangsdaten

Verwalte Traffic-Abos (Residential und rotierende 4G/5G pro GB): Proxy-Zugangsdaten, Unterbenutzer mit eigenen Zugangsdaten und Traffic-Limit, tägliche Nutzung und die Standorte, die du im Proxy-Benutzernamen angeben kannst.

11 Min. Lesezeit

Endpunkte auf dieser Seite

  • GET /v1/residential/subscriptions: Traffic-Abos auflisten (Residential und rotierende mobile -Proxys pro GB)
  • GET /v1/residential/subscriptions/{subscriptionId}: Residential-Abo abrufen
  • PATCH /v1/residential/subscriptions/{subscriptionId}: Umbenennen oder automatische Verlängerung ein-/ausschalten
  • POST /v1/residential/subscriptions/{subscriptionId}/reset-password: Neues Proxy-Passwort für den Hauptnutzer generieren
  • GET /v1/residential/subscriptions/{subscriptionId}/usage: Tägliche Traffic-Nutzung
  • GET /v1/residential/subscriptions/{subscriptionId}/sub-users: Unterbenutzer auflisten (separate Proxy-Zugangsdaten mit eigenem Traffic-Limit)
  • POST /v1/residential/subscriptions/{subscriptionId}/sub-users: Unterbenutzer erstellen
  • PATCH /v1/residential/subscriptions/{subscriptionId}/sub-users/{subUserId}: Unterbenutzer aktualisieren (Bezeichnung, Limit, aktivieren/deaktivieren, neues Passwort)
  • DELETE /v1/residential/subscriptions/{subscriptionId}/sub-users/{subUserId}: Unterbenutzer löschen
  • GET /v1/catalog/countries: Länder, in denen ein Produkt verfügbar ist
  • GET /v1/catalog/countries/{countryCode}/states: Gezielte Auswahl von Bundesstaaten/Provinzen in einem Land (US, CA, AU…)
  • GET /v1/catalog/countries/{countryCode}/cities: Gezielte Auswahl von Städten in einem Land
  • GET /v1/catalog/countries/{countryCode}/asns: Gezielte Auswahl von ISPs (ASN) in einem Land — nur Residential-Proxys

Basis-URL https://localserpproxy.com/api/v1. Authentifizierung, Fehler und Limits: siehe API-Übersicht.

Sticky Sessions

Füge -session-{id}-ttl-{minutes} zum Proxy-Benutzernamen hinzu, um dieselbe IP beizubehalten: {id} besteht aus 1–32 Buchstaben oder Ziffern deiner Wahl, ttl steht für 1–30 Minuten. Die IP kann sich früher ändern, zum Beispiel wenn das Gerät dahinter offline geht.

Traffic-Abos auflisten (Residential und rotierende mobile -Proxys pro GB)

GET/v1/residential/subscriptions

Authentifizierung: API-Schlüssel im Header Authorization: Bearer API_KEY.

Parameter

NameInTypErforderlichBeschreibung
productIdqueryresidential · mobile-gbNeinNur dieses Produkt (nicht angegeben: beide).

Antwort 200 OK

{
  "data": [
    {
      "id": "res_9x2m4k",
      "productId": "residential",
      "label": "Residential #1",
      "planId": "res-10",
      "status": "active",
      "trafficTotalBytes": 10000000000,
      "trafficUsedBytes": 2350000000,
      "trafficRemainingBytes": 7650000000,
      "expiresAt": null,
      "autoRenew": false,
      "username": "u7k2m9",
      "password": "PASSWORD",
      "endpoint": {
        "host": "gw.localserpproxy.com",
        "httpPort": 7777,
        "socksPort": 7778
      },
      "subUserCount": 1,
      "createdAt": "2026-10-05T14:03:11Z"
    }
  ]
}

Codebeispiele

curl
curl -s "https://localserpproxy.com/api/v1/residential/subscriptions" \
  -H "Authorization: Bearer $API_KEY"
Python
import os
import requests

API = "https://localserpproxy.com/api/v1"
HEADERS = {"Authorization": f"Bearer {os.environ['API_KEY']}"}

r = requests.get(f"{API}/residential/subscriptions", headers=HEADERS, timeout=30)
r.raise_for_status()
print(r.json())
Node.js
// Node.js 18+ (built-in fetch), ES module
const API = 'https://localserpproxy.com/api/v1';

const res = await fetch(`${API}/residential/subscriptions`, {
  headers: { Authorization: `Bearer ${process.env.API_KEY}` },
});
if (!res.ok) throw new Error((await res.json()).error?.message ?? `HTTP ${res.status}`);
console.log(await res.json());

Residential-Abo abrufen

GET/v1/residential/subscriptions/{subscriptionId}

Authentifizierung: API-Schlüssel im Header Authorization: Bearer API_KEY.

Parameter

NameInTypErforderlichBeschreibung
subscriptionIdpathstringJa—

Antwort 200 OK

{
  "id": "res_9x2m4k",
  "productId": "residential",
  "label": "Residential #1",
  "planId": "res-10",
  "status": "active",
  "trafficTotalBytes": 10000000000,
  "trafficUsedBytes": 2350000000,
  "trafficRemainingBytes": 7650000000,
  "expiresAt": null,
  "autoRenew": false,
  "username": "u7k2m9",
  "password": "PASSWORD",
  "endpoint": {
    "host": "gw.localserpproxy.com",
    "httpPort": 7777,
    "socksPort": 7778
  },
  "subUserCount": 1,
  "createdAt": "2026-10-05T14:03:11Z"
}

Codebeispiele

curl
curl -s "https://localserpproxy.com/api/v1/residential/subscriptions/res_9x2m4k" \
  -H "Authorization: Bearer $API_KEY"
Python
import os
import requests

API = "https://localserpproxy.com/api/v1"
HEADERS = {"Authorization": f"Bearer {os.environ['API_KEY']}"}

r = requests.get(f"{API}/residential/subscriptions/res_9x2m4k", headers=HEADERS, timeout=30)
r.raise_for_status()
print(r.json())
Node.js
// Node.js 18+ (built-in fetch), ES module
const API = 'https://localserpproxy.com/api/v1';

const res = await fetch(`${API}/residential/subscriptions/res_9x2m4k`, {
  headers: { Authorization: `Bearer ${process.env.API_KEY}` },
});
if (!res.ok) throw new Error((await res.json()).error?.message ?? `HTTP ${res.status}`);
console.log(await res.json());

Umbenennen oder automatische Verlängerung ein-/ausschalten

PATCH/v1/residential/subscriptions/{subscriptionId}

Authentifizierung: API-Schlüssel im Header Authorization: Bearer API_KEY.

Parameter

NameInTypErforderlichBeschreibung
subscriptionIdpathstringJa—

Anfragetext

FeldTypErforderlichBeschreibung
labelstringNeinmax. 60 Zeichen
autoRenewbooleanNein—
Beispiel
{
  "label": "Price monitoring",
  "autoRenew": true
}

Antwort 200 OK

{
  "id": "res_9x2m4k",
  "productId": "residential",
  "label": "Residential #1",
  "planId": "res-10",
  "status": "active",
  "trafficTotalBytes": 10000000000,
  "trafficUsedBytes": 2350000000,
  "trafficRemainingBytes": 7650000000,
  "expiresAt": null,
  "autoRenew": false,
  "username": "u7k2m9",
  "password": "PASSWORD",
  "endpoint": {
    "host": "gw.localserpproxy.com",
    "httpPort": 7777,
    "socksPort": 7778
  },
  "subUserCount": 1,
  "createdAt": "2026-10-05T14:03:11Z"
}

Codebeispiele

curl
curl -s -X PATCH "https://localserpproxy.com/api/v1/residential/subscriptions/res_9x2m4k" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"label":"Price monitoring","autoRenew":true}'
Python
import os
import requests

API = "https://localserpproxy.com/api/v1"
HEADERS = {"Authorization": f"Bearer {os.environ['API_KEY']}"}

r = requests.patch(f"{API}/residential/subscriptions/res_9x2m4k", headers=HEADERS, json={"label": "Price monitoring", "autoRenew": True}, timeout=30)
r.raise_for_status()
print(r.json())
Node.js
// Node.js 18+ (built-in fetch), ES module
const API = 'https://localserpproxy.com/api/v1';

const res = await fetch(`${API}/residential/subscriptions/res_9x2m4k`, {
  method: 'PATCH',
  headers: { Authorization: `Bearer ${process.env.API_KEY}`, 'Content-Type': 'application/json' },
  body: JSON.stringify({ label: 'Price monitoring', autoRenew: true }),
});
if (!res.ok) throw new Error((await res.json()).error?.message ?? `HTTP ${res.status}`);
console.log(await res.json());

Neues Proxy-Passwort für den Hauptnutzer generieren

POST/v1/residential/subscriptions/{subscriptionId}/reset-password

Das alte Passwort funktioniert am Gateway innerhalb von 60 Sekunden nicht mehr.

Authentifizierung: API-Schlüssel im Header Authorization: Bearer API_KEY.

Parameter

NameInTypErforderlichBeschreibung
subscriptionIdpathstringJa—

Antwort 200 OK

{
  "id": "res_9x2m4k",
  "productId": "residential",
  "label": "Residential #1",
  "planId": "res-10",
  "status": "active",
  "trafficTotalBytes": 10000000000,
  "trafficUsedBytes": 2350000000,
  "trafficRemainingBytes": 7650000000,
  "expiresAt": null,
  "autoRenew": false,
  "username": "u7k2m9",
  "password": "PASSWORD",
  "endpoint": {
    "host": "gw.localserpproxy.com",
    "httpPort": 7777,
    "socksPort": 7778
  },
  "subUserCount": 1,
  "createdAt": "2026-10-05T14:03:11Z"
}

Codebeispiele

curl
curl -s -X POST "https://localserpproxy.com/api/v1/residential/subscriptions/res_9x2m4k/reset-password" \
  -H "Authorization: Bearer $API_KEY"
Python
import os
import requests

API = "https://localserpproxy.com/api/v1"
HEADERS = {"Authorization": f"Bearer {os.environ['API_KEY']}"}

r = requests.post(f"{API}/residential/subscriptions/res_9x2m4k/reset-password", headers=HEADERS, timeout=30)
r.raise_for_status()
print(r.json())
Node.js
// Node.js 18+ (built-in fetch), ES module
const API = 'https://localserpproxy.com/api/v1';

const res = await fetch(`${API}/residential/subscriptions/res_9x2m4k/reset-password`, {
  method: 'POST',
  headers: { Authorization: `Bearer ${process.env.API_KEY}` },
});
if (!res.ok) throw new Error((await res.json()).error?.message ?? `HTTP ${res.status}`);
console.log(await res.json());

Täglicher Traffic-Verbrauch

GET/v1/residential/subscriptions/{subscriptionId}/usage

Authentifizierung: API-Schlüssel im Header Authorization: Bearer API_KEY.

Parameter

NameInTypErforderlichBeschreibung
subscriptionIdpathstringJa—
fromquerystring (date)NeinErster Tag (UTC), einschließlich. Standard = 29 Tage vor to.
toquerystring (date)NeinLetzter Tag (UTC), einschließlich. Standard = heute. Maximaler Zeitraum: 366 Tage.
subUserIdquerystringNeinAuf einen Unternutzer beschränken.

Antwort 200 OK

{
  "from": "2026-10-04",
  "to": "2026-10-05",
  "totalBytes": 2350000000,
  "totalRequests": 48210,
  "points": [
    {
      "date": "2026-10-04",
      "bytes": 1200000000,
      "requests": 24800
    },
    {
      "date": "2026-10-05",
      "bytes": 1150000000,
      "requests": 23410
    }
  ],
  "byCountry": [
    {
      "country": "US",
      "bytes": 2350000000
    }
  ]
}

Codebeispiele

curl
curl -s "https://localserpproxy.com/api/v1/residential/subscriptions/res_9x2m4k/usage" \
  -H "Authorization: Bearer $API_KEY"
Python
import os
import requests

API = "https://localserpproxy.com/api/v1"
HEADERS = {"Authorization": f"Bearer {os.environ['API_KEY']}"}

r = requests.get(f"{API}/residential/subscriptions/res_9x2m4k/usage", headers=HEADERS, timeout=30)
r.raise_for_status()
print(r.json())
Node.js
// Node.js 18+ (built-in fetch), ES module
const API = 'https://localserpproxy.com/api/v1';

const res = await fetch(`${API}/residential/subscriptions/res_9x2m4k/usage`, {
  headers: { Authorization: `Bearer ${process.env.API_KEY}` },
});
if (!res.ok) throw new Error((await res.json()).error?.message ?? `HTTP ${res.status}`);
console.log(await res.json());

Unternutzer auflisten (separate Proxy-Zugangsdaten mit eigenem Traffic-Limit)

GET/v1/residential/subscriptions/{subscriptionId}/sub-users

Authentifizierung: API-Schlüssel im Header Authorization: Bearer API_KEY.

Parameter

NameInTypErforderlichBeschreibung
subscriptionIdpathstringJa—

Antwort 200 OK

{
  "data": [
    {
      "id": "sub_3m9qk2",
      "label": "Client A",
      "username": "u7k2m9_scraper",
      "password": "PASSWORD",
      "trafficLimitBytes": 5000000000,
      "trafficUsedBytes": 1200000000,
      "enabled": true,
      "createdAt": "2026-10-05T14:03:11Z"
    }
  ],
  "limit": 50
}

Codebeispiele

curl
curl -s "https://localserpproxy.com/api/v1/residential/subscriptions/res_9x2m4k/sub-users" \
  -H "Authorization: Bearer $API_KEY"
Python
import os
import requests

API = "https://localserpproxy.com/api/v1"
HEADERS = {"Authorization": f"Bearer {os.environ['API_KEY']}"}

r = requests.get(f"{API}/residential/subscriptions/res_9x2m4k/sub-users", headers=HEADERS, timeout=30)
r.raise_for_status()
print(r.json())
Node.js
// Node.js 18+ (built-in fetch), ES module
const API = 'https://localserpproxy.com/api/v1';

const res = await fetch(`${API}/residential/subscriptions/res_9x2m4k/sub-users`, {
  headers: { Authorization: `Bearer ${process.env.API_KEY}` },
});
if (!res.ok) throw new Error((await res.json()).error?.message ?? `HTTP ${res.status}`);
console.log(await res.json());

Unternutzer erstellen

POST/v1/residential/subscriptions/{subscriptionId}/sub-users

Authentifizierung: API-Schlüssel im Header Authorization: Bearer API_KEY.

Parameter

NameInTypErforderlichBeschreibung
subscriptionIdpathstringJa—

Anfragetext

FeldTypErforderlichBeschreibung
labelstringJamax. 60 Zeichen
passwordstringNeinWird generiert, wenn nicht angegeben. — max. 64 Zeichen
trafficLimitBytesinteger (int64), nullableNein≥ 0
Beispiel
{
  "label": "Scraper EU",
  "trafficLimitBytes": 5000000000
}

Antwort 201 Created

{
  "id": "sub_3m9qk2",
  "label": "Client A",
  "username": "u7k2m9_scraper",
  "password": "PASSWORD",
  "trafficLimitBytes": 5000000000,
  "trafficUsedBytes": 1200000000,
  "enabled": true,
  "createdAt": "2026-10-05T14:03:11Z"
}

Codebeispiele

curl
curl -s -X POST "https://localserpproxy.com/api/v1/residential/subscriptions/res_9x2m4k/sub-users" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"label":"Scraper EU","trafficLimitBytes":5000000000}'
Python
import os
import requests

API = "https://localserpproxy.com/api/v1"
HEADERS = {"Authorization": f"Bearer {os.environ['API_KEY']}"}

r = requests.post(f"{API}/residential/subscriptions/res_9x2m4k/sub-users", headers=HEADERS, json={"label": "Scraper EU", "trafficLimitBytes": 5000000000}, timeout=30)
r.raise_for_status()
print(r.json())
Node.js
// Node.js 18+ (built-in fetch), ES module
const API = 'https://localserpproxy.com/api/v1';

const res = await fetch(`${API}/residential/subscriptions/res_9x2m4k/sub-users`, {
  method: 'POST',
  headers: { Authorization: `Bearer ${process.env.API_KEY}`, 'Content-Type': 'application/json' },
  body: JSON.stringify({ label: 'Scraper EU', trafficLimitBytes: 5000000000 }),
});
if (!res.ok) throw new Error((await res.json()).error?.message ?? `HTTP ${res.status}`);
console.log(await res.json());

Unternutzer aktualisieren (Bezeichnung, Limit, aktivieren/deaktivieren, neues Passwort)

PATCH/v1/residential/subscriptions/{subscriptionId}/sub-users/{subUserId}

Authentifizierung: API-Schlüssel im Header Authorization: Bearer API_KEY.

Parameter

NameInTypErforderlichBeschreibung
subscriptionIdpathstringJa—
subUserIdpathstringJa—

Anfragetext

FeldTypErforderlichBeschreibung
labelstringNeinmax. 60 Zeichen
trafficLimitBytesinteger (int64), nullableNein≥ 0
enabledbooleanNein—
regeneratePasswordbooleanNein—
Beispiel
{
  "enabled": false
}

Antwort 200 OK

{
  "id": "sub_3m9qk2",
  "label": "Client A",
  "username": "u7k2m9_scraper",
  "password": "PASSWORD",
  "trafficLimitBytes": 5000000000,
  "trafficUsedBytes": 1200000000,
  "enabled": true,
  "createdAt": "2026-10-05T14:03:11Z"
}

Codebeispiele

curl
curl -s -X PATCH "https://localserpproxy.com/api/v1/residential/subscriptions/res_9x2m4k/sub-users/sub_3m9qk2" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"enabled":false}'
Python
import os
import requests

API = "https://localserpproxy.com/api/v1"
HEADERS = {"Authorization": f"Bearer {os.environ['API_KEY']}"}

r = requests.patch(f"{API}/residential/subscriptions/res_9x2m4k/sub-users/sub_3m9qk2", headers=HEADERS, json={"enabled": False}, timeout=30)
r.raise_for_status()
print(r.json())
Node.js
// Node.js 18+ (built-in fetch), ES module
const API = 'https://localserpproxy.com/api/v1';

const res = await fetch(`${API}/residential/subscriptions/res_9x2m4k/sub-users/sub_3m9qk2`, {
  method: 'PATCH',
  headers: { Authorization: `Bearer ${process.env.API_KEY}`, 'Content-Type': 'application/json' },
  body: JSON.stringify({ enabled: false }),
});
if (!res.ok) throw new Error((await res.json()).error?.message ?? `HTTP ${res.status}`);
console.log(await res.json());

Unternutzer löschen

DELETE/v1/residential/subscriptions/{subscriptionId}/sub-users/{subUserId}

Authentifizierung: API-Schlüssel im Header Authorization: Bearer API_KEY.

Parameter

NameInTypErforderlichBeschreibung
subscriptionIdpathstringJa—
subUserIdpathstringJa—

Antwort 204 No Content

Kein Anfragetext: Der Statuscode ist die Antwort.

Codebeispiele

curl
curl -s -X DELETE "https://localserpproxy.com/api/v1/residential/subscriptions/res_9x2m4k/sub-users/sub_3m9qk2" \
  -H "Authorization: Bearer $API_KEY"
Python
import os
import requests

API = "https://localserpproxy.com/api/v1"
HEADERS = {"Authorization": f"Bearer {os.environ['API_KEY']}"}

r = requests.delete(f"{API}/residential/subscriptions/res_9x2m4k/sub-users/sub_3m9qk2", headers=HEADERS, timeout=30)
r.raise_for_status()
print(r.status_code)  # 204: done
Node.js
// Node.js 18+ (built-in fetch), ES module
const API = 'https://localserpproxy.com/api/v1';

const res = await fetch(`${API}/residential/subscriptions/res_9x2m4k/sub-users/sub_3m9qk2`, {
  method: 'DELETE',
  headers: { Authorization: `Bearer ${process.env.API_KEY}` },
});
if (!res.ok) throw new Error(`HTTP ${res.status}`);
console.log(res.status); // 204: done

Länder, in denen ein Produkt verfügbar ist

GET/v1/catalog/countries

Öffentlich: kein API-Schlüssel erforderlich.

Parameter

NameInTypErforderlichBeschreibung
productquerystringNeinAuf Standorte beschränken, an denen dieses Produkt verfügbar ist (residential, mobile, mobile-gb).

Antwort 200 OK

{
  "data": [
    {
      "code": "US",
      "name": "United States",
      "region": "Americas",
      "products": [
        "residential",
        "mobile",
        "mobile-gb"
      ],
      "cities": 6,
      "asns": 4,
      "carriers": 3
    }
  ]
}

Codebeispiele

curl
curl -s "https://localserpproxy.com/api/v1/catalog/countries"
Python
import os
import requests

API = "https://localserpproxy.com/api/v1"

r = requests.get(f"{API}/catalog/countries", timeout=30)
r.raise_for_status()
print(r.json())
Node.js
// Node.js 18+ (built-in fetch), ES module
const API = 'https://localserpproxy.com/api/v1';

const res = await fetch(`${API}/catalog/countries`);
if (!res.ok) throw new Error((await res.json()).error?.message ?? `HTTP ${res.status}`);
console.log(await res.json());

Auswählbare Bundesstaaten/Provinzen eines Landes (US, CA, AU …)

GET/v1/catalog/countries/{countryCode}/states

Werte für das Segment -state-{state} des Benutzernamens. Für Länder ohne Bundesstaat-Auswahl eine leere Liste. ZIP-Codes werden nicht aufgeführt: Das Segment -zip-{zip} akzeptiert jede 5-stellige US-ZIP-Code-Angabe. Wenn keine Exit-IP passt, gibt das Gateway eine Fehlerseite zurück.

Öffentlich: kein API-Schlüssel erforderlich.

Parameter

NameInTypErforderlichBeschreibung
countryCodepathstringJaISO 3166-1 alpha-2, in Großbuchstaben.

Antwort 200 OK

{
  "data": [
    {
      "id": "ny",
      "code": "NY",
      "name": "New York",
      "cities": 0
    }
  ]
}

Codebeispiele

curl
curl -s "https://localserpproxy.com/api/v1/catalog/countries/US/states"
Python
import os
import requests

API = "https://localserpproxy.com/api/v1"

r = requests.get(f"{API}/catalog/countries/US/states", timeout=30)
r.raise_for_status()
print(r.json())
Node.js
// Node.js 18+ (built-in fetch), ES module
const API = 'https://localserpproxy.com/api/v1';

const res = await fetch(`${API}/catalog/countries/US/states`);
if (!res.ok) throw new Error((await res.json()).error?.message ?? `HTTP ${res.status}`);
console.log(await res.json());

Auswählbare Städte eines Landes

GET/v1/catalog/countries/{countryCode}/cities

Mit product=mobile oder product=mobile-gb sind nur Städte verfügbar, in denen 4G/5G-Modems vorhanden sind.

Öffentlich: kein API-Schlüssel erforderlich.

Parameter

NameInTypErforderlichBeschreibung
countryCodepathstringJaISO 3166-1 alpha-2, in Großbuchstaben.
productquerystringNeinAuf Standorte beschränken, an denen dieses Produkt verfügbar ist (residential, mobile, mobile-gb).

Antwort 200 OK

{
  "data": [
    {
      "id": "new_york",
      "name": "New York",
      "state": "ny"
    }
  ]
}

Codebeispiele

curl
curl -s "https://localserpproxy.com/api/v1/catalog/countries/US/cities"
Python
import os
import requests

API = "https://localserpproxy.com/api/v1"

r = requests.get(f"{API}/catalog/countries/US/cities", timeout=30)
r.raise_for_status()
print(r.json())
Node.js
// Node.js 18+ (built-in fetch), ES module
const API = 'https://localserpproxy.com/api/v1';

const res = await fetch(`${API}/catalog/countries/US/cities`);
if (!res.ok) throw new Error((await res.json()).error?.message ?? `HTTP ${res.status}`);
console.log(await res.json());

Auswählbare ISPs (ASN) eines Landes – nur Residential

GET/v1/catalog/countries/{countryCode}/asns

Öffentlich: kein API-Schlüssel erforderlich.

Parameter

NameInTypErforderlichBeschreibung
countryCodepathstringJaISO 3166-1 alpha-2, in Großbuchstaben.

Antwort 200 OK

{
  "data": [
    {
      "asn": 7922,
      "name": "Comcast Cable"
    }
  ]
}

Codebeispiele

curl
curl -s "https://localserpproxy.com/api/v1/catalog/countries/US/asns"
Python
import os
import requests

API = "https://localserpproxy.com/api/v1"

r = requests.get(f"{API}/catalog/countries/US/asns", timeout=30)
r.raise_for_status()
print(r.json())
Node.js
// Node.js 18+ (built-in fetch), ES module
const API = 'https://localserpproxy.com/api/v1';

const res = await fetch(`${API}/catalog/countries/US/asns`);
if (!res.ok) throw new Error((await res.json()).error?.message ?? `HTTP ${res.status}`);
console.log(await res.json());

1 GB 1,50 $ · ohne KYC

Preise ansehen