ExchangeRebel Weather API
The Weather API from ExchangeRebel — 4 operation(s) for weather.
The Weather API from ExchangeRebel — 4 operation(s) for weather.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/exchangerebel-com:exchangerebel-com-weather-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: ExchangeRebel — pay-per-call APIs for AI agents (x402 on…
version: 1.0.0
contact:
name: 'ExchangeRebel (operator: Rebel Data)'
url: https://exchangerebel.com
email: sound.money.investing@gmail.com
x-guidance: 'All paid operations use x402 on Solana: call without payment to get a 402 challenge (SOL recipient + USDC token account + fresh memo), pay with the memo attached via the Solana Memo program, then retry with header X-Payment-Tx: <signature> and ?toll_memo=<memo>. Challenges are dual-version: the PAYMENT-REQUIRED header carries the x402 v2 PaymentRequired object and the response body carries the same challenge in x402 v1 form for compatibility. Free operations (security: []) include each service''s /health catalog with full response shapes. Prices in x-payment-info are USD per call unless the summary says otherwise (RPC is per 1,000-request block; Telegram provisioning is per bot-month; transcription is per minute of audio).'
description: '67 data and utility APIs behind x402 tolls, settled in SOL or USDC on Solana. Call a paid endpoint without payment to receive a 402 x402 challenge (recipient + fresh memo), pay with the memo attached via the Solana Memo program, then retry with the X-Payment-Tx header and toll_memo query parameter. Free catalog/health endpoints are marked without x-payment-info. Full catalogs: GET /toll/discovery and each service''s /health.'
servers:
- url: https://exchangerebel.com
tags:
- name: Weather
paths:
/toll/weather/current:
get:
tags:
- Weather
summary: 'Current conditions (metric + imperial). Source: Open-Meteo'
responses:
'200':
description: Success. Response shape is documented in the service catalog (GET /health on the service).
content:
application/json:
example:
lat: 45.5
lon: -73.57
temp_c: 18.2
temp_f: 64.8
humidity: 65
wind_kph: 12.5
wind_mph: 7.7671
wind_dir: NW
condition: partly_cloudy
condition_code: 2
precipitation_mm: 0
precipitation_in: 0
pressure_hpa: 1013.2
pressure_inhg: 29.9198
source: open-meteo
updated_at: 2026-10-12T09:00
paid_via: payai
envelope:
v: 1
service: weather
source: open-meteo; noaa / api.weather.gov
grade: primary
capture_cadence: 10m
changes:
supported: false
'402':
description: 'Payment Required (x402). The PAYMENT-REQUIRED response header carries the x402 v2 PaymentRequired object (base64 JSON: scheme, CAIP-2 network, amount, asset, payTo, plus the bazaar discovery extension); the response body carries the same challenge in x402 v1 form for compatibility, naming the SOL recipient and USDC token account on Solana plus a fresh memo. To pay on this service''s rail: pay with the memo attached (Solana Memo program), then retry with header ''X-Payment-Tx: <transaction signature>'' and query parameter ''toll_memo=<memo>''.'
parameters:
- name: lat
in: query
required: true
schema:
type: string
description: Latitude
- name: lon
in: query
required: true
schema:
type: string
description: Longitude
x-payment-info:
protocols:
- x402
price:
mode: fixed
currency: USD
amount: '0.005'
security:
- x402Payment: []
operationId: getTollWeatherCurrent
x-operation-id-source: derived
/toll/weather/forecast:
get:
tags:
- Weather
summary: 'Daily forecast, 1-16 days. Source: Open-Meteo'
responses:
'200':
description: Success. Response shape is documented in the service catalog (GET /health on the service).
content:
application/json:
example:
days:
- date: '2026-10-12'
condition: partly_cloudy
condition_code: 2
temp_c_high: 20.1
temp_f_high: 68.2
temp_c_low: 10.2
temp_f_low: 50.4
precipitation_probability_pct: 10
precipitation_mm: 0
precipitation_in: 0
wind_kph: 18.3
wind_mph: 11.3711
- date: '2026-10-13'
condition: rain
condition_code: 61
temp_c_high: 15.4
temp_f_high: 59.7
temp_c_low: 8.9
temp_f_low: 48
precipitation_probability_pct: 80
precipitation_mm: 4.2
precipitation_in: 0.17
wind_kph: 25
wind_mph: 15.5343
envelope:
v: 1
service: weather
source: open-meteo; noaa / api.weather.gov
grade: primary
capture_cadence: 10m
changes:
supported: false
'402':
description: 'Payment Required (x402). The PAYMENT-REQUIRED response header carries the x402 v2 PaymentRequired object (base64 JSON: scheme, CAIP-2 network, amount, asset, payTo, plus the bazaar discovery extension); the response body carries the same challenge in x402 v1 form for compatibility, naming the SOL recipient and USDC token account on Solana plus a fresh memo. To pay on this service''s rail: pay with the memo attached (Solana Memo program), then retry with header ''X-Payment-Tx: <transaction signature>'' and query parameter ''toll_memo=<memo>''.'
parameters:
- name: lat
in: query
required: true
schema:
type: string
description: Latitude
- name: lon
in: query
required: true
schema:
type: string
description: Longitude
- name: days
in: query
required: false
schema:
type: string
description: 1-16, default 7
x-payment-info:
protocols:
- x402
price:
mode: fixed
currency: USD
amount: '0.005'
security:
- x402Payment: []
operationId: getTollWeatherForecast
x-operation-id-source: derived
/toll/weather/alerts:
get:
tags:
- Weather
summary: Active weather alerts (US points; NOAA)
responses:
'200':
description: Success. Response shape is documented in the service catalog (GET /health on the service).
content:
application/json:
example:
alerts:
- event: Severe Thunderstorm Warning
headline: Severe Thunderstorm Warning issued October 12
severity: Severe
urgency: Immediate
certainty: Observed
areas: Jefferson County
effective: '2026-10-12T14:00:00-04:00'
expires: '2026-10-12T15:00:00-04:00'
sender: NWS Baltimore MD
instruction: Move to an interior room.
description: A severe thunderstorm was located near Hagerstown.
count: 1
envelope:
v: 1
service: weather
source: open-meteo; noaa / api.weather.gov
grade: primary
capture_cadence: 10m
changes:
supported: false
'402':
description: 'Payment Required (x402). The PAYMENT-REQUIRED response header carries the x402 v2 PaymentRequired object (base64 JSON: scheme, CAIP-2 network, amount, asset, payTo, plus the bazaar discovery extension); the response body carries the same challenge in x402 v1 form for compatibility, naming the SOL recipient and USDC token account on Solana plus a fresh memo. To pay on this service''s rail: pay with the memo attached (Solana Memo program), then retry with header ''X-Payment-Tx: <transaction signature>'' and query parameter ''toll_memo=<memo>''.'
parameters:
- name: lat
in: query
required: true
schema:
type: string
description: Latitude
- name: lon
in: query
required: true
schema:
type: string
description: Longitude
x-payment-info:
protocols:
- x402
price:
mode: fixed
currency: USD
amount: '0.005'
security:
- x402Payment: []
operationId: getTollWeatherAlerts
x-operation-id-source: derived
/toll/weather/health:
get:
tags:
- Weather
summary: Service status, sources, tolls
responses:
'200':
description: Success. Response shape is documented in the service catalog (GET /health on the service).
security: []
operationId: getTollWeatherHealth
x-operation-id-source: derived
components:
securitySchemes:
x402Payment:
type: apiKey
in: header
name: X-Payment-Tx
description: 'x402 toll payment proof: the Solana transaction signature of a payment carrying the memo from the 402 challenge; send together with ?toll_memo=<memo>. Payment itself is made on-chain in SOL or USDC to the recipient named in the challenge.'