Songlinks Lookup API

Find the people who write under a name.

GitHub OpenAPI

Operations 2

GET /v1/lookup Look up a songwriter by name #
GET /v1/explain Watch one pair of records decided #

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-lookup-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-lookup-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Songlinks Lookup 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:


# --- truncated at 32 KB (44 KB total) ---
# Full source: https://artifacts.apis.io/songlinks-io/openapi/songlinks-io-lookup-api-openapi.yml