A KrakenD gateway over two free, keyless Open-Meteo services, showing KrakenD's signature move: declarative response aggregation, no code. One of three gateways over the same upstreams — see also Tyk and agentgateway.
| Endpoint | Backend(s) |
|---|---|
GET /weather | api.open-meteo.com/v1/forecast |
GET /air-quality | air-quality-api.open-meteo.com/v1/air-quality |
GET /conditions | both → merged { weather, air_quality } |
curl "https://weather-krakend.apievangelist.com/weather?latitude=40.7128&longitude=-74.006¤t=temperature_2m" curl "https://weather-krakend.apievangelist.com/air-quality?latitude=40.7128&longitude=-74.006¤t=european_aqi,pm2_5" # one request, two upstream hosts, merged — purely declarative: curl "https://weather-krakend.apievangelist.com/conditions?latitude=40.7128&longitude=-74.006"
The /conditions merge is the point: two different upstream hosts combined into one
response with no custom code. Adds CORS + 300s cache declaratively.