# Marine Weather Scraper — Waves, Swell & Sea Temperature (`hipersoft/marine-weather-scraper`) Actor

Get marine forecasts for any coast or ocean point: wave height, direction and period, swell, sea-surface temperature and ocean currents. Look up by place name or coordinates and export as JSON, CSV or Excel for surf, sailing, fishing and marine apps.

- **URL**: https://apify.com/hipersoft/marine-weather-scraper.md
- **Developed by:** [hiper soft](https://apify.com/hipersoft) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.0002 / location scraped

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Marine Weather Scraper — Waves, Swell & Sea Temperature

Get **marine forecasts for any coast or ocean point** with the **Marine Weather Scraper**. Enter coastal place names or coordinates and export the **wave height, wave direction and period, swell, sea-surface temperature and ocean currents** for each — one clean row per location as **JSON, CSV or Excel**.

Built for **surf forecasts, sailing and boating tools, fishing apps, coastal operations and marine research**, it turns raw ocean-model output into a structured dataset you can drop into any product or workflow.

### What it does

- 🌊 **Wave conditions** — significant wave height, direction and period for any point.
- 🏄 **Swell breakdown** — separate swell and wind-wave height, direction and period.
- 🌡️ **Sea-surface temperature** — water temperature for swimming, fishing and operations.
- 🧭 **Ocean currents** — current velocity and direction where available.
- 📍 **Name or coordinates** — type "Bondi Beach" or pass exact offshore coordinates.
- 📤 **Export anywhere** — JSON, CSV or Excel, or straight into an app, alert or dashboard.

### Example output

```json
{
  "name": "Honolulu",
  "latitude": 21.28,
  "longitude": -157.83,
  "time": "2026-09-21T12:00",
  "waveHeight": 1.36,
  "waveDirection": 131,
  "wavePeriod": 8.85,
  "swellWaveHeight": 0.84,
  "seaSurfaceTemperature": 27.4,
  "timezone": "Pacific/Honolulu"
}
```

### How to use it

1. Add **coastal place names** (one per line) and/or exact **coordinates**.
2. Optionally adjust the **current variables** and add **hourly** or **daily** series.
3. Run, and download the results as **JSON, CSV or Excel**.

### Input fields

| Field | Description |
|-------|-------------|
| **Places (by name)** | Coastal place names to resolve and look up (e.g. Honolulu, Nazaré). |
| **Locations (by coordinates)** | Exact `{name, latitude, longitude}` objects for precise offshore points. |
| **Current variables** | Which current metrics to include (wave height, swell, sea temp…). |
| **Hourly variables** | Optional hourly series (leave empty for current conditions only). |
| **Daily variables** | Optional daily aggregates (wave height max, dominant direction…). |
| **Forecast days** | Days of hourly/daily data to fetch, 1–7. |
| **Timezone** | `auto` for each location's local time, or an IANA name like `Pacific/Honolulu`. |

### Output fields

`name`, `query`, `latitude`, `longitude`, `country`, `admin1`, `timezone`, `time`, `waveHeight`, `waveDirection`, `wavePeriod`, `windWaveHeight`, `windWaveDirection`, `windWavePeriod`, `swellWaveHeight`, `swellWaveDirection`, `swellWavePeriod`, `seaSurfaceTemperature`, `oceanCurrentVelocity`, `oceanCurrentDirection`, `current`, `hourly`, `daily`, `scrapedAt`.

### Popular use cases

- **Surf forecasting** — show live wave height, period and swell for each break.
- **Sailing & boating** — plan passages around wave and current conditions.
- **Fishing apps** — combine sea-surface temperature with wave state.
- **Coastal operations** — monitor sea state for ports, works and safety.
- **Research & analytics** — build multi-point marine datasets over time.

### FAQ

**Do I need an account or key?**
No. Enter your places or coordinates and run.

**Which conditions are included?**
Wave height, direction and period; separate swell and wind-wave components; sea-surface temperature; and ocean currents where available.

**Why did an inland point return nothing?**
Marine data covers oceans and coasts. Use a point on or near the water.

**Can I get an hourly or daily forecast?**
Yes — add hourly and/or daily variables and set the number of forecast days.

**Can I export to Excel or Google Sheets?**
Yes — results download as JSON, CSV or Excel and integrate with apps, alerts and dashboards.

***

Structured **marine weather data** — waves, swell, sea-surface temperature and currents by place or coordinates — clean and export-ready for surf, sailing, fishing and research.

# Actor input Schema

## `places` (type: `array`):

Coastal place names to look up, one per line (e.g. "Honolulu", "Bondi Beach", "Nazaré"). Each name is resolved to coordinates automatically. Marine data covers oceans and coasts — points far inland return nothing. Use this OR the Locations field below (you can combine both).

## `locations` (type: `array`):

Exact coordinates as a list of objects: {"name": "Buoy 1", "latitude": 21.28, "longitude": -157.83}. The optional name is used as a label; latitude and longitude are required. Best for precise offshore points.

## `current` (type: `array`):

Current-conditions variables, one per line. Options: wave_height, wave_direction, wave_period, wind_wave_height, wind_wave_direction, wind_wave_period, swell_wave_height, swell_wave_direction, swell_wave_period, sea_surface_temperature, ocean_current_velocity, ocean_current_direction. Leave as-is for a sensible default set.

## `hourly` (type: `array`):

Optional hourly series variables, one per line (e.g. wave_height, swell_wave_height, wave_period). Leave empty to return only current conditions.

## `daily` (type: `array`):

Optional daily aggregates, one per line (e.g. wave_height_max, wave_direction_dominant, wave_period_max). Leave empty to skip daily data.

## `forecastDays` (type: `integer`):

How many days of hourly/daily forecast to fetch, from today forward (1–7).

## `timezone` (type: `string`):

Timezone for the returned timestamps. Use "auto" to match each location's local time, or an IANA name like "Pacific/Honolulu" or "UTC".

## `proxyConfiguration` (type: `object`):

Optional proxy settings for the run. Not required — the data is fetched over plain HTTP.

## Actor input object example

```json
{
  "places": [
    "Honolulu",
    "Bondi Beach",
    "Nazaré"
  ],
  "locations": [],
  "current": [
    "wave_height",
    "wave_direction",
    "wave_period",
    "swell_wave_height",
    "sea_surface_temperature"
  ],
  "hourly": [],
  "daily": [],
  "forecastDays": 3,
  "timezone": "auto",
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `results` (type: `string`):

The results as dataset items.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "places": [
        "Honolulu",
        "Bondi Beach",
        "Nazaré"
    ],
    "locations": []
};

// Run the Actor and wait for it to finish
const run = await client.actor("hipersoft/marine-weather-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "places": [
        "Honolulu",
        "Bondi Beach",
        "Nazaré",
    ],
    "locations": [],
}

# Run the Actor and wait for it to finish
run = client.actor("hipersoft/marine-weather-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "places": [
    "Honolulu",
    "Bondi Beach",
    "Nazaré"
  ],
  "locations": []
}' |
apify call hipersoft/marine-weather-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,hipersoft/marine-weather-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/MYU2Pj5HwdOfvuuEB/builds/e4s0Mz9oUR2aSfdrc/openapi.json
