{"uid":"cap_ISCJ59Z5qSQMZ03EnGYby","slug":"2s-io-3d03ef7e","name":"2s.io Weather by ZIP Code","description":"Current weather conditions for a US ZIP code (temperature, wind, humidity, conditions). Backed by the US National Weather Service (api.weather.gov) — public domain, no rate-limit pressure on commercial use.","url":"https://2s.io/api/weather/zip","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","queryParams"],"properties":{"type":{"const":"http"},"method":{"const":"GET"},"queryParams":{"type":"object","required":["zip"],"properties":{"zip":{"type":"string"}},"additionalProperties":false}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"zip":"10001"}}},"response":{"data":{"source":{"url":"https://api.weather.gov","license":"Public domain (US government work)","provider":"NOAA National Weather Service"},"current":{"isDay":false,"windMph":3,"conditions":"clear","observedAt":"2026-05-31T00:00:00-04:00","humidityPct":57,"temperatureF":56,"windDirection":"N","windDirectionDeg":0,"apparentTemperatureF":null,"precipProbabilityPct":0},"location":{"zip":"10001","city":"New York City","state":"NY","coords":{"lat":40.7484,"lon":-73.9967},"timezone":"America/New_York"}},"meta":{"cost":{"usd":0.0012,"tier":0},"caller":"x402","version":null,"endpoint":"weather.zip","settlement":{"txHash":"0xcb90e68a9082fbb1d30ab150c9244bd8c9b4c7b0defb2c1dda1f518cc4093bf4","network":"eip155:8453","success":true}}}},"exampleRequest":{"zip":"10001"},"tags":["x402"],"displayCostAmount":"0.0012","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.0012/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_WiFYF0QJV4ymcMl0TnYzm","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","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 (temperature, wind, humidity, sky conditions) for a US ZIP code, sourced from the National Weather Service.","exampleAgentPrompt":"What are the current weather conditions — temperature, wind, and humidity — for ZIP code 10001 right now?","exampleUseCases":null,"resultDescription":"Returns current weather conditions for the given ZIP code including temperature, wind speed and direction, humidity percentage, and a plain-English sky/condition description, all sourced from the US National Weather Service.","failureModes":["Invalid or non-existent ZIP code returns an error (zip must be exactly 5 digits)","ZIP code exists but is not covered by a NWS observation station (rare rural codes may return no data)","National Weather Service upstream API temporarily unavailable causing a 5xx or timeout","Malformed zip parameter (wrong format, letters included) causes a 400-level validation error"],"whenToPreferThis":"Choose this endpoint when you need real-time current weather conditions for a US location identified by ZIP code. It is backed by the authoritative US National Weather Service, has no rate-limit pressure for commercial use, and costs only $0.0012 USDC per call. Prefer it over general weather APIs when you want public-domain government data for US locations and need to keep per-call costs predictable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:55:09.536Z","isFirstParty":false}