Command Palette

Search for a command to run...

Server Favicon

Leya Legal Research API

Search and cite primary legal sources from Latin America — statutes, decrees, congressional initiatives, court rulings and official gazettes. Built for LLM agents: every result carries a stable `document_id`, a source attribution, and corpus-freshness metadata, so answers can be cited rather than recalled. Authenticate with `Authorization: Bearer leya_live_...`. Get a key at https://leya.lawyer/api-keys. Machine-readable errors and rate-limit headers are documented at https://leya.lawyer/docs/api. Calls are prepaid in credits; a new account gets 1,000 free. Search costs 3, a document read 1, and `/v1/me`, `/v1/credits`, `/v1/sources` and `/v1/filters` are free. Running out returns 402 `insufficient_credits`, which is **not** retryable — waiting clears a rate limit but never an empty balance. Buy more at `POST /v1/credits/purchase` over the Machine Payments Protocol (https://mpp.dev), settled in stablecoins on Tempo.

POST

/v1/credits/purchase

API key
Buy credits with a stablecoin payment (Machine Payments Protocol).

GET

/v1/cadastre/coverage

$0.01
Which departments RIC has actually surveyed.
GET

/v1/cadastre/layers

API key
The overlay layers a parcel can be compared against.
GET

/v1/parcels

$0.02
List parcels in cadastral-code order.
GET

/v1/parcels/{ccc}

$0.02
Look up one cadastral parcel by its RIC código catastral.

GET

/api/corpus/status

Public
Corpus Status
GET

/health

Public
Health
GET

/v1/credits

API key
Prepaid balance, the price list, and recent ledger activity.
GET

/v1/documents/{document_id}

$0.01
Get Document
GET

/v1/documents/{document_id}/citation

$0.01
Get Citation
GET

/v1/filters

API key
List Filters
GET

/v1/me

API key
Me
GET

/v1/search

$0.03
Search
GET

/v1/sources

API key
List Sources

Install on Your Agent

Add Leya Legal Research API skills to any client

npx agentcash add https://api.leya.lawyer
Transactions
Volume
Agents