# Kworb API

> Kworb returns Spotify charts, artist streaming totals, and YouTube music charts as a workflow and API.

Kworb’s Get spotify daily chart returns ranked songs and streaming totals for a country or worldwide, using a country name or code and a result count. Get artist stream counts returns an artist’s tracked Spotify totals, songs, and albums; it needs an artist name and can take a song count. Get youtube music chart returns worldwide or country music charts ordered by daily views, using a country name or code and a result count.

- Page: https://fous.com/tools/kworb
- Handle: `@kworb`
- Category: [Entertainment](https://fous.com/tools/category/entertainment)
- Source website: https://kworb.net
- Last verified: Sep 30, 2026

## Methods

### Get artist stream counts

Operation `get_artist_stream_counts`, version 1. 1 credit per completed call. Failed calls without a completed billing receipt are free; completed work can remain charged if delivery is interrupted.

Get an artist’s tracked Spotify streaming totals, most-streamed songs, and albums from Kworb. Songs are limited to the number requested (up to 500); Kworb may track more songs than it displays. Daily song or album streams may be unavailable.

**Input**

| Field | Type | Required | Example | Description |
|---|---|---|---|---|
| `artist` | string | yes | `"Bad Bunny"` | Artist name as shown on Kworb, for example Bad Bunny. |
| `max_results` | integer | no | `3` | Maximum most-streamed songs to return, for example 50. |

**Input schema**

```json
{
  "type": "object",
  "required": [
    "artist"
  ],
  "properties": {
    "artist": {
      "type": "string",
      "description": "Artist name as shown on Kworb, for example Bad Bunny.",
      "examples": [
        "Bad Bunny",
        "Taylor Swift",
        "Gilberto Gil"
      ]
    },
    "max_results": {
      "type": "integer",
      "default": 50,
      "maximum": 500,
      "minimum": 1,
      "description": "Maximum most-streamed songs to return, for example 50.",
      "x-fous-developer": true,
      "examples": [
        3,
        500
      ]
    }
  },
  "additionalProperties": false,
  "examples": [
    {
      "artist": "Bad Bunny"
    },
    {
      "artist": "Taylor Swift",
      "max_results": 3
    },
    {
      "artist": "Gilberto Gil",
      "max_results": 500
    }
  ]
}
```

**Output**

| Field | Type | Example | Description |
|---|---|---|---|
| `songs` | array |  | Most-streamed songs, in descending total streams. |
| `songs[].title` | string | `"LA CANCIÓN"` |  |
| `songs[].page_link` | string | `"https://open.spotify.com/track/0fea68AdmYNygeTGI4RC18"` | Song page on Spotify. |
| `songs[].artist_role` | string | `"featured"` |  |
| `songs[].daily_streams` | integer or null | `935934` | Daily streams, or null when Kworb leaves the cell blank. |
| `songs[].total_streams` | integer | `2731789579` |  |
| `albums` | array |  | Albums shown by Kworb, in descending total streams. |
| `albums[].title` | string | `"Un Verano Sin Ti"` |  |
| `albums[].page_link` | string | `"https://open.spotify.com/album/3RQQmkQEvNCY4prGKE6oc5"` | Album page on Spotify. |
| `albums[].daily_streams` | integer or null | `7293936` | Daily streams, or null when Kworb leaves the cell blank. |
| `albums[].total_streams` | integer | `24355176235` |  |
| `artist` | string | `"Bad Bunny"` | Artist name on Kworb. |
| `kworb_link` | string | `"https://kworb.net/spotify/artist/4q3ewBCX7sLwd24euuV69X_songs.html"` | Artist’s Kworb songs page. |
| `daily_streams` | integer | `44962189` | Daily Spotify streams across tracked songs. |
| `songs_tracked` | integer | `271` | Number of tracks counted in the artist totals. |
| `total_streams` | integer | `130326086406` | All-time Spotify streams across tracked songs. |
| `spotify_artist_id` | string | `"4q3ewBCX7sLwd24euuV69X"` | Spotify artist identifier. |

**Example input**

```json
{
  "artist": "Bad Bunny"
}
```

**Example output**

```json
{
  "songs": [
    {
      "title": "LA CANCIÓN",
      "page_link": "https://open.spotify.com/track/0fea68AdmYNygeTGI4RC18",
      "artist_role": "featured",
      "daily_streams": 935934,
      "total_streams": 2731789579
    },
    {
      "title": "DÁKITI",
      "page_link": "https://open.spotify.com/track/4MzXwWMhyBbmu6hOcLVD49",
      "artist_role": "lead",
      "daily_streams": 514131,
      "total_streams": 2573929515
    },
    {
      "title": "Tití Me Preguntó",
      "page_link": "https://open.spotify.com/track/1IHWl5LamUGEuP4ozKQSXZ",
      "artist_role": "lead",
      "daily_streams": 994003,
      "total_streams": 2390984178
    }
  ],
  "albums": [
    {
      "title": "Un Verano Sin Ti",
      "page_link": "https://open.spotify.com/album/3RQQmkQEvNCY4prGKE6oc5",
      "daily_streams": 7293936,
      "total_streams": 24355176235
    },
    {
      "title": "DeBÍ TiRAR MáS FOToS",
      "page_link": "https://open.spotify.com/album/5K79FLRUCSysQnVESLcTdb",
      "daily_streams": 10026075,
      "total_streams": 13511329875
    },
    {
      "title": "YHLQMDLG",
      "page_link": "https://open.spotify.com/album/5lJqux7orBlA1QzyiBGti1",
      "daily_streams": 2934009,
      "total_streams": 12965796016
    }
  ],
  "artist": "Bad Bunny",
  "kworb_link": "https://kworb.net/spotify/artist/4q3ewBCX7sLwd24euuV69X_songs.html",
  "daily_streams": 44962189,
  "songs_tracked": 271,
  "total_streams": 130326086406,
  "spotify_artist_id": "4q3ewBCX7sLwd24euuV69X"
}
```

### Get spotify daily chart

Operation `get_spotify_daily_chart`, version 1. 1 credit per completed call. Failed calls without a completed billing receipt are free; completed work can remain charged if delivery is interrupted.

Get the latest published Spotify daily Top 200 chart for a country or worldwide, with rankings and streaming totals. The chart date may be earlier than today; some listed countries have no available chart.

**Input**

| Field | Type | Required | Example | Description |
|---|---|---|---|---|
| `country` | string | no | `"United States"` | Country name or two-letter country code, or global for the worldwide chart. Example: United States. |
| `max_results` | integer | no | `5` | How many top-ranked songs to include, from 1 to 200. Example: 20. |

**Input schema**

```json
{
  "type": "object",
  "properties": {
    "country": {
      "type": "string",
      "default": "global",
      "description": "Country name or two-letter country code, or global for the worldwide chart. Example: United States.",
      "examples": [
        "United States",
        "global",
        "gb"
      ]
    },
    "max_results": {
      "type": "integer",
      "default": 200,
      "maximum": 200,
      "minimum": 1,
      "description": "How many top-ranked songs to include, from 1 to 200. Example: 20.",
      "x-fous-developer": true,
      "examples": [
        5,
        20,
        3
      ]
    }
  },
  "additionalProperties": false,
  "examples": [
    {
      "country": "United States",
      "max_results": 5
    },
    {
      "country": "global",
      "max_results": 20
    },
    {
      "country": "gb",
      "max_results": 3
    }
  ]
}
```

**Output**

| Field | Type | Example | Description |
|---|---|---|---|
| `country` | string | `"United States"` | Country or Global shown by the chart. |
| `entries` | array |  | Songs in chart order. |
| `entries[].artist` | string | `"Taylor Swift"` |  |
| `entries[].position` | integer | `1` |  |
| `entries[].song_url` | string | `"https://kworb.net/spotify/track/11hcBLPtbMp4aQI6zGQLub.html"` | Link to the song page. |
| `entries[].song_title` | string | `"Patient Zero"` |  |
| `entries[].daily_streams` | integer or null | `1526543` |  |
| `entries[].days_on_chart` | integer or null | `3` |  |
| `entries[].peak_position` | integer or null | `1` |  |
| `entries[].featured_artists` | string or null | `"Taylor Swift"` | Other credited artists shown after the title, separated by commas. |
| `entries[].seven_day_streams` | integer or null | `9991881` |  |
| `entries[].change_since_yesterday` | string or null | `"0"` | Places gained or lost as a signed number in text, 0 if unchanged, or new / re-entry. |
| `entries[].total_streams_on_chart` | integer or null | `9991881` |  |
| `entries[].change_in_daily_streams` | integer or null | `-813776` |  |
| `chart_url` | string | `"https://kworb.net/spotify/country/us_daily.html"` | Link to the chart page. |
| `chart_date` | string | `"2026-09-27"` | Date of the most recent published daily chart. |

**Example input**

```json
{
  "country": "United States",
  "max_results": 5
}
```

**Example output**

```json
{
  "country": "United States",
  "entries": [
    {
      "artist": "Taylor Swift",
      "position": 1,
      "song_url": "https://kworb.net/spotify/track/11hcBLPtbMp4aQI6zGQLub.html",
      "song_title": "Patient Zero",
      "daily_streams": 1526543,
      "days_on_chart": 3,
      "peak_position": 1,
      "featured_artists": null,
      "seven_day_streams": 9991881,
      "change_since_yesterday": "0",
      "total_streams_on_chart": 9991881,
      "change_in_daily_streams": -813776
    },
    {
      "artist": "Ella Langley",
      "position": 2,
      "song_url": "https://kworb.net/spotify/track/7scFxt9VhL4FJwuPSfRlfN.html",
      "song_title": "Choosin' Texas",
      "daily_streams": 1217013,
      "days_on_chart": 346,
      "peak_position": 1,
      "featured_artists": null,
      "seven_day_streams": 9127859,
      "change_since_yesterday": "3",
      "total_streams_on_chart": 448521326,
      "change_in_daily_streams": -195423
    },
    {
      "artist": "Taylor Swift",
      "position": 3,
      "song_url": "https://kworb.net/spotify/track/2j7wI9QWrP8cjKDdOLVQTU.html",
      "song_title": "Babylon",
      "daily_streams": 1078038,
      "days_on_chart": 3,
      "peak_position": 3,
      "featured_artists": "Taylor Swift",
      "seven_day_streams": 6818039,
      "change_since_yesterday": "0",
      "total_streams_on_chart": 6818039,
      "change_in_daily_streams": -536524
    }
  ],
  "chart_url": "https://kworb.net/spotify/country/us_daily.html",
  "chart_date": "2026-09-27"
}
```

### Get YouTube music chart

Operation `get_youtube_music_chart`, version 1. 1 credit per completed call. Failed calls without a completed billing receipt are free; completed work can remain charged if delivery is interrupted.

Get Kworb's latest published YouTube music chart worldwide or for a country, ordered by daily views. The worldwide list covers the past 24 hours; country charts report daily track streams and may be dated earlier. Country track charts do not provide video links or lifetime video views; newly listed worldwide videos may lack lifetime views. Artist and song are separated only when the video title clearly identifies them.

**Input**

| Field | Type | Required | Example | Description |
|---|---|---|---|---|
| `country` | string | no | `"United States"` | Country name or two-letter code, or global for the worldwide chart. Example: United States. |
| `max_results` | integer | no | `10` | Most chart entries to return (up to 200). Example: 25. |

**Input schema**

```json
{
  "type": "object",
  "properties": {
    "country": {
      "type": "string",
      "default": "global",
      "description": "Country name or two-letter code, or global for the worldwide chart. Example: United States.",
      "examples": [
        "United States",
        "global",
        "br"
      ]
    },
    "max_results": {
      "type": "integer",
      "default": 100,
      "maximum": 200,
      "minimum": 1,
      "description": "Most chart entries to return (up to 200). Example: 25.",
      "x-fous-developer": true,
      "examples": [
        10,
        5
      ]
    }
  },
  "additionalProperties": false,
  "examples": [
    {
      "country": "United States",
      "max_results": 10
    },
    {
      "country": "global",
      "max_results": 10
    },
    {
      "country": "br",
      "max_results": 5
    }
  ]
}
```

**Output**

| Field | Type | Example | Description |
|---|---|---|---|
| `country` | string | `"United States"` | Worldwide or country name for the chart. |
| `entries` | array |  |  |
| `entries[].artist` | string or null | `"Ella Langley"` |  |
| `entries[].page_url` | string | `"https://kworb.net/youtube/insights/us_daily.html"` | Kworb video page, or the country chart page for country tracks. |
| `entries[].position` | integer | `1` |  |
| `entries[].song_title` | string or null | `"Choosin' Texas"` |  |
| `entries[].video_link` | string or null | `"https://www.youtube.com/watch?v=u9MpnqWC6Xg"` | YouTube video page when Kworb provides the video ID. |
| `entries[].daily_views` | integer | `2214459` | Past 24-hour video views worldwide, or daily track streams in a country chart. |
| `entries[].total_views` | integer or null | `35721912` | Lifetime video views when Kworb publishes them. |
| `chart_date` | string | `"2026-09-26"` | Publication date of the chart, YYYY-MM-DD. |
| `chart_page_url` | string | `"https://kworb.net/youtube/insights/us_daily.html"` | Kworb page for this chart. |

**Example input**

```json
{
  "country": "United States",
  "max_results": 10
}
```

**Example output**

```json
{
  "country": "United States",
  "entries": [
    {
      "artist": "Ella Langley",
      "page_url": "https://kworb.net/youtube/insights/us_daily.html",
      "position": 1,
      "song_title": "Choosin' Texas",
      "video_link": null,
      "daily_views": 2214459,
      "total_views": null
    },
    {
      "artist": "Shakira",
      "page_url": "https://kworb.net/youtube/insights/us_daily.html",
      "position": 2,
      "song_title": "Dai Dai",
      "video_link": null,
      "daily_views": 1479192,
      "total_views": null
    },
    {
      "artist": "KAROL G",
      "page_url": "https://kworb.net/youtube/insights/us_daily.html",
      "position": 3,
      "song_title": "BbY WOW",
      "video_link": null,
      "daily_views": 1336367,
      "total_views": null
    }
  ],
  "chart_date": "2026-09-26",
  "chart_page_url": "https://kworb.net/youtube/insights/us_daily.html"
}
```

## Quick start

Replace `YOUR_API_KEY` with a Fous API key. To create one, open Developers at the bottom of Fous Studio, turn on Developer mode, then go to API keys (https://app.fous.com/keys). Change the values in `input` to run the same tool on new data.

```bash
curl 'https://api.fous.com/v1/query' \
  --fail-with-body --silent --show-error --max-time 180 \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "api": "@kworb",
  "visibility": "public",
  "operation": "get_artist_stream_counts",
  "version": 1,
  "input": {
    "artist": "Bad Bunny"
  },
  "response": {
    "format": "json"
  }
}'
```

```python
# Save as fous.py and run with python3 fous.py. No packages needed.
import json
import urllib.error
import urllib.request

api_key = "YOUR_API_KEY"

body = json.loads("{\n  \"api\": \"@kworb\",\n  \"visibility\": \"public\",\n  \"operation\": \"get_artist_stream_counts\",\n  \"version\": 1,\n  \"input\": {\n    \"artist\": \"Bad Bunny\"\n  },\n  \"response\": {\n    \"format\": \"json\"\n  }\n}")
request = urllib.request.Request(
    "https://api.fous.com/v1/query",
    data=json.dumps(body).encode("utf-8"),
    headers={
        "Authorization": f"Bearer {api_key}",
        "Content-Type": "application/json",
    },
    method="POST",
)
try:
    with urllib.request.urlopen(request, timeout=180) as response:
        result = json.load(response)
except urllib.error.HTTPError as error:
    raise RuntimeError(f"HTTP {error.code}: {error.read().decode('utf-8', errors='replace')}") from error
if result.get("success") is False:
    raise RuntimeError(result.get("error", {}).get("message", "Request failed"))
print(json.dumps(result["data"]["output"], indent=2))
```

```typescript
// Save as fous.mts and run with npx tsx fous.mts.
const apiKey = "YOUR_API_KEY";

const response = await fetch("https://api.fous.com/v1/query", {
  method: "POST",
  headers: {
    "Authorization": `Bearer ${apiKey}`,
    "Content-Type": "application/json",
  },
  signal: AbortSignal.timeout(180_000),
  body: JSON.stringify({
  "api": "@kworb",
  "visibility": "public",
  "operation": "get_artist_stream_counts",
  "version": 1,
  "input": {
    "artist": "Bad Bunny"
  },
  "response": {
    "format": "json"
  }
}),
});
type ApiResult = { success: boolean; data?: { output: unknown }; error?: { message: string } };
const result: ApiResult = await response.json();
if (!response.ok || result.success === false) {
  throw new Error(result.error?.message ?? `HTTP ${response.status}`);
}
if (!result.data) throw new Error("Missing API response data");
console.log(result.data.output);
```

## Use from an AI assistant

Connect this tool to Claude Code, Claude Desktop, Cursor, VS Code, Codex and any MCP client as its own MCP server. Each method is a typed tool whose arguments are the method’s input.

- Server URL: `https://api.fous.com/mcp/tools/kworb`
- Authorization: `Authorization: Bearer <Fous API key>`

**Tools**

- `get_artist_stream_counts`: Get artist stream counts. 1 credit per completed call. Failed calls without a completed billing receipt are free; completed work can remain charged if delivery is interrupted.
- `get_spotify_daily_chart`: Get spotify daily chart. 1 credit per completed call. Failed calls without a completed billing receipt are free; completed work can remain charged if delivery is interrupted.
- `get_youtube_music_chart`: Get YouTube music chart. 1 credit per completed call. Failed calls without a completed billing receipt are free; completed work can remain charged if delivery is interrupted.
- `fous_get_run`: the result of a run that was still going, by its `request_id`. Free.

Claude Code:

```bash
claude mcp add --scope user --transport http fous-kworb https://api.fous.com/mcp/tools/kworb --header "Authorization: Bearer ${FOUS_API_KEY:?Set FOUS_API_KEY to your Fous API key}"
```

To give the assistant every tool, connect `https://api.fous.com/mcp`: it finds one with `fous_search_tools` and runs it with `fous_run_tool`. Setup for other clients: https://fous.com/llms-full.txt.

## Use cases

- Compare daily Spotify song rankings across countries.
- Track an artist’s most-streamed songs and albums.
- Review daily streaming totals for charting songs.
- Monitor worldwide YouTube music video views.
- Check an artist’s all-time Spotify streams across tracked songs.

## FAQ

### Can I run it with my own inputs?

Yes. Change the inputs in Studio and press Run, or send new inputs from your code, or ask a connected AI assistant.

### Can I call this Kworb tool as an API?

Yes. Send a POST request to /v1/query with your Fous API key and the inputs, and get JSON back.

### How much does it cost?

Each completed run costs 1 credit. Failed runs without a completed receipt are free; completed work can remain charged if delivery is interrupted. With pay as you go, a credit costs 1¢. Monthly plans cost less per credit.

### Do I need a Kworb account?

No. You only need a Fous account.

### How current is the data?

Fous gets the data from kworb.net when you run it. Some results are reused for up to 24 hours, and results that use your account or key are never reused. It was last verified on Sep 30, 2026.

### Which songs lead a country’s Spotify daily chart?

Get spotify daily chart returns ranked songs and streaming totals for a country or worldwide.

### How many Spotify streams does an artist have?

Get artist stream counts returns the artist’s all-time streams across tracked songs and daily streams when available.

### Which music videos have the most daily YouTube views?

Get youtube music chart returns worldwide entries ordered by daily views.

## Related

- [YouTube API](https://fous.com/tools/youtube.md): YouTube returns public video, caption, comment and channel details, company channels, and the latest weekly Top Songs chart; inferred dates and some counts may be approximate.
- [Spotify API](https://fous.com/tools/spotify.md): Spotify returns public artist profiles, album credits and ordered tracks, song details and play counts, up to 500 playlist songs, keyword results, and country-based podcast charts; dates and regional options vary.
- [Deezer API](https://fous.com/tools/deezer.md): Deezer provides albums with ordered tracklists, song recording details, and current worldwide charts or official country-playlist tracks; previews and some tempo data may be unavailable or expire.
- [Shazam API](https://fous.com/tools/shazam.md): Shazam helps discover music and explore trending songs, returning current top charts and country-specific lists of up to 10 rapidly rising Discovery songs where available.
- [SoundCloud API](https://fous.com/tools/soundcloud.md): SoundCloud lets people listen to and share music, find public tracks with play stats, and browse artists’ tracks, with popular lists limited to 30.
- [Apple Music API](https://fous.com/tools/apple-music.md): Apple Music returns albums, tracks, artist profiles, latest releases, top music, matching songs, and current charts; prices, previews, and older albums may be unavailable.
- [Billboard API](https://fous.com/tools/billboard.md): Billboard provides chart rankings and histories for published chart weeks, including artists’ Hot 100 song and Billboard 200 album totals and title-by-title performance.
- [JustWatch API](https://fous.com/tools/justwatch.md): JustWatch shows where movies and shows are available, including streaming, purchase, and cinema options, plus recent streaming arrivals and daily streaming charts based on its listings.
- [All Entertainment tools](https://fous.com/tools/category/entertainment)
