JavaScript / TypeScript
@proxyrequest/sdk · v4.3.0
npm install @proxyrequest/sdkThis reference is generated from the public surface of each official SDK. Configure a client, choose a resource, and compare the same method across every supported language.
The JavaScript/TypeScript, Python, and PHP references below all describe version 4.3.0. Each SDK exposes the same 83 supported operations; language tabs show the actual method signatures, request models, and return types.
| Release | What changed | Where to look |
|---|---|---|
| 4.3.0 | The standalone ASN list can include country, region, and city scopes with includeGeo (JavaScript/PHP) or include_geo (Python). LocationASNRecord always includes a country-code summary (country_codes, or countryCodes in PHP); detailed geo stays empty unless requested. | Locations methods and models |
| 4.2.0–4.2.1 | Invoice creation accepts an optional final price_total (JavaScript/Python) or priceTotal (PHP DTO), including zero for a free product purchase. Explicit totals require superuser authorization and cannot be combined with a coupon. Version 4.2.1 also restores documented integer bounds and formats. | Invoices methods and billing guide |
| 4.1.0 | Provider data balances have typed paginated results and checkpoint history. Country, region, and city lookups can include nested ASNs with includeAsns (JavaScript/PHP) or include_asns (Python). | Providers methods and locations methods |
| 4.0.0 | Nested responses use concrete models for order packages and ledgers, coupon packages and statistics, and user coupons and currency. Check these types when upgrading older integrations. | Models |
For installation and authentication, see Install and use the SDKs. The API Reference documents the underlying HTTP contract.
Generated SDK documentation
Choose a resource from the SDK Reference menu. Each method compares signatures, parameters, return values and exceptions across all supported languages.
@proxyrequest/sdk · v4.3.0
npm install @proxyrequest/sdkproxyrequest-sdk · v4.3.0
python -m pip install proxyrequest-sdkproxyrequest/php-sdk · v4.3.0
composer require proxyrequest/php-sdkimport { ProxyRequestClient } from "@proxyrequest/sdk";
const client = ProxyRequestClient.withApiKey("{api_key}", { baseUrl: "https://{api_host}/api/v1",});from proxyrequest_sdk import Clientfrom proxyrequest_sdk import models
client = Client.with_api_key( "{api_key}", base_url="https://{api_host}/api/v1")from proxyrequest_sdk import AsyncClientfrom proxyrequest_sdk import models
async_client = AsyncClient.with_api_key( "{api_key}", base_url="https://{api_host}/api/v1")<?phprequire __DIR__ . '/vendor/autoload.php';
use ProxyRequest\Client;use ProxyRequest\Dto;
$client = Client::withApiKey( '{api_key}', 'https://{api_host}/api/v1');Reference