{"version":"v1","stability":"Within v1, fields are only added, never renamed, retyped or removed. A breaking change ships as v2 beside v1.","pricing":"Every price here is the public route's own price, the same for every buyer (a payment network's premium, where one applies, applies here as it does there); there is no wholesale discount. Pay per call as on the public route.","errorCodes":{"field":"errorCode","note":"every tool error answer carries errorCode beside the message; branch on the code, not the text","codes":[{"status":400,"code":"invalid_input","meaning":"The input is missing a field, has a wrong type or is out of range; the message names the field. Fix the input.","retry":"fix-input"},{"status":402,"code":"payment_required","meaning":"No payment, or a payment that was refused; the body is the payment challenge.","retry":"pay"},{"status":404,"code":"not_found","meaning":"The thing the input names does not exist at the source.","retry":"fix-input"},{"status":409,"code":"conflict","meaning":"The request conflicts with one already in progress (for example the same idempotency key with a different body).","retry":"fix-input"},{"status":410,"code":"retired","meaning":"The route is retired; the body names its replacement.","retry":"use-replacement"},{"status":413,"code":"input_too_large","meaning":"The input is over a size limit the body names.","retry":"fix-input"},{"status":415,"code":"unsupported_media_type","meaning":"The body's content type is not one the route reads.","retry":"fix-input"},{"status":422,"code":"input_not_resolvable","meaning":"The input is well formed but the source cannot resolve it (an unknown ticker, coin or place).","retry":"fix-input"},{"status":429,"code":"rate_limited","meaning":"Too many requests; wait the Retry-After seconds.","retry":"after-retry-after"},{"status":499,"code":"client_closed","meaning":"The caller closed the connection before the answer.","retry":"same-request"},{"status":500,"code":"internal_error","meaning":"A fault in our code.","retry":"later"},{"status":502,"code":"upstream_error","meaning":"The data source answered with an error or an unreadable answer.","retry":"later"},{"status":503,"code":"unavailable","meaning":"The tool or its source is unavailable for now.","retry":"after-retry-after"},{"status":504,"code":"timeout","meaning":"The source did not answer in time.","retry":"later"}],"charging":"A paid call that ends in any status of 400 or above is not charged over x402, MPP or a prepaid credits key: settlement runs after the tool and only on a successful response. The exception is a Tempo push credential, a transfer the buyer sent before the call: it settles before the tool runs, so if the tool then fails the payment is recorded as a refund owed to the paying wallet.","refundTerms":"https://agent402.tools/.well-known/agent402-refund-terms.json"},"reliabilityDefinition":{"windowHours":168,"minSample":20,"successRate":"answers below 400 over answers below 400 plus answers of 500 or above, in the last seven days; a 4xx (the caller's input, a payment refusal) is not counted either way; floored to three places","latency":"p50Ms and p95Ms: milliseconds inside the server, from the request reaching the tool to its answer, over the same calls","status":"measured, or not enough data when the tool had fewer than 20 calls in the window (its figures are then null)","excluded":"this server's own monitoring and test calls, empty-input probes and refusals answered before payment","sameAs":"/api/reliability/tools"},"docs":"https://agent402.tools/wholesale","asOf":"2026-11-20T12:55:58.766Z","family":{"id":"weather","title":"Weather forecasts, history, air quality and risk","source":"Open-Meteo (CC BY 4.0) and the National Weather Service","redistribution":"cc-by-4.0","credit":"Weather data by Open-Meteo.com (CC BY 4.0)."},"reliabilityAvailable":true,"toolCount":12,"tools":[{"slug":"place-lookup","name":"Place lookup (worldwide)","method":"GET","path":"/api/place-lookup","url":"https://agent402.tools/api/place-lookup","price":{"text":"$0.001","usd":0.001,"perRequest":null},"modelBacked":false,"docs":"https://agent402.tools/openapi.json","reliability":{"windowHours":168,"status":"not enough data","measured":false,"successRate":null,"p50Ms":null,"p95Ms":null}},{"slug":"weather-air-quality","name":"Air quality (global)","method":"GET","path":"/api/weather-air-quality","url":"https://agent402.tools/api/weather-air-quality","price":{"text":"$0.002","usd":0.002,"perRequest":null},"modelBacked":false,"docs":"https://agent402.tools/openapi.json","reliability":{"windowHours":168,"status":"not enough data","measured":false,"successRate":null,"p50Ms":null,"p95Ms":null}},{"slug":"weather-alerts","name":"US weather alerts","method":"GET","path":"/api/weather-alerts","url":"https://agent402.tools/api/weather-alerts","price":{"text":"$0.002","usd":0.002,"perRequest":null},"modelBacked":false,"docs":"https://agent402.tools/openapi.json","reliability":{"windowHours":168,"status":"not enough data","measured":false,"successRate":null,"p50Ms":null,"p95Ms":null}},{"slug":"weather-current","name":"Current weather (global)","method":"GET","path":"/api/weather-current","url":"https://agent402.tools/api/weather-current","price":{"text":"$0.002","usd":0.002,"perRequest":null},"modelBacked":false,"docs":"https://agent402.tools/openapi.json","reliability":{"windowHours":168,"status":"not enough data","measured":false,"successRate":null,"p50Ms":null,"p95Ms":null}},{"slug":"weather-daily","name":"Daily forecast (global)","method":"GET","path":"/api/weather-daily","url":"https://agent402.tools/api/weather-daily","price":{"text":"$0.002","usd":0.002,"perRequest":null},"modelBacked":false,"docs":"https://agent402.tools/openapi.json","reliability":{"windowHours":168,"status":"not enough data","measured":false,"successRate":null,"p50Ms":null,"p95Ms":null}},{"slug":"weather-forecast","name":"Weather forecast (US)","method":"GET","path":"/api/weather-forecast","url":"https://agent402.tools/api/weather-forecast","price":{"text":"$0.001","usd":0.001,"perRequest":null},"modelBacked":false,"docs":"https://agent402.tools/openapi.json","reliability":{"windowHours":168,"status":"not enough data","measured":false,"successRate":null,"p50Ms":null,"p95Ms":null}},{"slug":"weather-history","name":"Historical weather (global)","method":"GET","path":"/api/weather-history","url":"https://agent402.tools/api/weather-history","price":{"text":"$0.002","usd":0.002,"perRequest":null},"modelBacked":false,"docs":"https://agent402.tools/openapi.json","reliability":{"windowHours":168,"status":"not enough data","measured":false,"successRate":null,"p50Ms":null,"p95Ms":null}},{"slug":"weather-hourly","name":"Hourly forecast (global)","method":"GET","path":"/api/weather-hourly","url":"https://agent402.tools/api/weather-hourly","price":{"text":"$0.002","usd":0.002,"perRequest":null},"modelBacked":false,"docs":"https://agent402.tools/openapi.json","reliability":{"windowHours":168,"status":"not enough data","measured":false,"successRate":null,"p50Ms":null,"p95Ms":null}},{"slug":"weather-probability","name":"Weather probability (ensemble)","method":"GET","path":"/api/weather-probability","url":"https://agent402.tools/api/weather-probability","price":{"text":"$0.01","usd":0.01,"perRequest":null},"modelBacked":false,"docs":"https://agent402.tools/openapi.json","reliability":{"windowHours":168,"status":"not enough data","measured":false,"successRate":null,"p50Ms":null,"p95Ms":null}},{"slug":"weather-risk-brief","name":"Weather risk brief (many sites)","method":"POST","path":"/api/weather-risk-brief","url":"https://agent402.tools/api/weather-risk-brief","price":{"text":"$0.018","usd":0.018,"perRequest":{"minUsd":0.018,"maxUsd":0.855,"note":"quoted in each 402 from the request body"}},"modelBacked":false,"docs":"https://agent402.tools/openapi.json","reliability":{"windowHours":168,"status":"not enough data","measured":false,"successRate":null,"p50Ms":null,"p95Ms":null}},{"slug":"weather-thresholds","name":"Weather threshold check","method":"POST","path":"/api/weather-thresholds","url":"https://agent402.tools/api/weather-thresholds","price":{"text":"$0.003","usd":0.003,"perRequest":null},"modelBacked":false,"docs":"https://agent402.tools/openapi.json","reliability":{"windowHours":168,"status":"not enough data","measured":false,"successRate":null,"p50Ms":null,"p95Ms":null}},{"slug":"weather-window","name":"Weather window finder","method":"GET","path":"/api/weather-window","url":"https://agent402.tools/api/weather-window","price":{"text":"$0.004","usd":0.004,"perRequest":null},"modelBacked":false,"docs":"https://agent402.tools/openapi.json","reliability":{"windowHours":168,"status":"not enough data","measured":false,"successRate":null,"p50Ms":null,"p95Ms":null}}]}