{
  "x402Version": 2,
  "id": 27332,
  "slug": "27332",
  "resource": "https://x402.tbs-digital.com/weather/historical",
  "description": "Historical daily weather (archive): temperature min/max, precipitation, conditions for a past date range. City or lat/lon. start/end optional — defaults to last 7 complete UTC days.",
  "type": "http",
  "serviceName": "TBS Weather & Climate API",
  "resourceType": "Blockchain Data",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xd6fCE15298Fc9D60f867d9455D497177Da9BFB0a",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "1000",
      "amountUsd": 0.001,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "daily": {
            "type": "array"
          },
          "generated_at": {
            "type": "string"
          },
          "location": {
            "properties": {
              "country": {
                "type": "string"
              },
              "lat": {
                "type": "number"
              },
              "lon": {
                "type": "number"
              },
              "name": {
                "type": "string"
              }
            },
            "type": "object"
          },
          "payer": {
            "properties": {
              "address": {
                "nullable": true,
                "type": "string"
              },
              "network": {
                "type": "string"
              }
            },
            "type": "object"
          },
          "range": {
            "properties": {
              "end": {
                "type": "string"
              },
              "start": {
                "type": "string"
              }
            },
            "type": "object"
          },
          "request_id": {
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "timezone": {
            "type": "string"
          },
          "utc_offset_seconds": {
            "type": "number"
          }
        },
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "city": "Paris"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "daily": [
              {
                "condition_code": "1",
                "date": "2026-06-01",
                "precip_sum_mm": 0.2,
                "temp_max_c": 24.1,
                "temp_min_c": 12.4
              }
            ],
            "generated_at": "2026-08-09T12:00:00.000Z",
            "location": {
              "country": "FR",
              "lat": 48.85,
              "lon": 2.35,
              "name": "Paris"
            },
            "payer": {
              "address": "0x0000000000000000000000000000000000000000",
              "network": "base"
            },
            "range": {
              "end": "2026-06-07",
              "start": "2026-06-01"
            },
            "request_id": "0b21c0e6-6a3f-4e2a-8b1e-2f9d4c7a1e55",
            "source": "open-meteo",
            "timezone": "Europe/Paris",
            "utc_offset_seconds": 7200
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "city": {
                    "description": "City name (alternative to lat/lon)",
                    "type": "string"
                  },
                  "end": {
                    "description": "End date YYYY-MM-DD (optional, default: yesterday)",
                    "type": "string"
                  },
                  "lat": {
                    "description": "Latitude -90..90 (alternative to city)",
                    "type": "number"
                  },
                  "lon": {
                    "description": "Longitude -180..180 (alternative to city)",
                    "type": "number"
                  },
                  "start": {
                    "description": "Start date YYYY-MM-DD (optional, default: 7 days ago)",
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "daily": {
                    "type": "array"
                  },
                  "generated_at": {
                    "type": "string"
                  },
                  "location": {
                    "properties": {
                      "country": {
                        "type": "string"
                      },
                      "lat": {
                        "type": "number"
                      },
                      "lon": {
                        "type": "number"
                      },
                      "name": {
                        "type": "string"
                      }
                    },
                    "type": "object"
                  },
                  "payer": {
                    "properties": {
                      "address": {
                        "nullable": true,
                        "type": "string"
                      },
                      "network": {
                        "type": "string"
                      }
                    },
                    "type": "object"
                  },
                  "range": {
                    "properties": {
                      "end": {
                        "type": "string"
                      },
                      "start": {
                        "type": "string"
                      }
                    },
                    "type": "object"
                  },
                  "request_id": {
                    "type": "string"
                  },
                  "source": {
                    "type": "string"
                  },
                  "timezone": {
                    "type": "string"
                  },
                  "utc_offset_seconds": {
                    "type": "number"
                  }
                },
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "weather",
    "historical",
    "archive",
    "climate",
    "daily",
    "bazaar"
  ],
  "sourceHost": "x402.tbs-digital.com",
  "lastUpdated": "2026-10-10T01:56:32.542Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-10T01:56:32.3Z"
  },
  "metadata": {
    "serviceName": "TBS Weather & Climate API",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "city": "Paris"
            },
            "type": "http"
          },
          "output": {
            "example": {
              "daily": [
                {
                  "condition_code": "1",
                  "date": "2026-06-01",
                  "precip_sum_mm": 0.2,
                  "temp_max_c": 24.1,
                  "temp_min_c": 12.4
                }
              ],
              "generated_at": "2026-08-09T12:00:00.000Z",
              "location": {
                "country": "FR",
                "lat": 48.85,
                "lon": 2.35,
                "name": "Paris"
              },
              "payer": {
                "address": "0x0000000000000000000000000000000000000000",
                "network": "base"
              },
              "range": {
                "end": "2026-06-07",
                "start": "2026-06-01"
              },
              "request_id": "0b21c0e6-6a3f-4e2a-8b1e-2f9d4c7a1e55",
              "source": "open-meteo",
              "timezone": "Europe/Paris",
              "utc_offset_seconds": 7200
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "method": {
                  "enum": [
                    "GET"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "properties": {
                    "city": {
                      "description": "City name (alternative to lat/lon)",
                      "type": "string"
                    },
                    "end": {
                      "description": "End date YYYY-MM-DD (optional, default: yesterday)",
                      "type": "string"
                    },
                    "lat": {
                      "description": "Latitude -90..90 (alternative to city)",
                      "type": "number"
                    },
                    "lon": {
                      "description": "Longitude -180..180 (alternative to city)",
                      "type": "number"
                    },
                    "start": {
                      "description": "Start date YYYY-MM-DD (optional, default: 7 days ago)",
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "daily": {
                      "type": "array"
                    },
                    "generated_at": {
                      "type": "string"
                    },
                    "location": {
                      "properties": {
                        "country": {
                          "type": "string"
                        },
                        "lat": {
                          "type": "number"
                        },
                        "lon": {
                          "type": "number"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "type": "object"
                    },
                    "payer": {
                      "properties": {
                        "address": {
                          "nullable": true,
                          "type": "string"
                        },
                        "network": {
                          "type": "string"
                        }
                      },
                      "type": "object"
                    },
                    "range": {
                      "properties": {
                        "end": {
                          "type": "string"
                        },
                        "start": {
                          "type": "string"
                        }
                      },
                      "type": "object"
                    },
                    "request_id": {
                      "type": "string"
                    },
                    "source": {
                      "type": "string"
                    },
                    "timezone": {
                      "type": "string"
                    },
                    "utc_offset_seconds": {
                      "type": "number"
                    }
                  },
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "x402.tbs-digital.com",
    "manifest_name": "x402.tbs-digital.com",
    "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": {
    "example": {
      "daily": [
        "value"
      ],
      "generated_at": "string",
      "location": {
        "country": "string",
        "lat": 0,
        "lon": 0,
        "name": "string"
      },
      "payer": {
        "address": "string",
        "network": "string"
      },
      "range": {
        "end": "string",
        "start": "string"
      },
      "request_id": "string",
      "source": "string",
      "timezone": "string",
      "utc_offset_seconds": 0
    },
    "type": "string"
  }
}