Common
Animals
Fish
Mushrooms
Flora
Login
Registration
Back

Sdek

Demo token 93a1f6fc-3fa2-40ee-9fae-0ff301df50f0 (The token is valid on average for about three days).
Logistics operator
Register and receive a token to access the API. The token will be available in your personal account.
date of update: 2024-12-24 05:40
quantity: 8675
JSON:
<?php

// Demo token. (Replace it with your token).
$token = '93a1f6fc-3fa2-40ee-9fae-0ff301df50f0';
$url = 'https://wildtracks.pro/api/transport_companies/all/sdekapi/json/'.$token;
// We receive confirmation via the LINK
$jsonData = file_get_contents($url);
// Checking if the data was received successfully
if ($jsonData === false) {
    die('Error receiving data from the URL');
}
// Converting JSON to an associative array
$dataArray = json_decode($jsonData, true);
// Checking if it was possible to convert JSON to an array
if ($dataArray === null) {
    die('Error decoding JSON');
}
// Output an array
echo "<pre>";
print_r($dataArray);
echo "</pre>";

?>
XML:
<?php

// Demo token. (Replace it with your token).
$token = '93a1f6fc-3fa2-40ee-9fae-0ff301df50f0';
// URL API
$url = 'https://wildtracks.pro/api/transport_companies/all/sdekapi/xml/'.$token;
// Getting XML data
$xmlData = file_get_contents($url);
// Checking for successful data retrieval
if ($xmlData === FALSE) {
    die('Error: Failed to retrieve data.');
}
// Parsing XML data into a SimpleXMLElement object
$xmlObject = simplexml_load_string($xmlData);
if ($xmlObject === FALSE) {
    die('Error: Failed to parse XML.');
}
// Convert the object to an array
$arrayData = json_decode(json_encode($xmlObject), true);

// We output the resulting array
echo "<pre>";
print_r($arrayData);
echo "<pre>";
?>
CSV:
<?php

// Demo token. (Replace it with your token).
$token = '93a1f6fc-3fa2-40ee-9fae-0ff301df50f0';
// File URL
$url = 'https://wildtracks.pro/api/transport_companies/all/sdekapi/csv/'.$token;
// Local file name to save to
$localFile = 'sdekapi.csv';
// Open a stream to read a file from a URL
$inputFile = fopen($url, 'r');
// Open a local file for writing
$outputFile = fopen($localFile, 'w');
// Check that both files were opened successfully.
if ($inputFile === FALSE || $outputFile === FALSE) {
    die('Error: Failed to open files.');
}
// We read the file line by line and write it to a local file
while (!feof($inputFile)) {
    $line = fgets($inputFile); // Read a line from the input file
    fwrite($outputFile, $line); // Write a line to the output file
}
// Close both files
fclose($inputFile);
fclose($outputFile);
echo "The file has been successfully uploaded and saved.
The file is saved in the same directory where the PHP script itself is located.";
?>
XLSX:
<?php

// Demo token. (Replace it with your token).
$token = '93a1f6fc-3fa2-40ee-9fae-0ff301df50f0';
// File URL
$url = 'https://wildtracks.pro/api/transport_companies/all/sdekapi/xlsx/'.$token;
// Local file name to save to
$localFile = 'sdekapi.xlsx';
// Initialize cURL with a URL
$ch = curl_init($url);
// Open the file for writing (w+ means that the file will be overwritten)
$outputFile = fopen($localFile, 'w+');
// Check that the file was opened successfully
if ($outputFile === FALSE) {
    die('Error: Failed to open file for writing.');
}
// Configuring cURL to Write Data to a File
curl_setopt($ch, CURLOPT_FILE, $outputFile);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); // Allow redirects
curl_setopt($ch, CURLOPT_FAILONERROR, true);    // Stop on errors
// We execute the request
curl_exec($ch);
// Checking for errors
if (curl_errno($ch)) {
    echo 'Error: ' . curl_error($ch);
} else {
    echo "The file has been successfully uploaded and saved.
The file is saved in the same directory where the PHP script itself is located.";
}
// Close cURL and the file
curl_close($ch);
fclose($outputFile);

?>

Description of fields:
codePVZ Code
statusPVZ activity
postal_codeThe postal code of the city
nameshort address and name of the PVZ
country_codeCountry code based on the SDEC database
country_code_isoThe country code in the format ISO_3166-1_alpha-2
country_nameCountry name
region_codeSDEC Region Code
region_nameName of the region
city_codeThe code of the settlement SDEK
cityName of the city
work_timeOperating mode, line of the form
addressAddress (street, house, office) in the specified city
full_addressFull address indicating the country, region, city, etc.
phoneTelephone
noteNote on the office
coord_xEstimated latitude (wgs84)
coord_yEstimated longitude (wgs84)
typeType of PVZ: PVZ — SDEK warehouse, POSTAMAT — SDEK postamat
owner_codeCompany office affiliation:
CDEK— the office belongs to SDEK
Degrees — the office belongs to the Degrees company
Teleport office belongs to Teleport company
Tastamat — the office belongs to the Tastamat company
Halva office belongs to Halva company
PickPoint — the office belongs to the PickPoint company
OmniCDEK — the office belongs to OmniCDEK
OmniCDEK (franchise) — the office belongs to OmniCDEK (franchisee)
OmniCDEK (self-employed) — the office belongs to OmniCDEK (self—employed)
No brand - the office belongs to a company without a brand
is_dressing_roomThe presence of a fitting room can take on the following values:

