Free Weather API: Get Weather Data by Coordinates (JSON, REST)
If you are building an application that needs weather data, climate history, terrain analysis, or environmental information, the PixelGust API gives you access to all of this through a simple REST interface. Send coordinates, get JSON back. No complex setup or expensive subscriptions required.
Quick start: Open PixelGust, navigate to the API Keys page, and generate your free API key. You can start making requests immediately.
What Data Is Available?
| Category | Data | Modes |
|---|---|---|
| Weather | Temperature, humidity, wind, precipitation, cloud cover, solar radiation | Current, Forecast, Historical |
| Terrain | Elevation, slope, aspect, TWI | Current |
| Environment | NDVI, evapotranspiration, land cover | Current, Historical |
| Hazards | Soil erosion (RUSLE), flood susceptibility (TWI) | Current |
| Proximity | Distance to roads, airports, hospitals, power plants, ports | Current |
| Demographics | Population density | Current |
Getting Started
- Create an account at pixelgust.com/app using Google sign-in.
- Go to the API Keys page from the top navigation menu.
- Generate an API key. Your free tier includes a generous request allowance.
- Make your first request using the examples below.
API Examples
Current Weather
Get real-time weather conditions for any coordinates:
GET https://pixelgust.com/v1/weather?lat=40.64&lon=22.94
Headers:
X-API-Key: your_api_key_here
Response:
{
"temperature_c": 18.5,
"dewpoint_c": 12.3,
"humidity_pct": 62,
"cloud_cover_pct": 45,
"precipitation_mm": 0,
"wind_speed_ms": 3.2,
"wind_direction_deg": 225,
"solar_radiation_mj": 12.8
}
Historical Climate Data
Get 10 years of monthly climate averages:
GET https://pixelgust.com/v1/weather?lat=40.64&lon=22.94&mode=historical
Response includes monthly averages for 2015-2025:
{
"historical": {
"2024-01": {
"temperature_c": {"mean": 5.2, "min": 2.1, "max": 8.3},
"precipitation_mm": {"sum": 48.2},
"solar_radiation_mj": {"mean": 6.1}
},
...
}
}
Terrain and Environment
Terrain, NDVI, land cover, and demographics are included in the standard response:
Response includes:
{
"elevation_m": 52,
"slope_deg": 3.2,
"aspect": "SE",
"twi": 8.4,
"ndvi": 0.69,
"et_mm_year": 485.2,
"landcover_class": "Tree cover",
"population_density": 1250
}
Use Cases
Real Estate Platforms
Enrich property listings with environmental data. Show buyers the climate profile, flood risk, and terrain characteristics of every property. Call the API with the property coordinates to get instant environmental context.
Agricultural Tech
Build precision agriculture tools that use NDVI, weather history, and soil data to provide actionable insights for farmers. The historical weather endpoint gives you the climate baseline needed for crop suitability analysis.
Renewable Energy Software
Integrate solar radiation and wind speed data into energy yield estimation tools. The 10-year historical dataset provides the statistical foundation for bankable resource assessments.
Insurance and Risk Platforms
Automate climate risk scoring for property portfolios. Combine hazard data (flood, erosion), weather extremes, and terrain characteristics to generate risk profiles at scale.
IoT and Smart Home
Add hyper-local weather context to IoT dashboards. Current weather data helps smart home systems optimize heating, cooling, and irrigation based on actual conditions.
Rate Limits and Pricing
The free tier provides a generous number of API requests per month. For higher volumes, enterprise plans are available. Visit the API Keys page in the dashboard for current limits and upgrade options.
Response Format
All responses are in JSON format with consistent key naming. Timestamps use ISO 8601. Temperatures are in Celsius, distances in meters/kilometers, and all units are documented in the response metadata. Error responses include descriptive messages with HTTP status codes.
Get Your Free API Key
Start integrating weather and environmental data into your applications today.
Generate API Key