StableProxy Strona główna
Menu
Flaga Polska
Autoryzacja

Get cart calculate

Lista wszystkich publicznie dostępnych metod interakcji z API.

Główny
Cart8 metodyGet cart calculateCart orderGet cart available countriesGet cart available geo servicesGet cart configCart purchaseGet cart sale percentageGet cart bonuses
User13 metodyInfoOauthSessionsApi tokensNotificationsPhone statusSettingsMoney & BalanceAbilitiesOther linked accountsPromoFeaturesReferral
Checker3 metodyIP informationProxyBlacklist
Conversation2 metodyMessagesSupport(2)
Package9 metodyRotate tokenInfoOrderProxies(4)Package deleteDownloadFeaturesSettingsConnection bridges
Інше20 metodyApi methodsBusiness contactGet captcha challengeCaptcha demo protectedCaptcha verifyCaptcha widget.jsPackage download hashPackage proxy locationsGet package proxy locations serviceGet tracking infoTracking initUser 2faUser 2faUser 2fa confirmUser 2fa enrollUser 2fa verifyUser admin legacy sessionGet user balance notifyUser balance notifyUser login 2fa
Public2 metodysettingsStatus
GET

Get cart calculate

/cart/calculate

Calculate order

Calculate given order and return the result, this is used in plan selector to show the price of the order.

Metoda zapytania

GEThttps://api.stableproxy.com/v2/cart/calculate

Parametry zapytania

IdentyfikatorRegulaminPrzykład
traffic-unitNie koniecznienullablestringin:gb"gb"
period-unitNie koniecznienullablestringin:weeks, weeks, months, years"weeks"
traffic-amountrequiredilluminate\_validation\_invokable_validation_rulenull
period-amountrequiredintegerin:1"1"
countNie koniecznienullableinteger30
countriesNie koniecznienullablearray{"UA": 10, "PL": 20}
typerequiredstringin:shared, private, mobile_rotating_gb, residential_gb, datacenter_gb, residential_city_gb, residential_static_gb, mobile_gb, mobile_static, mobile_static_gb, mobile_shared_gb, mobile_private_gb"shared"
currencyNie koniecznienullablestringcurrency_code"USD"
has-unlimited-auth-ipsNie koniecznienullableex-booleanfalse
serviceNie koniecznienullablestringilluminate\_validation\_rules\_in75
ip-scoreNie koniecznienullablenumeric76

Przykłady kodu

1const baseUrl = "https://api.stableproxy.com/v2";
2const response = await fetch(baseUrl + "/cart/calculate", {
3 method: "GET",
4 headers: {
5 "Content-Type": "application/json"
6 }
7});
8const data = await response.json();

Przykłady odpowiedzi

Success response200application/json
{
  "data": {
    "order": {
      "version": 32,
      "added_price_per_day": 0,
      "already_spent_in_usd": 0,
      "count": 30,
      "traffic_amount": 25,
      "traffic_unit": "gb",
      "period_amount": 1,
      "period_unit": "months",
      "countries": {
        "UA": 10,
        "PL": 20
      },
      "currency": "USD",
      "type": "shared",
      "has_unlimited_auth_ips": false,
      "ip_score": 0,
      "geo_service": "adspower",
      "already_spent": 0,
      "pay_for_setup": false,
      "prices": {
        "overall": 5.84,
        "one_proxy": 0.08,
        "overall_formatted": "$5.84",
        "one_proxy_formatted": "$0.08 - 1 proxy",
        "overall_usd": 5.84,
        "one_proxy_usd": 0.08,
        "overall_formatted_usd": "$5.84",
        "version": 32,
        "one_proxy_formatted_usd": "$0.08 - 1 proxy",
        "currency": "USD",
        "sale_percentage": 1,
        "sale_amount_usd": 0,
        "sale_amount": 0
      },
      "renew_prices": {
        "overall": 5.84,
        "one_proxy": 0.08,
        "overall_formatted": "$5.84",
        "one_proxy_formatted": "$0.08 - 1 proxy",
        "overall_usd": 5.84,
        "one_proxy_usd": 0.08,
        "overall_formatted_usd": "$5.84",
        "version": 32,
        "one_proxy_formatted_usd": "$0.08 - 1 proxy",
        "currency": "USD",
        "sale_percentage": 1,
        "sale_amount_usd": 0,
        "sale_amount": 0
      }
    }
  },
  "good": true,
  "timestamp": 1731264837,
  "cause": {
    "type": "anonymous",
    "user_id": -1
  }
}
Loading...
StableProxy

StableProxy

© StableProxy – 2021 - 2026 – Ukraine

Status serwerówWsparcieFAQOpinieInstrukcjeBlogAPIPraca
Oferta publicznaPolityka prywatnościWarunki usługi
Payment methods