Podcast API 教程 - 如何使用 Listen API 构建播客应用程序?

API 版本:V2 · PodcastAPI.com
询问 ChatGPT , Claude , 或 Gemini 关于 Podcast API
请阅读 https://www.podcastapi.com/llms-full.txt,这样我就可以询问有关 Listen Notes Podcast API 的问题。
有疑问? hello@listennotes.com

0. Do you provide a mock API server for Listen Notes Podcast API?

Yes, you can try out our podcast API without api keys. 阅读详细教程

1. How to get latest (or all) episodes of a podcast?

Use GET /podcasts/{id} or POST /podcasts. 阅读详细教程

2. How to implement "import OPML" and "export OPML" in a podcast app?

Use POST /podcasts. 阅读详细教程

3. How to build a playlist for episodes in a podcast app?

Use POST /episodes or GET /playlists/{id}. 阅读详细教程

4. How to fetch new episodes for subscribed podcasts using podcast api?

Use POST /podcasts and GET /podcasts/{id}. 阅读详细教程

5. How to search episodes for specific podcasts using podcast api?

Use GET /search with the "ocid" parameter (for the podcast id). 阅读详细教程

6. How to fetch metadata (e.g., rss, episodes...) of podcasts by Apple Podcasts IDs or Spotify ids?

POST /podcasts with the "itunes_ids" / "spotify_ids" parameter. 阅读详细教程

7. How to check how many requests I've used in this billing cycle?

Check the X-ListenAPI-Usage header in the response. 阅读详细教程

8. How to have multiple API keys without creating multiple accounts?

Go to the APPS tab of your API Dashboard. 阅读详细教程

9. How to get sub-genres for a particular podcast genre?

Use GET /genres and the parent_id data field. 阅读详细教程

10. How to get more accurate search results when searching podcast names?

Search only the podcast name & publisher name. Use double quotes. 阅读详细教程

11. How to get podcast / episode / playlist ids on Listen Notes?

"Use API to fetch this..." link. 阅读详细教程

12. How to use webhooks of podcast api?

Go to the "WEBHOOKS" tab in your API Dashboard. 阅读详细教程

13. How to create audio or video clips for a specific podcast episode?

Download the audio and use tools like FFmpeg. 阅读详细教程

14. What's the easiest way for our human content curators to handpick specific podcasts/episodes into our app using podcast api?

Use Listen Later playlists. 阅读详细教程

15. How to get transcripts of any podcast episodes using podcast api?

Pass the "show_transcript=1" parameter to GET /episodes/{id} or transcribe on your own. 阅读详细教程

16. How to use various podcast search endpoints?

GET /trending_searches, GET /typeahead, GET /search, GET /related_searches... 阅读详细教程

17. Do you provide a pre-built embedded podcast player that I can put on my website?

Append "embed/" to "listennotes_url". 阅读详细教程

18. How to get popular podcasts by country / category?

Use GET /best_podcasts with sort=listen_score. 阅读详细教程