API Bouncer

Buy me a coffee

Foreca

Weather

WeatherAuth: OAuthHTTPS: YesCORS: unknownStatus: alive

Last verified: April 1, 2026

Getting Started

This API uses OAuth for authentication, which is more involved than a simple API key but provides better security, especially when accessing user data.

  1. Register your app — Create an application on the API provider's developer portal to get a Client ID and Client Secret.
  2. Implement the OAuth flow — Redirect users to the provider's authorization page, where they grant permission to your app.
  3. Exchange the code — After authorization, you'll receive a code that you exchange for an access token.
  4. Use the token — Include the access token in the Authorization header of your API requests.

OAuth is commonly used by APIs that access personal data (like social media accounts). Many libraries exist to simplify the OAuth flow in every major programming language.

CORS Support

CORS support for this API is unknown. If you get cross-origin errors in the browser, try calling the API from your server instead.

Quick Example

// Using cURL curl -H "Authorization: Bearer YOUR_ACCESS_TOKEN" https://developer.foreca.com
// Using JavaScript fetch() const response = await fetch(apiUrl, { headers: { 'Authorization': 'Bearer YOUR_ACCESS_TOKEN' } }); const data = await response.json();

About Foreca

Foreca is a free API in the Weather category. It uses OAuth for authentication, which provides secure access to user-specific data. This API supports HTTPS for secure connections and has unknown CORS support — test from your environment to confirm.

Frequently Asked Questions

What weather data does Foreca provide?

Foreca is a weather API that can provide meteorological data such as temperature, humidity, wind speed, precipitation, and forecasts. The exact data fields depend on the API's endpoints — check the documentation for a full list of available weather parameters. Many weather APIs also provide UV index, air quality, and severe weather alerts.

Can I get historical weather data from Foreca?

Historical weather data availability varies by API. Some weather APIs like Foreca offer historical records going back years, while others focus only on current conditions and forecasts. Check the API documentation to see if historical endpoints are available and whether they require a different plan or rate limit.

How accurate are the forecasts from Foreca?

Weather API accuracy depends on the data sources the provider uses (e.g., government stations, satellites, radar). Short-term forecasts (1-3 days) are generally reliable across most weather APIs, while extended forecasts become less accurate. Foreca may source data from national weather services or proprietary models — see their documentation for details on data sources and update frequency.

Does Foreca support location-based weather lookups?

Most weather APIs support lookups by geographic coordinates (latitude/longitude), city name, or zip code. Foreca likely supports at least one of these methods. Coordinate-based lookups tend to be the most precise. Check the Weather category for other weather APIs if you need a specific lookup method.

Is Foreca free to use?

Yes, Foreca is listed as a free public API. You will need to register an application to get OAuth credentials, but access is free. Some APIs have rate limits on their free tier, so check the official documentation for current limits.

Is Foreca still working in 2026?

Yes! According to our most recent health check (Foreca's last ping: 2026-04-01 13:44:04), this API is responding normally. We periodically verify all listed APIs to ensure they are still online and functioning.