Calculator. Calculation by available tariffs


 

The method is used to calculate cost and delivery time by available tariffs.

Request for Calculation by available tariffs

In order to use this process, a POST request should be sent to URL:

EnvironmentURL
testinghttps://api.edu.cdek.ru/v2/calculator/tarifflist
productionhttps://api.cdek.ru/v2/calculator/tarifflist

Body of the request

Must be sent in the JSON format (Content-Type: application/json).
The following fields are supported:

Field name

Description

Field type

Mandatory

1date

Date and time of the planned delivery of the order.

Default value: current

dateTime 

no

2

type

Order type (to check availability of the tariff and additional services for order type):

1 - "e-shop"
2 - "delivery"

Default value: 1

integer

no

3

currency

Currency for calculation (see Appendix 1 for details)

Default value: contract currency

integer

no

4

lang

Language of display of information about tariffs
Available: rus, eng, zho
Default value: rus

string(3)

no

5

from_location1

Sending address

location

yes

5.1

code

CDEK location code ("List of Cities" method)

integer

no

5.2postal_code

Postal code

string(255)

no

5.3country_code

Country code in the format: ISO_3166-1_alpha-2

string(2)

no

5.4city

City name

string(255)

no

5.5address

Address string

string(255)

no

6

to_location1

Receiving address

location

yes

6.1

code

CDEK location code ("List of Cities" method)

integer

no

6.2postal_code

Postal code

string(255)

no

6.3country_code

Country code in the format: ISO_3166-1_alpha-2

string(2)

no

6.4city

City name

string(255)

no

6.5address

Address string

string(255)

no

7

packages

List of information on packages

package[ ]

yes

7.1

weight

Total weight (grams)

integer

yes

7.2

length

Package dimensions. Length (centimeters)

integer

no

7.3

width

Package dimensions. Width (centimeters)

integer

no

7.4

height

Package dimensions. Height (centimeters)

integer

no

1 The city is identified according to the following algorithm (listed in order of priority):

  1. By unique city code from the CDEK database. Values are transmitted in from_location.code and to_location.code attributes
  2. By postal code of the city. Values are transmitted in from_location.postal_code and to_location.postal_code attributes. The country code and city name can be transmitted as an additional parameter.
  3. By address string. Values are transmitted in from_location.address and to_location.address attributes.

Answer to Calculation by available tariffs

The response body is returned in the JSON format:

Field name

Description

Field type

Mandatory

1

tariff_codes

Available tariffs

[ ]no

1.1

tariff_code

Tariff code (see Appendix 2 for details)

integer

yes

1.2

tariff_name

Name of the tariff in the display language

string()

yes

1.3

tariff_description

Description of the tariff in the display language

string()

yes

1.4

delivery_mode

Tariff mode (see Appendix 3 for details)

integer

yes

1.5

delivery_sum

Price of delivery

float

yes

1.6

period_min

Min. delivery time (working days)

integer

yes

1.7

period_max

Max. delivery time (working days)

integer

yes

2

errors

List or errors

error[]

no

2.1

code

Error code

string()

yes

2.2message

Error description

string()

yes


{
    "type": "1",
    "date": "2020-11-03T11:49:32+0700",
    "currency": "1",
    "lang": "rus",
    "from_location": {
        "code": 270
    },
    "to_location": {
        "code": 44
    },
    "packages": [
        {
            "height": 10,
            "length": 10,
            "weight": 4000,
            "width": 10
        }
    ]
}


{
    "tariff_codes": [
        {
            "tariff_code": 1,
            "tariff_name": "Экспресс лайт дверь-дверь",
            "tariff_description": "Классическая экспресс-доставка документов и грузов по всей территории России по принципу «от двери до двери» со стандартными сроками доставки",
            "delivery_mode": 1,
            "delivery_sum": 1135.0,
            "period_min": 2,
            "period_max": 2
        },
        {
            "tariff_code": 10,
            "tariff_name": "Экспресс лайт склад-склад",
            "tariff_description": "Отправитель самостоятельно доставляет груз/документы в офис СД «Экспресс-курьер», получатель самостоятельно забирает груз/документы в офисе СД «Экспресс-курьер»",
            "delivery_mode": 4,
            "delivery_sum": 960.0,
            "period_min": 2,
            "period_max": 2
        }]
}

