Syllogi Search API

Full-text search over metadata and stored text in English and German, EuroVoc terms and collection statistics.

GitHub OpenAPI

Operations 3

GET /api/v1/eurovoc List EuroVoc terms #
GET /api/v1/search Search documents #
GET /api/v1/stats Get collection statistics #

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/syllogi-eu:syllogi-eu-search-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

syllogi-eu-search-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  contact:
    email: support@syllogi.eu
    name: Syllogi Support
    url: https://www.syllogi.eu/developers
  description: 'REST API of Syllogi for EU law from official sources (EUR-Lex / Cellar and EASA): search, AI search with source references, documents by CELEX number, consolidated versions as valid on a day with article-level diffs, alerts, signed webhooks and an Atom/RSS change feed.


    Authentication: send an API token of your organisation as `Authorization: Bearer syl_live_...`. An organisation admin creates tokens in the web app (Settings -> API); the scopes are listed under the security scheme.


    Data: EUR-Lex content (c) European Union, https://eur-lex.europa.eu, reused under Commission Decision 2011/833/EU. Consolidated texts and AI output are documentation aids without legal effect; only the Official Journal of the European Union is authentic.


    Guides, examples, limits and the changelog: https://www.syllogi.eu/developers. MCP server for AI assistants: https://www.syllogi.eu/developers/mcp.'
  summary: 'EU law from EUR-Lex and EASA as a REST API: search, documents, consolidated versions, alerts and webhooks.'
  title: Syllogi Search API
  version: '1.0'
servers:
- description: Production
  url: https://api.syllogi.eu
security:
- bearerAuth: []
tags:
- description: Full-text search over metadata and stored text in English and German, EuroVoc terms and collection statistics.
  name: Search
paths:
  /api/v1/eurovoc:
    get:
      description: Returns all EuroVoc concept labels used across documents, with EN/DE labels and document counts.
      operationId: listEurovocTerms
      responses:
        '200':
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
          description: terms array + total
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '500':
          content:
            application/json:
              schema:
                additionalProperties:
                  type: string
                type: object
          description: internal error
      security:
      - bearerAuth: []
      summary: List EuroVoc terms
      tags:
      - Search
  /api/v1/search:
    get:
      description: Full-text search across EN/DE content with filtering, sorting, and EuroVoc topic filtering.
      operationId: searchDocuments
      parameters:
      - description: Search query (max 500 chars)
        in: query
        name: q
        required: true
        schema:
          type: string
      - description: Page size (1-100, default 20)
        in: query
        name: limit
        schema:
          type: integer
      - description: Offset (default 0)
        in: query
        name: offset
        schema:
          type: integer
      - description: Filter by source (eurlex, easa)
        in: query
        name: source
        schema:
          type: string
      - description: Filter by document type
        in: query
        name: doc_type
        schema:
          type: string
      - description: Filter by hierarchy level (1-5)
        in: query
        name: doc_level
        schema:
          type: integer
      - description: Start date (YYYY-MM-DD)
        in: query
        name: date_from
        schema:
          type: string
      - description: End date (YYYY-MM-DD)
        in: query
        name: date_to
        schema:
          type: string
      - description: Sort order (relevance, date-desc, date-asc)
        in: query
        name: sort
        schema:
          type: string
      - description: EuroVoc labels (comma-separated)
        in: query
        name: eurovoc
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
          description: results + total + query
        '400':
          content:
            application/json:
              schema:
                additionalProperties:
                  type: string
                type: object
          description: invalid parameter
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '500':
          content:
            application/json:
              schema:
                additionalProperties:
                  type: string
                type: object
          description: search failed
      security:
      - bearerAuth: []
      summary: Search documents
      tags:
      - Search
  /api/v1/stats:
    get:
      description: Returns document counts by type/source, chunk count, and recent changes.
      operationId: getCollectionStats
      responses:
        '200':
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
          description: statistics
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '500':
          content:
            application/json:
              schema:
                additionalProperties:
                  type: string
                type: object
          description: internal error
      security:
      - bearerAuth: []
      summary: Get collection statistics
      tags:
      - Search
components:
  responses:
    Unauthorized:
      content:
        application/json:
          schema:
            properties:
              error:
                type: string
            type: object
      description: Missing, invalid, expired or revoked API token. The WWW-Authenticate header names the Bearer scheme.
    TooManyRequests:
      content:
        application/json:
          schema:
            properties:
              error:
                type: string
            type: object
      description: Rate limit of the plan exceeded. The Retry-After header says when to retry.
  securitySchemes:
    bearerAuth:
      bearerFormat: opaque API token (syl_live_...)
      description: 'API token of an organisation (prefix syl_live_), sent as Authorization: Bearer <token>. Tokens are created by an organisation admin in the web app, can expire and carry scopes:

        - read (default): documents, search, AI endpoints, and the GET routes of alerts and webhooks

        - read:documents: the document endpoints only

        - feed:read: the Atom/RSS feed /api/v1/feed/regulatory-changes

        - alerts:write: create, change and delete alert subscriptions (never implied)

        - webhooks:write: create, change, delete and test webhooks (never implied)

        - mcp:read: the MCP server https://mcp.syllogi.eu/mcp; a token with only this scope ("MCP only") gets 403 token_scope_mcp_only on this REST API

        A token without the scope a route needs gets 403 with the missing scope named in the error.'
      scheme: bearer
      type: http
externalDocs:
  description: Developer guide with examples
  url: https://www.syllogi.eu/developers