{"uid":"cap_uCAQOb7p_zCUgHy6JMGui","slug":"2s-io-1475c25e","name":"2s.io Tide Predictions","description":"Next high/low tide predictions near a coordinate. Query: lat (-90..90), lon (-180..180), radius_km (1-500, default 100), hours (1-72, default 24). Returns { query, station:{ id, name, latitude, longitude, state, distanceKm }, predictions[{ time (station local), type: \"high\"|\"low\", heightMeters }], source }. Returns 404 NO_STATION if no NOAA tide station is within radius. Heights are referenced to MLLW (Mean Lower-Low Water).","url":"https://2s.io/api/tides/now","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":["lat","lon"],"properties":{"lat":{"type":"number","maximum":90,"minimum":-90},"lon":{"type":"number","maximum":180,"minimum":-180},"hours":{"type":"number","default":24,"maximum":72,"minimum":1},"radius_km":{"type":"number","default":100,"maximum":500,"minimum":1}},"additionalProperties":false}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"lat":37.8,"lon":-122.4,"hours":48,"radius_km":75}}},"response":{"data":{"query":{"hours":48,"latitude":37.8,"radiusKm":75,"longitude":-122.4},"source":{"url":"https://api.tidesandcurrents.noaa.gov","datum":"MLLW","license":"Public domain (US government work, 17 USC § 105)","provider":"NOAA Tides & Currents (CO-OPS)"},"station":{"id":"9414305","name":"San Francisco, North Point, Pier 41","state":"CA","latitude":37.81,"longitude":-122.413,"distanceKm":1.59},"predictions":[{"time":"2026-05-31T06:34","type":"low","heightMeters":-0.225},{"time":"2026-05-31T14:06","type":"high","heightMeters":1.399},{"time":"2026-05-31T18:06","type":"low","heightMeters":0.983},{"time":"2026-06-01T00:04","type":"high","heightMeters":1.849},{"time":"2026-06-01T07:08","type":"low","heightMeters":-0.23},{"time":"2026-06-01T14:46","type":"high","heightMeters":1.397},{"time":"2026-06-01T18:45","type":"low","heightMeters":1.011},{"time":"2026-06-02T00:39","type":"high","heightMeters":1.819},{"time":"2026-06-02T07:44","type":"low","heightMeters":-0.222},{"time":"2026-06-02T15:25","type":"high","heightMeters":1.389},{"time":"2026-06-02T19:24","type":"low","heightMeters":1.023}]},"meta":{"cost":{"usd":0.001,"tier":0},"caller":"x402","version":null,"endpoint":"tides.now","settlement":{"txHash":"0xd1f284d484f5c1e439c36e90c85b04274247a5e425c22c3721a39f5392ed8569","network":"eip155:8453","success":true}}}},"exampleRequest":{"lat":37.8,"lon":-122.4,"hours":48,"radius_km":75},"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0025","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0025","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_BsoiJyScubEjoZf01vxC2","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0025","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns next high and low tide predictions near a geographic coordinate, using the nearest NOAA tide station within a configurable radius.","exampleAgentPrompt":"What are the high and low tide predictions for the next 48 hours near latitude 37.8 and longitude -122.4, looking within 75 km for a NOAA station?","exampleUseCases":null,"resultDescription":"Returns the matched NOAA tide station (id, name, lat/lon, state, distance in km), and an array of tide predictions each containing a local-time timestamp, type ('high' or 'low'), and height in meters referenced to MLLW (Mean Lower-Low Water). Also includes the original query parameters and source attribution.","failureModes":["404 NO_STATION — no NOAA tide station found within the specified radius; try increasing radius_km","Invalid lat/lon values outside -90..90 / -180..180 range","hours or radius_km outside allowed bounds (1-72 and 1-500 respectively)","Coordinate is inland far from any coast — no stations will be found regardless of radius","Payment failure or insufficient USDC balance (x402 protocol)"],"whenToPreferThis":"Use this endpoint when you need official NOAA tide predictions (high/low times and heights in meters referenced to MLLW) near a specific geographic coordinate. Prefer it over generic weather APIs when tidal data specifically is required, especially for marine, coastal, fishing, surfing, or navigation use cases. It is particularly useful when you need the nearest NOAA station automatically resolved rather than specifying a station ID manually.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:54:52.267Z","isFirstParty":false}