# Creative Commons Music Search - $0.09 per 1000 results (`fluyeporlaweb/cc-music-search`) Actor

Find Creative Commons and public domain music and audio from Wikimedia Commons (and Jamendo with your key): artist, licence, duration, audio URL. No login.

- **URL**: https://apify.com/fluyeporlaweb/cc-music-search.md
- **Developed by:** [Pablo Navarro](https://apify.com/fluyeporlaweb) (community)
- **Categories:** Videos, Developer tools
- **Security:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.09 / 1,000 tracks

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

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

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Creative Commons Music Search - $0.09 per 1000 results

**Creative Commons music search**: find **free-licensed music and audio** (CC BY, CC BY-SA, CC0, public domain) on **Wikimedia Commons** — and on **Jamendo** with your own free API key — with artist, licence, duration and direct audio file URL.

### What does it do?

- Search Wikimedia Commons audio files via the official MediaWiki API.
- Licence name, licence URL and attribution flag for every track.
- Duration, MIME type, size, date and categories.
- Optional Jamendo search with your own client id.

### Use cases

- **Royalty-free soundtracks** for videos and podcasts.
- **Datasets** of licensed audio for research.
- **Attribution lists** for content teams.

### Input

| Field | Description |
|---|---|
| `queries` | e.g. piano, jazz, birdsong |
| `sources` | jamendo requires your own free client id. |
| `maxItemsPerQuery` | Example: 30 |
| `jamendoClientId` | Optional, from devportal.jamendo.com |

Example input:

```json
{}
```

### Output

Real output (first items of a run on 26 Oct 2026):

```json
[
  {
    "source": "wikimedia-commons",
    "id": "81097371",
    "title": "Outing- Chinese kids' Piano Song - Junjun's edition (selected from real piano lesson)",
    "artist": "Jason M. C., Han",
    "description": "This sound-file was a real classroom recording of my and Ms Song's (my mother's) piano pupil - Junjun 's version of 'Outing' in the music textbook of Chinese National Grading Test. After getting the permission of him and his mother in the educational privacy, I can submit his good version. Junjun was only a 6-years-old boy, with his full name - Xi Jun, Zhou (Direct Chinese translation: A handsome boy from an excellent family who is good at intelligently thinking). That's quite right that Junjun ",
    "license": "CC BY-SA 4.0",
    "licenseUrl": "https://creativecommons.org/licenses/by-sa/4.0",
    "attributionRequired": true,
    "audioUrl": "https://upload.wikimedia.org/wikipedia/commons/4/41/Outing-_Chinese_kids%27_Piano_Song_-_Junjun%27s_edition_%28selected_from_real_piano_lesson%29.ogg",
    "pageUrl": "https://commons.wikimedia.org/wiki/File:Outing-_Chinese_kids%27_Piano_Song_-_Junjun%27s_edition_(selected_from_real_piano_lesson).ogg",
    "mimeType": "application/ogg",
    "durationSec": 81.2,
    "fileSizeBytes": 962651,
    "date": "2019-08-07",
    "tags": [
      "Music of China",
      "Children's songs",
      "Piano education",
      "Self-published work",
      "Piano education in music laboratory",
      "Wikiversity WikiProjects"
    ],
    "query": "piano"
  },
  {
    "source": "wikimedia-commons",
    "id": "80317990",
    "title": "Cole Porter’s “I Love You” - JMC, Han's Piano Edition",
    "artist": "Jason M. C., Han",
    "description": "Cole Porter's I Love You was a well-known Jazz &amp;blues with the specially sorrow missing in love... as a romanticism piece... Following Goldsmiths' Jazz standards, I re-edited it into piano, especially the running of major or minor seventh arpeggios (including flatten 5th and flatten 9th, sometimes) ... in left hand, its rhythm and matching way with melodic right hand... Meanwhile, I gave pedalling to bass for making a play-along effect and somehow, polyphonic layers... I like this piano task",
    "license": "CC BY-SA 4.0",
    "licenseUrl": "https://creativecommons.org/licenses/by-sa/4.0",
    "attributionRequired": true,
    "audioUrl": "https://upload.wikimedia.org/wikipedia/commons/4/42/Cole_Porter%E2%80%99s_%E2%80%9CI_Love_You%E2%80%9D_-_JMC%2C_Han%27s_Piano_Edition.ogg",
    "pageUrl": "https://commons.wikimedia.org/wiki/File:Cole_Porter%E2%80%99s_%E2%80%9CI_Love_You%E2%80%9D_-_JMC,_Han%27s_Piano_Edition.ogg",
    "mimeType": "application/ogg",
    "durationSec": 65.2,
    "fileSizeBytes": 766004,
    "date": "2019-07-11",
    "tags": [
      "Cole Porter",
      "Impressionist paintings",
      "Piano education",
      "Self-published work",
      "Jazz piano performances",
      "Piano education in music laboratory",
      "Wikiversity WikiProjects"
    ],
    "query": "piano"
  }
]
```

Export the results as JSON, CSV or Excel, read them through the API, or send them to Google Sheets, Make, Zapier, n8n or webhooks. You can also run this Actor from AI agents through the Apify MCP server.

### Pricing

Pay per event: **$0.09 per 1,000 tracks** plus $0.00005 per run start. There is no extra platform usage charge.

### FAQ

**Can I use the music commercially?** It depends on each file's licence; always check licenseUrl and give attribution.

**Why only Wikimedia by default?** Jamendo requires a free client id that you provide.

**Do you download audio?** No, only metadata and links.

**Do I need a login or API key?** No. It uses the source's public API; you only need an Apify account.

**Can AI agents use it?** Yes. Call it through the Apify API, or from Claude, Cursor or any MCP client via the Apify MCP server.

### Data source and license

Sources: Wikimedia Commons via the MediaWiki API (each file has its own free licence) and optional Jamendo API with your own key. Not affiliated with the Wikimedia Foundation or Jamendo.

This Actor is not affiliated with or endorsed by the data source. You are responsible for using the data in line with the source's license and terms.

# Actor input Schema

## `queries` (type: `array`):

e.g. piano, jazz, birdsong

## `sources` (type: `array`):

jamendo requires your own free client id.

## `maxItemsPerQuery` (type: `integer`):

Example: 30

## `jamendoClientId` (type: `string`):

Optional, from devportal.jamendo.com

## Actor input object example

```json
{
  "queries": [
    "piano"
  ],
  "sources": [
    "wikimedia"
  ],
  "maxItemsPerQuery": 30
}
```

# Actor output Schema

## `items` (type: `string`):

No description

## `summary` (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 = {
    "queries": [
        "piano"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("fluyeporlaweb/cc-music-search").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 = { "queries": ["piano"] }

# Run the Actor and wait for it to finish
run = client.actor("fluyeporlaweb/cc-music-search").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 '{
  "queries": [
    "piano"
  ]
}' |
apify call fluyeporlaweb/cc-music-search --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,fluyeporlaweb/cc-music-search"
        }
    }
}
```

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/fheojU9nyUYvAaPNY/builds/Ylyez8hVno0If9FCb/openapi.json
