Skip to content

SDK API reference

This 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.

ReleaseWhat changedWhere to look
4.3.0The 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.1Invoice 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.0Provider 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.0Nested 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

One API, three official SDKs

Choose a resource from the SDK Reference menu. Each method compares signatures, parameters, return values and exceptions across all supported languages.

JavaScript / TypeScript

@proxyrequest/sdk · v4.3.0

npm install @proxyrequest/sdk

Python

proxyrequest-sdk · v4.3.0

python -m pip install proxyrequest-sdk

PHP

proxyrequest/php-sdk · v4.3.0

composer require proxyrequest/php-sdk

Configure the client

import { ProxyRequestClient } from "@proxyrequest/sdk";
const client = ProxyRequestClient.withApiKey("{api_key}", {
baseUrl: "https://{api_host}/api/v1",
});

Reference

Browse by resource