{
  "x402Version": 2,
  "id": 42530,
  "slug": "42530",
  "resource": "https://amanchain-relay.gitajhd.workers.dev/api/x402/aman-weather",
  "description": "Weather forecast API — current conditions plus hourly and 3-day weather forecast with temperature, wind and humidity for any city worldwide; live weather data for agents. Deterministic on-chain execution by the AmanChain node — live consensus state, real blocks, pools and balances. Pay per call via x402 (USDC on Base), no account, no API key. POST JSON {\"serviceId\":\"aman-weather\",\"request\":\"<input>\"}.",
  "type": "http",
  "serviceName": "Weather Now + Forecast",
  "resourceType": "Agent Service",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xfB5625d44be488414606773244F0De35410b2f39",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "1866",
      "amountUsd": 0.001866,
      "maxTimeoutSeconds": 120
    }
  ],
  "outputSchema": {
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "request": "Riyadh",
            "serviceId": "aman-weather"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "current": {
              "conditions": "Clear",
              "humidityPct": 18,
              "temperatureC": 33,
              "windKph": 14
            },
            "forecast": [
              {
                "date": "2026-09-10",
                "maxC": 35,
                "minC": 24
              }
            ],
            "ok": true,
            "place": "Riyadh"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "request": {
                    "description": "service input (see body example)",
                    "type": "string"
                  },
                  "serviceId": {
                    "description": "the service id, \"aman-weather\"",
                    "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": {
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "data",
    "weather",
    "forecast",
    "climate",
    "geo",
    "bazaar"
  ],
  "sourceHost": "amanchain-relay.gitajhd.workers.dev",
  "lastUpdated": "2026-09-10T23:01:39.997Z",
  "quality": {
    "calls30d": 19,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-07T03:35:13.923Z"
  },
  "metadata": {
    "serviceName": "Weather Now + Forecast",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "request": "Riyadh",
              "serviceId": "aman-weather"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "current": {
                "conditions": "Clear",
                "humidityPct": 18,
                "temperatureC": 33,
                "windKph": 14
              },
              "forecast": [
                {
                  "date": "2026-09-10",
                  "maxC": 35,
                  "minC": 24
                }
              ],
              "ok": true,
              "place": "Riyadh"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "request": {
                      "description": "service input (see body example)",
                      "type": "string"
                    },
                    "serviceId": {
                      "description": "the service id, \"aman-weather\"",
                      "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": {
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "amanchain-relay.gitajhd.workers.dev",
    "manifest_name": "amanchain-relay.gitajhd.workers.dev",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "current": {
      "conditions": "Clear",
      "humidityPct": 18,
      "temperatureC": 33,
      "windKph": 14
    },
    "forecast": [
      {
        "date": "2026-09-10",
        "maxC": 35,
        "minC": 24
      }
    ],
    "ok": true,
    "place": "Riyadh"
  }
}