# Billboard API

> Returns Billboard chart rows with rank, title, artist and history, the list of charts, and available chart weeks.

Category: Music & Audio. Region: US. 5 endpoints at `https://api.hoshime.com/v1/billboard/<endpoint>`, `GET` with query parameters, answering `{data, meta}` (see https://hoshime.com/docs/responses.md). Reference: https://hoshime.com/docs/platforms/billboard
## GET /v1/billboard/chart

The rows of a Billboard chart for its current week or a given week: rank, title, artist, last week, peak, weeks on chart and debut.

Scope: `social:read` · Units: 1 · Cached: 60 min

| Parameter | Type | Required | Description |
|---|---|---|---|
| `slug` | string | yes | Chart name in its address, such as hot-100, billboard-200, billboard-global-200 or artist-100. The charts endpoint lists them. (e.g. hot-100) |
| `date` | string | no | Week of the chart as YYYY-MM-DD, such as 2025-11-01. Omit it for the current chart. |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `date` (string), `items` (ChartEntry[]), `items[].artist` (string), `items[].artworkUrl` (string), `items[].debutDate` (string), `items[].debutRank` (integer (int64)), `items[].lastWeek` (integer (int64)), `items[].peak` (integer (int64)), `items[].peakDate` (string), `items[].rank` (integer (int64)), `items[].title` (string), `items[].weeksAtNo1` (integer (int64)), `items[].weeksOnChart` (integer (int64)), `name` (string), `slug` (string)

```bash
curl "https://api.hoshime.com/v1/billboard/chart?slug=hot-100" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/billboard/yearEnd

The year-end chart of one year, such as the Hot 100 songs of 2025: rank, title, artist and the stats the page shows.

Scope: `social:read` · Units: 1 · Cached: 1440 min

| Parameter | Type | Required | Description |
|---|---|---|---|
| `slug` | string | yes | Year-end chart name in its address, such as hot-100-songs, billboard-global-200, top-artists or labels. The year-end page of the site lists them. (e.g. hot-100-songs) |
| `year` | string | yes | Year of the chart as YYYY, such as 2025. (e.g. 2025) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `date` (string), `items` (ChartEntry[]), `items[].artist` (string), `items[].artworkUrl` (string), `items[].debutDate` (string), `items[].debutRank` (integer (int64)), `items[].lastWeek` (integer (int64)), `items[].peak` (integer (int64)), `items[].peakDate` (string), `items[].rank` (integer (int64)), `items[].title` (string), `items[].weeksAtNo1` (integer (int64)), `items[].weeksOnChart` (integer (int64)), `name` (string), `slug` (string)

```bash
curl "https://api.hoshime.com/v1/billboard/yearEnd?slug=hot-100-songs&year=2025" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/billboard/artistHot100

Every Billboard Hot 100 entry of one artist, with debut and peak dates, peak position and weeks on chart.

Scope: `social:read` · Units: 1 · Cached: 360 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `artist` | string | yes | Artist name in the address of the artist's page, such as taylor-swift. (e.g. taylor-swift) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `artist` (string), `debutDate` (string), `peak` (integer (int64)), `peakDate` (string), `peakWeeks` (integer (int64)), `title` (string), `weeksOnChart` (integer (int64))

```bash
curl "https://api.hoshime.com/v1/billboard/artistHot100?artist=taylor-swift" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/billboard/charts

Every chart Billboard publishes, with the slug to ask the chart endpoint for.

Scope: `social:read` · Units: 1 · Cached: 1440 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `name` (string), `slug` (string), `url` (string)

```bash
curl "https://api.hoshime.com/v1/billboard/charts" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/billboard/weeks

The dated weeks of one chart that its page links to, such as the weeks before the current one, for the date parameter of chart.

Scope: `social:read` · Units: 1 · Cached: 360 min

| Parameter | Type | Required | Description |
|---|---|---|---|
| `slug` | string | yes | Chart name in its address, such as hot-100. (e.g. hot-100) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `items` (Week[]), `items[].date` (string), `items[].url` (string), `slug` (string)

```bash
curl "https://api.hoshime.com/v1/billboard/weeks?slug=hot-100" -H "Authorization: Bearer $HOSHIME_TOKEN"
```