1, true - yes;
0, false - no.
have_cashlessThere is a cashless payment
have_cashThere is a cash acceptance
allowed_codCash on delivery is allowed in the PVZ
take_onlyIs the office only a pick-up point, it can take the values:

1, true - yes;
0, false - no.
is_handoutIs the point of issue, can take the values:

1, true - yes;
0, false - no.
is_receptionIs there an order acceptance in the office, it can take the values:

1, true - yes;
0, false - no.
fulfillmentDoes the office work with Fulfillment? Parish:

1, true - yes;
0, false - no.
nearest_stationThe nearest station/transport stop
metro_stationThe nearest metro station
siteLink to this office on the SDEC website
emailEmail address
address_commentLocation Description
fias_guidFIAS Area Code
weight_limitThe maximum weight in kg that an office can accept (values greater than 0 - offices that accept this weight are transmitted; 0 - offices with zero weight are not transmitted; value is not specified - all offices).
The minimum weight in kg that the office accepts (when the value is passed, offices with a minimum weight up to the specified value will be displayed)
work_time_yWork schedule for the week. A nested tag with the attributes day and periods.
phone_detailPhone list
office_imageAll photos of the office (except photos of how to get there).
work_time_exceptionsExceptions to the office work schedule
dimensionsList of maximum cell sizes (only for type = POSTAMAT)

History of changes
84482024-07-25 23:00
86542024-07-26 23:00
86432024-07-29 23:00
86372024-07-30 23:00
86292024-08-02 23:00
86322024-08-05 05:40
86252024-08-06 05:40
86192024-08-07 05:40
86172024-08-08 05:40
86222024-08-09 05:40
86172024-08-10 05:40
86272024-08-13 05:40
86472024-08-14 05:40
86432024-08-15 05:40
86442024-08-16 05:40
86482024-08-19 05:40
86352024-08-20 05:40
86422024-08-21 05:40
86332024-08-22 05:40
86452024-08-23 05:40
86412024-08-24 05:40
86422024-08-26 05:40
86242024-08-27 05:40
86202024-08-28 05:40
86392024-08-30 05:40
86382024-08-31 05:40
86432024-09-02 05:40
86382024-09-03 05:40
86372024-09-04 05:40
86742024-09-05 05:40
86682024-09-06 05:40
86612024-09-07 05:40
86642024-09-09 05:40
86462024-09-10 05:40
86602024-09-11 05:40
86672024-09-13 05:40
86592024-09-14 05:40
86612024-09-16 05:40
86582024-09-17 05:40
86602024-09-18 05:40
86712024-09-19 05:40
86732024-09-20 05:40
86712024-09-21 05:40
86742024-09-23 05:40
86822024-09-24 05:40
86902024-09-25 05:40
86982024-09-26 05:40
86912024-09-27 05:40
86932024-09-28 05:40
86942024-09-30 05:40
86982024-10-01 05:40
86992024-10-02 05:40
86972024-10-03 05:40
86952024-10-04 05:40
86572024-10-05 05:40
86582024-10-07 05:40
86502024-10-08 05:40
86482024-10-09 05:40
86462024-10-10 05:40
86442024-10-11 05:40
86532024-10-12 05:40
86582024-10-14 05:40
86572024-10-15 05:40
86612024-10-16 05:40
86602024-10-17 05:40
86672024-10-18 05:40
86882024-10-19 05:40
86912024-10-21 05:40
86902024-10-22 05:40
87042024-10-23 05:40
87132024-10-24 05:40
87172024-10-25 05:40
87192024-10-28 05:40
87242024-10-29 05:40
87292024-10-30 05:40
87312024-10-31 05:40
87302024-11-01 05:40
87342024-11-02 05:40
87242024-11-03 05:40
87272024-11-05 05:40
87282024-11-06 05:40
87412024-11-08 05:40
87372024-11-09 05:40
87402024-11-11 05:40
87462024-11-12 05:40
87452024-11-13 05:40
87432024-11-14 05:40
87502024-11-15 05:40
87432024-11-16 05:40
87422024-11-18 05:40
87552024-11-19 05:40
87642024-11-20 05:40
87702024-11-22 05:40
87672024-11-23 05:40
87652024-11-25 05:40
87722024-11-26 05:40
87762024-11-27 05:40
87812024-11-28 05:40
87822024-11-29 05:40
87762024-12-03 05:40
87812024-12-04 05:40
87942024-12-05 05:40
88082024-12-06 05:40
88112024-12-07 05:40
88152024-12-09 05:40
88182024-12-10 05:40
88252024-12-11 05:40
88302024-12-12 05:40
86352024-12-13 05:40
86312024-12-16 05:40
86372024-12-17 05:40
86422024-12-18 05:40
86512024-12-19 05:40
86682024-12-20 05:40
86702024-12-21 05:40
86692024-12-22 05:40
86712024-12-23 05:40
86752024-12-24 05:40