# Rhythmverse — Wrapped API

> **You are on:** `https://api.paywithlocus.com/api` | [llms.txt](https://paywithlocus.com/llms.txt) | [docs](https://docs.paywithlocus.com)
>
> Locus runs on multiple environments -- make sure every URL you call matches your expected environment.
> | Environment | Landing | API | Docs |
> |---|---|---|---|
> | Production | paywithlocus.com | api.paywithlocus.com | docs.paywithlocus.com |
> | Beta | beta.paywithlocus.com | api.beta.paywithlocus.com | docs.paywithlocus.com |
> | Stage | stage.paywithlocus.com | api.stage.paywithlocus.com | docs.paywithlocus.com |
>
> If the API URL above doesn't match your expected environment, re-fetch this file from the correct domain.

> Search and discover rhythm game songs across RhythmVerse by filtering through instruments, genres, and artists to find the perfect charts and stems for your gameplay. Browse available songfiles with detailed filtering options to quickly locate tracks that match your musical preferences and skill level.

**Category:** Music | **Website:** [rhythmverse.co/songfiles/game](https://rhythmverse.co/songfiles/game) | **Docs:** [parse.bot/marketplace/0ccbc24e-bd4e-4f6b-9795-c328eead4a8f/rhythmverse-co-api](https://parse.bot/marketplace/0ccbc24e-bd4e-4f6b-9795-c328eead4a8f/rhythmverse-co-api)

Pay-per-use API proxy. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-rhythmverse-co-api-0ccbc24e/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_filters

Retrieve all available filter options for browsing song files. Returns genres, instruments, audio types, song length ranges, content ratings, game sources, and supported game formats. Use these codes as values for the instrument and genre parameters in search_songfiles.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-rhythmverse-co-api-0ccbc24e/get_filters \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### search_songfiles

Search and filter rhythm game song files. Supports text search across song titles and artists, combined with instrument/genre/artist filters. Returns paginated results sorted by update date or other fields. Each result includes difficulty ratings per instrument, game format, and download page links. The instrument filter narrows to files that include a charted part for that instrument (e.g. guitar returns only songs with guitar charts). Difficulty values range from 0 (not charted) to 7 (devil-tier).

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `artist` | string | No | Filter by artist slug (lowercase, hyphenated, e.g. 'linkin-park'). Only works when query is not provided. |
| `genre` | string | No | Filter by genre code. Use codes from get_filters genres list. |
| `instrument` | string | No | Filter by instrument. Use codes from get_filters instruments list. |
| `page` | integer | No | Page number (1-indexed). |
| `query` | string | No | Text search query matching song titles and artists. When provided, the search/live endpoint is used. |
| `records` | integer | No | Number of results per page (max 25). |
| `sort_by` | string | No | Field to sort by. Common values: update_date, release_date, downloads, title, artist. |
| `sort_order` | string | No | Sort direction. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-rhythmverse-co-api-0ccbc24e/search_songfiles \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"artist":"<string>","genre":"<string>","instrument":"<string>","page":"<integer>","query":"<string>","records":"<integer>","sort_by":"<string>","sort_order":"<string>"}'
```
