Weather & Flood Risk API Documentation

Introduction

This API provides comprehensive weather forecasts and flood risk assessments with unlimited requests and automatic proxy rotation.

1. Forecast and Flood Risk Endpoint

URL: POST /analyze

Description: Get weather forecasts and flood risk assessments for multiple locations.

Request Format:


{
    "pois": [
        {
            "POI ID": "unique_identifier",
            "Latitude": 51.5074,
            "Longitude": -0.1278
        }
    ]
}
            

2. Historical Weather Data Endpoint

URL: POST /historical

Description: Get historical weather data for multiple locations.

Request Format:


{
    "pois": [
        {
            "POI ID": "unique_identifier",
            "Latitude": 51.5074,
            "Longitude": -0.1278
        }
    ],
    "start_date": "2023-01-01",
    "end_date": "2023-01-07"
}
            

Features

Response Format

Both endpoints return an array of detailed weather records with hourly granularity.

Error Handling

The API uses a robust error handling system with automatic retries. Any failed requests will be automatically retried with different proxies.