Lebanese Legislation Ruling API

The Ruling API from Lebanese Legislation — 1 operation(s) for ruling.

GitHub OpenAPI

Operations 1

GET /api/v1/ruling/{id}/ A court ruling: its text, or the machine reading of its scanned judgment, page… #

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/lebaneselegislation-com:lebaneselegislation-com-ruling-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

lebaneselegislation-com-ruling-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Lebanese Legislation Ruling API
  version: v1
  summary: Read-only JSON API over every Lebanese law, decree, article, court ruling and Official Gazette issue.
  description: 'Free, no key. Every text field is copied from the source as the Lebanese University''s Centre for Research and Studies in Legal Informatics published it; nothing is paraphrased. Not legal advice. updated_at is the day a record''s page last changed on the site (an amendment in force, a ruling''s reading, a correction), never the text''s own date; it is absent when not known. title_en is an unofficial English rendering of the Arabic title, written by a model; the Arabic title is official. Responses are cached for 60 seconds. Each client may make a limited number of requests a minute: on 429 wait for Retry-After.'
  license:
    name: MIT (code); texts keep their own rights and attribution
    identifier: MIT
  contact:
    name: Lebanese Legislation
    url: https://lebaneselegislation.com/developers/
    email: nizar@taktek.io
servers:
- url: https://lebaneselegislation.com
tags:
- name: Ruling
paths:
  /api/v1/ruling/{id}/:
    get:
      operationId: getRuling
      summary: 'A court ruling: its text, or the machine reading of its scanned judgment, page…'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
          minimum: 1
        example: 1
      responses:
        '200':
          description: The ruling.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RulingDetail'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/TooMany'
        '503':
          $ref: '#/components/responses/Busy'
      tags:
      - Ruling
components:
  schemas:
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: string
    RulingDetail:
      type: object
      required:
      - id
      - title
      - url
      - not_legal_advice
      properties:
        id:
          type: integer
        court:
          type: string
        court_en:
          type: string
        number:
          type: string
        year:
          type: integer
        decided_on:
          $ref: '#/components/schemas/Date'
        title:
          type: string
        president:
          type: string
        members:
          type: array
          items:
            type: string
        text_ar:
          type: string
        note:
          type: string
        url:
          type: string
          format: uri
        source_url:
          type: string
          format: uri
        pages_model:
          type: string
        pdf_url:
          type: string
          format: uri
          description: 'The judgment''s scan on the Lebanese University''s site: the reference.'
        page_count:
          type: integer
        pages:
          type: array
          items:
            type: object
            required:
            - n
            - text_ar
            properties:
              n:
                type: integer
              text_ar:
                type: string
              low_confidence:
                type: boolean
        pages_note:
          type: string
        updated_at:
          $ref: '#/components/schemas/UpdatedAt'
        not_legal_advice:
          type: string
    UpdatedAt:
      type: string
      format: date
      description: 'The day the record''s page last changed on the site (page_state): an amendment in force, a ruling''s reading, a correction. Never the text''s own date. Absent when not known.'
    Date:
      type: string
      format: date
      examples:
      - '2026-11-02'
  responses:
    Busy:
      description: 'The server is busy: try again shortly.'
      headers:
        Retry-After:
          schema:
            type: integer
      content:
        text/plain:
          schema:
            type: string
    TooMany:
      description: 'Too many requests from this client: wait for Retry-After seconds.'
      headers:
        Retry-After:
          schema:
            type: integer
      content:
        text/plain:
          schema:
            type: string
    NotFound:
      description: No such record.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
externalDocs:
  description: Developer guide, and the MCP server at /mcp
  url: https://lebaneselegislation.com/developers/