# HALOWERK Baltic Land – Latvia Drainage Tendency

> HALOWERK Baltic Land – Latvia Drainage Tendency is a paid API for AI agents from baltikum.halowerk.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-15).

Returns the relative runoff tendency (derived from terrain slope and ruggedness) for a WGS84 coordinate within Latvia's boundary.

## Facts

- Endpoint: POST https://baltikum.halowerk.com/v1/lv-drainage-tendency
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/halowerk-baltic-land-latvia-drainage-tendency-019462f5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UWpqsFZfEXXNe0TFe_BD3

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 halowerk-baltic-land-latvia-drainage-tendency-019462f5 -d '<json body>'
```

Example prompt: What's the relative runoff tendency for the terrain at latitude 56.95 and longitude 24.11 in Latvia — I need the drainage index based on slope and ruggedness for that point.

## When to prefer this

Use this endpoint when you need a terrain-derived drainage or runoff tendency score specifically for a point within Latvia, particularly for land assessment, hydrology, construction planning, or environmental risk scoring workflows. It is distinct from soil texture or land cover endpoints on the same platform and specifically captures slope-and-ruggedness-based hydrological tendency rather than raw elevation statistics.

## Known failure modes

- Coordinate outside Latvia's Natural Earth boundary — request rejected with a geographic validation error before payment
- Latitude or longitude outside the published European coverage range (lat 34–72.5, lon -31.5–40.5) — schema validation error
- Missing required latitude or longitude fields — 400 bad request
- Internal computation error if terrain data is unavailable for the location

## How this service works

Relative runoff tendency derived from slope and ruggedness. The coordinate is validated against the Natural Earth boundary for Latvia; results outside it are rejected before payment.

## Output

A numeric relative runoff tendency score derived from terrain slope and ruggedness for the queried point within Latvia. Coordinates outside Latvia's Natural Earth boundary are rejected before any payment is processed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "latitude": {
   "type": "number",
   "maximum": 72.5,
   "minimum": 34,
   "description": "WGS84 latitude inside the published European coverage."
  },
  "longitude": {
   "type": "number",
   "maximum": 40.5,
   "minimum": -31.5,
   "description": "WGS84 longitude inside the published European coverage."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/halowerk-baltic-land-latvia-drainage-tendency-019462f5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from baltikum.halowerk.com](https://www.zero.xyz/host/baltikum.halowerk.com/llms.txt)
