services: add Leya — Latin American legal research - #871
Open
sebasibarguen wants to merge 2 commits into
Open
Conversation
Leya is a search API over primary Latin American legal sources: statutes, decrees, congressional initiatives, court rulings and official gazettes, currently covering Guatemala and the Dominican Republic. It also serves Guatemala's cadastral parcels intersected with protected areas, watersheds, sacred sites and archaeological sites. Live and accepting payments via MPP on Tempo mainnet, keyless: an unauthenticated call to any /v1 read returns a settleable 402. Discovery document at https://api.leya.lawyer/openapi.json with x-service-info and per-operation x-payment-info. pnpm check:types and pnpm build both pass.
|
@sebasibarguen is attempting to deploy a commit to the Tempo Team on Vercel. A member of the Team first needs to authorize it. |
🔀 Changed Services✅ Added
|
|
Thanks for submitting a service to the MPP directory! If you want your service included in the curated Required
Recommended
Review criteriaWe prioritize services that are high quality and novel. We may not approve services that duplicate existing functionality or aren't yet production-ready. |
MPPScan rejected the origin with REALM_MISMATCH: a realm naming a different host than the one agents call cannot have on-chain settlements attributed to it. The service now advertises realm "api.leya.lawyer", which is what its 402 challenges carry. Leya also accepts x402 on Base mainnet now, alongside MPP on Tempo.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds Leya to the curated service directory.
Leya is a search API over primary Latin American legal sources — statutes, decrees, congressional initiatives (iniciativas), court rulings (sentencias), regulations and official gazettes — currently covering Guatemala and the Dominican Republic. Every result carries a stable document id, source attribution, a link to the official document, and corpus-freshness metadata, so an agent can cite real law instead of recalling it.
It also serves Guatemala's cadastral parcels from RIC (630,961 of them) intersected with protected areas, watersheds, sacred sites, archaeological sites and forestry-incentive zones — which is how you find out whether a parcel sits inside a national park.
Checklist
/v1read returns a settleable 402:schemas/services.tspnpm check:typespassespnpm buildpassesDiscovery
https://api.leya.lawyer/openapi.jsonfollowsdraft-payment-discovery-00, with top-levelx-service-infoand per-operationx-payment-infopriced in USDC.e base units.Agent-facing docs at https://leya.lawyer/llms-full.txt.
On novelty
The directory currently lists one legal service (GovLaws, US federal regulation). Leya covers Latin American jurisdictions instead, so it complements rather than duplicates it — and the cadastral overlay data has no equivalent in the list. Priced at parity with GovLaws for search (30000).