![]() |
|
Demo token 93a1f6fc-3fa2-40ee-9fae-0ff301df50f0 (The token is valid on average for about three days).
Register and receive a token to access the API. The token will be available in your personal account.
date of update: 2024-12-21 09:20
quantity: 2899
JSON:
<?php
// Demo token. (Replace it with your token).
$token = '93a1f6fc-3fa2-40ee-9fae-0ff301df50f0';
$url = 'https://wildtracks.pro/api/water/all/kg/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>";
?>
Type:
Stream (STM ) (A body of running water moving to a lower level in a channel on land) | 2342 |
Lake (LK ) (A large inland body of standing water) | 111 |
Glacier(s) (GLCR ) (A mass of ice, usually at high latitudes or high elevations, with sufficient thickness to flow away from the source area in lobes, tongues, or masses) | 54 |
Reservoir(s) (RSV ) (An artificial pond or lake) | 25 |
Canal (CNL ) (An artificial watercourse) | 101 |
Inlet (INLT ) (A narrow waterway extending into the land, or connecting a bay or lagoon with a larger body of water) | 9 |
Lakes (LKS ) (Large inland bodies of standing water) | 3 |
Spring(s) (SPNG ) (A place where ground water flows naturally out of the ground) | 158 |
Intermittent stream (STMI ) | 78 |
Ravine(s) (RVN ) (A small, narrow, deep, steep-sided stream channel, smaller than a gorge) | 6 |
Waterfall(s) (FLLS ) (A perpendicular or very steep descent of the water of a stream) | 1 |
Irrigation ditch (DTCHI ) (A ditch which serves to distribute irrigation water) | 3 |
Ditch (DTCH ) (A small artificial watercourse dug for draining or irrigating the land) | 1 |
Salt lake (LKN ) (An inland body of salt water with no outlet) | 3 |
Canalized stream (STMC ) (A stream that has been substantially ditched, diked, or straightened) | 1 |
Cove(s) (COVE ) (A small coastal indentation, smaller than a bay) | 1 |
Well (WLL ) (A cylindrical hole, pit, or tunnel drilled or dug down to a depth from which water, oil, or gas can be pumped or brought to the surface) | 1 |
Hot spring(s) (SPNT ) (A place where hot ground water flows naturally out of the ground) | 1 |
Description of fields:
name | Name |
alternatenames | Alternative names |
latitude | Estimated latitude (wgs84) |
longitude | Estimated longitude (wgs84) |
feature_code | Type of stream, lake... (link) |
modification_date | Date added or modified |
country_code | ISO-3166 2-letter country code, 2 characters |
dem | Digital elevation model, srtm3 or gtopo30, average elevation of 3''x3'' (ca 90mx90m) or 30''x30'' (ca 900mx900m) area in meters, integer. srtm processed by cgiar/ciat. |
timezone | The iana timezone id (link) |