Weather Markets
Open a YES/NO market on one station, one day and one number: the highest temperature, the lowest temperature or the total rainfall. Every market settles from the station's own official publication. The title, rules and settlement parameters are generated from the station catalog, so the same question always maps to the same market.
Stations and sources
| Source | Stations | Metrics | Units | First read after the day ends |
|---|---|---|---|---|
| Hong Kong Observatory, Weather and Radiation Level Report (RYES) | 27 in Hong Kong | Highest and lowest temperature at all 27; rainfall at the Observatory headquarters | °C, mm | 30 min |
| data.gov.sg real-time readings (National Environment Agency) | 17 in Singapore | Highest and lowest temperature, rainfall | °C, mm | 30 min |
| Japan Meteorological Agency daily observation table | 11 in Japan | Highest and lowest temperature, rainfall | °C, mm | 2 h |
| US National Weather Service Daily Climate Report (CLI) | 7 in the US | Highest and lowest temperature, rainfall | °F, in | 1 h, then the final report issued the following morning |
| Airport METAR and SPECI reports (aviationweather.gov) | 40 airports across Asia | Highest and lowest temperature | °C | 75 min |
| Central Weather Administration (Taiwan) open data: daily station statistics and daily rainfall | 31 in Taiwan | Highest and lowest temperature, rainfall | °C, mm | 3 h |
The full list, with each station's id, local UTC offset and supported metrics, is returned by GET /v1/weather/stations. Filter with provider (hko, sg, jma, nws, metar, cwa) or country (ISO 3166-1 alpha-2, for example JP).
Open a market
POST /v1/weather/markets with an API key that has builder:apps:write.
curl -X POST https://api.predictasiax.com/v1/weather/markets \
-H "Authorization: Bearer $PAX_API_KEY" \
-H "Content-Type: application/json" \
-d '{"station_id":"hko:HKO","metric":"temp_max","comparator":"above","threshold":30,"date":"2027-05-01","deposit_amount":1000}'
| Field | Meaning |
|---|---|
| station_id | An id from the station catalog, for example jma:47662 (Tokyo). |
| metric | temp_max, temp_min or precip_total. The station must publish it. |
| comparator | above (>), at_or_above (≥), below (<) or at_or_below (≤). |
| threshold | In the station's unit. At most 1 decimal place, or 2 for rainfall in inches. Temperature within −50..55 °C or −60..130 °F; rainfall 0 or more. |
| date | YYYY-MM-DD, the station's local calendar day. The day must end at least 1 hour from now and at most a year ahead. |
| deposit_amount | Creator deposit locked from your balance when the market is opened, under the same rules as other creator markets. A request without enough deposit is refused with DEPOSIT_REQUIRED, and detail.required gives the minimum. |
The market id is derived from the spec (for example wx-hko-hko-tmax-20270501-gt-300). The first caller opens the market and locks the deposit; the response is 201 with created: true. Anyone who sends the same spec afterwards gets the existing market with 200 and created: false, and nothing is charged. The response carries the title, the full rules, trading_closes_at, the source and the attribution text.
Limit: 30 create requests per minute per account. New markets are listed under the Weather category.
How a market settles
- Trading closes when the station's local day ends. US stations use the NWS climate day (midnight to midnight local standard time).
- After the day ends, the oracle reads the source's final value for that day and compares it with the threshold. A trace of rainfall counts as 0.
- Singapore values are computed from the published readings: the highest or lowest 1-minute temperature, or the sum of the 5-minute rainfall readings. At least 90% of the readings for the day must be present.
- METAR values are the highest or lowest temperature in the airport's reports for that day (tenths of a degree where the report carries them). The day must have reports in at least 20 different hours and no gap longer than 3 hours.
- Taiwan values are the daily highest and lowest temperature in the CWA daily station statistics (C-B0024-001) and the daily total in the CWA daily rainfall data (C-B0025-001). The statistics stay online for 30 days.
- Until a final value is available, the oracle checks again every 30 minutes. Revisions published after settlement are ignored.
- If there is still no final value 7 days after the settlement day, the market is voided and every position is refunded in full.
Data attribution
- Data: Hong Kong Observatory via DATA.GOV.HK (terms).
- Contains information from data.gov.sg accessed under the Singapore Open Data Licence version 1.0.
- 出典:気象庁ホームページ. Values are read and compared by PredictAsiaX.
- Data: US National Weather Service (public domain).
- Data: NOAA Aviation Weather Center, aviationweather.gov.
- Data: Central Weather Administration, Ministry of Transportation and Communications (交通部中央氣象署), released under the Open Government Data License, version 1.0.
Endpoints
| Method | Path | Auth |
|---|---|---|
| GET | /v1/weather/stations | None required |
| POST | /v1/weather/markets | API key with builder:apps:write |
Spec version 2.7.63 · Last updated 2026-11-29