> ## Documentation Index
> Fetch the complete documentation index at: https://docs.diskograf.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get namesake hints

> For artists whose names collide, a short hint that tells them apart — the editor-supplied disambiguator when one exists, otherwise the artist's most-credited role and best-known song. Only returns rows for ids that actually collide.



## OpenAPI

````yaml /openapi.json get /v1/artists/namesake-hints
openapi: 3.1.0
info:
  title: Diskograf API
  description: >-
    A public, read-only REST API over the Diskograf catalogue of Malaysian
    music.


    No authentication is required and no endpoint writes. Requests are rate
    limited

    to 60 per 60 seconds per IP address.


    Every successful response is wrapped in an envelope. List endpoints return

    `{ "data": [...], "meta": { "total", "limit", "offset" } }`; detail
    endpoints

    return `{ "data": {...} }`. Errors return `{ "error": { "code", "message" }
    }`.
  version: 1.0.0
servers:
  - url: https://api.diskograf.com
    description: Production
security: []
tags:
  - name: Songs
    description: The catalogue of published songs and their credits.
  - name: Artists
    description: Performers, writers and producers, and their discographies.
  - name: Genres
    description: The genre taxonomy and the songs in each genre.
  - name: Labels
    description: Record labels and their releases.
  - name: Users
    description: Public contributor profiles. Private account fields are never returned.
  - name: Search
    description: Cross-category keyword search.
  - name: Meta
    description: Service index, statistics and health.
paths:
  /v1/artists/namesake-hints:
    get:
      tags:
        - Artists
      summary: Get namesake hints
      description: >-
        For artists whose names collide, a short hint that tells them apart —
        the editor-supplied disambiguator when one exists, otherwise the
        artist's most-credited role and best-known song. Only returns rows for
        ids that actually collide.
      operationId: getV1ArtistsNamesakeHints
      parameters:
        - name: ids
          in: query
          required: true
          schema:
            type: string
          description: >-
            Between 1 and 200 artist ids. Repeat the parameter or
            comma-separate.
      responses:
        '200':
          description: Hints for the colliding ids.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          minimum: -9007199254740991
                          maximum: 9007199254740991
                        disambiguator:
                          anyOf:
                            - type: string
                            - type: 'null'
                        role:
                          anyOf:
                            - type: string
                            - type: 'null'
                        song:
                          anyOf:
                            - type: string
                            - type: 'null'
                        song_year:
                          anyOf:
                            - type: integer
                              minimum: -9007199254740991
                              maximum: 9007199254740991
                            - type: 'null'
                      required:
                        - id
                        - disambiguator
                        - role
                        - song
                        - song_year
                  meta:
                    type: object
                    properties:
                      total:
                        type: integer
                        minimum: -9007199254740991
                        maximum: 9007199254740991
                        description: >-
                          Total rows matching the query, ignoring limit and
                          offset.
                      limit:
                        type: integer
                        minimum: -9007199254740991
                        maximum: 9007199254740991
                        description: >-
                          Page size actually applied. Bounded by
                          apiConfig.maxLimit (80).
                      offset:
                        type: integer
                        minimum: -9007199254740991
                        maximum: 9007199254740991
                        description: Zero-based row offset of this page.
                    required:
                      - total
                      - limit
                      - offset
                required:
                  - data
                  - meta
        '400':
          $ref: '#/components/responses/BadRequest'
components:
  responses:
    BadRequest:
      description: >-
        A query or path parameter failed validation. The message names the
        offending field.
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: object
                properties:
                  code:
                    type: string
                    enum:
                      - not_found
                      - bad_request
                      - internal_error
                  message:
                    type: string
                required:
                  - code
                  - message
            required:
              - error

````