Songlinks Service API

What is serving, and whether it is up.

GitHub OpenAPI

Operations 2

GET /healthz Liveness check #
GET /v1/version What is serving #

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/songlinks-io:songlinks-io-service-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

songlinks-io-service-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Songlinks Service API
  description: 'Look up a songwriter by name and get back the people who write under it: registration records grouped into one

    person each, the evidence for every grouping, and a person ID where one has been issued. > **Beta.** Unverified machine output, from a dated snapshot of registration data (every answer''s `mlc_snapshot`

    > gives its date). Some answers are wrong and some are incomplete, and none has been checked by a person. Not for

    > rights or royalty decisions. The API may change, be rate-limited or stop without notice. ## Quick start


    No key and no sign-up. Look up a name:


    curl "https://songlinks.io/v1/lookup?name=mark+hoppus"


    Each person in `candidates` carries a `persistent_id` when an ID has been issued. Read everything that ID holds,

    including its works:


    curl "https://songlinks.io/v1/person/SLP-ZYM7-GD3E-S"


    On /v1/docs every endpoint below can be run from the page: open it, fill in the parameters and choose

    **Execute**. ## SDKs


    Official SDKs call every endpoint in the table below, with typed errors, retries that honour `Retry-After`, and

    paging through a person''s works. The TypeScript and JavaScript one has types generated from this API''s OpenAPI

    document and runs on Node 18+, in browsers, Deno and Bun, with no dependencies:


    npm install songlinks


    Its README, on npm, has the examples and links its source. There are

    SDKs for Python, Java

    and Go too; until the first two reach PyPI and Maven Central their

    READMEs say how to install them from source. Every README walks through a first call for anyone who has never called

    an API from code. ## The questions, and the endpoint for each


    | Endpoint | Question | Answered from |

    | --- | --- | --- |

    | `GET /v1/lookup` | Who writes under this name? | The records matching the name, grouped for this request |

    | `GET /v1/person/{person_id}` | What does this person ID hold? | The grouping stored when the ID was issued, and its history since |

    | `GET /v1/writers?ipi=...` | Who holds each of these IPI name numbers, and are their works split? | The same stored groupings, up to 50 numbers at once |

    | `GET /v1/songwriters?isrc=...` | Who wrote each of these recordings? | The works each ISRC is registered to, their writers, and the stored person behind each, where there is one |


    A lookup and a stored person can differ. A lookup sees only the records its spelling of the name reaches, so a stored person can hold

    records a lookup does not show. A candidate''s `records_not_in_this_answer` counts them. ## Reading a lookup


    1. **Check `answer` first.** `rejected` means the name could not be resolved, and `rejection.code` says why. A

    rejection is an answer and comes back with HTTP 200, not an error. 2. **`candidates`** has one entry per person. Its `records` are the registrations grouped into that person, `works`

    counts their distinct works, and `evidence` says why each pair of records was joined. 3. **`review`** lists pairs of records that were **not** joined: the model was unsure, or a rule held them apart. Show them apart from `candidates`, never as part of a person. 4. **`links`** lists records registered under another name, such as a stage name, next to one of this lookup''s

    records. It is a different claim from "same person", and its works are not counted in `works`. 5. **`truncated: true`** means more records matched than one lookup groups (`provenance.max_candidates`). Treat the

    answer as partial. 6. **`ref`** (`c1`, `c2`, ...) names a candidate inside one response and nowhere else: another spelling of the name

    can group the records differently. To keep a reference to a person, keep `persistent_id`, which is null for

    people with no ID.'
  version: 0.11.0
tags:
- name: Service
  description: What is serving, and whether it is up.
paths:
  /healthz:
    get:
      tags:
      - Service
      summary: Liveness check
      description: 'Answers `{"status": "ok"}` while the service is up. It does not check the data, so a 200 here does not promise that a lookup will succeed.'
      operationId: healthz_healthz_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /v1/version:
    get:
      tags:
      - Service
      summary: What is serving
      description: The release, model and code serving the API, and the settings every lookup uses, without running one. Record it with any answer you keep.
      operationId: version_v1_version_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VersionResponse'
              examples:
                serving:
                  summary: Serving
                  value:
                    version: 0.9.0
                    model_md5: 4c87a7bd5a7e9e0a83a3a22da3058fcd
                    code_commit: 8cb8d7b
                    mlc_snapshot: '2026-10-09'
                    threshold: 0.85
                    review_threshold: 0.5
                    max_candidates: 15
                    latency_ms: 0
        '503':
          description: Starting
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              examples:
                not_ready:
                  summary: Starting
                  value:
                    error: not_ready
                    message: starting
components:
  schemas:
    Error:
      properties:
        error:
          type: string
          title: Error
          description: '`too_many` or `no_numbers` (400), `not_found` (404), `internal` (500), or `not_ready` or `busy` (503). Branch on this'
        message:
          type: string
          title: Message
          description: a short sentence for people; its wording may change
      type: object
      required:
      - error
      - message
      title: Error
      description: 'The body of a 400, 404, 500 or 503 response. It never carries detail about what failed. A malformed parameter

        (an empty name, a threshold out of range) is answered 422 instead, with a `detail` list saying which parameter and

        why.'
    VersionResponse:
      properties:
        version:
          type: string
          title: Version
          description: the release, as in the site's small print. Two deploys of one release can carry different models, which is what `model_md5` is for
        model_md5:
          type: string
          title: Model Md5
          description: identifies the model serving lookups
        code_commit:
          type: string
          title: Code Commit
          description: identifies the code serving
        mlc_snapshot:
          anyOf:
          - type: string
          - type: 'null'
          title: Mlc Snapshot
          description: 'the date of the registration-data release this answer read, YYYY-MM-DD. Null when that load is undated: never a guess'
        threshold:
          type: number
          title: Threshold
          description: the default `threshold` for a lookup
        review_threshold:
          type: number
          title: Review Threshold
          description: the lowest probability at which an unjoined pair is listed in `review`
        max_candidates:
          type: integer
          title: Max Candidates
          description: the most records one lookup groups
        latency_ms:
          type: integer
          title: Latency Ms
          description: 'always 0: no lookup was run'
      type: object
      required:
      - version
      - model_md5
      - code_commit
      - threshold
      - review_threshold
      - max_candidates
      - latency_ms
      title: VersionResponse
      description: 'What is serving: the release, the model and the settings every lookup uses.'