L2Tools Tools API

Deterministic Lineage 2 calculations

GitHub OpenAPI

Operations 2

GET /api/v1/{chronicle}/tools/soul-crystal Get Soul Crystal transitions for one NPC #
GET /api/v1/{chronicle}/tools/xp Get per-level and cumulative XP values #

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/l2tools-org:l2tools-org-tools-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

l2tools-org-tools-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: L2Tools Public Tools API
  version: 1.0.0
  description: Read-only, chronicle-scoped Lineage 2 reference data and deterministic tools. Responses include dataset and formula provenance. REST traffic is limited per client IP to 10 requests per second with a burst of 30; excess requests receive HTTP 429.
  contact:
    url: https://l2tools.org/corrections
servers:
- url: https://l2tools.org/
  description: L2Tools
tags:
- name: Tools
  description: Deterministic Lineage 2 calculations
paths:
  /api/v1/{chronicle}/tools/soul-crystal:
    get:
      operationId: getSoulCrystalProgression
      summary: Get Soul Crystal transitions for one NPC
      description: A result stage N always means a successful transition from N-1 to N.
      tags:
      - Tools
      parameters:
      - name: chronicle
        in: path
        required: true
        schema:
          type: string
          enum:
          - interlude
          - high-five
        description: Exact Lineage 2 chronicle namespace.
      - name: npcId
        in: query
        required: true
        schema:
          type: integer
          minimum: 1
      responses:
        '200':
          description: Soul Crystal transitions
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SoulCrystalResponse'
        '404':
          description: No transition data
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                properties:
                  error:
                    type: object
                    required:
                    - code
                    - message
                    properties:
                      code:
                        type: string
                      message:
                        type: string
  /api/v1/{chronicle}/tools/xp:
    get:
      operationId: getXpLevels
      summary: Get per-level and cumulative XP values
      tags:
      - Tools
      parameters:
      - name: chronicle
        in: path
        required: true
        schema:
          type: string
          enum:
          - interlude
          - high-five
        description: Exact Lineage 2 chronicle namespace.
      - name: fromLevel
        in: query
        required: true
        schema:
          type: integer
          minimum: 1
          maximum: 100
      - name: toLevel
        in: query
        required: true
        schema:
          type: integer
          minimum: 1
          maximum: 100
      responses:
        '200':
          description: XP rows
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/XpResponse'
        '400':
          description: Invalid level range
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                properties:
                  error:
                    type: object
                    required:
                    - code
                    - message
                    properties:
                      code:
                        type: string
                      message:
                        type: string
components:
  schemas:
    ApiMeta:
      type: object
      required:
      - apiVersion
      - chronicle
      - provenance
      - methodologyUrl
      - correctionsUrl
      properties:
        apiVersion:
          type: string
        chronicle:
          type: string
        provenance:
          $ref: '#/components/schemas/Provenance'
        methodologyUrl:
          type: string
          format: uri
        correctionsUrl:
          type: string
          format: uri
    XpResponse:
      type: object
      required:
      - meta
      - range
      - count
      - levels
      properties:
        meta:
          $ref: '#/components/schemas/ApiMeta'
        range:
          type: object
          additionalProperties:
            type: integer
        count:
          type: integer
        levels:
          type: array
          items:
            type: object
            additionalProperties: true
    Provenance:
      type: object
      required:
      - chronicle
      - datasetId
      - technicalBasis
      - fieldLineage
      - displayMode
      - formulaSet
      - evidenceStatus
      - lastReviewed
      properties:
        chronicle:
          type: string
        datasetId:
          type: string
        technicalBasis:
          type: string
        fieldLineage:
          type: string
        displayMode:
          type: string
        formulaSet:
          type: string
        evidenceStatus:
          type: string
        lastReviewed:
          type: string
          format: date
    SoulCrystalResponse:
      type: object
      required:
      - meta
      - npc
      - count
      - transitions
      properties:
        meta:
          $ref: '#/components/schemas/ApiMeta'
        npc:
          type: object
          additionalProperties: true
        count:
          type: integer
        transitions:
          type: array
          items:
            type: object
            additionalProperties: true
externalDocs:
  description: API and methodology
  url: https://l2tools.org/developers
x-mcp-server: https://l2tools.org/api/mcp
x-mcp-manifest: https://l2tools.org/server.json