Lebanese Legislation Laws API

The Laws API from Lebanese Legislation — 1 operation(s) for laws.

GitHub OpenAPI

Operations 1

GET /api/v1/laws/ Texts by date (Gazette date, else the text's date), newest first by default #

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-laws-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-laws-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Lebanese Legislation Laws 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: Laws
paths:
  /api/v1/laws/:
    get:
      operationId: listLaws
      summary: Texts by date (Gazette date, else the text's date), newest first by default
      parameters:
      - $ref: '#/components/parameters/Since'
      - $ref: '#/components/parameters/Until'
      - name: kind
        in: query
        description: The kind, in Arabic ("قانون") or English ("Law").
        schema:
          type: string
      - $ref: '#/components/parameters/Order'
      - $ref: '#/components/parameters/ListLimit'
      - $ref: '#/components/parameters/Cursor'
      responses:
        '200':
          description: One page of texts.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LawList'
        '400':
          $ref: '#/components/responses/BadRequest'
        '429':
          $ref: '#/components/responses/TooMany'
        '503':
          $ref: '#/components/responses/Busy'
      tags:
      - Laws
components:
  schemas:
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: string
    LawSummary:
      type: object
      description: A text's identity, without its text.
      required:
      - id
      - kind
      - title
      - status
      - article_count
      - url
      properties:
        id:
          type: integer
        kind:
          type: string
          description: In Arabic, as the Centre names it.
        kind_en:
          type: string
        number:
          type: string
        issued_on:
          $ref: '#/components/schemas/Date'
        title:
          type: string
          description: The official Arabic title.
        title_en:
          type: string
          description: Unofficial English title, written by a model from the Arabic title.
        status:
          type: string
          enum:
          - in_force
          - repealed
        article_count:
          type: integer
        code:
          type: string
          description: The curated code's short name, e.g. "Code of Obligations and Contracts".
        url:
          type: string
          format: uri
        source_url:
          type: string
          format: uri
        updated_at:
          $ref: '#/components/schemas/UpdatedAt'
    LawList:
      type: object
      required:
      - since
      - until
      - kind
      - order
      - total
      - laws
      properties:
        since:
          type:
          - string
          - 'null'
        until:
          type:
          - string
          - 'null'
        kind:
          type:
          - string
          - 'null'
        order:
          type: string
          enum:
          - newest
          - oldest
        total:
          type: integer
        next_cursor:
          type: string
          description: Pass it as cursor for the next page; absent on the last page.
        laws:
          type: array
          items:
            allOf:
            - $ref: '#/components/schemas/LawSummary'
            - type: object
              properties:
                gazette_number:
                  type: string
                gazette_date:
                  $ref: '#/components/schemas/Date'
                gazette_issue_id:
                  type: integer
                date:
                  $ref: '#/components/schemas/Date'
                  description: 'The Gazette date, else the text''s date: what since, until and order use.'
    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
    BadRequest:
      description: A parameter could not be read, offset was passed (removed on 6 Nov 2026), or cursor is not one this API made.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  parameters:
    ListLimit:
      name: limit
      in: query
      schema:
        type: integer
        minimum: 1
        maximum: 100
        default: 50
    Until:
      name: until
      in: query
      description: To this day, month or year, inclusive.
      schema:
        type: string
    Since:
      name: since
      in: query
      description: From this day, month or year (YYYY, YYYY-MM or YYYY-MM-DD), inclusive.
      schema:
        type: string
      example: '2024'
    Order:
      name: order
      in: query
      schema:
        type: string
        enum:
        - newest
        - oldest
        default: newest
    Cursor:
      name: cursor
      in: query
      description: 'The next page: the next_cursor of the previous answer, unchanged. Absent on the first page. offset was removed on 6 Nov 2026 and answers 400; to jump to a period use since and until.'
      schema:
        type: string
externalDocs:
  description: Developer guide, and the MCP server at /mcp
  url: https://lebaneselegislation.com/developers/