# 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/workflows/kworb
- Handle: `@kworb`
- Category: [Entertainment](https://fous.com/workflows/category/entertainment)
- Source website: https://kworb.net
- Last verified: Sep 30, 2026
- Fous is not affiliated with Kworb.

## Methods

### Get artist stream counts

Operation `get_artist_stream_counts`, version 1. 1 credit per call.

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 |  |  |
| `songs[].page_link` | string |  | Song page on Spotify. |
| `songs[].artist_role` | string |  |  |
| `songs[].daily_streams` | integer or null |  | Daily streams, or null when Kworb leaves the cell blank. |
| `songs[].total_streams` | integer |  |  |
| `albums` | array |  | Albums shown by Kworb, in descending total streams. |
| `albums[].title` | string |  |  |
| `albums[].page_link` | string |  | Album page on Spotify. |
| `albums[].daily_streams` | integer or null |  | Daily streams, or null when Kworb leaves the cell blank. |
| `albums[].total_streams` | integer |  |  |
| `artist` | string |  | Artist name on Kworb. |
| `kworb_link` | string |  | Artist’s Kworb songs page. |
| `daily_streams` | integer |  | Daily Spotify streams across tracked songs. |
| `songs_tracked` | integer |  | Number of tracks counted in the artist totals. |
| `total_streams` | integer |  | All-time Spotify streams across tracked songs. |
| `spotify_artist_id` | string |  | Spotify artist identifier. |

### Get spotify daily chart

Operation `get_spotify_daily_chart`, version 1. 1 credit per call.

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 call.

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

Call the API with a Fous API key (`FOUS_API_KEY`). To create one, turn on Developer mode in Fous Studio, then open Keys & connections → API keys (https://app.fous.com/keys).

```bash
# First set your key: export FOUS_API_KEY='YOUR_FOUS_API_KEY'
: "${FOUS_API_KEY:?Set FOUS_API_KEY before running this example}"

curl 'https://api.fous.com/v1/query' \
  --fail-with-body --silent --show-error --max-time 120 \
  -H "Authorization: Bearer $FOUS_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.
# First set your key: export FOUS_API_KEY='YOUR_FOUS_API_KEY'
import json
import os
import urllib.error
import urllib.request

api_key = os.environ.get("FOUS_API_KEY")
if not api_key:
    raise RuntimeError("Set FOUS_API_KEY before running this example")

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=120) 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.
// First set your key: export FOUS_API_KEY='YOUR_FOUS_API_KEY'
const apiKey = process.env.FOUS_API_KEY;
if (!apiKey) throw new Error("Set FOUS_API_KEY before running this example");

const response = await fetch("https://api.fous.com/v1/query", {
  method: "POST",
  headers: {
    "Authorization": `Bearer ${apiKey}`,
    "Content-Type": "application/json",
  },
  signal: AbortSignal.timeout(120_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);
```

Or describe the data in plain language: send `{"api":"@kworb","prompt":"Describe the data you need, with every detail"}` to the same URL. Fous fills in the input, runs the method that fits and returns only the fields you asked for; `data.route.calls[].request` is the exact call it made. Routing is free; the run costs the same.

## 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

### Is Fous affiliated with Kworb?

No. Fous is not affiliated with Kworb. This workflow reads the public kworb.net website and returns its data.

### How much does it cost?

Each run costs 1 credit. 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; repeating the same request within a day may return the saved result. Fous checks this workflow automatically; it last passed a check 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/workflows/youtube.md): YouTube returns public video, caption, comment, channel and upload details, plus the latest weekly Top Songs chart; inferred dates and some counts may be approximate.
- [Spotify API](https://fous.com/workflows/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/workflows/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/workflows/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/workflows/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/workflows/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/workflows/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/workflows/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 workflows](https://fous.com/workflows/category/entertainment)
