Full-text search

GET {{baseUrl}}/search?q=<string>&sort_by_date=0&type=episode&offset=0&len_min=0&len_max=<integer>&episode_count_min=<integer>&episode_count_max=<integer>&update_freq_min=<integer>&update_freq_max=<integer>&genre_ids=<string>&published_before=<integer>&published_after=0&only_in=title,description,author,audio&language=<string>&region=<string>&ocid=<string>&ncid=<string>&safe_mode=0&unique_podcasts=0&interviews_only=0&sponsored_only=0&page_size=10

Full-text search on episodes, podcasts, or curated lists of podcasts. Use the offset parameter to paginate through search results. The FREE plan allows to see up to 30 search results (or offset < 30) per query. The PRO plan allows to see up to 300 search results (or offset < 300) per query. The ENTERPRISE plan allows to see up to 10,000 search results (or offset < 10000) per query.

Request Params

KeyDatatypeRequiredDescription
qstring(Required) Search term, e.g., person, place, topic... You can use double quotes to do verbatim match, e.g., "game of thrones". Otherwise, it's fuzzy search.
sort_by_datenumberSort by date or not? If 0, then sort by relevance. If 1, then sort by date.
typestringWhat type of contents do you want to search for?
offsetnumberOffset for search results, for pagination. You'll use next_offset from response for this parameter.
len_minnumberMinimum audio length in minutes. Applicable only when type parameter is episode or podcast.
If type parameter is episode, it's for audio length of an episode.
If type parameter is podcast, it's for average audio length of all episodes in a podcast.
len_maxstringMaximum audio length in minutes. Applicable only when type parameter is episode or podcast.
If type parameter is episode, it's for audio length of an episode.
If type parameter is podcast, it's for average audio length of all episodes in a podcast.
episode_count_minstringMinimum number of episodes. Applicable only when type parameter is podcast.
episode_count_maxstringMaximum number of episodes. Applicable only when type parameter is podcast.
update_freq_minstringMinimum update frequency in hours (how frequently does a podcast release a new episode). For example, if you want to find "weekly" podcasts, then you can set update_freq_min=144 hours (or 6 days) and update_freq_max=192 hours (or 8 days). Applicable only when type parameter is podcast.
update_freq_maxstringMaximum update frequency in hours (how frequently does a podcast release a new episode). For example, if you want to find "weekly" podcasts, then you can set update_freq_min=144 hours (or 6 days) and update_freq_max=192 hours (or 8 days). Applicable only when type parameter is podcast.
genre_idsstringA comma-delimited string of a list of genre ids. If not specified, then all genres are included. You can find the id and the name of all genres from GET /genres. It works only when type is episode or podcast.
published_beforestringOnly show episodes/podcasts/curated lists published before this timestamp (in milliseconds). If published_before & published_after are used at the same time, published_before should be bigger than published_after.
published_afternumberOnly show episodes/podcasts/curated lists published after this timestamp (in milliseconds). If published_before & published_after are used at the same time, published_before should be bigger than published_after.
only_instringA comma-delimited string to search only in specific fields. Allowed values are title, description, author, and audio. If not specified, then search every fields.
languagestringLimit search results to a specific language. If not specified, it'll be any language. You can get a list of supported languages from GET /languages. It works only when type is episode or podcast.
regionstringLimit search results to a specific region (e.g., us, gb, in...). If not specified, it'll be any region. You can get the supported country codes from GET /regions. It works only when type is episode or podcast.
ocidstringA comma-delimited string of podcast ids (up to 5 podcasts) - you can get a podcast id from the podcast_id field in response. This parameter is to limit search results from only a few specific podcasts. It works only when type is episode.
ncidstringA comma-delimited string of podcast ids (up to 5 podcasts) - you can get a podcast id from the podcast_id field in response. This parameter is to exclude search results of a few specific podcasts. It works only when type is episode.
safe_modenumberWhether or not to exclude podcasts/episodes with explicit language. 1 is yes and 0 is no. It works only when type is episode or podcast.
unique_podcastsnumberWhether or not to keep only one episode per podcast in search results. 1 is yes and 0 is no. It works only when type is episode.
interviews_onlynumberWhether or not to keep only podcasts that have guest interviews in search results. 1 is yes and 0 is no. It works only when type is podcast.
This parameter is available only in the PRO/ENTERPRISE plan.
sponsored_onlynumberWhether or not to keep only podcasts that have sponsors in search results. 1 is yes and 0 is no. It works only when type is podcast.
This parameter is available only in the PRO/ENTERPRISE plan.
page_sizenumberThe maximum number of search results per page. A valid value should be an integer between 1 and 10 (inclusive).

HEADERS

KeyDatatypeRequiredDescription
X-ListenAPI-Keystring(Required) Get API Key on listennotes.com/api
Acceptstring

