get_tide_table

Get the tide table ("tidevannstabell") - high and low water times - for a coordinate on or near the Norwegian coast, from Kartverket.

Direct GET

For navigating agents: open the HTML page with parameters in the URL. The result is fetched and displayed without screenshots or form filling.

Open this validated HTML GET URL

https://allemannsdata.com/wiki/kilder/weather/get_tide_table/?lat={lat}&lon={lon}&days=7&refcode=msl&limit=25&offset=0

Replace {lat}, {lon}, {days}, {refcode} with values. Remove unused optional parameters from the URL.

For software and dashboards: Read the operation descriptor. The JSON GET template is https://allemannsdata.com/wiki/api/v1/kilder/weather/get_tide_table?lat={lat}&lon={lon}&days=7&refcode=msl&limit=25&offset=0. Open this exact request as JSON.

ParameterRequirementJSON typeDescription
latrequirednumberCoordinate. Must be near the Norwegian coast.
lonrequirednumberCoordinate. Must be near the Norwegian coast.
daysoptionalintegerDays ahead to include (default 7).
refcodeoptionalstringReference level: "msl" (default), "cd" or "nn2000".
limitoptionalintegerGateway page size; default 25, maximum 100.
offsetoptionalintegerNumber of list items to skip; default 0.
Generated JavaScript, Python and response structure

Use JSON when the user requests code, machine-readable data, value extraction or further computation. Use the HTML GET page to identify the correct source and verify parameters.

Example for generated JavaScript and Python

https://allemannsdata.com/wiki/api/v1/kilder/weather/get_tide_table?lat={lat}&lon={lon}&days=7&refcode=msl&limit=25&offset=0

Replace URL placeholders and remove unused optional parameters.

JavaScript in a dashboard

const url = "https://allemannsdata.com/wiki/api/v1/kilder/weather/get_tide_table?lat={lat}&lon={lon}&days=7&refcode=msl&limit=25&offset=0";
const response = await fetch(url);
if (!response.ok) {
  const failure = await response.json();
  throw new Error(`${failure.error.code}: ${failure.error.message} ${failure.suggestion}`);
}
const result = await response.json();
const data = result.data;

Python without additional packages

import json
from urllib.request import urlopen

url = "https://allemannsdata.com/wiki/api/v1/kilder/weather/get_tide_table?lat={lat}&lon={lon}&days=7&refcode=msl&limit=25&offset=0"
with urlopen(url) as response:
    result = json.load(response)
data = result["data"]

Response structure

{
  "source": "weather",
  "operation": "get_tide_table",
  "parameters": {},
  "data": {},
  "entities": [],
  "_meta": {"retrieved_at": "...", "sources": [], "cache": {}},
  "_links": {"self": "...", "source": "...", "wiki": "..."}
}
Form for manual use

The form is a fallback for people and browser agents that cannot open the GET URL directly.

Type: decimal number. Coordinate. Must be near the Norwegian coast.
Type: decimal number. Coordinate. Must be near the Norwegian coast.
Type: integer. Days ahead to include (default 7).
Type: string. Reference level: "msl" (default), "cd" or "nn2000".

Result

Source: Weather and natural hazards. Retrieved 2026-08-02T19:45:42Z in 0.131 seconds.

25 results

  1. time:
    2026-08-03T00:15:00+00:00
    height_cm:
    70.8
    kind:
    high
  2. time:
    2026-08-03T06:45:00+00:00
    height_cm:
    -87.5
    kind:
    low
  3. time:
    2026-08-03T12:52:00+00:00
    height_cm:
    55.2
    kind:
    high
  4. time:
    2026-08-03T18:49:00+00:00
    height_cm:
    -68.9
    kind:
    low
  5. time:
    2026-08-04T00:53:00+00:00
    height_cm:
    66.6
    kind:
    high
  6. time:
    2026-08-04T07:23:00+00:00
    height_cm:
    -82.4
    kind:
    low
  7. time:
    2026-08-04T13:31:00+00:00
    height_cm:
    50.7
    kind:
    high
  8. time:
    2026-08-04T19:31:00+00:00
    height_cm:
    -63.3
    kind:
    low
  9. time:
    2026-08-05T01:36:00+00:00
    height_cm:
    60.2
    kind:
    high
  10. time:
    2026-08-05T08:07:00+00:00
    height_cm:
    -74.5
    kind:
    low
  11. time:
    2026-08-05T14:17:00+00:00
    height_cm:
    45.1
    kind:
    high
  12. time:
    2026-08-05T20:22:00+00:00
    height_cm:
    -56.4
    kind:
    low
  13. time:
    2026-08-06T02:28:00+00:00
    height_cm:
    52.0
    kind:
    high
  14. time:
    2026-08-06T09:01:00+00:00
    height_cm:
    -64.7
    kind:
    low
  15. time:
    2026-08-06T15:13:00+00:00
    height_cm:
    39.5
    kind:
    high
  16. time:
    2026-08-06T21:27:00+00:00
    height_cm:
    -50.0
    kind:
    low
  17. time:
    2026-08-07T03:35:00+00:00
    height_cm:
    43.7
    kind:
    high
  18. time:
    2026-08-07T10:09:00+00:00
    height_cm:
    -55.1
    kind:
    low
  19. time:
    2026-08-07T16:24:00+00:00
    height_cm:
    35.9
    kind:
    high
  20. time:
    2026-08-07T22:48:00+00:00
    height_cm:
    -47.7
    kind:
    low
  21. time:
    2026-08-08T04:59:00+00:00
    height_cm:
    39.0
    kind:
    high
  22. time:
    2026-08-08T11:32:00+00:00
    height_cm:
    -49.5
    kind:
    low
  23. time:
    2026-08-08T17:48:00+00:00
    height_cm:
    37.9
    kind:
    high
  24. time:
    2026-08-09T00:16:00+00:00
    height_cm:
    -53.2
    kind:
    low
  25. time:
    2026-08-09T06:31:00+00:00
    height_cm:
    42.1
    kind:
    high
Will you use the result in generated code?

Open the same result as JSON

Continue exploring

How an AI agent should use this page

Ground rule: Navigate with HTML GET links to keep explanations and relationships. Use the page's JSON alternative only when concrete values must be extracted, compared or computed.

How to use the get_tide_table lookup

  1. Replace the placeholders in the HTML GET template; remove optional parameters you do not need.
  2. Check types, units, limits and ID formats in the parameter table.
  3. Follow linked results to canonical pages before combining sources.

Misreading to avoid: An empty list means "no results for this lookup". An error message or unavailable source does not mean the data does not exist.

Source-specific next step

Go to the source page for other operations. Use the JSON template only after the HTML result shows that the parameters and source are correct.