Appendix 1. Calculator currencies

Code

Currency

Сurrency code

1

Ruble

RUB

2

Tenge

KZT

3

Dollar

USD

4

Euro

EUR

5

Pound sterling

GBP

6

Yuan

CNY

7

Belarusian ruble

BYR

8

Hryvnia

UAH

9

Kyrgyzstani som

KGS

10

Armenian dram

AMD

11

Turkish lira

TRY

12

Thai baht

THB

13

Won

KRW

14

Dirham

AED

15

Sum

UZS

16

Tugrik

MNT

17

Złoty

PLN

18

Manat

AZN

19

Lari

GEL
55Japanese yenJPY


Appendix 2. CDEK Tariffs

Tariffs for Online Stores

Code

Tariff name

Delivery mode

Weight limit

Service

Description

7International express documents door–doordoor–door (D-D)up to 5 kgInternational expressExpress delivery for / from abroad of documents and letters.
8International express freight door–doordoor–door (D-D)up to 30 kgInternational expressExpress delivery to / from abroad of goods and parcels up to 30 kg.

136

Warehouse–warehouse parcel

warehouse–warehouse (W-W)

up to 30 kg




Parcel

Economy delivery of goods across Russia for e-commerce companies.

137

Warehouse–door parcel

warehouse–door (W-D)

138

Door–warehouse parcel

door–warehouse (D-W)

139

Door–door parcel

door–door (D-D)

233

Economy warehouse–door parcel

warehouse–door (W-D)

up to 50 kg


Economy parcel

Economy delivery of goods by road/rail across Russia for e-commerce companies.

This tariff is applicable to directions from Moscow to CDEK offices located east of the Urals and in Crimea.

234

Economy warehouse–warehouse parcel

warehouse–warehouse (W-W)

291

E-com Express warehouse-warehouse

warehouse-warehouse (W-W)

up to 500 kg




E-com Express





The fastest express delivery by air. 
Service for the delivery of goods from abroad with customs clearance services (services for distance selling companies).




293

E-com Express door–door

door–door (D-D)

294

E-com Express warehouse–door

warehouse–door (W-D)

295

E-com Express door–warehouse

door–warehouse (D-W)

509

E-com Express door-parcel terminal

door-parcel terminal (D-PT)

510

E-com Express warehouse-parcel terminal

warehouse-parcel terminal (W-PT)

366Parcel door-parcel terminaldoor-parcel terminal

up to 30 kg


ParcelEconomy delivery of goods across Russia for e-commerce companies.
368Parcel warehouse-parcel terminalwarehouse-parcel terminal
378

Economic parcel warehouse-parcel terminal

warehouse-parcel terminal

up to 50 kg

Economy parcel

Economy delivery of goods by road/rail across Russia for e-commerce companies.

This tariff is applicable to directions from Moscow to CDEK offices located east of the Urals and in Crimea.

184E-com Standard door–doordoor–door (D-D)
E-com StandardStandard express delivery. Service for the delivery of goods from abroad with customs clearance services (services for distance selling companies).
185E-com Standard warehouse–warehousewarehouse–warehouse (W-W)
186E-com Standard warehouse–doorwarehouse–door (W-D)
187E-com Standard door–warehousedoor–warehouse (D-W)
497E-com Standard door-parcel terminaldoor-parcel terminal (D-PT)
498E-com Standard warehouse-parcel terminalwarehouse-parcel terminal (W-PT)
2261

Documents Express

door–door (D-D)Individual restrictions depending on the directionDocuments Express





Fast international delivery of documents



2266Documents Express door-parcel terminal (D-PT)
2262Documents Express door–warehouse (D-W)
2263Documents Express warehouse–door (W-D)
2267Documents Express warehouse-parcel terminal (W-PT)
2264Documents Express warehouse–warehouse (W-W)

Regular Delivery Tariffs

