TestingAPIs is still being built. If something breaks, email support@testingapis.com.

Get a random 5-day weather forecast

GEThttps://api.testingapis.com/WeatherForecastSign in to see this endpoint's URL

Responses

200
Five daily forecasts.

Example

Request
curl -X GET "https://api.testingapis.com/WeatherForecast" \
  -H "X-TestingApis-Key: YOUR_API_KEY"
Response200 OK
[
  {"date": "2026-10-01", "temperatureC": 46, "temperatureF": 114, "summary": "Scorching"},
  {"date": "2026-10-02", "temperatureC": 22, "temperatureF": 71, "summary": "Scorching"},
  "… 3 more items"
]

Sign in to see the details

The parameters, request and response examples and the live Try it panel for this endpoint are for signed-in members. Accounts are free and take a few seconds to create.