> For the complete documentation index, see [llms.txt](https://taghazout.gitbook.io/taghazout-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://taghazout.gitbook.io/taghazout-docs/introduction.md).

# introduction

A free, keyless JSON feed giving current surf conditions for **20 named breaks** on the Taghazout–Tamraght–Agadir coast of Morocco.

It's the same data that powers the public forecast pages on [taghazout.io](https://taghazout.io/) — opened up so anyone can build with it.

```bash
curl "https://taghazout.io/weather-data/_feed.php?loc=anchor-point"
```

## What you get

* Decomposed swell (height, period, direction) *and* total sea state, kept separate
* Wind, gusts, and a wind-wave ratio so you can tell clean from messy
* Water and air temperature
* A 0–100 surf potential score and the best window of the day
* Plain-language beginner and advanced verdicts
* Modelled tide state, sunrise/sunset, UV, moon, air quality

## What it costs

Nothing. There is no key, no account, and no paid tier.

{% hint style="info" %}
Please cache responses for a few minutes rather than polling — the underlying ocean models only refresh every few hours, so hammering the endpoint gains you nothing and costs us bandwidth.
{% endhint %}

## Client libraries

An MIT-licensed client for Python and JavaScript is on GitHub: [**taghazout-surf**](https://github.com/MyTaghazout/taghazout-surf).

```bash
python taghazout_surf.py anchor-point
# Anchor Point: 0.66m @ 8.4s, wind 11.2 km/h, water 21.6°C, potential 82%
```

## Attribution

Required if you redistribute:

Weather data by [Open-Meteo.com](https://open-meteo.com/) (CC BY 4.0). Wave model **NOAA WaveWatch III** via [PacIOOS](https://www.pacioos.hawaii.edu/).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://taghazout.gitbook.io/taghazout-docs/introduction.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
