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

# Get artist albums

> Get albums for the specified artist



## OpenAPI

````yaml api-reference/spotify-openapi.json get /api/v1/artists/albums
openapi: 3.1.0
info:
  title: Spotify APIs
  description: Spotify API Documentation
  version: 1.0.0
servers:
  - url: https://spotify-api31.p.rapidapi.com
security: []
paths:
  /api/v1/artists/albums:
    get:
      tags:
        - Artists
      summary: Get artist albums
      description: Get albums for the specified artist
      operationId: getApiV1ArtistsAlbums
      parameters:
        - in: query
          name: uri
          schema:
            type: string
            pattern: ^spotify:artist:[a-zA-Z0-9]+$
            description: Spotify artist URI to get artist albums
            example: spotify:artist:1yxSLGMDHlW21z4YXirZDS
          required: true
        - in: query
          name: offset
          schema:
            type: number
            minimum: 0
            description: 'Offset for pagination (default: 0)'
            example: 0
            default: 0
          required: false
        - in: query
          name: limit
          schema:
            type: number
            minimum: 1
            maximum: 100
            default: 20
            description: Number of results to return
            example: 20
          required: false
        - in: query
          name: order_by
          schema:
            type: string
            enum:
              - DATE_ASC
              - DATE_DESC
            default: DATE_DESC
            description: Order by
            example: DATE_DESC
          required: false
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: Success
                  statusCode:
                    type: number
                    example: 200
                  pagination:
                    type: object
                    properties:
                      total:
                        type: number
                        example: 100
                      hasMore:
                        type: boolean
                        example: true
                      continuation:
                        type:
                          - string
                          - 'null'
                        description: Continuation token for pagination
                        example: CDsQ8FsiEwje95_F1pmRAxXlsykDHUX
                  data:
                    type: object
                    properties:
                      totalCount:
                        type: number
                        description: Total number of albums
                        example: 16
                      items:
                        type: array
                        items:
                          type: object
                          properties:
                            releases:
                              type: object
                              properties:
                                items:
                                  type: array
                                  items:
                                    type: object
                                    properties:
                                      id:
                                        type: string
                                        description: Album ID
                                        example: 2jCgqL6qRRF8yuQhc21qVQ
                                      name:
                                        type: string
                                        description: Album name
                                        example: >-
                                          Monkey Business (20th Anniversary
                                          Edition)
                                      uri:
                                        type: string
                                        description: Spotify album URI
                                        example: spotify:album:2jCgqL6qRRF8yuQhc21qVQ
                                      type:
                                        type: string
                                        description: Release type
                                        example: ALBUM
                                      coverArts:
                                        type: array
                                        items:
                                          type: object
                                          properties:
                                            url:
                                              type: string
                                              description: Image URL
                                              example: >-
                                                https://i.scdn.co/image/ab67616d00001e02157dc50520610ef539250300
                                            width:
                                              type: number
                                              description: Image width in pixels
                                              example: 300
                                            height:
                                              type: number
                                              description: Image height in pixels
                                              example: 300
                                          required:
                                            - url
                                            - width
                                            - height
                                        description: Array of cover art images
                                      date:
                                        type: object
                                        properties:
                                          isoString:
                                            type: string
                                            description: Date in ISO 8601 format
                                            example: '2025-06-06T00:00:00Z'
                                          precision:
                                            type: string
                                            description: Date precision
                                            example: DAY
                                          year:
                                            type: number
                                            description: Year
                                            example: 2025
                                        required:
                                          - isoString
                                          - precision
                                          - year
                                        description: Release date information
                                      playability:
                                        type: object
                                        properties:
                                          playable:
                                            type: boolean
                                            description: Whether the album is playable
                                            example: true
                                          reason:
                                            type: string
                                            description: Playability reason
                                            example: PLAYABLE
                                        required:
                                          - playable
                                          - reason
                                        description: Playability information
                                      sharingInfo:
                                        type: object
                                        properties:
                                          shareUrl:
                                            type: string
                                            description: Share URL
                                            example: >-
                                              https://open.spotify.com/album/2jCgqL6qRRF8yuQhc21qVQ?si=8pOb6lH2TD6CPLfO45SohA
                                          shareId:
                                            type: string
                                            description: Share ID
                                            example: 8pOb6lH2TD6CPLfO45SohA
                                        required:
                                          - shareUrl
                                          - shareId
                                        description: Sharing information
                                      tracks:
                                        type: object
                                        properties:
                                          totalCount:
                                            type: number
                                            description: Total number of tracks
                                            example: 31
                                        required:
                                          - totalCount
                                        description: Tracks information
                                    required:
                                      - id
                                      - name
                                      - uri
                                      - type
                                  description: Array of album releases
                              description: Releases information
                        description: Array of album items
                    description: Artist albums information
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: Bad request
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: Invalid API key
        '403':
          description: Not Found
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: >-
                      You are not subscribed to this API, please subscribe
                      before using
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: false
                  message:
                    type: string
                    example: Internal Server Error
                  status_code:
                    type: number
                    example: 500
                  cost:
                    type: number
                    example: 0
                  explain:
                    type: string
                    example: Internal Server Error
      security:
        - apiKeyAuth: []
components:
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-rapidapi-key
      description: API Key

````