Lexbase
Lexbase provides a searchable interface to Portuguese legislation, offering access to consolidated legal texts, articles, and judicial decisions. Users can query over 70,000 consolidated diplomas, retrieve exact article wording, view historical amendments, and see official registry links. The platform integrates with AI assistants like Claude and ChatGPT, allowing automated legal research via API. It offers free plans with limited daily searches and paid options for higher usage, all hosted within the European Union, emphasizing data privacy and compliance.
Lexbase publishes 6 API contracts indexed on the APIs.io network, including Diploma API, Diplomas API, Fragment API, and 3 more. Tagged areas include Legal Tech, PortugueseLaw, Search, and AI Integration.
The Lexbase catalog on APIs.io includes 1 JSON-LD context and 1 Spectral governance ruleset.
Lexbase’s developer surface includes CLI, authentication, documentation, API reference, getting-started guide, and 15 more developer resources.
Kin Score
APIs 6
Individual APIs this provider publishes, each with its own machine-readable definition.
Lexbase Diploma API
The Diploma API from Lexbase — 1 operation(s) for diploma.
Lexbase Diplomas API
The Diplomas API from Lexbase — 1 operation(s) for diplomas.
Lexbase Fragment API
The Fragment API from Lexbase — 2 operation(s) for fragment.
Lexbase Health API
The Health API from Lexbase — 1 operation(s) for health.
Lexbase Search API
The Search API from Lexbase — 1 operation(s) for search.
Lexbase Themes API
The Themes API from Lexbase — 1 operation(s) for themes.
Semantic Vocabularies 1
JSON-LD contexts and semantic vocabularies used across these APIs.
Lexbase Pt Context
JSON-LDSpectral Rules 1
Spectral governance rulesets for linting and validating these APIs. Counts are the severity each rule declares, not results of running them.
Lexbase API Rules
SPECTRALJSON Schema 1
Standalone JSON Schema definitions for this provider's data models.
SearchResponse
JSON SCHEMASecurity Posture 2
Authentication, domain security, vulnerability disclosure, and trust-center signals.
Agentic Access (API Evangelist recommendations) 1
Recommended x-agentic-access execution contracts for AI agents.
Resources
Get Started 2
Portal, sign-up, and the first successful call
Documentation 2
Reference material describing how the API behaves
Agent Surfaces 3
MCP servers, agent skills, and machine-readable catalogs
Design & Contract 6
Pagination, idempotency, versioning, errors, and events
Build 1
SDKs, sample code, and the tooling you integrate with
Access & Security 2
Authentication, authorization, and security posture
Commercial 2
Pricing, plans, and the legal terms of use
Company 1
The organization behind the API
Other 1
Properties that don't map to a standard resource type
Source (apis.yml)
Lexbase API — frequently asked questions
Does Lexbase have an API?
Yes. APIs.io lists 6 APIs from Lexbase, including Lexbase Diploma API, Lexbase Diplomas API and Lexbase Fragment API, and 3 more.
Is there an OpenAPI specification for the Lexbase API?
Yes. APIs.io indexes 6 OpenAPI specifications for Lexbase, each linked for download from this page.
How do I authenticate with the Lexbase API?
Lexbase documents its authentication (http · 1 scheme). The details are profiled on APIs.io as Lexbase Authentication.
Is the Lexbase API ready for AI agents?
Lexbase has a Kin Score of 37.1 out of 100 (thin) and an Agent Readiness score of 33.7 (agent-ready), scored by API Evangelist on 2026-11-21.
Work with this as data
Every provider here is available over the APIs.io API and to AI agents over MCP.