TrueProxies
v1.0.6Plans, services, usage, invoices, endpoints and connection checks for your TrueProxies account
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
check_connection Check connection
Sends one request through the service from TrueProxies and reports the outcome and exit IP, to tell a proxy problem apart from a website refusing you. It counts as use of the service: it uses a little traffic and starts an unused free trial. Does not measure speed. Limited to a few checks a minute.
| Parameter | Type | Description |
|---|---|---|
service_id * | string | Service ID (a UUID) from list_services |
asn | string | ASN digits without the AS prefix, if the service supports ASN targeting |
city | string | City in lowercase letters, digits and underscores, if the service supports city targeting |
country | string | Two-letter country code, if the service supports country targeting |
lifetime | integer | Sticky session lifetime in seconds, only with session sticky: 60 to 86400, or from 1 when the service has session_lifetime_seconds, and whole minutes on Residential IPv4 Unlimited and Unlimited Pro |
protocol | string | http, https or socks5 |
region | string | Region code, if the service supports region targeting |
session | string | Session type. sticky (Sticky) reuses an IP while available, for the session lifetime. rotate (Rotating) requests a new IP per connection, and the same IP can appear again. none uses the service defaul… |
generate_endpoints Generate endpoints
Builds proxy connection lines for a service with the chosen protocol, format, location targeting and session type: one line, or up to 50,000 sticky sessions with session sticky. Does not change the service. The output contains the proxy username and password, which let anyone who has them use the service.
| Parameter | Type | Description |
|---|---|---|
service_id * | string | Service ID (a UUID) from list_services |
asn | string | ASN digits without the AS prefix, if the service supports ASN targeting |
city | string | City in lowercase letters, digits and underscores, if the service supports city targeting |
count | integer | With session sticky, how many sticky sessions to return, 1 to 50000. Other session types return one line. |
country | string | Two-letter country code, if the service supports country targeting |
format | string | Line format: host:port:user:pass (default), user:pass@host:port, user:pass, host:port, url or curl |
lifetime | integer | Sticky session lifetime in seconds, only with session sticky: 60 to 86400, or from 1 when the service has session_lifetime_seconds, and whole minutes on Residential IPv4 Unlimited and Unlimited Pro |
protocol | string | http, https or socks5 |
region | string | Region code, if the service supports region targeting |
session | string | Session type. sticky (Sticky) reuses an IP while available, for the session lifetime. rotate (Rotating) requests a new IP per connection, and the same IP can appear again. none uses the service defaul… |
get_account Get your account
Returns the TrueProxies account that owns the API key: account reference, email, role, status and billing details.
get_invoice Get an invoice
Returns one invoice: status, amounts in cents, payment attempts and its service. Does not start a payment.
| Parameter | Type | Description |
|---|---|---|
invoice_id * | string | Invoice ID (a UUID) from list_invoices |
get_live_traffic Get live traffic
Returns live traffic for one service: download and upload speed in bits per second over the last ten seconds, traffic used today (UTC) and recent connection outcomes. last_activity_at shows how fresh the data is.
| Parameter | Type | Description |
|---|---|---|
service_id * | string | Service ID (a UUID) from list_services |
get_service Get a service
Returns one service: status, expiry, connection hosts and ports, capabilities (the targeting and session options it supports) and effective limits. Does not return the proxy password.
| Parameter | Type | Description |
|---|---|---|
service_id * | string | Service ID (a UUID) from list_services |
get_traffic_used Get traffic used and remaining
Returns traffic for one service, in bytes: bytes_out is downloaded and bytes_in is uploaded since the service started, remaining_bytes is traffic remaining and allowance_bytes is the allowance. traffic_batches lists traffic packs; traffic bought now never expires, and only older packs carry an expiry. Traffic can take about a minute to appear.
| Parameter | Type | Description |
|---|---|---|
service_id * | string | Service ID (a UUID) from list_services |
get_usage_history Get usage history
Returns usage history for one service, or for the whole account when service_id is empty: connection success, traffic and connection errors over the last 24h, 7d or 30d. In series, bytes_out is downloaded and bytes_in is uploaded. Can lag recent traffic.
| Parameter | Type | Description |
|---|---|---|
range | string | 24h, 7d or 30d |
service_id | string | Service ID (a UUID) from list_services. Leave empty for the whole account. |
list_invoices List invoices
Lists invoices with status (open, paid or cancelled), kind, amount in cents and the service each belongs to. Paginated: pass next_cursor from the previous response as cursor.
| Parameter | Type | Description |
|---|---|---|
cursor | string | next_cursor from the previous page |
kind | string | purchase, renewal, topup, upgrade, custom, wallet_topup or white_label |
limit | integer | Page size, 1 to 100. Default 25. |
service_id | string | Only invoices for this service ID (a UUID) |
status | string | open, paid or cancelled |
list_plans List plans and prices
Lists TrueProxies plans and traffic packs: price in US cents, term, speed, connection limits, traffic allowance and targeting capabilities. Also returns the cities available for city targeting and whether the free trial is open. Traffic packs (residential_ipv4_gb, residential_ipv4_premium, residential_ipv4_lite) have no term, and their traffic never expires. Static ISP (isp_dedicated) is priced per IP for each carrier, named in display_name. No API key needed.
| Parameter | Type | Description |
|---|---|---|
product | string | Only this product: residential_ipv4_gb, residential_ipv4_premium, residential_ipv4_lite, residential_ipv4_unlimited, residential_ipv4_unlimited_pro, isp_dedicated, residential_ipv6 or datacenter_ipv6 |
term | string | Only this billing term: hour, day, week or month. Traffic packs have no term. |
list_services List your services
Lists the services on the account with status, product, plan, expiry and connection hosts. Paginated: pass next_cursor from the previous response as cursor.
| Parameter | Type | Description |
|---|---|---|
cursor | string | next_cursor from the previous page |
limit | integer | Page size, 1 to 100. Default 25. |
view | string | current (default) lists every service that is not closed; history lists closed services; all lists both |
list_trusted_ips List whitelisted IPs
Lists the IP whitelist of a service: addresses allowed to connect without the proxy password.
| Parameter | Type | Description |
|---|---|---|
service_id * | string | Service ID (a UUID) from list_services |