vLex Documents API

Retrieve individual legal documents

Operations 1

GET /v1/documents/{document_id} Get Legal Document #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/vlex-documents-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

vlex-documents-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: vLex Iceberg Legal Research Documents API
  description: The vLex Iceberg Legal Research API provides AI-powered access to legal documents, case law, statutes, and regulations from global jurisdictions. Capabilities include semantic document search, AI classification, key phrase extraction, and citation detection (vCite). The corpus spans 100+ million documents from 2,000+ multilingual sources.
  version: 1.0.0
  contact:
    name: vLex Developer Support
    url: https://developer.vlex.com/
  license:
    name: Proprietary
    url: https://vlex.com/
servers:
- url: https://api.vlex.com
  description: vLex Iceberg Legal Research API
tags:
- name: Documents
  description: Retrieve individual legal documents
paths:
  /v1/documents/{document_id}:
    get:
      operationId: getDocument
      summary: Get Legal Document
      description: Retrieve a specific legal document by its vLex ID, including full text, metadata, and citation data.
      tags:
      - Documents
      security:
      - SubscriptionKey: []
      parameters:
      - name: document_id
        in: path
        required: true
        schema:
          type: string
        description: vLex document identifier
      responses:
        '200':
          description: Legal document
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LegalDocument'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
components:
  schemas:
    Citation:
      type: object
      description: A detected legal citation.
      properties:
        raw_text:
          type: string
          description: Citation text as found in the document.
          example: 347 U.S. 483 (1954)
        document_id:
          type: string
          description: vLex ID of the referenced document, if resolved.
        citation_type:
          type: string
          description: Type of citation (case, statute, regulation, etc.).
        jurisdiction:
          type: string
        year:
          type: integer
        start_offset:
          type: integer
        end_offset:
          type: integer
        url:
          type: string
          format: uri
          description: Link to the cited document on vlex.com.
    Error:
      type: object
      properties:
        error:
          type: string
        message:
          type: string
    LegalDocument:
      type: object
      description: A full legal document from the vLex corpus.
      properties:
        id:
          type: string
        title:
          type: string
        document_type:
          type: string
        jurisdiction:
          type: string
        date:
          type: string
          format: date
        language:
          type: string
        full_text:
          type: string
          description: Full text of the legal document.
        metadata:
          type: object
          description: Additional document metadata (court, parties, docket number, etc.).
          additionalProperties: true
        citations:
          type: array
          items:
            $ref: '#/components/schemas/Citation'
        url:
          type: string
          format: uri
  responses:
    NotFound:
      description: Document not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unauthorized:
      description: Invalid or missing subscription key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    SubscriptionKey:
      type: apiKey
      in: header
      name: Ocp-Apim-Subscription-Key
      description: vLex API subscription key from the developer portal.
externalDocs:
  description: vLex Developer Portal
  url: https://developer.vlex.com/apis