Skip to main content

Changelog 2022-09-22

· One min read
Mika Zimina

Free text search API is now available!

We are excited to present our new free text search, that allows you to search tracks by describing what you want in plain English text! It works with both user libraries and Spotify. Here is an example query for that:

query FreeTextSearchExample {
freeTextSearch(
first: 10
target: { spotify: {} }
searchText: "relaxing and quiet song for meditation"
) {
... on FreeTextSearchError {
message
code
}
... on FreeTextSearchConnection {
edges {
cursor
node {
id
title
}
}
}
}
}

This query will return you 10 tracks from Spotify which should fit the desired "relaxing and quiet song for meditation" description. There is no limitations on the search text, so you can find any song you wish! If you are interested in this feature reach out to our sales team via sales@cyanite.ai. For technical details please visit our docs.