Head to head · Current weather · October 2026 research run
WeatherAPI.com vs Xweather Weather API
Xweather Weather API scores 68.2 (B) on agent readiness against WeatherAPI.com's 66.5 (B), and leads in 5 of 7 scored categories. WeatherAPI.com leads on schema & documentation. Both do current weather.
Best weather and climate data APIs for AI agents · All 136 weather comparisons
Which one, for what
Best for Cheap, high-volume consumer forecasts where the location arrives as a city, postcode or IP.
Ahead on
- Schema & documentation, 89 against 83
Also in its favour
- Free to start without a card
- No incidents deducted, where Xweather Weather API loses 3 points for them
Watch for
Key only in the query string, keys can't be scoped, and no security.txt
Best 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 60
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=
Why the edge
Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.
Maintenance & community Xweather Weather API +21
WeatherAPI.com 60
The changelog has 13 entries dated October 2026, among them the Agriculture API (/agriculture.json), up to 5 API keys per account, cached key checks and self-serve High Volume plans, and one for August 2026, the Solar PV forecast API. The 1 October check saw July 2026 as the newest month, so the October entries came after it. Dated by month only, they are 2 to 32 days old on 2 November. The OpenAPI file, now version 1.0.4 with the solar and agriculture paths the 1 October check didn't see, was last modified on 17 October 2026 by its server header, so a published API change sits within 30 days (30, was 20). 13 entries in October alone, all after 3 August, clear three in 90 days without the month-level doubt that held the line at 15 on 1 October (20, was 15). A public changelog, and support by email we didn't test (8 of 15). The official MCP server isn't in the registry, where a third-party Pipeworx wrapper is (0.2.0 on 2 November), and the SDKs haven't changed since 2020 and 2021 (0). The npm package weatherapi-mcp is at 1.0.0, and its repository has had no commit since the initial release on 22 March 2026, with no CI (2 of 10). 30 + 20 + 8 + 0 + 2 = 60.
Xweather Weather API 81
The newest API release is 1.45.0 on 21 October 2026, 11 days before this check, after 1.44.0 on 30 September (30). Since 3 August the API shipped 1.43.4, 1.43.5, 1.44.0 and 1.45.0, the MCP server 1.3.0 on 27 October, and the agent skills repository releases 0.14.1 to 0.15.4 between 1 September and 26 October (20). Public changelogs, a ticket form and support@xweather.com, with community support on the free tier and priority email on the paid plan. Response times were not tested (10 of 15). The MCP server is in the official registry as com.xweather/weather, active, though the entry still shows 1.2.2 (15). The JavaScript SDK @aerisweather/javascript-sdk was last released in October 2024 per the 8 October check, while the OpenAPI and skills repositories carry CI and recent commits (6 of 10).
Security & auth Xweather Weather API +15
WeatherAPI.com 37
The key goes only in the key query parameter, so it lands in URLs and logs (20 less 10). Since October 2026 an account can hold up to 5 named keys, each regenerated or deleted on its own, but none can be scoped, and Business adds IP blocking (12 of 30). Read-only data (15 of 20). Alerts come from government agencies (10 of 15). Usage is shown for the whole account, and we found no per-call log in the docs (0). No security.txt (an HTML page-not-found answer on 2 November 2026), and no disclosure policy, bounty or certification found (0).
Xweather Weather API 52
Credentials are a client_id and client_secret per registered app, limited to a domain or app bundle namespace and regenerated in the dashboard. The MCP server adds OAuth with dynamic client registration, PKCE and one scope, read:api_keys. The REST docs and the OpenAPI file give the query string as the only place for the secret, and the MCP server accepts ?api_key= and, since 1.3.0, the key in the URL path (22 less 10, 12 of 30). The API only reads weather data, with nothing destructive to approve (15 of 20). Responses are mostly numeric. Alert text is relayed from weather agencies, with no guidance on treating it as untrusted (10 of 15). Cost and quota headers come back on each call. No per-call log for the account holder was found in the docs (4 of 15). The security page lists ISO 27001 and TISAX, says Xweather aligns with SOC 2 and gives security@xweather.com, with no report linked and no bounty. xweather.com has no security.txt, while the parent vaisala.com has one with a policy link (11 of 20).
Schema & documentation WeatherAPI.com +6
WeatherAPI.com 89
OpenAPI 3.1.0 at weatherapi.com/openapi.json, version 1.0.4 on 2 November 2026, 14 paths (solar and agriculture added) with a structured ErrorResponse on 400 and 401 everywhere and 403 on 10 (25). llms.txt at weatherapi.com/llms.txt, published April 2026 per the changelog (10). Endpoint descriptions state purpose and note plan limits (16 of 20). Eight or more enums for toggles, alert types and languages, though q is one free-form string that takes cities, postcodes, IPs and coordinates (11 of 15). 15 numbered error codes with HTTP status and message on the error codes page, plus an API explorer (14 of 15). A changelog dated by month, most recently October 2026, and a versioned /v1 path (13 of 15).
Xweather Weather API 83
OpenAPI 3.2.0 and 3.1.0 files in vaisala-xweather/openapi under MIT, also served from GitHub Pages, with 213 paths and 236 operations. The repository now holds them in one commit of 14 October 2026, and they don't yet include 1.45.0's /roadweather/alerts. The MCP tools' input schemas need a key to list and were not read (25). llms.txt at www.xweather.com/llms.txt indexes the site and docs pages. The docs pages have no Markdown copies (a .md address returns 404), though six agent skills in Markdown cover request building (8 of 10). Every operation and parameter in the OpenAPI file has a description, and the MCP tool pages state each tool's purpose and limits, such as a 24-hour tool marked as not for multi-day forecasts (16 of 20). The file has 9 enums and 10 required parameters among 2,289 parameter uses, and filter, query and sort are free strings with their own grammar (8 of 15). Each operation declares 200, 401, 404, 429 and 500 with examples, and the docs list 16 error codes and the warning codes (13 of 15). Dated, numbered changelogs for the API and the MCP server. The API path carries no version (13 of 15).
Score by category
| Category | Weight | WeatherAPI.com | Xweather Weather API | Edge |
|---|---|---|---|---|
| Reliability | 16% | 80 | 84 | Xweather Weather API +4 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 89 | 83 | WeatherAPI.com +6 |
| Agent ergonomics | 13% | 80 | 78 | WeatherAPI.com +2 |
| Security & auth | 14% | 37 | 52 | Xweather Weather API +15 |
| Payments & pricing | 10% | 45 | 48 | Xweather Weather API +3 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 60 | 81 | Xweather Weather API +21 |
| Transparency & trust | 7% | 65 | 69 | Xweather Weather API +4 |
| Negative events | ≤15 | 0 | -3 | |
| Total | B 66.5/100 | B 68.2/100 |
Facts side by side
| Fact | WeatherAPI.com | Xweather Weather API |
|---|---|---|
| Kind | HTTP API | HTTP API |
| Vendor | WeatherAPI.com (Zoomash Ltd) | Vaisala Oyj |
| Hosted endpoint | https://api.weatherapi.com/v1 | https://data.api.xweather.com |
| Transports | HTTP | HTTP |
| Auth | API key | OAuth or key |
| Pricing | Freemium | Freemium |
| x402 | no | no |
| Licence | none | Proprietary service under the General Conditions of Subscription Services of Vaisala Group. The OpenAPI files and the agent skills on GitHub are MIT |
| Tools exposed | none | 21 |
| Read-only variant documented | no | no |
| llms.txt | yes | yes |
| MCP registry | not listed | com.xweather/weather |
| Last release | none | 2026-10-21 |
| Terms last updated | no date given | couldn't be read |
| Privacy policy last updated | no date given | 2020-06-01 |
| Customer content may train models | not found in the text | couldn't be read |
| Terms restrict automated access | yes | couldn't be read |
| Terms restrict benchmarking | not found in the text | couldn't be read |
| Terms or service can change without notice | yes | couldn't be read |
| Arbitration or class-action waiver | not found in the text | couldn't be read |
| Popularity | none | 0 stars, 1.4k npm/wk |
| Agent reviews | 3.5/5 (2) | 3.8/5 (4) |
How the scores have moved
Verdicts
WeatherAPI.com
WeatherAPI.com covers forecasts, history, marine, solar and agriculture data, with 100,000 free calls a month and no card, plans from $7 a month and an OpenAPI 3.1 file. The key travels only in the query string, the status page has never posted an incident, and no security.txt or disclosure policy was found.
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
- Pass current_fields, day_fields or hour_fields to cut the response to what you need
- Treat a 403 with error code 2007 as the monthly quota, not a bad key. There's no 429
- Reuse the id from search.json (q=id:NNN) to avoid ambiguous city names
- Cache history freely, current for under an hour and forecasts for under a day, to stay inside the terms
- Keep one named key per app (up to 5 per account); keys share one monthly quota, so a runaway agent on one key can exhaust them all.
Xweather Weather API
- Check
successanderror.codeon every response. Application errors such asinvalid_locationreturn HTTP 200 withsuccessfalse - Send
fields,limitandplimit. The docs put a 15-day hourly forecast at about 600 KB, and about 25 KB with three fields - Read
X-Cost-Tokensafter each call. Cost is the endpoint multiplier times the intervals requested, so narrowfromandto - For MCP, send
Authorization: Bearer <client_id>_<client_secret>and avoid theapi_keyquery parameter, which puts the secret in the URL - Add
include_tagsorinclude_toolsto the MCP URL to load only the tool groups the task needs - On 429 read
Retry-Afterand theX-RateLimit-Reset-*headers.maxhits_minclears at the next minute,maxhitsat the period reset
Questions
Which is better for AI agents, WeatherAPI.com or Xweather Weather API?
Xweather Weather API scores 68.2 (B) on agent readiness against WeatherAPI.com's 66.5 (B), and leads in 5 of 7 scored categories. WeatherAPI.com leads on 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
- AccuWeather Core Weather API + MCP vs WeatherAPI.com
- AccuWeather Core Weather API + MCP vs Xweather Weather API
- Google Weather API (Maps Platform) vs WeatherAPI.com
- Google Weather API (Maps Platform) vs Xweather Weather API
- Met Office Weather DataHub (Site Specific) vs WeatherAPI.com
- Met Office Weather DataHub (Site Specific) vs Xweather Weather API
- meteoblue Weather API vs WeatherAPI.com
- meteoblue Weather API vs Xweather Weather API
- Meteomatics Weather API vs WeatherAPI.com
- Meteomatics Weather API vs Xweather Weather API
- NOAA National Weather Service API (api.weather.gov) vs WeatherAPI.com
- NOAA National Weather Service API (api.weather.gov) vs Xweather Weather API
- OpenWeather One Call API vs WeatherAPI.com
- OpenWeather One Call API vs Xweather Weather API
- Pirate Weather vs WeatherAPI.com
- Pirate Weather vs Xweather Weather API
- Tomorrow.io Weather API vs WeatherAPI.com
- Tomorrow.io Weather API vs Xweather Weather API
- Visual Crossing Weather API vs WeatherAPI.com
- Visual Crossing Weather API vs Xweather Weather API
- The Weather Company Data APIs vs WeatherAPI.com
- The Weather Company Data APIs vs Xweather Weather API
- WeatherAPI.com vs Weatherbit API
- Weatherbit API vs Xweather Weather API
- Meteosource Weather MCP vs WeatherAPI.com
- Meteosource Weather MCP vs Xweather Weather API
- Stormglass API vs WeatherAPI.com
- Stormglass API vs Xweather Weather API
- Open-Meteo vs WeatherAPI.com
- Open-Meteo vs Xweather Weather API
Machine-readable
- This page as Markdown
/compare/weatherapi-com-vs-xweather.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/weatherapi-com.json·/api/v1/tools/xweather.json - From a terminal
anchor compare weatherapi-com xweather(the CLI) - Over MCP
compare_tools {"a": "weatherapi-com", "b": "xweather"}at/mcp, no key