> ## Documentation Index
> Fetch the complete documentation index at: https://docs.webrouter.net/llms.txt
> Use this file to discover all available pages before exploring further.

# ccMixter

> Creative Commons music, samples and a cappellas from the ccMixter community, through its Query API: search uploads by tags, user, license, remixes and dates.

![](https://mintcdn.com/webrouter/Wx0iBZkUGX_VAFTN/logo/data-apis/ccmixter.webp?fit=max\&auto=format\&n=Wx0iBZkUGX_VAFTN\&q=85\&s=79b4940209a8fdeb5462b951d7591fc5)

[Web Catalog · Media](https://docs.webrouter.net/data-apis.md?category=media)

No key needed

Endpoints

1

Auth

None

[Vendor docs](https://ccmixter.org/query-api)

## Notes

* Free and keyless. Every call is a GET to /api/query; the parameters decide which records, how many and in what format.
* Always pass f (format): the default is a full HTML page. Use f=json for data; xml, rss, atom, csv and count are also available.
* limit cannot exceed the site's admin-set maximum for the format (typically 100-200 for json/csv); page through with offset.
* Each upload carries its own Creative Commons license (lic): check it before reuse.

## Endpoints

GET

Search uploads

Uploads (tracks, samples, a cappellas) filtered by tags, uploader, license, text, remix counts, playlist or dates.

[Open](#ccmixter-uploads-search)

### Search uploads

GET

`/api/query`

`ccmixter.uploads.search`

Uploads (tracks, samples, a cappellas) filtered by tags, uploader, license, text, remix counts, playlist or dates.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`f` required</td><td>string</td><td>query</td><td>Output format; json for data. One of `json`, `xml`, `rss`, `atom`, `csv`, `xspf`, `m3u`, `ids`, `count`, `html`, `page`, `js`, `docwrite`, `textfile` Example `json`</td></tr>
    <tr><td>`tags`</td><td>string</td><td>query</td><td>Tags separated by '+'; with several tags set type to all or any. Example `hip_hop`</td></tr>

    <tr>
      <td>
        `type`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        For uploads: all or any, how multiple tags combine.
      </td>
    </tr>

    <tr>
      <td>
        `reqtags`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Tags an upload must have.
      </td>
    </tr>

    <tr>
      <td>
        `u`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Only uploads by this user (login name).
      </td>
    </tr>

    <tr>
      <td>
        `search`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Text words or phrase to search for.
      </td>
    </tr>

    <tr><td>`search_type`</td><td>string</td><td>query</td><td>match for an exact phrase, any or all of the terms. One of `match`, `any`, `all`</td></tr>
    <tr><td>`lic`</td><td>string</td><td>query</td><td>License: by Attribution, nc NonCommercial, sa Share-Alike, nod NoDerives, byncsa, byncnd, s Sampling, splus Sampling+, ncsplus, pd Public Domain. One of `by`, `nc`, `sa`, `nod`, `byncsa`, `byncnd`, `s`, `splus`, `ncsplus`, `pd`</td></tr>

    <tr>
      <td>
        `ids`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated numeric upload ids.
      </td>
    </tr>

    <tr>
      <td>
        `remixes`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Remixes of this upload id.
      </td>
    </tr>

    <tr>
      <td>
        `remixesof`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Remixes of this user's uploads (login name).
      </td>
    </tr>

    <tr>
      <td>
        `sources`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Sources of this remix (upload id).
      </td>
    </tr>

    <tr>
      <td>
        `remixmin`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Uploads remixed at least this many times.
      </td>
    </tr>

    <tr>
      <td>
        `remixmax`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Uploads remixed at most this many times.
      </td>
    </tr>

    <tr>
      <td>
        `score`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Uploads with at least this many ratings.
      </td>
    </tr>

    <tr>
      <td>
        `playlist`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Records in this numeric playlist id.
      </td>
    </tr>

    <tr>
      <td>
        `sinced`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Since a date string, e.g. '3 weeks ago' or 'July 2006'.
      </td>
    </tr>

    <tr>
      <td>
        `befored`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Before a date string.
      </td>
    </tr>

    <tr>
      <td>
        `sort`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Sort field, e.g. name, fullname, last\_edit, num\_scores.
      </td>
    </tr>

    <tr><td>`ord`</td><td>string</td><td>query</td><td>Sort direction. One of `ASC`, `DESC`</td></tr>

    <tr>
      <td>
        `dataview`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Columns to return for non-HTML formats, e.g. info for deep upload details, links, files, ids.
      </td>
    </tr>

    <tr><td>`limit`</td><td>integer</td><td>query</td><td>At most this many records (capped by the site). Always pass it: without a limit the site sends response headers too large to read. Example `10`</td></tr>

    <tr>
      <td>
        `offset`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Records to skip, with limit, for paging.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://ccmixter.org/query-api) · Same job: [ambientCG](https://docs.webrouter.net/data-apis/ambientcg.md#ambientcg-assets-search), [NASA Image and Video Library](https://docs.webrouter.net/data-apis/nasa-images.md#nasa-images-search), [Openverse](https://docs.webrouter.net/data-apis/openverse.md#openverse-images-search), [Pexels](https://docs.webrouter.net/data-apis/pexels.md#pexels-photos-search), [Poly Haven](https://docs.webrouter.net/data-apis/polyhaven.md#polyhaven-assets-list), [Sketchfab](https://docs.webrouter.net/data-apis/sketchfab.md#sketchfab-models-search)

```python Python theme={null}
router.call_data_api("ccmixter.uploads.search", {'f': 'json', 'tags': 'hip_hop', 'limit': 10})
```

```text MCP theme={null}
call_data_api(endpoint="ccmixter.uploads.search", params={"f": "json", "tags": "hip_hop", "limit": 10})
```

> [!NOTE]
>
> * f=count returns only the number of matching uploads.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.