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

# Tracks

> Get all tracks by an artist with popularity data.



## OpenAPI

````yaml api-reference/openapi/research.json GET /api/research/tracks
openapi: 3.1.0
info:
  title: Recoup API - Research
  description: >-
    API documentation for the Recoup platform - an AI agent platform for the
    music industry
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.recoupable.dev
security: []
paths:
  /api/research/tracks:
    get:
      description: Get all tracks by an artist with popularity data.
      parameters:
        - name: artist
          in: query
          required: false
          description: Artist name. Required unless `id` is provided.
          schema:
            type: string
        - name: id
          in: query
          required: false
          description: >-
            Provider artist ID returned by lookup or search. Required unless
            `artist` is provided.
          schema:
            type: string
            pattern: ^[A-Za-z0-9][A-Za-z0-9._:-]*$
            example: artist_123
      responses:
        '200':
          description: Artist tracks
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResearchTracksResponse'
        '400':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResearchErrorResponse'
        '401':
          description: Authentication failed — invalid or missing API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResearchErrorResponse'
        '501':
          $ref: '#/components/responses/ResearchDataSourceUnsupported'
components:
  schemas:
    ResearchTracksResponse:
      type: object
      description: Artist catalog (tracks view).
      properties:
        status:
          type: string
          example: success
        tracks:
          type: array
          items:
            $ref: '#/components/schemas/ResearchCatalogItem'
    ResearchErrorResponse:
      type: object
      required:
        - status
        - error
      description: >-
        Error response returned by all research endpoints for validation
        failures (400) and authentication errors (401).
      properties:
        status:
          type: string
          enum:
            - error
          example: error
        error:
          type: string
          description: Human-readable error message describing what went wrong.
          example: 'Missing required parameter: artist'
    ResearchCatalogItem:
      type: object
      description: >-
        Catalog entry. Unfiltered — high-catalog artists include
        remixes/features.
      properties:
        title:
          type: string
        avatar:
          type: string
        release_date:
          type: string
          nullable: true
        site_url:
          type: string
        isrcs:
          type: array
          items:
            type: string
        artists:
          type: array
          items:
            $ref: '#/components/schemas/ResearchArtistMini'
      additionalProperties: true
    ResearchArtistMini:
      type: object
      description: Minimal artist reference embedded in catalog/activity payloads.
      properties:
        name:
          type: string
      additionalProperties: true
  responses:
    ResearchDataSourceUnsupported:
      description: >-
        The configured research data source does not support this endpoint or
        data shape.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ResearchErrorResponse'
          example:
            status: error
            error: Request failed with status 501

````