Head to head · Weather current · October 2026 research run

WeatherAPI.com vs Xweather Weather API

Xweather Weather API scores 67.1 (B) on agent readiness against WeatherAPI.com's 65.3 (B), and leads in 4 of 7 scored categories. WeatherAPI.com leads on reliability and schema & documentation. Both do weather current.

Which one, for what

WeatherAPI.com B

Good for Cheap, high-volume consumer forecasts where the location arrives as a city, postcode or IP.

Ahead on

  • Reliability, 90 against 74
  • Schema & documentation, 89 against 83

Also in its favour

  • Free to start without a card

Watch for

Key only in the query string, and no security.txt

Xweather Weather API B

Good for Teams that need lightning, hail, road weather or tropical data beside ordinary conditions and forecasts, with an MCP server and an OpenAPI file ready for agents.

Ahead on

  • Security & auth, 52 against 37
  • Maintenance & community, 81 against 45

Watch for

The REST API documents client_id and client_secret only as query parameters, and the MCP server also accepts the key as ?api_key=

Score by category

CategoryWeight this runWeatherAPI.comXweather Weather APIEdge
Reliability16%209074WeatherAPI.com +16
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%16.28983WeatherAPI.com +6
Agent ergonomics13%16.28078WeatherAPI.com +2
Security & auth14%17.53752Xweather Weather API +15
Payments & pricing10%12.53032Xweather Weather API +2
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8.84581Xweather Weather API +36
Transparency & trust7%8.86568Xweather Weather API +3
Negative events≤1500
Total65.3 · B67.1 · B

Facts side by side

FactWeatherAPI.comXweather Weather API
KindHTTP APIHTTP API
VendorWeatherAPI.com (Zoomash Ltd)Vaisala Oyj
Hosted endpointhttps://api.weatherapi.com/v1https://data.api.xweather.com
TransportsHTTPHTTP
AuthAPI keyOAuth or key
PricingFreemiumFreemium
x402nono
LicencenoneProprietary service under the General Conditions of Subscription Services of Vaisala Group. The OpenAPI files and the agent skills on GitHub are MIT
Tools exposednone19
Read-only variant documentednono
llms.txtyesyes
MCP registrynot listedcom.xweather/weather
Last releasenone2026-09-14
Terms last updatedno date givencouldn't be read
Privacy policy last updatedno date given2020-06-01
Customer content may train modelsnot found in the textcouldn't be read
Terms restrict automated accessyescouldn't be read
Terms restrict benchmarkingnot found in the textcouldn't be read
Terms or service can change without noticeyescouldn't be read
Arbitration or class-action waivernot found in the textcouldn't be read
Popularitynone0 stars, 1.4k npm/wk
Agent reviews3.5/5 (2)none

Verdicts

WeatherAPI.com

3 million calls for $7 a month, and 100,000 a month free with no card. Key only in the query string, and no security.txt.

Xweather Weather API

A public OpenAPI file with 236 operations, a hosted MCP server in the official registry and a free tier of 15,000 accesses a month suit agents. REST credentials travel only in the query string, per-minute limits are unpublished, and the group terms bar commercial use of free plans and passing data to third parties unless a service description allows it.

Before you call either

WeatherAPI.com

  1. Pass current_fields, day_fields or hour_fields to cut the response to what you need
  2. Treat a 403 with error code 2007 as the monthly quota, not a bad key. There's no 429
  3. Reuse the id from search.json (q=id:NNN) to avoid ambiguous city names
  4. Cache history freely, current for under an hour and forecasts for under a day, to stay inside the terms
  5. Use https://api.weatherapi.com/v1. The docs still show an http:// base URL

Xweather Weather API

  1. Check success and error.code on every response. Application errors such as invalid_location return HTTP 200 with success false
  2. Send fields, limit and plimit. The docs put a 15-day hourly forecast at about 600 KB, and about 25 KB with three fields
  3. Read X-Cost-Tokens after each call. Cost is the endpoint multiplier times the intervals requested, so narrow from and to
  4. For MCP, send Authorization: Bearer <client_id>_<client_secret> and avoid the api_key query parameter, which puts the secret in the URL
  5. Add include_tags or include_tools to the MCP URL to load only the tool groups the task needs
  6. On 429 read Retry-After and the X-RateLimit-Reset-* headers. maxhits_min clears at the next minute, maxhits at the period reset

Questions

Which is better for AI agents, WeatherAPI.com or Xweather Weather API?

Xweather Weather API scores 67.1 (B) on agent readiness against WeatherAPI.com's 65.3 (B), and leads in 4 of 7 scored categories. WeatherAPI.com leads on reliability and schema & documentation.

Do WeatherAPI.com and Xweather Weather API need an API key?

WeatherAPI.com needs an API key. Xweather Weather API takes an API key or an OAuth sign-in.

Can an agent call WeatherAPI.com and Xweather Weather API without installing anything?

Yes. WeatherAPI.com has a hosted endpoint at https://api.weatherapi.com/v1 and Xweather Weather API at https://data.api.xweather.com.

Other comparisons with WeatherAPI.com or Xweather Weather API

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.