hearthis.at

v0.8.0
at.hearthis/hearthis-mcp Checked 5 days ago Published 7 days ago

Acts on hearthis.at as your account: browse, search, upload, edit, message.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

whoami Who am I

The hearthis.at account this server acts as: id, permalink, name, counts and Premium state. Signed in with a personal API key: id, permalink, name, Premium state and the rights of the key (scopes: read, social, write).

get_account_stats Account statistics

Statistics of the account over the last 7, 28 (default), 90 or 365 days: totals and numbers per day (plays, embedded plays, downloads, likes, comments, followers) and the top tracks; with a paid plan also countries, cities, sources and referring sites (locked: true without one). Up to ten minutes old. One track: get_track_stats.

ParameterTypeDescription
daysPeriod in days: 7, 28, 90 or 365

get_faq hearthis.at FAQ

The FAQ of hearthis.at: how the site works, limits, Premium, uploads, formats, livestreams, payments, account. With query: the questions that answer it best, with their answers. With id (from an earlier result): one question with its answer. With neither: the topics and all questions, without answers. Look here before answering a question about hearthis.at itself; limits named in an answer are those of a free account. Every result carries the address of the question on https://hearthis.at/faq/.

ParameterTypeDescription
countintegerWith query: how many answers at most
idstringOne question: its id from a list or a search, e.g. "70"
langstringLanguage of questions and answers
querystringSearch words, in the language of lang

get_feed Feed

Newest public tracks on hearthis.at, or the popular ones (optionally within one genre).

ParameterTypeDescription
countintegerItems per page (max 50)
duration_maxintegerMaximum length in minutes
duration_minintegerMinimum length in minutes
genrestringGenre slug for type=popular, e.g. "techno" (see list_genres)
pageintegerPage, starting at 1
typestring

list_genres Genres

All genres with their ids and slugs. Includes "later" once the account saved something to Listen later.

get_genre_tracks Genre tracks

Tracks of one genre, newest first.

ParameterTypeDescription
genre *stringGenre id or slug from list_genres
countintegerItems per page (max 50)
duration_maxinteger
duration_mininteger
pageintegerPage, starting at 1

get_home_section Home section

One section of the hearthis.at home screen: stories (banners), latest_artists (featured artists), moods, newcomers (first upload in the last 7 days), genres_today (sounds per genre in the last 24 h), premium (plans and running promotion).

ParameterTypeDescription
section *string
countintegernewcomers (max 20) and genres_today (max 50)
genrestringnewcomers only: genre id from list_genres
pageintegerPage, starting at 1

get_events Events

Upcoming events (gigs, live shows), or one event with its id.

ParameterTypeDescription
author_idintegerOnly events by or with this user id
countintegerItems per page (max 100)
followed_onlybooleanOnly events of followed artists
fromstringStart date YYYY-MM-DD, default today
idintegerEvent id - returns only that event
pageintegerPage, starting at 1
tostringEnd date YYYY-MM-DD

get_listen_history Listen history

Tracks the account listened to recently.

ParameterTypeDescription
countintegerItems per page (max 100)

get_listen_later Listen later

The Listen later list of the account, newest first.

ParameterTypeDescription
countintegerItems per page (max 100)
pageintegerPage, starting at 1

get_track Track

Metadata of one track: title, artist, genre, duration, counts, stream and artwork URLs - and the cover as an image.

ParameterTypeDescription
author *stringProfile permalink, e.g. "djname" from https://hearthis.at/djname/
track *stringTrack permalink, e.g. "my-mix" from https://hearthis.at/djname/my-mix/

get_track_stats Track statistics

Statistics of an own track, the numbers of its statistics dialog: plays, embedded plays and downloads per day, and - unless locked (a free account) - sources, countries, cities, referring sites, download countries and the listening curve. Only for tracks of the account itself; any other track answers not found. The whole account: get_account_stats.

ParameterTypeDescription
author *stringProfile permalink, e.g. "djname" from https://hearthis.at/djname/
track *stringTrack permalink, e.g. "my-mix" from https://hearthis.at/djname/my-mix/

