# ADH Financial Intelligence Layer – Latvia Open Data (lv-opendata)

> ADH Financial Intelligence Layer – Latvia Open Data (lv-opendata) is a paid API for AI agents from agentdatum.com, paid per call via x402, $0.01/call, status down (last checked 2026-10-13).

Fetches processed Latvian open government dataset intelligence via the ADH financial intelligence layer, returning entity-resolved, time-synchronized data with provenance and derived conclusions.

## Facts

- Endpoint: GET https://agentdatum.com/api/v1/d/lv-opendata?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: down
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/adh-financial-intelligence-layer-latvia-open-data-lv-opendata-ce6c65fc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-9suHrqRe5UjqnboV7XvN

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 adh-financial-intelligence-layer-latvia-open-data-lv-opendata-ce6c65fc
```

Example prompt: Pull the latest Latvian open government datasets from ADH's lv-opendata intelligence layer and give me a summary of what's available, including titles, formats, and when they were last modified.

## When to prefer this

Choose this endpoint when you need structured, entity-resolved metadata about Latvian government open datasets without directly integrating with the CKAN API yourself. It is useful when an agent needs to discover available Latvian public data sources, check dataset freshness, or programmatically enumerate resources published by Latvian public institutions — especially in agentic pipelines using x402 micropayment settlement.

## Known failure modes

- Upstream data.gov.lv CKAN API unavailable — returns error or empty results
- Payment not processed via x402 — returns 402 Payment Required
- Truncated response if dataset list is very large
- Stale cache if the underlying source has not refreshed recently
- Empty result set if query parameters filter too narrowly

## How this service works

ADH 金融情报层：把 239 个原始数据源洗成带实体解析、时间同步、溯源与派生结论的情报（宏观regime / 加密尽调 / 事件窗口），免费注入你的 AI 上下文。Agent 走 x402 结算，人类订阅（PayPal）即将上线。

## Output

Returns a JSON object with a 'raw' field containing the CKAN API response from data.gov.lv: a list of dataset records including dataset IDs, titles, tags, resource URLs, file formats, file sizes, organization owners, modification timestamps, language, license openness, and a total count of matching datasets.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "raw": {
   "data": {
    "help": "https://data.gov.lv/dati/eng/api/3/action/help_show?name=package_search",
    "result": {
     "sort": "score desc, metadata_modified desc",
     "count": 64,
     "facets": {},
     "results": [
      {
       "id": "019e39ed-9d72-4a26-ba48-16307f77f87c",
       "url": null,
       "name": "sabiedriska-transporta-pieturvietu-nojumes",
       "tags": [
        {
         "id": "9af7aaa6-6d5f-4e79-b66e-ed37f0782f37",
         "name": "GEO RĪGA",
         "state": "active",
         "display_name": "GEO RĪGA",
         "vocabulary_id": null
        },
        {
         "id": "9af7aaa6-6d5f-4e79-b66e-ed37f0782f37",
         "name": "GEO RĪGA",
         "state": "active",
         "display_name": "GEO RĪGA",
         "vocabulary_id": null
        }
       ],
       "type": "dataset",
       "notes": "Datu kopa satur informāciju par pašvaldības organizētām izsolēm, kuru rezultātā tiks noteiktas nomas tiesībām uz zemesga",
       "state": "active",
       "title": "Sabiedriskā transporta pieturvietu nojumes",
       "author": null,
       "groups": [],
       "isopen": true,
       "issued": "2024-10-18",
       "private": false,
       "version": null,
       "language": "lv",
       "modified": "2024-10-18",
       "num_tags": 10,
       "frequency": "http://publications.europa.eu/mdr/authority/frequency/ANNUAL",
       "owner_org": "7e644af4-28e8-41f0-bc91-e86995a992a1",
       "resources": [
        {
         "id": "25322a90-5564-4270-aa03-0c73b242e5d7",
         "url": "https://data.gov.lv/dati/dataset/019e39ed-9d72-4a26-ba48-16307f77f87c/resource/25322a90-5564-4270-aa03-0c73b242e5d7/down",
         "hash": "",
         "name": "Sabiedriskā transporta pieturvietu nojumju izsoles (SHP)",
         "size": 398286,
         "state": "active",
         "format": "SHP",
         "created": "2024-10-18T09:30:06.793904",
         "mimetype": "application/zip",
         "position": 0,
         "url_type": "upload",
         "cache_url": null,
         "package_id": "019e39ed-9d72-4a26-ba48-16307f77f87c",
         "last_modified": "2026-03-09T04:13:43.153215",
         "resource_type": null,
         "mimetype_inner": null,
         "datastore_active": false,
         "metadata_modified": "2026-03-09T04:13:43.179459",
         "cache_last_updated": null
        },
        {
         "id": "25322a90-5564-4270-aa03-0c73b242e5d7",
         "url": "https://data.gov.lv/dati/dataset/019e39ed-9d72-4a26-
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/adh-financial-intelligence-layer-latvia-open-data-lv-opendata-ce6c65fc/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentdatum.com](https://www.zero.xyz/host/agentdatum.com/llms.txt)
