/v1/stations
List / search tide stations
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/tides-api/v1/stations" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/tides-api/v1/stations", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/tides-api/v1/stations");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/tides-api/v1/stations",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"total": 192,
"returned": 25,
"stations": [
{
"id": "9410032",
"name": "Wilson Cove, San Clemente Island",
"type": "R",
"state": "CA",
"tidal": null,
"latitude": 33.005001068115234,
"timezone": null,
"longitude": -118.55699920654297
},
{
"id": "9410068",
"name": "San Nicolas Island",
"type": "S",
"state": "CA",
"tidal": null,
"latitude": 33.2667,
"timezone": null,
"longitude": -119.497
},
{
"id": "9410079",
"name": "Avalon, Santa Catalina Island",
"type": "R",
"state": "CA",
"tidal": null,
"latitude": 33.345001220703125,
"timezone": null,
"longitude": -118.32499694824219
},
{
"id": "9410092",
"name": "Catalina Harbor, Santa Catalina Island",
"type": "S",
"state": "CA",
"tidal": null,
"latitude": 33.4317,
"timezone": null,
"longitude": -118.503
},
{
"id": "9410120",
"name": "Imperial Beach",
"type": "S",
"state": "CA",
"tidal": null,
"latitude": 32.5783,
"timezone": null,
"longitude": -117.135
},
{
"id": "9410135",
"name": "South San Diego Bay",
"type": "R",
"state": "CA",
"tidal": null,
"latitude": 32.62910079956055,
"timezone": null,
"longitude": -117.10780334472656
},
{
"id": "9410152",
"name": "National City, San Diego Bay",
"type": "S",
"state": "CA",
"tidal": null,
"latitude": 32.665,
"timezone": null,
"longitude": -117.118
},
{
"id": "9410166",
"name": "San Diego, Quarantine Station",
"type": "S",
"state": "CA",
"tidal": null,
"latitude": 32.7033,
"timezone": null,
"longitude": -117.235
},
{
"id": "9410170",
"name": "SAN DIEGO (Broadway)",
"type": "R",
"state": "CA",
"tidal": null,
"latitude": 32.71555555555555,
"timezone": null,
"longitude": -117.1766666666667
…