---
updatedAt: 2026-05-29T15:12:00.000Z
agentTools:
  projectIndex: https://artisttools.readme.io/llms.txt
---

# Get artist by Spotify ID

Artist boolean options accept true, false, 1 or 0; malformed values return 400. databaseOnly takes precedence over Spotify fetching. Returns a single artist profile, including demographic information and discography summary.

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "artist.tools V2 API",
    "description": "REST API for accessing artist.tools data about Spotify playlists, tracks, artists and curators, as well as miscellaneous utilities. All endpoints are read-only and require an `x-api-key` sent as a request header.",
    "version": "2.0.0"
  },
  "servers": [
    {
      "url": "https://api.artist.tools/v2",
      "description": "Production server"
    }
  ],
  "security": [
    {
      "ApiKeyAuth": []
    }
  ],
  "paths": {
    "/artists/{id}": {
      "get": {
        "tags": [
          "Artists"
        ],
        "summary": "Get artist by Spotify ID",
        "description": "Artist boolean options accept true, false, 1 or 0; malformed values return 400. databaseOnly takes precedence over Spotify fetching. Returns a single artist profile, including demographic information and discography summary.",
        "parameters": [
          {
            "$ref": "#/components/parameters/ArtistId"
          },
          {
            "$ref": "#/components/parameters/Lean"
          },
          {
            "$ref": "#/components/parameters/Update"
          },
          {
            "$ref": "#/components/parameters/DatabaseOnly"
          },
          {
            "$ref": "#/components/parameters/IncludeSnapshots"
          },
          {
            "$ref": "#/components/parameters/SkipSpotifyApi"
          },
          {
            "$ref": "#/components/parameters/SkipPresence"
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/ArtistResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "x-api-key"
      }
    },
    "parameters": {
      "ArtistId": {
        "name": "id",
        "in": "path",
        "required": true,
        "schema": {
          "type": "string",
          "example": "2PXRihjmDw1GiLfqkFLUWH"
        },
        "description": "Artist ID"
      },
      "Lean": {
        "name": "lean",
        "in": "query",
        "schema": {
          "type": "boolean"
        },
        "description": "Returns database-only data, unless the entity has not been ingested yet. Useful for speed."
      },
      "Update": {
        "name": "update",
        "in": "query",
        "schema": {
          "type": "boolean"
        },
        "description": "Force the service to refresh the data before returning. This will increase latency but provide the most up-to-date data."
      },
      "DatabaseOnly": {
        "name": "databaseOnly",
        "in": "query",
        "schema": {
          "type": "boolean"
        },
        "description": "Performs a database-only lookup, skipping external API calls. Useful for speed, or testing if we've ingested the data."
      },
      "SkipSpotifyApi": {
        "name": "skipSpotifyApi",
        "in": "query",
        "schema": {
          "type": "boolean",
          "default": true
        },
        "description": "Artist endpoints: skip Spotify metadata fetching. Set false to fetch current genres. Accepts true, false, 1 or 0."
      },
      "SkipPresence": {
        "name": "skipPresence",
        "in": "query",
        "schema": {
          "type": "boolean",
          "default": false
        },
        "description": "Artist endpoints: skip playlist presence aggregation for lightweight genre lookups. Accepts true, false, 1 or 0."
      },
      "IncludeSnapshots": {
        "name": "includeSnapshots",
        "in": "query",
        "schema": {
          "type": "boolean",
          "default": false
        },
        "description": "Include historical snapshots; omitted or false excludes history. Metrics on each snapshot are optional: absent or null means unknown, while 0 is a real measurement. Partial rows retain independent valid metrics and their capture time."
      }
    },
    "schemas": {
      "SuccessEnvelope": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean",
            "example": true
          },
          "status": {
            "type": "integer",
            "example": 200
          }
        },
        "required": [
          "success",
          "status"
        ]
      },
      "ErrorResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean",
            "example": false
          },
          "error": {
            "type": "string"
          },
          "status": {
            "type": "integer"
          }
        },
        "required": [
          "success",
          "error",
          "status"
        ]
      },
      "Artist": {
        "type": "object",
        "description": "Artist model. Primary delta fields, when present, are last-known calculations and may predate dataUpdatedAt; a successful refresh does not prove every metric was remeasured.",
        "properties": {
          "_id": {
            "type": "string",
            "description": "Internal database ID"
          },
          "spotifyId": {
            "type": "string",
            "description": "Spotify ID of the artist"
          },
          "name": {
            "type": "string",
            "description": "Name of the artist"
          },
          "coverArtUrl": {
            "type": "string",
            "description": "URL of the artist's cover art"
          },
          "popularity": {
            "type": "integer",
            "nullable": true,
            "description": "Popularity score from 0 to 100. Absent or null means unknown; 0 is a real score."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "Date the artist was ingested by artist.tools"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "Date the artist was last updated in our database, for any reason"
          },
          "dataUpdatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "Date the artist's core metrics were last updated"
          },
          "isRemoved": {
            "type": "boolean",
            "description": "Whether the artist has been removed from Spotify"
          },
          "entityType": {
            "type": "string",
            "enum": [
              "artist"
            ],
            "description": "Entity type identifier"
          },
          "followers": {
            "type": "object",
            "description": "Follower information for the artist",
            "properties": {
              "total": {
                "type": "integer",
                "description": "Total number of followers"
              }
            }
          },
          "genres": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Spotify determined genres of the artist"
          },
          "demographicData": {
            "type": "array",
            "description": "Geographic distribution of the artist's listeners",
            "items": {
              "type": "object",
              "properties": {
                "city": {
                  "type": "string",
                  "description": "City of listeners"
                },
                "country": {
                  "type": "string",
                  "description": "Country of listeners"
                },
                "region": {
                  "type": "string",
                  "description": "Region of listeners"
                },
                "listenerCount": {
                  "type": "integer",
                  "description": "Number of listeners in this location"
                }
              }
            }
          },
          "description": {
            "type": "string",
            "description": "Description of the artist"
          },
          "discography": {
            "type": "object",
            "description": "Artist's discography breakdown",
            "properties": {
              "albumIds": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Spotify IDs of albums"
              },
              "epIds": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Spotify IDs of EPs"
              },
              "singleIds": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Spotify IDs of singles"
              }
            }
          },
          "monthlyListeners": {
            "type": "integer",
            "description": "Estimated monthly listeners of the artist"
          },
          "playlistSummary": {
            "type": "object",
            "description": "Summary of the artist's presence in playlists, based on data from artist.tools",
            "properties": {
              "total": {
                "type": "integer",
                "description": "Total number of playlists the artist is in"
              },
              "followerReach": {
                "type": "integer",
                "description": "Total number of followers of the playlists the artist is in"
              },
              "fraud": {
                "type": "integer",
                "description": "Number of playlists the artist is in that are detected as botted"
              },
              "fraudSpotifyIds": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Spotify IDs of the playlists the artist is in that are detected as botted"
              }
            }
          },
          "snapshots": {
            "type": "array",
            "items": {
              "type": "object"
            },
            "description": "Optional historical metrics with createdAt; absent or null is unknown and 0 is real. Partial rows retain independent followers, monthlyListeners and other valid metrics, with real capture times and same-day rows preserved. Histories with multiple rows are newest first. Only followers.total is interpolated between accepted adjacent real endpoints and marked isInterpolated=true; other metrics and changes are not copied. Stored signed changes are preserved; an absent/null first change stays unknown.",
            "example": [
              {
                "createdAt": "2026-11-02T12:00:00.000Z",
                "monthlyListeners": 200
              },
              {
                "createdAt": "2026-11-01T12:00:00.000Z",
                "followers": {
                  "total": 100,
                  "change": null
                }
              }
            ]
          },
          "snapshotContext": {
            "$ref": "#/components/schemas/SnapshotContext"
          }
        }
      },
      "SnapshotEventTime": {
        "oneOf": [
          {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "kind",
              "at"
            ],
            "properties": {
              "kind": {
                "type": "string",
                "enum": [
                  "point"
                ]
              },
              "at": {
                "type": "string",
                "format": "date-time"
              }
            }
          },
          {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "kind",
              "startAt",
              "endAt"
            ],
            "properties": {
              "kind": {
                "type": "string",
                "enum": [
                  "range"
                ]
              },
              "startAt": {
                "type": "string",
                "format": "date-time"
              },
              "endAt": {
                "type": "string",
                "format": "date-time"
              }
            }
          }
        ],
        "description": "Explicit UTC point or start-inclusive/end-exclusive range."
      },
      "SnapshotEventTarget": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "entityType",
          "entityIds",
          "metrics"
        ],
        "properties": {
          "entityType": {
            "type": "string",
            "enum": [
              "all",
              "artist",
              "track",
              "playlist",
              "curator"
            ]
          },
          "entityIds": {
            "oneOf": [
              {
                "type": "string",
                "enum": [
                  "all"
                ]
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "metrics": {
            "oneOf": [
              {
                "type": "string",
                "enum": [
                  "all"
                ]
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          }
        }
      },
      "PublicSnapshotEvent": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "id",
          "title",
          "description",
          "platform",
          "time",
          "targets",
          "dataUse"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "platform": {
            "type": "string",
            "enum": [
              "spotify"
            ]
          },
          "time": {
            "$ref": "#/components/schemas/SnapshotEventTime"
          },
          "targets": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SnapshotEventTarget"
            }
          },
          "dataUse": {
            "type": "string",
            "enum": [
              "normal",
              "caution",
              "omit"
            ],
            "description": "Advisory only; cannot override server measurement policy."
          }
        },
        "description": "Enabled public explanation only. Never contains internal records, notes, effects or editor identities."
      },
      "SnapshotEventResult": {
        "type": "object",
        "required": [
          "revision",
          "events"
        ],
        "properties": {
          "revision": {
            "type": "string"
          },
          "events": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PublicSnapshotEvent"
            }
          }
        }
      },
      "SnapshotOmittedRange": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "startAt",
          "endAt",
          "metrics"
        ],
        "properties": {
          "startAt": {
            "type": "string",
            "format": "date-time"
          },
          "endAt": {
            "type": "string",
            "format": "date-time"
          },
          "metrics": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "description": "Neutral availability boundary, including private incidents. No event ID or reason. Never interpolate or carry affected values across this range."
      },
      "SnapshotContext": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SnapshotEventResult"
          },
          {
            "type": "object",
            "required": [
              "omittedRanges"
            ],
            "properties": {
              "omittedRanges": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/SnapshotOmittedRange"
                }
              }
            }
          }
        ]
      }
    },
    "responses": {
      "ArtistResponse": {
        "description": "Single artist profile with demographics, discography summary, and playlist placement stats",
        "content": {
          "application/json": {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/SuccessEnvelope"
                },
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "enum": [
                        "artist"
                      ]
                    },
                    "data": {
                      "$ref": "#/components/schemas/Artist"
                    }
                  }
                }
              ]
            },
            "example": {
              "success": true,
              "status": 200,
              "type": "artist",
              "data": {
                "spotifyId": "2PXRihjmDw1GiLfqkFLUWH",
                "name": "Tame Impala",
                "coverArtUrl": "https://i.scdn.co/image/ab6761610000e5eb2PXRihjmDw1GiLfqkFLUWH",
                "popularity": 79,
                "createdAt": "2024-01-20T12:00:00.000Z",
                "updatedAt": "2026-04-08T10:00:00.000Z",
                "dataUpdatedAt": "2026-04-08T10:00:00.000Z",
                "isRemoved": false,
                "entityType": "artist",
                "followers": {
                  "total": 8500000
                },
                "genres": [
                  "psychedelic rock",
                  "indie rock",
                  "neo-psychedelia"
                ],
                "demographicData": [
                  {
                    "city": "Sydney",
                    "country": "AU",
                    "region": "New South Wales",
                    "listenerCount": 245000
                  },
                  {
                    "city": "Melbourne",
                    "country": "AU",
                    "region": "Victoria",
                    "listenerCount": 198000
                  },
                  {
                    "city": "Los Angeles",
                    "country": "US",
                    "region": "California",
                    "listenerCount": 175000
                  }
                ],
                "description": "Tame Impala is the psychedelic music project of Australian multi-instrumentalist Kevin Parker.",
                "discography": {
                  "albumIds": [
                    "9nH0aoyuBKya22fNO1RHHA",
                    "31qVWUdRrlb8thMvts1yAD"
                  ],
                  "epIds": [],
                  "singleIds": [
                    "2X485T9Z5Ly0xyaghN73ed",
                    "5UqCQaDshqbIk3pkhy4Pjg"
                  ]
                },
                "monthlyListeners": 22500000,
                "playlistSummary": {
                  "total": 3200,
                  "followerReach": 420000000,
                  "fraud": 12,
                  "fraudSpotifyIds": [
                    "6eA2xMFHHYxlwAWzIzfyuK"
                  ]
                }
              }
            }
          }
        }
      },
      "NotFound": {
        "description": "Resource not found",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorResponse"
            }
          }
        }
      },
      "BadRequest": {
        "description": "Client error",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorResponse"
            }
          }
        }
      }
    }
  }
}
```