get_track_part Track part

More about one track: playlist (chapters / tracklist), transcript (AI transcript), related (similar tracks), reactions (emoji reactions) or comments.

ParameterTypeDescription
author *stringProfile permalink, e.g. "djname" from https://hearthis.at/djname/
part *string
track *stringTrack permalink, e.g. "my-mix" from https://hearthis.at/djname/my-mix/

toggle_like Like / unlike

Likes a track, or removes the like when it is already liked. The answer says the new state.

ParameterTypeDescription
author *stringProfile permalink, e.g. "djname" from https://hearthis.at/djname/
track *stringTrack permalink, e.g. "my-mix" from https://hearthis.at/djname/my-mix/

toggle_repost Repost / undo repost

Reposts a track to the account's followers, or takes the repost back when it already exists.

ParameterTypeDescription
author *stringProfile permalink, e.g. "djname" from https://hearthis.at/djname/
track *stringTrack permalink, e.g. "my-mix" from https://hearthis.at/djname/my-mix/

set_listen_later Listen later

Saves a track of someone else to Listen later (on=true), removes it (on=false), or toggles (on omitted).

ParameterTypeDescription
author *stringProfile permalink, e.g. "djname" from https://hearthis.at/djname/
track *stringTrack permalink, e.g. "my-mix" from https://hearthis.at/djname/my-mix/
onboolean

get_cast_url Cast URL

A signed MP3 URL of a track for a cast receiver, valid 12 hours; fetching it counts as a play of this account.

ParameterTypeDescription
author *stringProfile permalink, e.g. "djname" from https://hearthis.at/djname/
track *stringTrack permalink, e.g. "my-mix" from https://hearthis.at/djname/my-mix/

post_comment Comment

Posts a public comment on a track, optionally at a position in seconds or as a reply to another comment. To tag a person, write @ and their profile permalink followed by a space (e.g. "great set @djname "): the first @permalink of an existing profile becomes a link and that person is notified; further ones stay plain text. A punctuation mark right after the name ("@djname.") is no tag. Tag only who the user asked for.

ParameterTypeDescription
author *stringProfile permalink, e.g. "djname" from https://hearthis.at/djname/
comment *stringThe comment text; may tag one profile as @permalink
track *stringTrack permalink, e.g. "my-mix" from https://hearthis.at/djname/my-mix/
parentintegerId of the comment this replies to
positionintegerPosition in the track in seconds

delete_comment Delete comment

Deletes a comment of the account (or any comment on an own track).

ParameterTypeDescription
author *stringProfile permalink, e.g. "djname" from https://hearthis.at/djname/
comment_id *integer
track *stringTrack permalink, e.g. "my-mix" from https://hearthis.at/djname/my-mix/

post_reaction Reaction

Posts an emoji reaction at a position of a track. Valid reaction ids are in get_track_part part=reactions.

ParameterTypeDescription
author *stringProfile permalink, e.g. "djname" from https://hearthis.at/djname/
position *integerPosition in the track in seconds
reaction *integer
track *stringTrack permalink, e.g. "my-mix" from https://hearthis.at/djname/my-mix/

streaming_quality Streaming quality

Streaming quality of an own track. Without value: the current state. value=best queues the highest quality of the file type; a number queues that bitrate (999 = original MP3, 1000 = lossless). The change is transcoded in the background.

ParameterTypeDescription
author *stringProfile permalink, e.g. "djname" from https://hearthis.at/djname/
track *stringTrack permalink, e.g. "my-mix" from https://hearthis.at/djname/my-mix/
valuestring

copy_track_image Copy track image

Copies the cover or background image of another own track onto this own track.

ParameterTypeDescription
author *stringProfile permalink, e.g. "djname" from https://hearthis.at/djname/
from_track_id *integer
kind *string
track *stringTrack permalink, e.g. "my-mix" from https://hearthis.at/djname/my-mix/

upload_track Upload track

