Skip to content
Fourohtwo

api.geoprimitives.dev/v1/marine/depth

Give it a latitude and longitude and it answers with what the nautical chart says about the water there: the depth range of the charted depth area containing the position, the nearest charted sounding and how far away it is, and the chart's own zone of confidence for that area. Parameters go in the query string: this is a GET, there is no body. NOT FOR NAVIGATION, stated first because it is a cond

BaseAnswering
GEThttps://api.geoprimitives.dev/v1/marine/depth

Uptime100% of 2 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://api.geoprimitives.dev/v1/marine/depth?lat=57.0405&lon=-135.3421");
console.log(await res.json());

Example input

{
  "lat": 57.0405,
  "lon": -135.3421
}

More from geoprimitivesProvider status