{"uid":"cap_qIUFmDaVp1Z8Iagc9JCXt","slug":"pitchpilot-weather-tool-d0a43c20","name":"PitchPilot Weather Tool","description":"Paid micro-utilities for cold-email outreach agents: domain deliverability audits, cold-email grading, template generation, plus a tools toolbox (hashing, JWT decode, IDs, slugs, JSON, regex, crypto prices, domain age, weather). Paid via x402 (USDC on Base).","url":"https://pitchpilot-outreach-api.pitchpilot-agents.workers.dev/tools/weather","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["lat","lon"],"properties":{"lat":{"type":"number","maximum":90,"minimum":-90,"description":"Latitude"},"lon":{"type":"number","maximum":180,"minimum":-180,"description":"Longitude"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["current"],"properties":{"current":{"type":"object"},"next_3h":{"type":"array","items":{"type":"object"}},"weather_code_map":{"type":"object"}}}}}}},"responseSchema":{"type":"json","example":{"current":{"weather_code":2,"temperature_2m":21.3,"wind_speed_10m":12.1,"weather_description":"Partly cloudy","relative_humidity_2m":48},"next_3h":[{"time":"2026-01-01T12:00","temperature_2m":21.8}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_-RVyr7zD19-IuCD3BzEWs","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns current weather conditions and a 3-hour forecast for a given latitude/longitude coordinate pair.","exampleAgentPrompt":"What's the current weather at latitude 40.71 and longitude -74.01? I need temperature, wind speed, humidity, and a short forecast for the next few hours.","exampleUseCases":[{"title":"Pre-trip weather check for agent","prompt":"Can you pull the current weather conditions for coordinates 48.85 latitude and 2.35 longitude — I need temperature, wind speed, and the 3-hour forecast."},{"title":"Cold outreach context enrichment","prompt":"I'm running an outreach campaign for an outdoor event company — grab the current weather at lat 34.05, lon -118.24 so I can personalize the email copy with a local weather reference."},{"title":"Automated logistics weather gate","prompt":"Before dispatching a field team, check the weather at latitude 51.50 and longitude -0.12 and tell me if wind speeds or temperature look problematic."}],"resultDescription":"A JSON object with 'current' (temperature_2m in Celsius, wind_speed_10m in km/h, relative_humidity_2m in %, weather_code integer, weather_description string) and 'next_3h' array of hourly forecast objects (time, temperature_2m), plus an optional weather_code_map dictionary.","failureModes":["Missing required lat/lon query params returns a 4xx validation error","Latitude out of range (-90 to 90) or longitude out of range (-180 to 180) returns a validation error","Payment not attached or insufficient USDC triggers a 402 Payment Required response","Upstream weather provider outage may return a 5xx error or stale data","Invalid numeric format for lat/lon causes request rejection"],"whenToPreferThis":"Choose this endpoint when you need a quick, pay-per-call weather lookup by GPS coordinates within an automated agent workflow, especially if you are already using the PitchPilot micro-utilities suite and paying via x402/USDC on Base. It is best for lightweight, real-time spot checks rather than extended forecasts or bulk location queries.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:44:31.088Z","isFirstParty":false}