OpenWeather (OpenWeatherMap) é a API meteorológica mais popular – condições atuais, previsões e dados históricos – com um nível gratuito grande o suficiente para muitos aplicativos e planos pagos de baixo custo acima dele. Veja quanto custa e como obter sua chave.
| Plano | Preço / mês | Chamadas | Melhor para |
|---|---|---|---|
| Livre mais barato | €0 | ~1,000 / day (60/min, ~1M/mo) | Aplicativos de hobby, painéis |
| Comece | €35 | 600/min, 10M/mo | Uso crescente |
| Desenvolvedor | €160 | 3,000/min, 100M/mo | Produção |
| Professional | €410 | 30,000/min, 1B/mo | High-volume apps |
| Expert | €1,200 | 100,000/min, 3B/mo | Grande escala |
| One Call by Call (3.0/4.0) | primeiros 1.000/dia grátis | then €0.0014/call | Previsão + histórico |
→ Agrupando várias APIs? Some-os no Calculadora de custos de pilha de API.
OpenWeather o nível gratuito oferece cerca de 1.000 chamadas por dia (60/min) for current weather and short forecasts — plenty for a hobby app or dashboard — and you only need an email to get a key. Heavier use or premium data (long history, minute forecasts) moves you to a paid monthly tier or the metered One Call product.
1. Inscreva-se em openweathermap.org.
2. Seu Chave de API está sob Minhas chaves de API - copie-o (pode demorar um pouco para ativar).
3. Ligue para terminais com appid=YOUR_KEY.
4. Subscribe to One Call (OpenWeather now recommends 4.0 for new integrations; 3.0 still works but is being phased out) or a paid monthly tier for advanced data.
Teste-o com uma solicitação simples:
WeatherAPI. com e Amanhã.io são rivais populares com níveis gratuitos; Open-Meteo é totalmente gratuito e não precisa de chave para uso não comercial; os serviços nacionais (NWS) são gratuitos quando disponíveis.
OpenWeather's free tier is generous for a weather API: around 60 calls per minute with a monthly cap near 1,000,000 calls on the classic current-weather and forecast products. One Call (3.0 or the newer, recommended 4.0) is metered separately under the "One Call by Call" subscription, with a default free allowance of 1,000 calls per day that you can raise (with billing enabled) by setting your own daily limit.
Paid monthly tiers scale the per-minute rate sharply while keeping the same endpoints (billed in EUR):
Go over your allowance and OpenWeather returns an HTTP 429 (and may temporarily block the key), so cache results and respect the per-minute rate. If you are checking OpenWeather API rate limits before launch, note the split model: the classic API is limited by calls-per-minute plus a monthly cap, while One Call is billed and capped per day.
See our other data-API guides to compare free monthly quotas before committing a production app to a single weather provider.
Sim – o nível gratuito oferece cerca de 1.000 ligações por dia para informações sobre o clima atual e previsões básicas, com apenas um e-mail para inscrição.
Either pay-as-you-go per call (One Call, €0.0014/call after the first 1,000/day free) or a fixed monthly tier like Developer (€160/mo) for higher limits and more endpoints. Note OpenWeather bills in EUR, not USD.
Cadastre-se em openweathermap.org e copie a chave de ‘Minhas chaves de API’ – aguarde algum tempo para que ela seja ativada.
Open-Meteo é gratuito e sem chave para uso não comercial; WeatherAPI.com também tem um nível gratuito.
Não afiliado ao OpenWeather. Os preços são estimativas de referência – verifique sempre na página oficial de preços.