Get autocomplete suggestions for podcasts
This endpoint is public and does not require authentication.
1const options = {
2 method: "GET",
3 headers: {
4 "Content-Type": "application/json",
5 "Authorization": "YOUR_API_TOKEN"
6 }
7};
8
9fetch("https://api.podengine.ai/api/v1/autocomplete/podcasts?query=this", options)
10 .then(response => response.json())
11 .then(data => console.log(data))
12 .catch(error => console.error('Error:', error));
Property | Type | Description |
---|---|---|
query | string | The fuzzy search query to match against the podcast title |
Property | Type | Description |
---|---|---|
status | literal: OK | |
data | object | |
└podcasts | array of object | |
└authornullable | string | |
└genres | array of string | |
└id | string | |
└imageUrlnullable | string | |
└language | string | |
└lastEpisodePublishedAt | date | |
└slug | string | |
└title | string | |
└words | array of string |