Uploads a local audio file (mp3, wav, flac, aac, m4a, ogg, aif/aiff, wma, opus) as a new track of the account, with optional metadata and cover. The track stays private unless private=false - publish only when the user asked for it. Only upload files the user named.

ParameterTypeDescription
file_path *stringAbsolute path of the audio file
commentsbooleanAllow comments
cover_pathstringAbsolute path of a JPG or PNG cover, max 10 MB
descriptionstring
downloadableboolean
genrestringGenre slug or label, e.g. "techno"
privatebooleanfalse publishes the track at once
release_atstringISO 8601 with UTC offset, e.g. 2026-07-01T20:00:00+02:00
tagsstringComma-separated
titlestring
trackliststringOne chapter per line: [HH:MM:SS] Artist - Title
unpublish_atstringISO 8601 with UTC offset, e.g. 2026-07-01T20:00:00+02:00

edit_track Edit track

Changes settings of an own track - everything the edit page can change, by the same rules. Only the fields given change; options the account cannot use (plan, fan programme, transcript) keep their value. private=false publishes the track and notifies followers. answer.waiting=true: the title matched a copyright keyword and the sound waits for approval.

ParameterTypeDescription
track_id *integer
ai_generatedboolean
artistsarrayUser ids of the artists on the sound - every newly tagged artist gets an e-mail; only tag artists the user named
auto_tracklistboolean
bitratestringBefore the first encoding only; later streaming_quality
block_sizeinteger
block_spaceinteger
bpminteger
buy_linkstring
buy_link_titlestring
commentsboolean
control_tagsarrayThe whole list of control tags of the sound, e.g. ["+radio", "+promo"] - only the owner sees them, they steer workflows; replaces the list, [] clears it. Premium only. Setting one starts the workflows…
descriptionstringMarkdown
download_filenamestring
download_gatestringWho may download
download_secretstring
downloadableboolean
embed_domainsarraySites allowed to embed the sound
fans_only_downloadboolean
fans_only_playboolean
fans_only_tracklistboolean
featuredbooleanSwitch a bought feature on or off
genrestringGenre slug or label (list_genres)
genre_ownstring
hiddenbooleanHide from the profile and the lists
latitudenumber
licensestring
locationstring
longitudenumber
more_byarray
musical_keystringMusical key, e.g. Abm
permalinkstringLast part of the track link; the old link keeps redirecting
podcastbooleanInclude in the podcast feed
privateboolean
relatedbooleanShow related sounds
release_atstringScheduled release, future - only for a private sound never published; empty clears
release_datestringOriginal release date YYYY-MM-DD
show_analysisbooleanShow the detected tempo and key
stats_hiddenboolean
subgenresarray
subtitlesboolean
tagsarray
templatePlayer theme
titlestringThe link stays - use permalink to change it
trackliststringOne chapter per line: [HH:MM:SS] Artist - Title
unpublish_atstringScheduled unpublish, future - only for a public sound; empty clears
versionstringe.g. Extended Mix
version_typestring
waveform_colorstring
waveform_highlightstring
waveform_style
youtube_startintegerSeconds
youtube_videostringYouTube link behind the player

delete_track Delete track

Deletes an own track. Ask the user for confirmation first.

ParameterTypeDescription
track_id *integer

set_track_cover Set track cover

Sets or replaces the cover of an own track from a local JPG or PNG (max 10 MB).

ParameterTypeDescription
image_path *stringAbsolute path of the image
track_id *integer

remove_track_cover Remove track cover

Removes the cover of an own track.

ParameterTypeDescription
track_id *integer

get_user User

A profile, or one of its lists: tracks, likes, reposts, following, followers, playlists, connected, badges.

ParameterTypeDescription
author *stringProfile permalink, e.g. "djname" from https://hearthis.at/djname/
countintegerItems per page (max 50)
liststring
pageintegerPage, starting at 1

toggle_follow Follow / unfollow

Follows a user, or unfollows when the account already follows them. User id from get_user.

ParameterTypeDescription
user_id *integer

badge_settings Badge settings

Shows badges on the profile (badges_public) and the weekly mail about new badges (email_badges). Only the fields given change.

