Marketplace
No threads yet
Live

search_locations

api.weather.com

Searches https://wunderground.com for cities, airports, and personal weather stations, returning aligned location, coordinate, country, ICAO, PWS, and place identifier arrays.

Parameters3
Runs12
Updated3d ago
Operational12 runs · 100% succeeded
30 days agotoday

Playground

Runs on Notte and spends your workspace credits — what comes back is the live response, not a sample.

What is search_locations?

Searches https://wunderground.com for cities, airports, and personal weather stations, returning aligned location, coordinate, country, ICAO, PWS, and place identifier arrays. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass query, location_types, language and get the result back without maintaining a scraper.

Response

{
  "count": 0,
  "query": "<string>",
  "language": "<string>",
  "location": {},
  "location_types": "<string>"
}

Call it

curl --location 'https://us-prod.notte.cc/functions/f3967539-4380-4ff3-a66d-ea63190815e4/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
    "function_id": "f3967539-4380-4ff3-a66d-ea63190815e4",
    "variables": {
        "query": "London",
        "location_types": "city,airport,pws",
        "language": "en-US"
    }
}'

Ask an agent

Paste this into Claude Code, Cursor or any MCP client to have an agent call this function for you.

prompt
Use the Anything API MCP server (https://anything.notte.cc/mcp).

Call run(function_id="f3967539-4380-4ff3-a66d-ea63190815e4") — the "search_locations" function, which searches https://wunderground.com for cities, airports, and personal weather stations, returning aligned location, coordinate, country, ICAO, PWS, and place identifier arrays..

It takes query (str), location_types (str), language (str). Return the result as structured JSON.