Lexiel Analítica API

Métricas de rendimiento y benchmarks del mercado

GitHub OpenAPI

Operations 1

GET /v1/analytics/rate-benchmark Benchmark de honorarios #

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/lexiel-ai:lexiel-ai-anal-tica-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

lexiel-ai-anal-tica-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Lexiel Analítica API
  version: 1.0.0
  description: 'API REST de Lexiel para integraciones servidor a servidor. Guía con ejemplos: https://lexiel.ai/es/developers (English: https://lexiel.ai/en/developers).


    **Autenticación**: `Authorization: Bearer lx_…` con una clave creada en Ajustes > API (plan de pago). La clave actúa como el usuario que la creó, dentro de su despacho: solo ve y modifica lo que ese usuario ve en la aplicación. Nunca la pongas en un navegador ni en una app; úsala solo desde tu servidor.


    **Ámbitos**: cada clave tiene ámbitos (`cases:read`, `cases:write`, `documents:read`, `documents:write`, `conversations:read`, `conversations:write`, `invoices:read`, `invoices:write`, `calendar:read`, `clients:read`, `clients:write`, `analytics:read`). Cada operación indica el suyo en `x-required-scope`; sin él responde 403 `API_KEY_SCOPE` con `error.requiredScope`. Las claves anteriores al 11-11-2026 tienen todos.


    **Límites**: 60 peticiones por minuto por clave (y por IP de origen), además de los límites por usuario de cada ruta (cabeceras `X-RateLimit-*` y `Retry-After` en el 429 `RATE_LIMITED`). Cada consulta a la IA y cada análisis de documento consumen la cuota mensual del plan de la cuenta (429 `PLAN_LIMIT_REACHED`).


    **Errores**: `{ "error": { "code": "…", "message": "…" } }`. El `code` es estable; el `message` puede cambiar.'
  contact:
    name: Soporte Lexiel
    url: https://lexiel.ai/contacto
    email: hola@lexiel.ai
  license:
    name: Privado — solo para clientes autorizados
servers:
- url: https://api.lexiel.ai
  description: Producción
- url: http://localhost:4966
  description: Desarrollo local
security:
- bearerAuth: []
tags:
- name: Analítica
  description: Métricas de rendimiento y benchmarks del mercado
paths:
  /v1/analytics/rate-benchmark:
    get:
      tags:
      - Analítica
      summary: Benchmark de honorarios
      x-required-scope: analytics:read
      description: 'Estadísticas anónimas del mercado Lexiel: percentiles p25, mediana y p75 del tarifario por hora de todos los despachos. Requiere mínimo 5 organizaciones para garantizar privacidad.'
      responses:
        '200':
          description: Estadísticas del mercado
          content:
            application/json:
              schema:
                type: object
                properties:
                  hasData:
                    type: boolean
                    description: false si hay menos de 5 organizaciones en la muestra
                  p25:
                    type:
                    - number
                    - 'null'
                    description: Percentil 25 (€/h)
                  median:
                    type:
                    - number
                    - 'null'
                    description: Mediana (€/h)
                  p75:
                    type:
                    - number
                    - 'null'
                    description: Percentil 75 (€/h)
                  avg:
                    type:
                    - number
                    - 'null'
                    description: Media aritmética (€/h)
                  sampleSize:
                    type: integer
                    description: Número de despachos en la muestra
                  userRate:
                    type:
                    - number
                    - 'null'
                    description: Tarifa del despacho actual (€/h)
        '401':
          $ref: '#/components/responses/Unauthorized'
      operationId: getV1AnalyticsRateBenchmark
      x-operation-id-source: derived
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              description: Código estable; el texto de `message` puede cambiar
            message:
              type: string
            requiredScope:
              type: string
              description: 'Solo en API_KEY_SCOPE: el ámbito que falta'
  responses:
    Unauthorized:
      description: 'No autorizado: falta la clave, no existe, está desactivada o caducada, o su usuario está inactivo (UNAUTHORIZED, MEMBER_INACTIVE)'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: lx_… (clave de API) o JWT
      description: 'Clave de API (`Authorization: Bearer lx_…`) creada en Ajustes > API, o el JWT de una sesión de Lexiel. Cada operación indica en `x-required-scope` el ámbito que necesita la clave.'