---
title: "Get Beat Structure Recommendations"
method: POST
path: "/api/v1/recommendations/beat-structure"
---

# Get Beat Structure Recommendations

`POST /api/v1/recommendations/beat-structure`

Get recommendations for tracks with specific beat structure characteristics.

Parameters:
----------
<b>params</b> : BeatStructureParams<br>
    - min_regularity: float, default=0.7 (Minimum beat regularity score 0-1)<br>
    - tempo_min: float, optional (Minimum tempo in BPM)<br>
    - tempo_max: float, optional (Maximum tempo in BPM)<br>
    - genre: str, optional (Specific genre filter)<br>
    - limit: int, default=20 (Number of recommendations)<br>
<b>x_api_key</b> : str (API key for authentication)<br>

Returns:
-------
TrackIDList<br>
    List of recommended track IDs matching beat structure criteria<br>

Notes:
-----
Useful for finding tracks with consistent, predictable beat patterns.

## Headers

- `x-api-key` string

## Request body

- BeatStructureParams
  - `min_regularity` number — Minimum beat regularity (0-1)
  - `tempo_min` number, nullable — Minimum tempo (BPM)
  - `tempo_max` number, nullable — Maximum tempo (BPM)
  - `genre` string, nullable — Optional genre filter
  - `limit` integer — Number of recommendations

## Response `200`

Successful Response

- TrackIDList
  - `track_ids` string[], required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/soundstat/apis/soundstat-api.md) · [All operations](https://skmtc.net/soundstat/apis/soundstat-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/soundstat/soundstat-api/revisions/d8deec5eca44/schema)