ParameterTypeDescription
badges_publicboolean
email_badgesboolean

get_fan_subscriptions Fan subscriptions

subscribed: the fan subscriptions the account pays. subscribers: the account's fans with statistics.

ParameterTypeDescription
countintegerItems per page (max 100)
pageintegerPage, starting at 1
typestring

list_my_sets My sets

Sets (playlists) of the account.

ParameterTypeDescription
countintegerItems per page (max 50)
exclude_track_idintegerLeave out sets that contain this track
pageintegerPage, starting at 1

get_set Set

All tracks of a set.

ParameterTypeDescription
permalink *stringSet permalink from list_my_sets, e.g. "199387-7"

add_to_set Add to set

Adds a track to an existing set (set_id), or creates a new set with that name (new_set_name).

ParameterTypeDescription
track_id *integer
new_set_namestring
set_idinteger

edit_set Edit set

Changes a set of the account by the rules of its edit page - only the fields given change. Owner and moderators; privat only the owner.

ParameterTypeDescription
set_id *integer
descriptionstring
genrestringGenre slug (list_genres)
namestring
openbooleanOthers may add sounds
permalinkstringLast part of the set link
privateboolean
sortstring

edit_profile Edit profile

Changes the profile of the account by the rules of its settings page - only the fields given change. Options of a plan the account does not have keep their value. E-mail, password, profile address, payouts, podcast and fan subscriptions change only on the website; the answer lists such fields under ignored.

ParameterTypeDescription
captionstringCrew, label or subline below the name
default_bitrateAbove 192 Premium
default_commentsbooleanNew uploads allow comments (Pro and Premium)
default_downloadbooleanNew uploads are downloadable
default_hide_statisticsbooleanNew uploads hide their statistics
default_privatebooleanNew uploads start private (Pro and Premium)
descriptionstringProfile text (Markdown)
facebookstring
featured_track_idintegerOwn public sound shown first, 0 = none
genresarrayGenre slugs (list_genres), the first is the main genre
hide_followersbooleanPremium
hide_followingbooleanPremium
highlightstringHex colour without # (Premium)
is_groupbooleanA group, organization, label or band
linksarrayReplaces all links of the profile; [] removes them
namestring
placestring
support_urlstringDonation or support link
track_footerstringText shown below every own sound
twitterstring
use_profile_as_coverbooleanProfile picture as cover of uploads without one

remove_from_set Remove from set

Removes a track from a set of the account.

ParameterTypeDescription
set_id *integer
track_id *integer

delete_set Delete set

Deletes a set of the account (the tracks stay). Ask the user for confirmation first.

ParameterTypeDescription
set_id *integer

list_groups Groups

Groups of a genre, groups a user owns (user_groups) or groups a user joined (joined; default: this account).

ParameterTypeDescription
type *string
countintegerItems per page (max 50)
genrestringGenre slug for type=genre
pageintegerPage, starting at 1
user_idinteger

get_group Group

A group: info (metadata, own permissions and allowed_genres - the genre slugs members may add, empty for every genre), tracks (paged), members (owner first). A private group answers only its owner, its members and holders of its invitation link.

ParameterTypeDescription
group_id *integer
countintegerItems per page (max 50)
invitestringInvitation of a private group: its share link https://hearthis.at/group/{id}/{name}/{secret}/ or just the secret
pageintegerPage, starting at 1
partstring

create_group Create group

Creates a group owned by the account.

ParameterTypeDescription
name *string
descriptionstring
genrestringGenre slug
privatebooleanClosed group: only moderators add tracks
sortstring

edit_group Edit group

Changes a group by the rules of its edit page - only the fields given change. Owner and editors; private only the owner. member_notify=true mails the members about every new sound - only switch it on when the user asked. allowed_genres limits what members may add; owner and editors can still add any sound, and sounds already in the group stay.

