GET
/weather?lat=36.89&lon=30.68&days=7Returns 7-day forecast data.
curl "https://tarimiklim.com/api/v1/weather?lat=36.89&lon=30.68&days=7"
The Tarım İklim service layer is REST-based and returns JSON. Use the examples below to test live forecasts, frost-risk data and widget integration quickly.
Base URL
https://tarimiklim.com/api/v1
Format
JSON (UTF-8)
Rate Limit
60 requests / minute (free tier)
/weather?lat=36.89&lon=30.68&days=7Returns 7-day forecast data.
curl "https://tarimiklim.com/api/v1/weather?lat=36.89&lon=30.68&days=7"
/weather/current?lat=36.89&lon=30.68Returns current weather data.
curl "https://tarimiklim.com/api/v1/weather/current?lat=36.89&lon=30.68"
/weather/frost-risk?lat=36.89&lon=30.68Returns the frost-risk score and risk days.
curl "https://tarimiklim.com/api/v1/weather/frost-risk?lat=36.89&lon=30.68"
/weather/hourly?lat=36.89&lon=30.68&slots=8Returns near-term forecasts in 3-hour slots.
curl "https://tarimiklim.com/api/v1/weather/hourly?lat=36.89&lon=30.68&slots=8"
/weather/widget-data?location=antalya-merkezReturns a lightweight payload optimized for widgets.
curl "https://tarimiklim.com/api/v1/weather/widget-data?location=antalya-merkez"
/alerts/subscribeExample notification subscription endpoint for integration flows.
curl -X POST "https://tarimiklim.com/api/v1/alerts/subscribe" \
-H "Content-Type: application/json" \
-d '{"location":"antalya-merkez","channel":"telegram","threshold":65}'You can embed the widget component with an iframe. In the example below, the live endpoint is served directly through this project.
<iframe src="https://tarimiklim.com/tr/widget/bereketfide" width="360" height="210" style="border:none;border-radius:14px" title="Tarımİklim Widget" />