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.
/v1/credits/purchase
API key/v1/cadastre/coverage
$0.01/v1/cadastre/layers
API key/v1/parcels
$0.02/v1/parcels/{ccc}
$0.02/api/corpus/status
Public/health
Public/v1/credits
API key/v1/documents/{document_id}
$0.01/v1/documents/{document_id}/citation
$0.01/v1/filters
API key/v1/me
API key/v1/search
$0.03/v1/sources
API keyInstall on Your Agent
Add Leya Legal Research API skills to any client
npx agentcash add https://api.leya.lawyer