# AccuWeather API on SandBase

> Read AccuWeather data: current conditions and forecasts by city, location search and country city lists.

Source: https://www.sandbase.ai/apis/accuweather

- Endpoints: 3
- Call: `POST https://api.sandbase.ai/v1/api/{vendor}/{endpoint}` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body
- Billing: pay per call from one SandBase balance; no provider account or subscription needed

## Endpoints

- [AccuWeather List Cities](https://www.sandbase.ai/apis/accuweather/list-cities.md): $0.01 per call
  List all provinces or major administrative divisions within a country by its ISO 2-letter code. Searches across regional browse pages to find the country.
- [AccuWeather Search Locations](https://www.sandbase.ai/apis/accuweather/search-locations.md): $0.01 per call
  Search for location keys and metadata by query string. Returns matching cities with their AccuWeather location keys, geographic coordinates, timezone information, and available datasets.
- [AccuWeather Weather](https://www.sandbase.ai/apis/accuweather/weather.md): $0.05 per call
  Get comprehensive weather data for a city including current conditions, daily and hourly forecasts, alerts, allergens, and radar metadata. Resolves city name to a location key internally, then fetches...

## Use it through SandBase

- Base URL: `https://api.sandbase.ai/v1`, with `Authorization: Bearer $SANDBASE_API_KEY`.
- Language models use the OpenAI-compatible `POST /v1/chat/completions`; media models use `POST /v1/run`; data APIs use `POST /v1/api/{vendor}/{endpoint}`.
- AI agents can connect through the SandBase MCP server or CLI: https://www.sandbase.ai/skill.md
- Every model and API page has a Markdown twin at the same URL plus `.md`. Full index: https://www.sandbase.ai/llms.txt