RESPONSES

status: OK

{&quot;next_offset&quot;:&quot;\u003cinteger\u003e&quot;,&quot;took&quot;:&quot;\u003cnumber\u003e&quot;,&quot;total&quot;:&quot;\u003cinteger\u003e&quot;,&quot;count&quot;:&quot;\u003cinteger\u003e&quot;,&quot;results&quot;:[{&quot;audio&quot;:&quot;\u003cstring\u003e&quot;,&quot;audio_length_sec&quot;:&quot;\u003cinteger\u003e&quot;,&quot;rss&quot;:&quot;\u003cstring\u003e&quot;,&quot;description_highlighted&quot;:&quot;\u003cstring\u003e&quot;,&quot;description_original&quot;:&quot;\u003cstring\u003e&quot;,&quot;title_highlighted&quot;:&quot;\u003cstring\u003e&quot;,&quot;title_original&quot;:&quot;\u003cstring\u003e&quot;,&quot;transcripts_highlighted&quot;:[&quot;\u003cstring\u003e&quot;,&quot;\u003cstring\u003e&quot;],&quot;image&quot;:&quot;\u003cstring\u003e&quot;,&quot;thumbnail&quot;:&quot;\u003cstring\u003e&quot;,&quot;itunes_id&quot;:&quot;\u003cinteger\u003e&quot;,&quot;pub_date_ms&quot;:&quot;\u003cinteger\u003e&quot;,&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;listennotes_url&quot;:&quot;\u003cstring\u003e&quot;,&quot;explicit_content&quot;:&quot;\u003cboolean\u003e&quot;,&quot;link&quot;:&quot;\u003cstring\u003e&quot;,&quot;podcast&quot;:{&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;genre_ids&quot;:[&quot;\u003cinteger\u003e&quot;,&quot;\u003cinteger\u003e&quot;],&quot;listennotes_url&quot;:&quot;\u003cstring\u003e&quot;,&quot;title_highlighted&quot;:&quot;\u003cstring\u003e&quot;,&quot;title_original&quot;:&quot;\u003cstring\u003e&quot;,&quot;publisher_highlighted&quot;:&quot;\u003cstring\u003e&quot;,&quot;publisher_original&quot;:&quot;\u003cstring\u003e&quot;,&quot;image&quot;:&quot;\u003cstring\u003e&quot;,&quot;thumbnail&quot;:&quot;\u003cstring\u003e&quot;,&quot;listen_score&quot;:&quot;\u003cinteger\u003e&quot;,&quot;listen_score_global_rank&quot;:&quot;\u003cstring\u003e&quot;}},{&quot;audio&quot;:&quot;\u003cstring\u003e&quot;,&quot;audio_length_sec&quot;:&quot;\u003cinteger\u003e&quot;,&quot;rss&quot;:&quot;\u003cstring\u003e&quot;,&quot;description_highlighted&quot;:&quot;\u003cstring\u003e&quot;,&quot;description_original&quot;:&quot;\u003cstring\u003e&quot;,&quot;title_highlighted&quot;:&quot;\u003cstring\u003e&quot;,&quot;title_original&quot;:&quot;\u003cstring\u003e&quot;,&quot;transcripts_highlighted&quot;:[&quot;\u003cstring\u003e&quot;,&quot;\u003cstring\u003e&quot;],&quot;image&quot;:&quot;\u003cstring\u003e&quot;,&quot;thumbnail&quot;:&quot;\u003cstring\u003e&quot;,&quot;itunes_id&quot;:&quot;\u003cinteger\u003e&quot;,&quot;pub_date_ms&quot;:&quot;\u003cinteger\u003e&quot;,&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;listennotes_url&quot;:&quot;\u003cstring\u003e&quot;,&quot;explicit_content&quot;:&quot;\u003cboolean\u003e&quot;,&quot;link&quot;:&quot;\u003cstring\u003e&quot;,&quot;podcast&quot;:{&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;genre_ids&quot;:[&quot;\u003cinteger\u003e&quot;,&quot;\u003cinteger\u003e&quot;],&quot;listennotes_url&quot;:&quot;\u003cstring\u003e&quot;,&quot;title_highlighted&quot;:&quot;\u003cstring\u003e&quot;,&quot;title_original&quot;:&quot;\u003cstring\u003e&quot;,&quot;publisher_highlighted&quot;:&quot;\u003cstring\u003e&quot;,&quot;publisher_original&quot;:&quot;\u003cstring\u003e&quot;,&quot;image&quot;:&quot;\u003cstring\u003e&quot;,&quot;thumbnail&quot;:&quot;\u003cstring\u003e&quot;,&quot;listen_score&quot;:&quot;\u003cinteger\u003e&quot;,&quot;listen_score_global_rank&quot;:&quot;\u003cstring\u003e&quot;}}]}