{"uid":"cap_nOTeskcc0ygq0BEctMcSu","slug":"2s-io-marine-weather-conditions-18de666a","name":"2s.io Marine Weather Conditions","description":"Current marine/sea-state conditions for an ocean or coastal coordinate. Pass lat + lon. Returns significant wave height (m), wave direction + period, and the wind-wave and swell-wave components. Useful for surf, sailing, and coastal ops. Source: Open-Meteo marine (keyless). Returns 404 for inland points.","url":"https://2s.io/api/weather/marine","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":{"required":["lat","lon"],"properties":{"lat":{"type":"number"},"lon":{"type":"number"}}}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"lat":34.02,"lon":-118.95}}},"response":{"data":{"ok":true,"items":[{"lat":34.02,"lon":-118.95,"time":"2026-06-17T21:30","waveHeightM":0.98,"wavePeriodS":13,"windWaveHeightM":0.22,"swellWaveHeightM":0.9,"swellWavePeriodS":11.75,"waveDirectionDeg":201}],"total":1,"source":{"url":"https://open-meteo.com/","license":"CC BY 4.0 (attribute Open-Meteo); underlying CAMS / ECMWF ERA5.","provider":"Open-Meteo (air quality / marine / ERA5 archive)"}},"meta":{"cost":{"usd":0.0012,"tier":0},"caller":"x402","version":null,"endpoint":"weather.marine","settlement":{"txHash":"0x8de58627711eebe5860901e0b51b98acd9bd5e0b84648dd272dcfca4826d5551","network":"eip155:8453","success":true}}}},"exampleRequest":{"lat":34.02,"lon":-118.95},"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_VEvasusrIWNXTyTWNekj1","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 marine/sea-state conditions (wave height, direction, period, swell, wind-wave) for a given ocean or coastal lat/lon coordinate","exampleAgentPrompt":"What are the current wave conditions at 34.02°N, 118.95°W? I need the significant wave height, swell direction and period, and wind-wave breakdown.","exampleUseCases":null,"resultDescription":"Returns current marine sea-state data including significant wave height in meters, wave direction and period, and separate wind-wave and swell-wave components for the requested ocean or coastal coordinate. Returns 404 for inland points.","failureModes":["404 returned for inland coordinates (non-ocean/coastal lat/lon)","Missing or malformed lat/lon parameters returns an error","Out-of-range coordinates may produce unexpected results","Upstream Open-Meteo marine API unavailability causes failures"],"whenToPreferThis":"Use this endpoint when you need real-time marine sea-state conditions — wave height, swell, and wind-wave data — for a specific ocean or coastal coordinate. Ideal for surf, sailing, or coastal operations use cases. Prefer over general weather APIs when marine-specific parameters (swell, wave period, wave direction) are needed. Note: returns 404 for inland points, so ensure coordinates are coastal or oceanic.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T13:01:19.241Z","isFirstParty":false}