Spotify API

Spotify Search API

Search Spotify for matching tracks, albums, artists, podcasts, and playlists by keyword.

POST/v1/run/spotify.search
Requests
-
30d

Pricing

One price, in dollars

Providers
Giraffe- served- uptime- p50$1.20/1k reqflat

Try it

Make your first request

Open in
Get a free key
Sample response
Free runs return only the first 3 results. Fund a key to get the full response.
{
  "data": {
    "albums": [
      {
        "id": "a1b2c3d4",
        "name": "Example title",
        "uri": "example",
        "year": 2024
      }
    ],
    "artists": [
      {
        "id": "a1b2c3d4",
        "name": "Example title",
        "uri": "example",
        "verified": true
      }
    ],
    "podcasts": [
      {
        "id": "a1b2c3d4",
        "name": "Example title",
        "publisher": "example"
      }
    ],
    "tracks": [
      {
        "id": "a1b2c3d4",
        "name": "Example title",
        "uri": "example"
      }
    ]
  },
  "found": true
}
Response interface
interface SpotifySearchResponse {
  data: {
    albums: {
      id: string;
      name: string;
      uri: string;
      year: number;
    }[];
    artists: {
      id: string;
      name: string;
      uri: string;
      verified: boolean;
    }[];
    podcasts: {
      id: string;
      name: string;
      publisher: string;
    }[];
    tracks: {
      id: string;
      name: string;
      uri: string;
    }[];
  } | null;
  found: boolean;
}

Full parameter and response reference - every field, type, and example for this endpoint.

Reference

Request, response, and price

Last verified 2026-09-16 · uptime and latency measured over 30d
POST /v1/run/spotify.search
curl -X POST https://api.getanyapi.com/v1/run/spotify.search \
  -H "Authorization: Bearer $ANYAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query":"my first million"}'
FieldTypeExample value
Request body
querystring"my first million"Search term (e.g. "my first million").
Response
dataobject
data.albumsobject[]Populated whenever the provider has data for the entity.
data.albums[].idstring
data.albums[].namestring
data.albums[].uristring
data.albums[].yearinteger
data.artistsobject[]Populated whenever the provider has data for the entity.
data.artists[].idstring
data.artists[].namestring
data.artists[].uristring
data.artists[].verifiedboolean
data.podcastsobject[]Populated whenever the provider has data for the entity.
data.podcasts[].idstring
data.podcasts[].namestring
data.podcasts[].publisherstring
data.tracksobject[]Populated whenever the provider has data for the entity.
data.tracks[].idstringPopulated whenever the provider has data for the entity.
data.tracks[].namestringPopulated whenever the provider has data for the entity.
data.tracks[].uristringPopulated whenever the provider has data for the entity.
foundboolean
Price
Price per requestUSD$0.0012
Price /1k reqUSD$1.20

FAQ

About the Spotify Search API

The AnyAPI Spotify Search API returns Spotify search data as normalized JSON from one POST call to /v1/run/spotify.search. Search Spotify for matching tracks, albums, artists, podcasts, and playlists by keyword. AnyAPI returns one normalized schema whichever source serves it. It costs from $1.20 per 1,000 requests, in US dollars with no subscription and no monthly minimum.

It costs from $1.20 per 1,000 requests, in US dollars with no subscription and no monthly minimum. You fund one USD wallet, each call draws it down, and a failed request costs $0.

Search Spotify for matching tracks, albums, artists, podcasts, and playlists by keyword. The response is normalized JSON with the same envelope every AnyAPI endpoint returns, so parsing a second endpoint is a change of URL and nothing else.