Sand AISand AI MAGI-2ตอนนี้ MAGI-2 อยู่บน SandBase แล้ว: วิดีโอ 1080p พร้อมเสียงในตัวลองใช้เลย

Live data · AccuWeather

Weather Forecast

Enter a city to read AccuWeather's current conditions, daily and hourly forecast, weather alerts and allergen levels.

  • $0.05 ต่อการรัน
  • ข้อมูลสด
  • ไม่ต้องมีบัญชี AccuWeather
  • รวม JSON ดิบ

Live data · AccuWeather

หนึ่งเรคคอร์ด ทุกฟิลด์สาธารณะ

เรคคอร์ดที่จัดวางเหมือนโปรไฟล์ พร้อมทุกฟิลด์แบบ scalar ที่ API ส่งกลับ ทุกครั้งที่รันยังส่งกลับ response ดิบของ API และไฟล์ส่งออก JSON ด้วย

วิธีการทำงาน

  1. 01

    Enter a city name

    Type a city in City, up to 80 characters, such as Seattle, Istanbul or 上海. If two cities share a name, add the country, for example Portland, US. There are no other fields to set, and a name longer than 80 characters is rejected before anything is sent or billed.

  2. 02

    Fetch accuweather/weather for the city

    SandBase sends your text as city to accuweather/weather. The endpoint resolves the name to a location, then fetches several data sets. Every forecast run is billed to your SandBase account at the price shown on the page.

  3. 03

    Read conditions, forecast and alerts

    The page shows current conditions, the daily and hourly forecast, weather alerts and allergen levels as labelled fields, with a field count. The full accuweather/weather JSON is under Raw API response, where you can confirm which location was matched.

ใครใช้งาน

  • Travelers

    Pack for the week.

  • Event planners

    Check alerts before an outdoor event.

  • Developers

    Test a weather API.

AccuWeather data ผ่าน API

เครื่องมือนี้เรียก SandBase API หนึ่งรายการ เรียก API เดียวกันนี้จากโค้ดหรือ Agent ของคุณด้วยคีย์ SandBase ของคุณ คิดค่าบริการต่อครั้ง ($0.05 ราคา list)

cURL

curl -X POST https://api.sandbase.ai/v1/api/accuweather/weather \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "city": "Seattle"
}'

คำถามที่พบบ่อย

What if two cities share a name in Weather Forecast?

AccuWeather picks the best match; add the country, for example Portland, US.

Why does Weather Forecast cost more than other tools?

One Weather Forecast run returns the full AccuWeather bundle: current conditions, daily and hourly forecasts, alerts and allergens.

What does Weather Forecast show?

Weather Forecast shows current conditions, the daily and hourly forecast, weather alerts and allergen levels for one city.

Can Weather Forecast take a city name in Chinese?

Yes. Weather Forecast accepts names such as 上海, up to 80 characters.

Is Weather Forecast free on accuweather/weather?

No. Weather Forecast bills each accuweather/weather run to your SandBase account. The price is shown on the page and in sandbase inspect before you run. Pricing: https://www.sandbase.ai/pricing

Can I get AccuWeather data from the accuweather/weather API?

Yes. Call POST /v1/api/accuweather/weather with a SandBase API key and a city. Weather Forecast shows the request example.