CodeTariff nameDelivery modeWeight limitServiceDescription
1Express lite door–doordoor–door (D-D)up to 30 kgExpressClassical express delivery of documents and cargoes up to 30 kg.
3Super express up to 18 kgdoor–door (D-D)
Express deliveryExpress delivery of documents and cargoes “from hand to hand” across Russia by a certain hour.
5Economy express warehouse–warehousewarehouse–warehouse (W-W)
Economy deliveryCheap delivery of goods across Russia by rail and by road (longer delivery period).
10Express lite warehouse-warehousewarehouse–warehouse (W-W)up to 30 kgExpressClassical express delivery of documents and cargoes across Russia.
11Express lite warehouse–doorwarehouse–door (W-D)up to 30 kgExpressClassical express delivery of documents and cargoes across Russia.
12Express lite door–warehousedoor–warehouse (D-W)up to 30 kgExpressClassical express delivery of documents and cargoes across Russia.
15Express heavy warehouse-warehousewarehouse–warehouse (W-W)from 30 kgExpressClassical express delivery of cargoes across Russia.
16Express heavy warehouse–doorwarehouse–door (W-D)from 30 kgExpressClassical express delivery of cargoes across Russia.
17Express heavy door–warehousedoor–warehouse (D-W)from 30 kgExpressClassical express delivery of cargoes across Russia.
18Express heavy door–doordoor–door (D-D)from 30 kgExpressClassical express delivery of cargoes across Russia.
57Super express up to 9 a.m.door–door (D-D)up to 30 kgExpress deliveryExpress delivery of documents and cargoes “from hand to hand” across Russia by a certain hour (delivery within 1–2 days).
58Super express up to 10 a.m.door–door (D-D)up to 30 kgExpress deliveryExpress delivery of documents and cargoes
“from hand to hand” across Russia by a certain hour (delivery within 1–2 days).
59Super express up to 12 p.m.door–door (D-D)up to 30 kgExpress deliveryExpress delivery of documents and cargoes “from hand to hand” across Russia by a certain hour (delivery within 1–2 days).
60Super express up to 14 p.m.door–door (D-D)up to 30 kgExpress deliveryExpress delivery of documents and cargoes “from hand to hand” across Russia by a certain hour (delivery within 1–2 days).
61Super express up to 16 p.m.door–door (D-D)up to 30 kgExpress deliveryExpress delivery of documents and cargoes “from hand to hand” across Russia by a certain hour (delivery within 1–2 days).

62

Long-distance express warehouse–warehouse

warehouse–warehouse (W-W)


Economy delivery



Fast economy delivery of cargoes across Russia




121

Long-distance express door–door

door–door (D-D)


122

Long-distance express warehouse–door

warehouse–door (W-D)


123

Long-distance express door–warehouse

door–warehouse (D-W)


63

Long-distance super express warehouse-warehouse

warehouse–warehouse (W-W)


Economy delivery

Fast economical cargo delivery by a specific hour.

124

Main super express door–door

door–door (D-D)


125

Main super express warehouse–door

warehouse–door (W-D)


126

Main super express door–warehouse

door–warehouse (D-W)


118Economy express door–doordoor–door (D-D)
Economy deliveryInexpensive cargo delivery in Russia by rail and road (cargo delivery with an increase in terms).
119Economy express warehouse–doorwarehouse–door (W-D)
120Economy express door–warehousedoor–warehouse (D-W)
361Express lite door-parcel terminaldoor-parcel teminalup to 30 kgExpressClassical express delivery of documents and cargoes across Russia.
363

Express lite warehouse-parcel terminal

warehouse-parcel terminal
480Express door-doordoor–door (D-D)
ExpressClassic express delivery of documents and cargoes according to standard delivery times within the country (Russia, Belarus, Armenia, Kyrgyzstan, Kazakhstan). It also operates in directions between the countries of the customs community (Russia, Belarus, Armenia, Kyrgyzstan, Kazakhstan).
No weight limits
481Express door-warehousedoor–warehouse (D-W)
482Express warehouse-doorwarehouse–door (W-D)
483Express warehouse-warehousewarehouse–warehouse (W-W)
485Express door-parcel terminaldoor-parcel teminal (D-PT)
486Express warehouse-parcel terminalwarehouse-parcel terminal (W-PT)

Appendix 3. Delivery modes

CodeDelivery mode
1door–door
2door–warehouse
3warehouse–door
4warehouse–warehouse
6door-parcel teminal
7warehouse-parcel terminal


 

© 2000—2024, Курьерская компания СДЭК