WeatherAPI · Arazzo Workflow

WeatherAPI Marine Forecast

Version 1.0.0

Resolve a coastal location, then fetch its marine and tide forecast.

1 workflow 1 source API 1 provider
View Spec View on GitHub WeatherForecastHistoryMarineAstronomyGeolocationSportsAlertsPublic APIsArazzoWorkflows

Provider

weatherapi

Workflows

marine-forecast
Search a coastal location and return its marine and tide forecast.
Resolves the query into a location and retrieves a marine forecast with tide data for the requested number of days.
2 steps inputs: days, query outputs: forecastDays, matchedName
1
searchLocation
searchLocations
Resolve the free-text query into the best matching coastal location.
2
getMarine
getMarine
Fetch the marine forecast with tide data enabled for the resolved location across the requested number of days.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: WeatherAPI Marine Forecast
  summary: Resolve a coastal location, then fetch its marine and tide forecast.
  description: >-
    A sailing and coastal planning flow. A free-text query is resolved through
    the search/autocomplete endpoint to pin a coastal point, and the marine
    endpoint returns the sailing forecast including wave height, swell, water
    temperature, and tide data for the requested number of days. Every step
    spells out its request inline so the flow can be read and executed without
    opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: weatherApi
  url: ../openapi/weatherapi-openapi-original.yml
  type: openapi
workflows:
- workflowId: marine-forecast
  summary: Search a coastal location and return its marine and tide forecast.
  description: >-
    Resolves the query into a location and retrieves a marine forecast with tide
    data for the requested number of days.
  inputs:
    type: object
    required:
    - query
    - days
    properties:
      query:
        type: string
        description: Partial coastal place name or coordinates to search for.
      days:
        type: integer
        description: Number of marine forecast days to return (1-7, plan dependent).
  steps:
  - stepId: searchLocation
    description: Resolve the free-text query into the best matching coastal location.
    operationId: searchLocations
    parameters:
    - name: q
      in: query
      value: $inputs.query
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      matchedId: $response.body#/0/id
      matchedName: $response.body#/0/name
  - stepId: getMarine
    description: >-
      Fetch the marine forecast with tide data enabled for the resolved
      location across the requested number of days.
    operationId: getMarine
    parameters:
    - name: q
      in: query
      value: id:$steps.searchLocation.outputs.matchedId
    - name: days
      in: query
      value: $inputs.days
    - name: tides
      in: query
      value: 'yes'
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      locationName: $response.body#/location/name
      forecastDays: $response.body#/forecast/forecastday
  outputs:
    matchedName: $steps.searchLocation.outputs.matchedName
    forecastDays: $steps.getMarine.outputs.forecastDays

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/weatherapi-marine-forecast-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.