# Official Charts UK Scraper (`parseforge/officialcharts-uk-scraper`) Actor

Scrapes UK music charts from Official Charts. Returns chart entries with position, artist, title, and label. Supports Singles, Albums, Streaming, and more.

- **URL**: https://apify.com/parseforge/officialcharts-uk-scraper.md
- **Developed by:** [ParseForge](https://apify.com/parseforge) (community)
- **Categories:** Automation, Other
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.90 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

[![ParseForge](https://raw.githubusercontent.com/ParseForge/apify-assets/main/banner.jpg)](https://apify.com/parseforge?fpr=vmoqkp)

### Official Charts UK Scraper

**Scrape UK music charts from Official Charts, from the Singles Chart to the Vinyl Albums Chart.** Every entry comes with its position, artist, title, label, and chart movement. No login or API key. Export to CSV, JSON, Excel, or XML.

Official Charts' public pages are built for browsing, not for bulk analysis. This Actor reads the chart tables directly, so you can pull the UK Singles Chart, Albums Chart, Streaming Chart, and more into a clean dataset. Filter by chart type and limit the number of entries, then export the results in the format your workflow needs.

| Who uses it | What they scrape Official Charts for |
|---|---|
| Music industry analysts | Tracking which songs and albums are climbing the UK charts week by week |
| Playlist curators | Finding the current top tracks to build data-driven playlists |
| Record labels | Monitoring the performance of their artists against competitors |
| Journalists | Pulling chart data for articles on music trends |
| Researchers | Collecting historical chart data for academic or market studies |

### What it does

This Actor collects chart entries from Official Charts UK, returning each entry as a flat row with its position, artist, title, and other chart data.

- 🎯 **Chart type selector:** choose from Singles, Albums, Downloads, Streaming, Indie, Vinyl, Physical, and Record Store charts.
- 🔗 **Direct URL input:** paste any Official Charts URL to scrape that specific chart.
- 📊 **Flat row output:** each chart entry becomes one row, ready for spreadsheets or databases.
- ⚙️ **Entry limit control:** set a maximum number of entries to collect, from 1 to 1,000,000.

Results export to CSV, JSON, Excel, or XML, or straight from the API.

### What you can do with Official Charts data

**📈 Track weekly chart movements.**

A music analyst runs the Actor every Friday on the Singles Chart to see which songs are rising or falling, and feeds the data into a trend report.

**🎧 Build data-driven playlists.**

A playlist curator scrapes the Streaming Chart to identify the most-played tracks of the week and creates a playlist that reflects current listening habits.

**🏷️ Monitor label performance.**

A record label uses the Albums Chart to compare the chart positions of its artists against competitors, informing promotional decisions.

**📰 Source data for articles.**

A music journalist scrapes the Indie Singles Chart to find emerging artists and writes a feature on the indie scene.

**🎓 Research music trends.**

An academic researcher collects historical chart data from the Vinyl Albums Chart to study the vinyl revival over time.

### Why choose this scraper

|  | What you get |
|---|---|
| **No API key needed** | Scrape public chart pages without registering for an API or dealing with rate limits. |
| **Multiple chart types** | Access ten different UK charts, from mainstream Singles to niche Vinyl Singles. |
| **Structured output** | Get consistent fields for every entry, so you can merge data across charts and weeks. |
| **Flexible export** | Download your results as CSV, JSON, Excel, or XML for use in any tool. |

### How it compares

This Actor focuses on Official Charts UK data, while Spotify Play Count Scraper targets Spotify stream counts. They serve different data needs.

| Feature | ParseForge | Spotify Play Count Scraper |
|---|---|---|
| Scrapes Official Charts UK | Yes | Not listed |
| Scrapes Spotify play counts | No | Yes |
| Multiple chart types | Yes | Not listed |
| Export to CSV, JSON, Excel, XML | Yes | Yes |
| No API key required | Yes | Not listed |

### Configure the run

Drive the Actor with a direct Official Charts URL or select a chart type from the dropdown, and set a maximum number of entries to control the size of your dataset. The Input tab lists every parameter.

A first run with the defaults:

```json
{
  "startUrl": "https://www.officialcharts.com/charts/singles-chart/",
  "maxItems": 10
}
```

A larger pull:

```json
{
  "startUrl": "https://www.officialcharts.com/charts/singles-chart/",
  "maxItems": 200
}
```

### Pricing

Pay-per-result: **$0.001 per result** collected. You pay only for the results written to your dataset.

| Results collected | Approximate cost |
|---|---|
| 100 results | $0.10 |
| 1,000 results | $1.00 |
| 10,000 results | $10.00 |

New Apify accounts start with $5 in free credit.

### Free users

Free-plan runs return up to 10 results as a preview. [Upgrade your Apify plan](https://console.apify.com/sign-up?fpr=vmoqkp) to collect up to 1,000,000 results per run.

### Run it

1. [Create a free Apify account with $5 in credit](https://console.apify.com/sign-up?fpr=vmoqkp).
2. Open the [Official Charts UK Scraper](https://apify.com/parseforge/officialcharts-uk-scraper?fpr=vmoqkp).
3. Set your inputs and any filters, then click **Start**.
4. Export the results as CSV, Excel, JSON, or XML from the **Dataset** tab.

Run it programmatically through the [Apify API](https://docs.apify.com/api/v2) (`run-sync-get-dataset-items`) or the [ApifyClient](https://docs.apify.com/api/client/js) for JavaScript and Python.

### Use with AI agents (MCP)

Give an AI agent live access to Official Charts through the Model Context Protocol. Add the Actor to Claude, Cursor, or any MCP client:

```bash
claude mcp add --transport http apify "https://mcp.apify.com?tools=parseforge/officialcharts-uk-scraper"
```

Then prompt it in plain language to run the scraper and read back the results.

### Troubleshooting

**Why am I getting no results?**

Make sure the startUrl points to a valid Official Charts chart page, or select a chart type from the dropdown. Also check that maxItems is set to at least 1.

**Why am I only getting 10 entries?**

Free users are limited to 10 entries as a preview. Upgrade to a paid plan to collect up to 1,000,000 entries.

**The Actor fails with an error. What should I do?**

Check that the startUrl is correct and accessible. If the problem persists, try running the Actor with a different chart type or contact support.

**Can I scrape historical chart data?**

The Actor scrapes the current chart pages. For historical data, you may need to find archived URLs or run the Actor over time to build your own dataset.

**The output is missing some fields.**

The fields depend on what is available on the chart page. Some charts may not include all data points. Check the sample output for the fields returned.

### FAQ

| Question | Answer |
|---|---|
| Do I need an API key to use this Actor? | No. The Actor scrapes the public Official Charts website directly, so no API key or registration is required. |
| Which charts can I scrape? | You can scrape the Singles Chart, Albums Chart, Singles Downloads Chart, Streaming Chart, Indie Singles Chart, Indie Albums Chart, Vinyl Singles Chart, Vinyl Albums Chart, Physical Singles Chart, and Record Store Chart. |
| Can I scrape a specific chart URL? | Yes. Paste any Official Charts URL into the startUrl field, and the Actor will scrape that chart. |
| What is the maximum number of entries I can collect? | Free users are limited to 10 entries as a preview. Paid users can collect up to 1,000,000 entries per run. |
| What data does each entry include? | Each entry includes the chart position, artist, title, label, and other chart data as available on the page. The exact fields are shown in the sample output. |
| Can I export the data to Excel? | Yes. The Actor supports export to CSV, JSON, Excel, and XML formats. |
| How often is the chart data updated? | The Actor scrapes the live Official Charts website, so you get the latest data whenever you run it. |
| Can I schedule this Actor to run automatically? | Yes. You can set up a schedule in Apify to run the Actor daily, weekly, or at any interval you need. |
| Is this Actor affiliated with Official Charts? | No. This is a third-party scraper built by the Apify community. It is not affiliated with or endorsed by Official Charts Company. |
| What if I get no results? | Check that the URL is a valid Official Charts chart page, or try selecting a chart type from the dropdown instead. Also ensure your maxItems is set to at least 1. |

### Related actors

Browse the full [ParseForge collection](https://apify.com/parseforge?fpr=vmoqkp) for more scrapers.

🆘 **Need help?** Email parseforge@protonmail.com with your run ID, your input, and what you expected.

⚠️ **Disclaimer.** This Actor is unofficial and is not affiliated with, endorsed by, or sponsored by Official Charts Company. It collects only publicly available data. You are responsible for using the collected data in compliance with the source's terms of service and applicable data-protection laws, including GDPR, CCPA, and PIPL. Do not use it to collect personal data unlawfully.

# Actor input Schema

## `startUrl` (type: `string`):

Official Charts URL (e.g. https://www.officialcharts.com/charts/singles-chart/).

## `maxItems` (type: `integer`):

Free users are limited to 10 entries (preview). Paid users can collect up to 1,000,000.

## `chartType` (type: `string`):

Which Official Charts list to fetch when startUrl is empty.

## Actor input object example

```json
{
  "startUrl": "https://www.officialcharts.com/charts/singles-chart/",
  "maxItems": 10
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "startUrl": "https://www.officialcharts.com/charts/singles-chart/",
    "maxItems": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("parseforge/officialcharts-uk-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "startUrl": "https://www.officialcharts.com/charts/singles-chart/",
    "maxItems": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("parseforge/officialcharts-uk-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "startUrl": "https://www.officialcharts.com/charts/singles-chart/",
  "maxItems": 10
}' |
apify call parseforge/officialcharts-uk-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,parseforge/officialcharts-uk-scraper"
        }
    }
}

```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/6wqodAsvPVyGS1H2k/builds/GcWZHJfeYAFCgMKIt/openapi.json