ParameterTypeDescription
group_id *integer
allowed_genresarrayGenre slugs (list_genres) members may add - replaces the list; [] accepts every genre again
approvebooleanNew sounds wait for approval
descriptionstring
editorsarrayUser ids of the editors - replaces the list; owner only
genrestring
member_notifybooleanMail the members about new sounds
namestring
notifybooleanMail the owner about new sounds
openbooleanMembers may add sounds
permalinkstring
privateboolean
sortstring

join_group Join / leave group

Joins a group (join=true) or leaves it (join=false). The owner cannot leave. A private group can only be joined with its invitation link.

ParameterTypeDescription
group_id *integer
join *boolean
invitestringInvitation of a private group: its share link https://hearthis.at/group/{id}/{name}/{secret}/ or just the secret

group_track Add / remove group track

Adds a track to a group (add=true) or removes it (add=false). Owner, editors and the sound's author are published at once; others wait while the group asks for approval. A group limited to genres refuses a member's sound of another genre (403, the answer names allowed_genres). Adding notifies the members and may mail the owner.

ParameterTypeDescription
add *boolean
group_id *integer
track_id *integer

group_member_role Group member role

Owner only: makes a member an editor or a plain member, or blocks them (use group_block to lift a block).

ParameterTypeDescription
group_id *integer
role *string
user_id *integer

group_block Block / unblock in a group

Owner and editors: blocks a user from a group (they leave it and cannot join or add) or lifts the block.

ParameterTypeDescription
block *boolean
group_id *integer
user_id *integer

group_approve Approve a sound in a group

Owner and editors: publishes a sound that waits for approval; the members are told about it.

ParameterTypeDescription
group_id *integer
track_id *integer

delete_group Delete group

Owner only: deletes a group. Ask the user for confirmation first.

ParameterTypeDescription
group_id *integer

list_conversations Conversations

Direct-message conversations of the account, most recent first, with unread counts.

read_conversation Read conversation

Messages with one user, oldest first. Leaves them unread unless mark_read=true.

ParameterTypeDescription
user_id *integer
beforeintegerMessage id - returns the page of older messages
limitintegerItems per page (max 200)
mark_readboolean

poll_messages New messages

Incoming messages with an id above since (max 100). Without since only the current cursor comes back. Marks nothing as read.

ParameterTypeDescription
sinceinteger

send_message Send message

Sends a direct message (max 2000 characters) to a user. Only send what the user asked to send.

ParameterTypeDescription
message *string
user_id *integer

delete_conversation Delete conversation

Deletes a whole conversation for both sides. Ask the user for confirmation first.

ParameterTypeDescription
user_id *integer

list_workflows List workflows

The workflows of the account in their order, each with state (off, log = test run, on), version and its rule (trigger, conditions, actions).

create_workflow Create workflow

Creates a workflow (at most 20). Start it as a test run (state "log") or "off" and check it with test_workflow first: "on" acts on every new upload from then on. It never touches the sounds there are - that is apply_workflow. Wording for the user: workflows do the routine work on their uploads by rule.

