Get podcast recommendations by id
curl --request POST \
--url https://api.aisa.one/apis/v1/listennotes/fetch-recommendations-for-a-podcast \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"id": "<string>"
}
'import requests
url = "https://api.aisa.one/apis/v1/listennotes/fetch-recommendations-for-a-podcast"
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-recommendations-for-a-podcast', 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-recommendations-for-a-podcast",
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-recommendations-for-a-podcast"
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-recommendations-for-a-podcast")
.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-recommendations-for-a-podcast")
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": {
"recommendations": [
{
"audio_length_sec": 1291,
"country": "United States",
"description": "<p>The Star Wars 7x7 Podcast is Rebel-rousing fun for everyday Jedi, between 7 and 14 minutes a day, 7 days a week. Join host Allen Voivod for Star Wars news, history, interviews, trivia, and deep dives into the Star Wars story as told in movies, books, comics, games, cartoons, and more. Subscribe now for your daily dose of Star Wars joy. It's destiny unleashed!</p>",
"earliest_pub_date_ms": 1470667902000,
"email": "hello@example.com",
"explicit_content": false,
"extra": {
"amazon_music_url": "https://music.amazon.com/podcasts/6fc6d683-9ef3-4850-9c35-8e8b1a42a147/the-lock-sportscast",
"facebook_handle": "sw7x7",
"instagram_handle": "sw7x7",
"linkedin_url": "<string>",
"patreon_handle": "sw7x7",
"spotify_url": "https://open.spotify.com/show/2rQJUP9Y3HxemiW3JHt9WV",
"twitter_handle": "SW7x7podcast",
"url1": "<string>",
"url2": "<string>",
"url3": "<string>",
"wechat_handle": "<string>",
"youtube_url": "https://www.youtube.com/sw7x7"
},
"genre_ids": [
138,
86,
160,
68,
82,
100,
101
],
"has_guest_interviews": false,
"has_sponsors": false,
"id": "4d3fe717742d4963a85562e9f84d8c79",
"image": "https://cdn-images-3.listennotes.com/podcasts/exponent-ben-thompson-james-allworth-OaJSjb4xQv3.1400x1400.jpg",
"is_claimed": true,
"itunes_id": 896354638,
"language": "English",
"latest_episode_id": "d057092e57cc4ced80e0efaa196593d9",
"latest_pub_date_ms": 1557499770000,
"listen_score": 81,
"listen_score_global_rank": "0.5%",
"listennotes_url": "https://www.listennotes.com/c/4d3fe717742d4963a85562e9f84d8c79/",
"looking_for": {
"cohosts": true,
"cross_promotion": true,
"guests": true,
"sponsors": true
},
"publisher": "Planet Broadcasting",
"rss": "https://sw7x7.libsyn.com/rss",
"thumbnail": "https://cdn-images-3.listennotes.com/podcasts/exponent-ben-thompson-james-allworth-OaJSjb4xQv3.300x300.jpg",
"title": "Star Wars 7x7 | Star Wars News, Interviews, and More!",
"total_episodes": 324,
"type": "episodic",
"update_frequency_hours": 168,
"website": "http://sw7x7.com/"
}
]
}
}Listen Notes
Get podcast recommendations by id
Get podcast recommendations by id
POST
https://api.aisa.one
/
apis
/
v1
/
listennotes
/
fetch-recommendations-for-a-podcast
Get podcast recommendations by id
curl --request POST \
--url https://api.aisa.one/apis/v1/listennotes/fetch-recommendations-for-a-podcast \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"id": "<string>"
}
'import requests
url = "https://api.aisa.one/apis/v1/listennotes/fetch-recommendations-for-a-podcast"
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-recommendations-for-a-podcast', 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-recommendations-for-a-podcast",
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-recommendations-for-a-podcast"
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-recommendations-for-a-podcast")
.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-recommendations-for-a-podcast")
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": {
"recommendations": [
{
"audio_length_sec": 1291,
"country": "United States",
"description": "<p>The Star Wars 7x7 Podcast is Rebel-rousing fun for everyday Jedi, between 7 and 14 minutes a day, 7 days a week. Join host Allen Voivod for Star Wars news, history, interviews, trivia, and deep dives into the Star Wars story as told in movies, books, comics, games, cartoons, and more. Subscribe now for your daily dose of Star Wars joy. It's destiny unleashed!</p>",
"earliest_pub_date_ms": 1470667902000,
"email": "hello@example.com",
"explicit_content": false,
"extra": {
"amazon_music_url": "https://music.amazon.com/podcasts/6fc6d683-9ef3-4850-9c35-8e8b1a42a147/the-lock-sportscast",
"facebook_handle": "sw7x7",
"instagram_handle": "sw7x7",
"linkedin_url": "<string>",
"patreon_handle": "sw7x7",
"spotify_url": "https://open.spotify.com/show/2rQJUP9Y3HxemiW3JHt9WV",
"twitter_handle": "SW7x7podcast",
"url1": "<string>",
"url2": "<string>",
"url3": "<string>",
"wechat_handle": "<string>",
"youtube_url": "https://www.youtube.com/sw7x7"
},
"genre_ids": [
138,
86,
160,
68,
82,
100,
101
],
"has_guest_interviews": false,
"has_sponsors": false,
"id": "4d3fe717742d4963a85562e9f84d8c79",
"image": "https://cdn-images-3.listennotes.com/podcasts/exponent-ben-thompson-james-allworth-OaJSjb4xQv3.1400x1400.jpg",
"is_claimed": true,
"itunes_id": 896354638,
"language": "English",
"latest_episode_id": "d057092e57cc4ced80e0efaa196593d9",
"latest_pub_date_ms": 1557499770000,
"listen_score": 81,
"listen_score_global_rank": "0.5%",
"listennotes_url": "https://www.listennotes.com/c/4d3fe717742d4963a85562e9f84d8c79/",
"looking_for": {
"cohosts": true,
"cross_promotion": true,
"guests": true,
"sponsors": true
},
"publisher": "Planet Broadcasting",
"rss": "https://sw7x7.libsyn.com/rss",
"thumbnail": "https://cdn-images-3.listennotes.com/podcasts/exponent-ben-thompson-james-allworth-OaJSjb4xQv3.300x300.jpg",
"title": "Star Wars 7x7 | Star Wars News, Interviews, and More!",
"total_episodes": 324,
"type": "episodic",
"update_frequency_hours": 168,
"website": "http://sw7x7.com/"
}
]
}
}请求规范
- 方法与路径: POST /apis/v1/listennotes/fetch-recommendations-for-a-podcast
- 可用状态: enabled
- 请求 URL 模板:
https://api.aisa.one/apis/v1/listennotes/fetch-recommendations-for-a-podcast
{
"operationId": "listennotes.fetch-recommendations-for-a-podcast",
"method": "POST",
"path": "/apis/v1/listennotes/fetch-recommendations-for-a-podcast",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"properties": {
"id": {
"description": "Podcast id.",
"type": "string"
},
"safe_mode": {
"default": 0,
"description": "Whether or not to exclude podcasts with explicit language. 1 is yes, and 0 is no. ",
"type": "integer"
}
},
"required": [
"id"
],
"type": "object"
}
}
},
"required": true
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
费用与请求规则
按实际用量收费。 默认请求预估费用:$0.0403 USD。 最终费用以实际用量为准。 账户适用价格可能不同;支持报价的接口可按实际请求获取报价。授权
请求体
application/json