{
  "x402Version": 2,
  "id": 2567,
  "slug": "2567",
  "resource": "https://apiacre.com/v1/data/us-weather-forecast",
  "description": "Get a global weather forecast for a city/locality name or exact coordinates. Returns normalized day/night or hourly periods worldwide: NOAA/NWS is preferred within supported U.S. coverage for optional station conditions and active alerts, while MET Norway provides an attributed open-data fallback globally.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xa0BFa4f07281c9b248DC3AED2217836BcA24869B",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "3000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "B4CHWQeQn7GDLZD2aW6hpGG2bEseisBFLZYECA3HDLan",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "3000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "include_active_alerts": true,
            "include_current_conditions": true,
            "periods": 2,
            "place": "Washington, DC, US"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "data": {
              "activeAlerts": {
                "alertCount": 0,
                "available": true,
                "requested": true,
                "updatedAt": "2026-08-12T04:09:00+00:00"
              },
              "currentConditions": {
                "available": true,
                "requested": true,
                "stationId": "KDCA",
                "stationName": "Washington/Reagan National Airport, DC"
              },
              "forecastType": "day_night",
              "generatedAt": "2026-08-12T03:09:21+00:00",
              "limitations": [
                "Place-name resolution uses the bundled GeoNames cities500...",
                "Current conditions, when requested, come from the nearest...",
                "Internet delivery and timeliness are not guaranteed. For ...",
                "Active alerts are a bounded point-in-time subset; radar a..."
              ],
              "location": {
                "city": "Washington",
                "latitude": 38.8951,
                "longitude": -77.0364,
                "state": "DC"
              },
              "periodCount": 2,
              "periods": [
                {
                  "endTime": "2026-08-12T06:00:00-04:00",
                  "name": "Tonight",
                  "number": 1,
                  "startTime": "2026-08-11T23:00:00-04:00"
                }
              ],
              "periodsTruncated": true,
              "retrievedAt": "2026-08-12T04:10:00+00:00",
              "source": {
                "dataset": "NWS API forecast with optional observations and active al...",
                "forecastUrl": "https://api.weather.gov/gridpoints/LWX/97,71/forecast?uni...",
                "pointsUrl": "https://api.weather.gov/points/38.8951,-77.0364",
                "provider": "NOAA/National Weather Service"
              },
              "units": "us",
              "updatedAt": null
            },
            "meta": {
              "cached": false,
              "duration_ms": 42,
              "next_actions": [],
              "sources": [],
              "warnings": []
            },
            "request_id": "018f1f54-7f38-7ba2-8dc3-5f90272d9f1a",
            "service": "data.us-weather-forecast",
            "version": "1"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "oneOf": [
                  {
                    "not": {
                      "anyOf": [
                        {
                          "required": [
                            "latitude"
                          ]
                        },
                        {
                          "required": [
                            "longitude"
                          ]
                        }
                      ]
                    },
                    "required": [
                      "place"
                    ]
                  },
                  {
                    "not": {
                      "required": [
                        "place"
                      ]
                    },
                    "required": [
                      "latitude",
                      "longitude"
                    ]
                  }
                ],
                "properties": {
                  "forecast_type": {
                    "enum": [
                      "day_night",
                      "hourly"
                    ],
                    "type": "string"
                  },
                  "include_active_alerts": {
                    "type": "boolean"
                  },
                  "include_current_conditions": {
                    "type": "boolean"
                  },
                  "latitude": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "longitude": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "periods": {
                    "type": "integer"
                  },
                  "place": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "source_preference": {
                    "enum": [
                      "auto",
                      "nws",
                      "met"
                    ],
                    "type": "string"
                  },
                  "timezone": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "units": {
                    "enum": [
                      "us",
                      "si"
                    ],
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST",
                  "PUT",
                  "PATCH"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "data": {
                    "additionalProperties": false,
                    "properties": {
                      "activeAlerts": {
                        "type": "object"
                      },
                      "currentConditions": {
                        "type": "object"
                      },
                      "forecastType": {
                        "type": "string"
                      },
                      "generatedAt": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "limitations": {
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      },
                      "location": {
                        "type": "object"
                      },
                      "periodCount": {
                        "type": "integer"
                      },
                      "periods": {
                        "items": {
                          "type": "object"
                        },
                        "type": "array"
                      },
                      "periodsTruncated": {
                        "type": "boolean"
                      },
                      "retrievedAt": {
                        "type": "string"
                      },
                      "source": {
                        "type": "object"
                      },
                      "units": {
                        "type": "string"
                      },
                      "updatedAt": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "required": [
                      "location",
                      "forecastType",
                      "units",
                      "generatedAt",
                      "updatedAt",
                      "periodCount",
                      "periodsTruncated",
                      "periods",
                      "currentConditions",
                      "activeAlerts",
                      "source",
                      "retrievedAt",
                      "limitations"
                    ],
                    "type": "object"
                  },
                  "meta": {
                    "properties": {
                      "cached": {
                        "type": "boolean"
                      },
                      "duration_ms": {
                        "type": "integer"
                      },
                      "next_actions": {
                        "items": {
                          "type": "object"
                        },
                        "type": "array"
                      },
                      "sources": {
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      },
                      "warnings": {
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      }
                    },
                    "required": [
                      "duration_ms",
                      "cached",
                      "sources",
                      "warnings",
                      "next_actions"
                    ],
                    "type": "object"
                  },
                  "request_id": {
                    "type": "string"
                  },
                  "service": {
                    "type": "string"
                  },
                  "version": {
                    "type": "string"
                  }
                },
                "required": [
                  "request_id",
                  "service",
                  "version",
                  "data",
                  "meta"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "payment-identifier": {
      "info": {
        "required": false
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "id": {
            "maxLength": 128,
            "minLength": 16,
            "pattern": "^[a-zA-Z0-9_-]+$",
            "type": "string"
          },
          "required": {
            "type": "boolean"
          }
        },
        "required": [
          "required"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar",
    "payment-identifier"
  ],
  "sourceHost": "apiacre.com",
  "lastUpdated": "2026-09-01T13:12:33.893Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-01T13:12:33.26Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "apiacre.com",
    "manifest_name": "apiacre.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}