# Spotify API

> The world's largest music streaming service: song search, song details with total plays, and artist profiles with monthly listeners and top songs.

Canonical page: https://okdata.online/apis/spotify/

3 endpoints, $0.003 per call. Region: Global. No Spotify login or cookies needed.

| Endpoint | ID | Returns | Price |
|---|---|---|---|
| [Spotify track search](https://okdata.online/apis/spotify/tracks/search/) | `spotify.tracks.search` | Music[] | $0.003 per call · about 20 results per page |
| [Spotify track details](https://okdata.online/apis/spotify/tracks/get/) | `spotify.tracks.get` | Music | $0.003 per call |
| [Spotify artist profile](https://okdata.online/apis/spotify/artists/get/) | `spotify.artists.get` | Account | $0.003 per call |

## Good for

- 트렌드 리서치: `spotify.tracks.search`
- 콘텐츠 리서치: `spotify.tracks.search`, `spotify.tracks.get`
- 경쟁사 모니터링: `spotify.tracks.get`, `spotify.artists.get`
- 크리에이터 발굴: `spotify.artists.get`

## At a glance

3 Spotify endpoints covering Tracks and Artists, from $0.003 a call. No Spotify account or cookie needed.

Categories: [소셜 미디어](https://okdata.online/categories/social/)

- **Endpoints**: 3 endpoints. In 2 groups, one response format.
- **Lowest price**: From $0.003. A call, paid from a prepaid balance.
- **Freshness**: Live. Read from the platform when you call.
- **Monthly fee**: $0. No subscription or minimum spend.

- [Start free](https://okdata.online/console/)
- Try one: [Spotify track search](https://okdata.online/apis/spotify/tracks/search/)
- Spotify in Claude, Cursor and other agents: [Spotify MCP](https://okdata.online/mcp/spotify/)

## Endpoints by group

### Tracks (2)

| Endpoint | Request | Returns | Price |
|---|---|---|---|
| [Track search](https://okdata.online/apis/spotify/tracks/search/) | `GET /v1/spotify/tracks/search` | Music[] | $0.003 per call |
| [Track details](https://okdata.online/apis/spotify/tracks/get/) | `GET /v1/spotify/tracks/get` | Music | $0.003 per call |

### Artists (1)

| Endpoint | Request | Returns | Price |
|---|---|---|---|
| [Artist profile](https://okdata.online/apis/spotify/artists/get/) | `GET /v1/spotify/artists/get` | Account | $0.003 per call |

- [Spotify API pricing](https://okdata.online/pricing/spotify/)
- [Spotify in your AI (MCP)](https://okdata.online/mcp/spotify/)
- [Live status](https://okdata.online/status/)

## What people do with Spotify data

- [콘텐츠 리서치](https://okdata.online/solutions/content-research/): “What do the top posts on this topic have in common?” [Track search](https://okdata.online/apis/spotify/tracks/search/) $0.003, [Track details](https://okdata.online/apis/spotify/tracks/get/) $0.003
- [경쟁사 모니터링](https://okdata.online/solutions/competitor-monitoring/): “What did our competitors post this week, and what took off?” [Track details](https://okdata.online/apis/spotify/tracks/get/) $0.003, [Artist profile](https://okdata.online/apis/spotify/artists/get/) $0.003
- [트렌드 리서치](https://okdata.online/solutions/trend-research/): “What is trending today that we could ride?” [Track search](https://okdata.online/apis/spotify/tracks/search/) $0.003
- [크리에이터 발굴](https://okdata.online/solutions/creator-discovery/): “Who are the mid-size creators in camping gear?” [Artist profile](https://okdata.online/apis/spotify/artists/get/) $0.003

## Start in three steps

1. Get a key: [open the console](https://okdata.online/console/). A new key comes with $0.20 to try, no card.
2. Connect your AI with this sentence (swap in your key), or call the API yourself:

   > Set up okdata for me by following https://okdata.online/agents.md. Here is my okdata API key: okd_…. Keep it safe and use it for all okdata calls.

3. Make the first call (Spotify track search). Items arrive in data.items, the next page in page.next_cursor, the charge in meta.billing.amount.

```bash
curl -G "https://api.okdata.online/v1/spotify/tracks/search" \
  -H "Authorization: Bearer $OKDATA_API_KEY" \
  --data-urlencode 'query=taylor swift'
```

## Questions about the Spotify API

### What does the Spotify API cost?

Each of the 3 endpoints has its own price, $0.003 a call; the cheapest is Spotify artist profile at $0.003. You pay per call from a prepaid balance, with no subscription. A call that reaches the platform is charged even when it comes back empty, not found or failed; one stopped before that, such as for bad parameters, is free.

### Do I need a Spotify account or cookie?

No. You call https://api.okdata.online with one okdata key and get public Spotify data back; you never use your own Spotify account, cookie or QR login.

### How fresh is the data?

A request reads Spotify when you call, unless the same request was answered a short while ago: then the answer can come from the result cache, with meta.cached: true and meta.fetched_at saying when it was read (lists and searches up to 30 minutes old, one post or product up to 1 hour, profiles up to 6 hours).

### Can my AI agent use the Spotify API?

Yes. Connect the MCP server at https://api.okdata.online/mcp: its find tool lists these 3 endpoints with their prices, and its call tool runs them on your key.

### Can I try it for free?

New accounts get $0.20 of trial credit with no card: enough for 66 calls to Spotify artist profile.

## Other platforms

[TikTok API](https://okdata.online/apis/tiktok/) · [YouTube API](https://okdata.online/apis/youtube/) · [Instagram API](https://okdata.online/apis/instagram/) · [X (Twitter) API](https://okdata.online/apis/x/) · [Reddit API](https://okdata.online/apis/reddit/) · [Amazon API](https://okdata.online/apis/amazon/) · [AliExpress API](https://okdata.online/apis/aliexpress/) · [Meta Ad Library API](https://okdata.online/apis/meta/) · [Google API](https://okdata.online/apis/google/) · [Telegram API](https://okdata.online/apis/telegram/) · [Facebook API](https://okdata.online/apis/facebook/) · [LinkedIn API](https://okdata.online/apis/linkedin/) · [Threads API](https://okdata.online/apis/threads/) · [Lemon8 API](https://okdata.online/apis/lemon8/) · [Pinterest API](https://okdata.online/apis/pinterest/) · [Bluesky API](https://okdata.online/apis/bluesky/) · [App Store API](https://okdata.online/apis/app_store/) · [Apple Podcasts API](https://okdata.online/apis/apple_podcasts/) · [Twitch API](https://okdata.online/apis/twitch/) · [IMDb API](https://okdata.online/apis/imdb/) · [Shopee API](https://okdata.online/apis/shopee/) · [eBay API](https://okdata.online/apis/ebay/) · [Trustpilot API](https://okdata.online/apis/trustpilot/) · [G2 API](https://okdata.online/apis/g2/) · [Capterra API](https://okdata.online/apis/capterra/) · [Yelp API](https://okdata.online/apis/yelp/) · [Tripadvisor API](https://okdata.online/apis/tripadvisor/) · [Google Play API](https://okdata.online/apis/google_play/) · [Similarweb API](https://okdata.online/apis/similarweb/) · [Walmart API](https://okdata.online/apis/walmart/) · [Etsy API](https://okdata.online/apis/etsy/) · [Temu API](https://okdata.online/apis/temu/) · [GitHub API](https://okdata.online/apis/github/) · [Dailymotion API](https://okdata.online/apis/dailymotion/) · [SoundCloud API](https://okdata.online/apis/soundcloud/) · [Medium API](https://okdata.online/apis/medium/) · [Substack API](https://okdata.online/apis/substack/) · [Naver API](https://okdata.online/apis/naver/) · [Booking.com API](https://okdata.online/apis/booking/) · [Glassdoor API](https://okdata.online/apis/glassdoor/) · [Indeed API](https://okdata.online/apis/indeed/) · [Airbnb API](https://okdata.online/apis/airbnb/) · [Product Hunt API](https://okdata.online/apis/producthunt/) · [Quora API](https://okdata.online/apis/quora/) · [Xiaohongshu (RedNote) API](https://okdata.online/apis/xiaohongshu/) · [Douyin API](https://okdata.online/apis/douyin/) · [WeChat Official Accounts API](https://okdata.online/apis/wechat_mp/) · [WeChat Channels API](https://okdata.online/apis/wechat_channels/) · [WeChat Search API](https://okdata.online/apis/wechat/) · [Weibo API](https://okdata.online/apis/weibo/) · [Bilibili API](https://okdata.online/apis/bilibili/) · [Kuaishou API](https://okdata.online/apis/kuaishou/) · [Zhihu API](https://okdata.online/apis/zhihu/) · [Douyin Shop API](https://okdata.online/apis/douyin_shop/) · [Taobao & Tmall API](https://okdata.online/apis/taobao/) · [1688 API](https://okdata.online/apis/alibaba_1688/) · [Xianyu (Goofish) API](https://okdata.online/apis/xianyu/) · [JD.com API](https://okdata.online/apis/jd/) · [Douban Movie API](https://okdata.online/apis/douban/) · [Youku API](https://okdata.online/apis/youku/) · [Xiaoyuzhou (小宇宙) API](https://okdata.online/apis/xiaoyuzhou/) · [Pipixia (皮皮虾) API](https://okdata.online/apis/pipixia/) · [iQiyi API](https://okdata.online/apis/iqiyi/) · [NetEase Cloud Music API](https://okdata.online/apis/netease_music/) · [Toutiao API](https://okdata.online/apis/toutiao/) · [Xigua Video API](https://okdata.online/apis/xigua/) · [Baidu API](https://okdata.online/apis/baidu/) · [전체 플랫폼 API](https://okdata.online/apis/all/)
