Xweather · Example Payload

Xweather Get Alerts Example

Example response from GET /alerts/{location} for Chicago, IL

Air QualityCompanyDataForecastLightningMaritimeObservationsSevere WeatherWeather

Xweather Get Alerts Example is an example object payload from Xweather, with 3 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

descriptionrequestresponse

Example Payload

Raw ↑
{
  "description": "Example response from GET /alerts/{location} for Chicago, IL",
  "request": {
    "method": "GET",
    "url": "https://data.api.xweather.com/alerts/chicago,il",
    "queryParameters": {
      "client_id": "YOUR_CLIENT_ID",
      "client_secret": "YOUR_CLIENT_SECRET"
    }
  },
  "response": {
    "success": true,
    "response": [
      {
        "id": "urn:oid:2.49.0.1.840.0.abc123",
        "loc": {
          "id": "chicago,il",
          "name": "Chicago",
          "state": "IL",
          "country": "US",
          "lat": 41.8781,
          "lon": -87.6298
        },
        "alerts": [
          {
            "id": "urn:oid:2.49.0.1.840.0.abc123",
            "type": "WIN",
            "name": "Wind Advisory",
            "body": "WIND ADVISORY REMAINS IN EFFECT UNTIL 6 PM CDT THIS EVENING... WHAT...South winds 25 to 35 mph with gusts up to 55 mph. WHERE...Cook and Lake Counties. WHEN...Until 6 PM CDT this evening. IMPACTS...Gusty winds could blow around unsecured objects.",
            "timestamps": {
              "issued": 1746252000,
              "expires": 1746302400,
              "updated": 1746252000
            },
            "areas": [
              {
                "name": "Cook County",
                "state": "IL",
                "country": "US"
              },
              {
                "name": "Lake County",
                "state": "IL",
                "country": "US"
              }
            ]
          }
        ]
      }
    ]
  }
}

Work with this as data

Every example here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This example
curl "https://apis.io/api/v1/examples/xweather-get-alerts-example"
All examples
curl "https://apis.io/api/v1/examples?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.