---
title: "Get Time Of Day Recommendations"
method: POST
path: "/api/v1/recommendations/time-of-day"
---

# Get Time Of Day Recommendations

`POST /api/v1/recommendations/time-of-day`

Get track recommendations suitable for a specific time of day.

Parameters:
----------
<b>params</b> : TimeOfDayParams<br>
    - time: str (One of: morning, afternoon, evening, night)<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 suitable for the time of day<br>

Notes:
-----
Different times of day have different energy/mood profiles.

## Headers

- `x-api-key` string

## Request body

- TimeOfDayParams
  - `time` string, required — Time of day: morning, afternoon, evening, night
  - `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)
