Discovery needs no key. Ratings and market analysis are Pro.
Get an API 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.
openapi: 3.2.0
info:
title: Gadgethumans Com Weather API
version: 1.1.0
contact:
name: GadgetHumans
email: gadgethumans@agentmail.to
x-guidance: 'Pay-per-call utility API for agents. Every GET route below takes its listed query parameters (first is required) and returns JSON; POST /swish/v1/chat/completions takes an OpenAI-style JSON body (messages[]). Unauthenticated calls receive HTTP 402 with an x402 challenge in the body (v2, accepts[] carries two entries) and the Payment-Required header: pay the accepted USDC amount either on Base (eip155:8453) to its payTo, or on Solana mainnet (solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp, USDC) to its payTo, then retry with the X-PAYMENT header carrying the base64 payment payload. MCP clients can instead install https://api.gadgethumans.com/mcp (49 tools). Route index and per-route parameters are in paths[] below.'
description: 'Operations tagged Weather across 2 of this provider''s published API definitions: gadgethumans-com-openapi.json, gadgethumans-com-openapi2.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.gadgethumans.com
tags:
- name: Weather
paths:
/weather:
get:
summary: Fetch current weather and a short forecast for a city
description: Weather now and forecast - Current conditions and a short forecast for any city (?city=) - temperature, wind, humidity and summary, in metric or imperial.
parameters:
- name: city
in: query
required: true
description: City name, optionally 'City, CC'
schema:
type: string
example: Dublin, IE
description: City name, optionally 'City, CC' (required)
x-price: $0.002
x-payment-protocol: x402
x-payment-info:
protocols:
- x402: {}
- mpp:
method: evm
intent: charge
currency: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'
price:
mode: fixed
currency: USD
amount: '0.002'
payTo: '0xe6C34b8E58c8BEA609415f4D0C1Ce01Da48F3A34'
network: eip155:8453
asset: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'
offers:
- method: evm
intent: charge
amount: '2000'
currency: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'
chainId: 8453
payTo: '0xe6C34b8E58c8BEA609415f4D0C1Ce01Da48F3A34'
description: USDC on Base
- method: x402
intent: charge
amount: '2000'
currency: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'
chainId: 8453
payTo: '0xe6C34b8E58c8BEA609415f4D0C1Ce01Da48F3A34'
description: USDC on Base
responses:
'200':
description: Success
content:
application/json:
schema:
type: object
'402':
description: 'Payment Required: x402 exact scheme, USDC on Base'
content:
application/json:
schema:
type: object
additionalProperties: true
tags:
- Weather
operationId: getWeather
x-operation-id-source: derived
servers:
- url: https://api.gadgethumans.com
x-refined-from:
- gadgethumans-com-openapi.json
- gadgethumans-com-openapi2.json
x-discovery:
ownershipProofs:
- '0xe6C34b8E58c8BEA609415f4D0C1Ce01Da48F3A34'