# Marine Conditions – Nearest NOAA/NDBC Buoys

> Marine Conditions – Nearest NOAA/NDBC Buoys is a paid API for AI agents from marine-conditions.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-29).

Returns the nearest active NOAA/NDBC weather buoys and stations to a given lat/lon, with distance, owner, and type information.

## Facts

- Endpoint: GET https://marine-conditions.x402tookit.com/nearest-buoy?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/marine-conditions-nearest-noaa-ndbc-buoys-df5835dc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AfCgRzC_MhOPd7sm6CcWy

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability marine-conditions-nearest-noaa-ndbc-buoys-df5835dc
```

Example prompt: Find the 5 nearest active NOAA or NDBC weather buoys to latitude 37.8 and longitude -122.4 and tell me each one's name, type, owner, and how far away it is.

## When to prefer this

Use this endpoint when you need to discover which NOAA/NDBC buoys or stations exist near a geographic point before querying actual observations or tide data. It is the right first step when you have coordinates but don't yet know which station IDs to use for follow-up calls. Prefer this over manually maintaining a list of station IDs or when the user's location changes dynamically.

## Known failure modes

- No active buoys found near the given coordinates (remote or inland location)
- Invalid or out-of-range lat/lon values causing a bad request
- NOAA/NDBC data source unavailable, returning degraded or empty results
- Limit parameter out of range (must be 1–10)
- Network timeout reaching upstream NOAA data

## How this service works

The nearest active NOAA/NDBC buoys and stations that report weather, with distance, owner and type.

## Output

A JSON object containing the queried lat/lon, a list of nearest buoys (each with buoy ID, name, type, owner, coordinates, distance in km and nautical miles), total stations considered, a summary verdict, degraded status flag, source URL, and optional disclaimer or reasons fields.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "lat",
      "lon"
     ],
     "properties": {
      "lat": {
       "type": "number",
       "description": "Latitude"
      },
      "lon": {
       "type": "number",
       "description": "Longitude"
      },
      "limit": {
       "type": "integer",
       "description": "How many, 1 to 10 (default 3)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "lat": {
       "type": [
        "null",
        "number"
       ]
      },
      "lon": {
       "type": [
        "null",
        "number"
       ]
      },
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "buoys": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "object",
        "properties": {
         "buoy": {
          "type": [
           "null",
           "string"
          ]
         },
         "name": {
          "type": [
           "null",
           "string"
          ]
         },
         "type": {
          "type": [
           "null",
           "string"
          ]
         },
         "owner": {
          "type": [
           "null",
           "string"
          ]
         },
         "latitude": {
          "type": [
           "null",
           "number"
          ]
         },
         "longitude": {
          "type": [
           "null",
           "number"
          ]
         },
         "distanceKm": {
          "type": [
           "null",
           "number"
          ]
         },
         "distanceNauticalMiles": {
          "type": [
           "null",
           "number"
          ]
         }
        }
       }
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
     
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/marine-conditions-nearest-noaa-ndbc-buoys-df5835dc/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from marine-conditions.x402tookit.com](https://www.zero.xyz/host/marine-conditions.x402tookit.com/llms.txt)
