# HALOWERK Baltic Land – Latvia Aspect (Surface Gradient Direction)

> HALOWERK Baltic Land – Latvia Aspect (Surface Gradient Direction) 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-14).

Returns the circular direction of the dominant surface gradient (aspect, clockwise from north) for a given coordinate within Latvia.

## Facts

- Endpoint: POST https://baltikum.halowerk.com/v1/lv-aspect
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/halowerk-baltic-land-latvia-aspect-surface-gradient-direction-4c01917b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_sfuaNfGzbXVsclBR5amC7

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-aspect-surface-gradient-direction-4c01917b -d '<json body>'
```

Example prompt: What direction does the terrain slope face at latitude 56.95 and longitude 24.11 in Latvia — give me the aspect in degrees clockwise from north.

## When to prefer this

Use this endpoint when you need terrain aspect (slope-facing direction) specifically for locations within Latvia, and you require coordinate validation against the Latvian boundary before incurring cost. Prefer it over generic global elevation/aspect APIs when working with Baltic-region land analysis pipelines, especially when paired with sibling HALOWERK Baltic endpoints for soil, land cover, or topographic metrics.

## Known failure modes

- Coordinate outside Latvia's Natural Earth boundary — request rejected before payment
- Coordinate outside the European coverage bounding box (lat 34–72.5, lon -31.5–40.5) — validation error
- Invalid or missing latitude/longitude values — schema validation failure
- Service unavailable or upstream elevation data unreachable — HTTP 5xx error

## How this service works

Circular direction of the dominant surface gradient, clockwise from north. The coordinate is validated against the Natural Earth boundary for Latvia; results outside it are rejected before payment.

## Output

A numeric value representing the circular direction (in degrees, clockwise from north, 0–360) of the dominant surface gradient at the queried coordinate. Coordinates outside the Latvia boundary are rejected before 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-aspect-surface-gradient-direction-4c01917b/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)
