Skip to content

Purchase residential data from the authenticated account balance

POST
/proxies/residential
curl --request POST \
--url https://api.ltesocks.io/v2/proxies/residential \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Idempotency-Key: 2489E9AD-2EE2-8E00-8EC9-32D5F69181C0' \
--data '{ "tariff_id": 1, "tariff_option_id": 1, "price_hash": "example" }'

Requires proxy.residential.create and a UUID Idempotency-Key. Client identity is derived from authentication. Reuse the same key and body for an uncertain result. Responses for successful purchases and uncertain server errors are retained for 24 hours. A cached server error requires operator reconciliation before a new payment. A 409 priceChanged response requires fetching offers and explicitly confirming again.

Idempotency-Key
required
string format: uuid
Media typeapplication/json
object
tariff_id
required
integer
tariff_option_id
required
integer
price_hash
required
string
>= 64 characters <= 64 characters
Examplegenerated
{
"tariff_id": 1,
"tariff_option_id": 1,
"price_hash": "example"
}

Data purchased.

Media type*/*
object
success
boolean

Missing idempotency key.

Authentication required.

Insufficient account balance.

Missing purchase scope or inactive account.

Price changed (error_code=priceChanged with data containing a new quote), or request still in progress (Retry-After header).

Invalid request or key reused with different parameters.

Uncertain upstream outcome. Retain the key and reconcile before another purchase.