API (Application Programming Interface)
- API
Weather data upload
| Field |
Type |
Description |
Example values |
temperature |
float |
Temperature in degree celsius |
20 |
humidity |
float |
Humidity in percent |
60 |
pressure |
float |
Pressure in pascal |
101300 |
callsign |
string |
Callsign |
NOCALL |
wind_dir |
int |
Wind direction in degree |
220 |
wind_avg |
float |
Wind average in m/s |
2.5 |
wind_max |
float |
Wind maximal in m/s |
2.5 |
rain_mm |
<int |
Rain in mm |
100 |
Example :
http://api.wettersonde.net/weather.php?temperature=20&humidity=60&callsign=NOCALL&pressure=101300
Telemetrie upload
Domain:
POST http://api.wettersonde.net/telemetrie.php
Headers:
Content-Type: application/json
Required Fields
| Field |
Type |
Description |
| timestamp |
string |
UTC time in format HHMMSS (e.g. 134501 = 13:45:01 UTC) |
| frame | int | Frame number |
| latitude | float | Latitude |
| longitude | float | Longitude |
| altitude | float | Altitude (meters) |
| speed | float | Speed (km/h) |
| direction | int | Direction (0–360) |
| frequency | float | Frequency (400–406 MHz) |
| type | string | Sonde type |
| serial | string | Serial number |
| callsign | string | Station callsign |
| climb | float | Climb rate |
Optional Fields
| Field | Type |
| temperature | float |
| pressure | float |
| humidity | float |
| voltage | float |
| rssi | float |
| burstkilltimer | int |
Validation Rules
timestamp must be in format HHMMSS and must represent UTC time
direction must be between 0 and 360
speed must be ≥ 0
frequency must be between 400 and 406 MHz
serial must match: [A-Za-z0-9-]
Example Request
{
"timestamp": "134501",
"frame": "1234",
"latitude": 52.5200,
"longitude": 13.4050,
"altitude": 12000,
"speed": 50,
"direction": 180,
"frequency": 403.5,
"type": "RS41",
"serial": "ABC-123",
"callsign": "DL1XYZ",
"climb": 5.2,
"temperature": -40,
"pressure": 300,
"humidity": 20,
"voltage": 3.3
}
Responses
✅ Success (200)
{
"status": "ok",
"message": "DB insert ok"
}
❌ Error
{
"error": "Missing field: latitude"
}
Status Codes
| Code | Description |
| 200 | Success |
| 400 | Bad request |
| 405 | Method not allowed |
| 500 | Server error |
Position upload
Domain:
POST http://api.wettersonde.net/position.php
Headers:
Content-Type: application/json
Required Fields
| Field |
Type |
Description |
| latitude | float | Latitude |
| longitude | float | Longitude |
| callsign | string | Receiver callsign |
| software | string | Software name |
| version | string | Software version |
Example Request
{
"latitude": 52.5200,
"longitude": 13.4050,
"callsign": "DL1XYZ",
"software": "dxlAPRS",
"version": "1.37b"
}
Responses
✅ Success (200)
{
"status": "ok",
"message": "DB insert ok"
}
❌ Error
{
"error": "Missing field: latitude"
}
Status Codes
| Code | Description |
| 200 | Success |
| 400 | Bad request |
| 405 | Method not allowed |
| 500 | Server error |
© wettersonde.net - Jean-Michael (DO2JMG) 2026