---
updatedAt: 2025-03-13T02:13:58.000Z
agentTools:
  projectIndex: https://spotscraper.readme.io/llms.txt
---

# Get artist by ID

Retrieves detailed information about a specific artist

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "SpotScraper API",
    "description": "API for retrieving Spotify data including albums, artists, playlists, tracks, podcasts, and users",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://api.spotscraper.com/v1",
      "description": "Production server"
    }
  ],
  "security": [
    {
      "ApiKeyAuth": []
    }
  ],
  "paths": {
    "/artists/{id}": {
      "get": {
        "tags": [
          "Artists"
        ],
        "summary": "Get artist by ID",
        "description": "Retrieves detailed information about a specific artist",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Spotify Artist ID"
          }
        ],
        "responses": {
          "200": {
            "description": "Artist found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ArtistResponse"
                }
              }
            }
          },
          "404": {
            "description": "Artist not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "x-api-key"
      }
    },
    "schemas": {
      "Artist": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "artist"
            ]
          },
          "id": {
            "type": "string",
            "description": "Spotify Artist ID"
          },
          "uri": {
            "type": "string",
            "description": "Spotify Artist URI"
          },
          "name": {
            "type": "string",
            "description": "Artist name"
          },
          "popularity": {
            "type": "integer",
            "description": "Artist popularity (0-100)"
          },
          "genres": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Genres associated with the artist"
          },
          "metadata": {
            "type": "object",
            "properties": {
              "verified": {
                "type": "boolean",
                "description": "Whether the artist is verified"
              },
              "biography": {
                "type": "string",
                "description": "Artist biography"
              },
              "externalLinks": {
                "type": "array",
                "items": {
                  "type": "object"
                },
                "description": "External links for the artist"
              }
            }
          },
          "images": {
            "type": "object",
            "properties": {
              "avatar": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "url": {
                      "type": "string"
                    },
                    "width": {
                      "type": "integer"
                    },
                    "height": {
                      "type": "integer"
                    }
                  }
                }
              },
              "header": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "url": {
                      "type": "string"
                    },
                    "width": {
                      "type": "integer"
                    },
                    "height": {
                      "type": "integer"
                    }
                  }
                }
              },
              "gallery": {
                "type": "array",
                "items": {
                  "type": "object"
                }
              }
            }
          },
          "statistics": {
            "type": "object",
            "properties": {
              "monthlyListeners": {
                "type": "integer",
                "description": "Monthly listener count"
              },
              "followers": {
                "type": "integer",
                "description": "Follower count"
              },
              "worldRank": {
                "type": "integer",
                "description": "Global ranking"
              },
              "topCities": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "city": {
                      "type": "string"
                    },
                    "country": {
                      "type": "string"
                    },
                    "region": {
                      "type": "string"
                    },
                    "listenerCount": {
                      "type": "integer"
                    }
                  }
                }
              }
            }
          },
          "music": {
            "type": "object",
            "properties": {
              "topTracks": {
                "type": "object"
              },
              "latest": {
                "type": "object"
              },
              "releases": {
                "type": "object",
                "properties": {
                  "albums": {
                    "type": "object"
                  },
                  "singles": {
                    "type": "object"
                  },
                  "compilations": {
                    "type": "object"
                  },
                  "popularAlbums": {
                    "type": "object"
                  }
                }
              }
            }
          },
          "related": {
            "type": "object",
            "properties": {
              "artists": {
                "type": "object"
              },
              "appearsOn": {
                "type": "object"
              },
              "features": {
                "type": "object"
              },
              "playlists": {
                "type": "object",
                "properties": {
                  "total": {
                    "type": "integer"
                  },
                  "items": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "uri": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "description": {
                          "type": "string"
                        },
                        "owner": {
                          "type": "object",
                          "properties": {
                            "name": {
                              "type": "string"
                            }
                          }
                        },
                        "images": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "url": {
                                "type": "string"
                              },
                              "width": {
                                "type": "integer"
                              },
                              "height": {
                                "type": "integer"
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "merchandise": {
            "type": "object",
            "properties": {
              "concerts": {
                "type": "object"
              },
              "products": {
                "type": "object"
              }
            }
          }
        }
      },
      "ArtistResponse": {
        "type": "object",
        "properties": {
          "data": {
            "$ref": "#/components/schemas/Artist"
          },
          "type": {
            "type": "string",
            "enum": [
              "artist"
            ]
          }
        }
      },
      "ErrorResponse": {
        "type": "object",
        "properties": {
          "message": {
            "type": "string",
            "description": "Error message"
          },
          "status": {
            "type": "integer",
            "format": "int32",
            "description": "HTTP status code"
          }
        }
      }
    }
  }
}
```