ParameterTypeDescription
definition *objectA rule: When (trigger) - If (all conditions hold) - Then (actions in order). trigger: ready (encoded and cleared), published (public), analysed (tempo and key known), tagged (a control tag set by hand…
name *string
statestringoff: does nothing by itself; log: test run - on new sounds it only writes down in the history what it would do; on: acts on new sounds

edit_workflow Edit workflow

Changes the name, the state or the rule of a workflow - only what is given. A new rule is a new version; switching it on or changing its trigger makes it act on uploads from then on.

ParameterTypeDescription
workflow_id *integer
definitionobjectA rule: When (trigger) - If (all conditions hold) - Then (actions in order). trigger: ready (encoded and cleared), published (public), analysed (tempo and key known), tagged (a control tag set by hand…
namestring
statestringoff: does nothing by itself; log: test run - on new sounds it only writes down in the history what it would do; on: acts on new sounds

delete_workflow Delete workflow

Deletes a workflow. What it did stays in the history and can still be undone. Ask the user for confirmation first.

ParameterTypeDescription
workflow_id *integer

workflow_webhook Workflow webhooks

How the webhook calls of the account are signed and how many went out today (show), a new signing secret that replaces the old one at once - receivers then need the new one (renew), or one signed test call to an https address with an example sound (test, at most 20 an hour). A call is a POST with JSON; X-Hearthis-Signature is sha256= and the HMAC-SHA256 of X-Hearthis-Timestamp, a dot and the body. The secret itself never comes through this server: the user copies it under Webhooks on https://hearthis.at/workflows/.

ParameterTypeDescription
action *string
urlstringFor test

order_workflows Order workflows

Sets the order the workflows run in on a sound - the ids given first, in that order, the others behind them. Matters for stop.

ParameterTypeDescription
workflow_ids *array

test_workflow Test workflow

Shows what a saved workflow (workflow_id) or a draft (definition) would do to the own sounds - which match, and per sound each action with apply or skip and why. Writes nothing. One page at a time: pass next as before for older sounds. With track_id it checks one sound and shows every condition.

ParameterTypeDescription
beforeintegerThe next of the previous answer
definitionobjectA rule: When (trigger) - If (all conditions hold) - Then (actions in order). trigger: ready (encoded and cleared), published (public), analysed (tempo and key known), tagged (a control tag set by hand…
track_idinteger
workflow_idinteger

apply_workflow Apply workflow

Applies a saved workflow to the sounds the account already has - the ones given, else all (up to 10,000) - in the background. Every change goes into the history and can be undone (undo_workflow). Emails are never sent here. One run at a time; follow it with get_workflow_run. Tell the user what test_workflow showed and ask before applying it to all sounds.

ParameterTypeDescription
workflow_id *integer
track_idsarrayLeave out for all sounds

get_workflow_run Workflow runs

A run of apply_workflow or undo_workflow with its progress (done of total, applied, skipped, failed) - or, without run_id, the recent runs.

ParameterTypeDescription
run_idinteger

cancel_workflow_run Cancel workflow run

Stops an open run. What it changed so far stays - undo it with undo_workflow and the run_id.

ParameterTypeDescription
run_id *integer

workflow_history Workflow history

What the workflows did, newest first: per sound and action the value before and after, applied or skipped and why, and whether it was undone. Filter by workflow, sound or run; pass next as before for older entries.

ParameterTypeDescription
beforeinteger
run_idinteger
track_idinteger
workflow_idinteger

undo_workflow Undo workflow changes

Takes back what a workflow did: one history entry (entry_id) right away, or a whole run (run_id) in the background. Only what is still as the workflow left it - a value the user changed since stays. Emails cannot be taken back.

ParameterTypeDescription
entry_idinteger
run_idinteger

list_control_tags Control tags

The control tags of the account (+name, only the owner sees them) with how many sounds carry each, plus the ones the workflows name. q filters by the start, e.g. "+ra".

ParameterTypeDescription
qstring

list_feeds Synced feeds

The podcast/RSS feeds the account keeps in sync - looked at hourly: new episodes become sounds, a changed title or description follows the feed unless the user changed it on hearthis.at. With feed_id one feed and its latest episodes.

ParameterTypeDescription
feed_idinteger

add_feed Keep a feed in sync

Keeps a podcast/RSS feed in sync (Premium, at most 3 per profile). start "new" (default): only episodes that appear later; "all": every episode, a few per hour - episodes imported before are taken over, not imported twice. private: new episodes come in private. Imported episodes are public unless private - ask before adding a feed with start "all".

ParameterTypeDescription
url *string
privateboolean
startstring

edit_feed Change a synced feed

private: new episodes come in private; paused: true pauses the sync, false resumes it (also after errors).

ParameterTypeDescription
feed_id *integer
pausedboolean
privateboolean

check_feed Check a feed now

Looks at a synced feed now: notes new episodes and changed titles or descriptions; the episodes themselves come in with the next runs (every 5 minutes). Once every 5 minutes per feed.

ParameterTypeDescription
feed_id *integer

remove_feed Stop syncing a feed

Stops keeping the feed in sync. The sounds it brought stay.

ParameterTypeDescription
feed_id *integer