Calculate Order
Last updated
Last updated
POST
https://proxy-sale.com/personal/api/v1/{apiKey}/order/calc
This endpoint calculates the cost of an order based on the specified proxy configurations, which you can obtain from the . It is designed to provide you with an estimate before finalizing the purchase, aiding in your planning and budgeting for proxy needs.
Headers
Content-Type
application/json
apiKey
*
string
API key to authorize requests
coupon
string
All
Optional promotional code for discounts.
countryId
*
integer
IPV4, IPV6, ISP, Mobile
Country ID for the proxy location.
periodId
*
string
All
Duration for proxy rental, e.g., "30d" for 30 days.
quantity
*
integer
IPV4, IPV6, ISP, Mobile
Number of proxies required.
authorization
string
IPV4, IPV6, ISP, Mobile
IP address for authorization (optional).
targetSectionId
integer
IPV4, ISP, Resident
Section ID for specific proxy targets (optional).
targetId
integer
IPV4, ISP, Resident
ID of the target website or service, 0 for custom.
customTargetName
string
IPV4, ISP, IPV6*,
Resident
Name of the custom target, used when targetId is 0.
protocol
string
IPV6, potentially others
Proxy protocol (HTTPS/SOCKS5).
operatorId
*
string
Mobile
Operator ID for mobile proxies.
rotationId
*
integer
Mobile
Rotation settings for mobile proxies.
tarifId
*
integer
Resident
Tariff ID for resident proxies.
Response examples
If you receive a "warning" in the response, please fix the issue mentioned before making your order.