Fetch Podcast Details And Episodes
curl --request POST \
--url https://api.aisa.one/apis/v1/listennotes/fetch-podcast-episodes-by-id \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"id": "<string>"
}
'import requests
url = "https://api.aisa.one/apis/v1/listennotes/fetch-podcast-episodes-by-id"
payload = { "id": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({id: '<string>'})
};
fetch('https://api.aisa.one/apis/v1/listennotes/fetch-podcast-episodes-by-id', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/listennotes/fetch-podcast-episodes-by-id",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'id' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/listennotes/fetch-podcast-episodes-by-id"
payload := strings.NewReader("{\n \"id\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/listennotes/fetch-podcast-episodes-by-id")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"id\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/listennotes/fetch-podcast-episodes-by-id")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"id\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"country": "United States",
"description": "Exponent is a podcast about the business and strategy of technology. Your hosts are Ben Thompson, author of Stratechery, and James Allworth, author and writer for Harvard Business Review.",
"earliest_pub_date_ms": 1470667902000,
"episodes": [
{
"audio": "https://www.listennotes.com/e/p/11b34041e804491b9704d11f283c74de/",
"audio_length_sec": 2300,
"description": "This week, Ben and James discuss Foxconn's acquisition of Sharp, the state of the VR market, and Microsoft's new Tay chatbot.",
"explicit_content": false,
"id": "11b34041e804491b9704d11f283c74de",
"image": "https://cdn-images-3.listennotes.com/podcasts/exponent-ben-thompson-james-allworth-OaJSjb4xQv3.1400x1400.jpg",
"link": "https://www.listennotes.com/e/11b34041e804491b9704d11f283c74de-episode-66-the-end-of-moore-s-law/",
"listennotes_edit_url": "https://www.listennotes.com/e/11b34041e804491b9704d11f283c74de/#edit",
"listennotes_url": "https://www.listennotes.com/e/11b34041e804491b9704d11f283c74de-episode-66-the-end-of-moore-s-law/",
"maybe_audio_invalid": false,
"pub_date_ms": 1474873200000,
"thumbnail": "https://cdn-images-3.listennotes.com/podcasts/exponent-ben-thompson-james-allworth-OaJSjb4xQv3.300x300.jpg",
"title": "Episode 66: The End of Moore’s Law"
}
],
"explicit_content": false,
"extra": {
"facebook_handle": "ListenNotes",
"google_url": "https://podcasts.google.com/?feed=aHR0cHM6Ly9leHBvbmVudC5saWJzeW4uY29tL3Jzcw==",
"instagram_handle": "listennotescom",
"linkedin_url": "https://www.linkedin.com/company/listen-notes/",
"patreon_handle": "creators",
"rss": "https://www.listennotes.com/c/r/896354638",
"twitter_handle": "listennotes",
"url1": "https://itunes.apple.com/us/podcast/id896354638",
"url2": "https://open.spotify.com/show/6gW0t2sSRKj6q6LzLgL2yM",
"url3": "https://www.stitcher.com/podcast/exponent",
"wechat_handle": "listennotes_official",
"youtube_url": "https://www.youtube.com/channel/UCn0td-526yE44t2h57n9vHA"
},
"genre_ids": [
138,
86,
160,
68,
82,
100,
101
],
"has_guest_interviews": false,
"has_sponsors": false,
"id": "896354638",
"image": "https://cdn-images-3.listennotes.com/podcasts/exponent-ben-thompson-james-allworth-OaJSjb4xQv3.1400x1400.jpg",
"is_claimed": false,
"itunes_id": 896354638,
"language": "English",
"latest_episode_id": "11b34041e804491b9704d11f283c74de",
"latest_pub_date_ms": 1474873200000,
"listen_score": 81,
"listen_score_global_rank": "0.5%",
"listennotes_url": "https://www.listennotes.com/c/896354638/",
"looking_for": {
"cohosts": false,
"cross_promotion": false,
"guests": false,
"sponsors": false
},
"next_episode_pub_date": 1470667902000,
"publisher": "Planet Broadcasting",
"rss": "https://www.listennotes.com/c/r/896354638",
"thumbnail": "https://cdn-images-3.listennotes.com/podcasts/exponent-ben-thompson-james-allworth-OaJSjb4xQv3.300x300.jpg",
"title": "Exponent",
"total_episodes": 100,
"website": "http://exponent.fm"
}
}Listen Notes
Fetch Podcast Details And Episodes
Fetch Podcast Details And Episodes
POST
https://api.aisa.one
/
apis
/
v1
/
listennotes
/
fetch-podcast-episodes-by-id
Fetch Podcast Details And Episodes
curl --request POST \
--url https://api.aisa.one/apis/v1/listennotes/fetch-podcast-episodes-by-id \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"id": "<string>"
}
'import requests
url = "https://api.aisa.one/apis/v1/listennotes/fetch-podcast-episodes-by-id"
payload = { "id": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({id: '<string>'})
};
fetch('https://api.aisa.one/apis/v1/listennotes/fetch-podcast-episodes-by-id', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/listennotes/fetch-podcast-episodes-by-id",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'id' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/listennotes/fetch-podcast-episodes-by-id"
payload := strings.NewReader("{\n \"id\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/listennotes/fetch-podcast-episodes-by-id")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"id\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/listennotes/fetch-podcast-episodes-by-id")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"id\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"country": "United States",
"description": "Exponent is a podcast about the business and strategy of technology. Your hosts are Ben Thompson, author of Stratechery, and James Allworth, author and writer for Harvard Business Review.",
"earliest_pub_date_ms": 1470667902000,
"episodes": [
{
"audio": "https://www.listennotes.com/e/p/11b34041e804491b9704d11f283c74de/",
"audio_length_sec": 2300,
"description": "This week, Ben and James discuss Foxconn's acquisition of Sharp, the state of the VR market, and Microsoft's new Tay chatbot.",
"explicit_content": false,
"id": "11b34041e804491b9704d11f283c74de",
"image": "https://cdn-images-3.listennotes.com/podcasts/exponent-ben-thompson-james-allworth-OaJSjb4xQv3.1400x1400.jpg",
"link": "https://www.listennotes.com/e/11b34041e804491b9704d11f283c74de-episode-66-the-end-of-moore-s-law/",
"listennotes_edit_url": "https://www.listennotes.com/e/11b34041e804491b9704d11f283c74de/#edit",
"listennotes_url": "https://www.listennotes.com/e/11b34041e804491b9704d11f283c74de-episode-66-the-end-of-moore-s-law/",
"maybe_audio_invalid": false,
"pub_date_ms": 1474873200000,
"thumbnail": "https://cdn-images-3.listennotes.com/podcasts/exponent-ben-thompson-james-allworth-OaJSjb4xQv3.300x300.jpg",
"title": "Episode 66: The End of Moore’s Law"
}
],
"explicit_content": false,
"extra": {
"facebook_handle": "ListenNotes",
"google_url": "https://podcasts.google.com/?feed=aHR0cHM6Ly9leHBvbmVudC5saWJzeW4uY29tL3Jzcw==",
"instagram_handle": "listennotescom",
"linkedin_url": "https://www.linkedin.com/company/listen-notes/",
"patreon_handle": "creators",
"rss": "https://www.listennotes.com/c/r/896354638",
"twitter_handle": "listennotes",
"url1": "https://itunes.apple.com/us/podcast/id896354638",
"url2": "https://open.spotify.com/show/6gW0t2sSRKj6q6LzLgL2yM",
"url3": "https://www.stitcher.com/podcast/exponent",
"wechat_handle": "listennotes_official",
"youtube_url": "https://www.youtube.com/channel/UCn0td-526yE44t2h57n9vHA"
},
"genre_ids": [
138,
86,
160,
68,
82,
100,
101
],
"has_guest_interviews": false,
"has_sponsors": false,
"id": "896354638",
"image": "https://cdn-images-3.listennotes.com/podcasts/exponent-ben-thompson-james-allworth-OaJSjb4xQv3.1400x1400.jpg",
"is_claimed": false,
"itunes_id": 896354638,
"language": "English",
"latest_episode_id": "11b34041e804491b9704d11f283c74de",
"latest_pub_date_ms": 1474873200000,
"listen_score": 81,
"listen_score_global_rank": "0.5%",
"listennotes_url": "https://www.listennotes.com/c/896354638/",
"looking_for": {
"cohosts": false,
"cross_promotion": false,
"guests": false,
"sponsors": false
},
"next_episode_pub_date": 1470667902000,
"publisher": "Planet Broadcasting",
"rss": "https://www.listennotes.com/c/r/896354638",
"thumbnail": "https://cdn-images-3.listennotes.com/podcasts/exponent-ben-thompson-james-allworth-OaJSjb4xQv3.300x300.jpg",
"title": "Exponent",
"total_episodes": 100,
"website": "http://exponent.fm"
}
}请求规范
- 方法与路径: POST /apis/v1/listennotes/fetch-podcast-episodes-by-id
- 可用状态: enabled
- 请求 URL 模板:
https://api.aisa.one/apis/v1/listennotes/fetch-podcast-episodes-by-id
{
"operationId": "listennotes.fetch-podcast-episodes-by-id",
"method": "POST",
"path": "/apis/v1/listennotes/fetch-podcast-episodes-by-id",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"properties": {
"id": {
"description": "Podcast id. You can get podcast id from using other endpoints, e.g., `GET /search`, `GET /best_podcasts`... ",
"type": "string"
},
"next_episode_pub_date": {
"description": "For episodes pagination. It\"s the value of **next_episode_pub_date** from the response of last request. If not specified, just return latest 10 episodes or oldest 10 episodes, depending on the value of the **sort** parameter. ",
"type": "integer"
},
"sort": {
"default": "recent_first",
"description": "How do you want to sort the episodes of this podcast? ",
"enum": [
"oldest_first",
"recent_first"
],
"type": "string"
}
},
"required": [
"id"
],
"type": "object"
}
}
},
"required": true
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
费用与请求规则
按实际用量收费。 默认请求预估费用:$0.0403 USD。 最终费用以实际用量为准。 账户适用价格可能不同;支持报价的接口可按实际请求获取报价。授权
请求体
application/json