curl --request POST \
--url https://api.aisa.one/apis/v1/listennotes/fetch-a-list-of-best-podcasts-by-genre \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"genre_id": "<string>",
"language": "<string>",
"page": 123,
"publisher_region": "<string>",
"region": "us",
"safe_mode": 0,
"sort": "recent_added_first"
}
'import requests
url = "https://api.aisa.one/apis/v1/listennotes/fetch-a-list-of-best-podcasts-by-genre"
payload = {
"genre_id": "<string>",
"language": "<string>",
"page": 123,
"publisher_region": "<string>",
"region": "us",
"safe_mode": 0,
"sort": "recent_added_first"
}
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({
genre_id: '<string>',
language: '<string>',
page: 123,
publisher_region: '<string>',
region: 'us',
safe_mode: 0,
sort: 'recent_added_first'
})
};
fetch('https://api.aisa.one/apis/v1/listennotes/fetch-a-list-of-best-podcasts-by-genre', 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-a-list-of-best-podcasts-by-genre",
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([
'genre_id' => '<string>',
'language' => '<string>',
'page' => 123,
'publisher_region' => '<string>',
'region' => 'us',
'safe_mode' => 0,
'sort' => 'recent_added_first'
]),
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-a-list-of-best-podcasts-by-genre"
payload := strings.NewReader("{\n \"genre_id\": \"<string>\",\n \"language\": \"<string>\",\n \"page\": 123,\n \"publisher_region\": \"<string>\",\n \"region\": \"us\",\n \"safe_mode\": 0,\n \"sort\": \"recent_added_first\"\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-a-list-of-best-podcasts-by-genre")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"genre_id\": \"<string>\",\n \"language\": \"<string>\",\n \"page\": 123,\n \"publisher_region\": \"<string>\",\n \"region\": \"us\",\n \"safe_mode\": 0,\n \"sort\": \"recent_added_first\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/listennotes/fetch-a-list-of-best-podcasts-by-genre")
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 \"genre_id\": \"<string>\",\n \"language\": \"<string>\",\n \"page\": 123,\n \"publisher_region\": \"<string>\",\n \"region\": \"us\",\n \"safe_mode\": 0,\n \"sort\": \"recent_added_first\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"has_next": true,
"has_previous": true,
"id": 95,
"listennotes_url": "https://www.listennotes.com/best-business-news-podcasts-95/",
"name": "Business News",
"next_page_number": 3,
"page_number": 2,
"parent_id": 93,
"podcasts": [
{
"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/"
}
],
"previous_page_number": 1,
"total": 325
}
}Fetch best podcasts list
Fetch best podcasts list
curl --request POST \
--url https://api.aisa.one/apis/v1/listennotes/fetch-a-list-of-best-podcasts-by-genre \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"genre_id": "<string>",
"language": "<string>",
"page": 123,
"publisher_region": "<string>",
"region": "us",
"safe_mode": 0,
"sort": "recent_added_first"
}
'import requests
url = "https://api.aisa.one/apis/v1/listennotes/fetch-a-list-of-best-podcasts-by-genre"
payload = {
"genre_id": "<string>",
"language": "<string>",
"page": 123,
"publisher_region": "<string>",
"region": "us",
"safe_mode": 0,
"sort": "recent_added_first"
}
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({
genre_id: '<string>',
language: '<string>',
page: 123,
publisher_region: '<string>',
region: 'us',
safe_mode: 0,
sort: 'recent_added_first'
})
};
fetch('https://api.aisa.one/apis/v1/listennotes/fetch-a-list-of-best-podcasts-by-genre', 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-a-list-of-best-podcasts-by-genre",
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([
'genre_id' => '<string>',
'language' => '<string>',
'page' => 123,
'publisher_region' => '<string>',
'region' => 'us',
'safe_mode' => 0,
'sort' => 'recent_added_first'
]),
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-a-list-of-best-podcasts-by-genre"
payload := strings.NewReader("{\n \"genre_id\": \"<string>\",\n \"language\": \"<string>\",\n \"page\": 123,\n \"publisher_region\": \"<string>\",\n \"region\": \"us\",\n \"safe_mode\": 0,\n \"sort\": \"recent_added_first\"\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-a-list-of-best-podcasts-by-genre")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"genre_id\": \"<string>\",\n \"language\": \"<string>\",\n \"page\": 123,\n \"publisher_region\": \"<string>\",\n \"region\": \"us\",\n \"safe_mode\": 0,\n \"sort\": \"recent_added_first\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/listennotes/fetch-a-list-of-best-podcasts-by-genre")
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 \"genre_id\": \"<string>\",\n \"language\": \"<string>\",\n \"page\": 123,\n \"publisher_region\": \"<string>\",\n \"region\": \"us\",\n \"safe_mode\": 0,\n \"sort\": \"recent_added_first\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"has_next": true,
"has_previous": true,
"id": 95,
"listennotes_url": "https://www.listennotes.com/best-business-news-podcasts-95/",
"name": "Business News",
"next_page_number": 3,
"page_number": 2,
"parent_id": 93,
"podcasts": [
{
"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/"
}
],
"previous_page_number": 1,
"total": 325
}
}请求规范
- 方法与路径: POST /apis/v1/listennotes/fetch-a-list-of-best-podcasts-by-genre
- 可用状态: enabled
- 请求 URL 模板:
https://api.aisa.one/apis/v1/listennotes/fetch-a-list-of-best-podcasts-by-genre
{
"operationId": "listennotes.fetch-a-list-of-best-podcasts-by-genre",
"method": "POST",
"path": "/apis/v1/listennotes/fetch-a-list-of-best-podcasts-by-genre",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"properties": {
"genre_id": {
"description": "You can get the id from `GET /genres`. If not specified, it\"ll be the overall best podcasts, which can be considered as a special genre. ",
"type": "string"
},
"language": {
"description": "Filter best podcasts by language. You can get a list of supported languages (e.g., English, Chinese, Japanese...) from `GET /languages`. If not specified, you\"ll get \"best podcasts\" in any language. ",
"type": "string"
},
"page": {
"description": "Page number of those podcasts in this genre.",
"type": "integer"
},
"publisher_region": {
"description": "Filter best podcasts by the publisher\"s country/region. This is to narrow down the results to include \"best podcasts\" produced in a specific country/region. You can get the supported country codes (e.g., us, jp, gb...) from `GET /regions`. If not specified, you\"ll get \"best podcasts\" produced in any country/region. If you want to get a country/region\"s \"best podcasts\" that are also produced in that country/region, then you need to specify both **region** and **publisher_region**, e.g., `region=jp` and `publisher_region=jp`. ",
"type": "string"
},
"region": {
"default": "us",
"description": "Filter best podcasts by country/region. Please note that podcasts that are \"best\" in a country/region may not be produced in that country/region. For example, a podcast from the US may be very popular in Canada. You can get the supported country codes (e.g., us, jp, gb...) from `GET /regions`. If not specified, you\"ll get \"best podcasts\" in United States. ",
"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"
},
"sort": {
"default": "recent_added_first",
"description": "How do you want to sort these podcasts? If you\"d like to sort by popularity, please use **listen_score**. ",
"enum": [
"listen_score",
"oldest_added_first",
"oldest_published_first",
"recent_added_first",
"recent_published_first"
],
"type": "string"
}
},
"type": "object"
}
}
},
"required": false
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
费用与请求规则
按实际用量收费。 默认请求预估费用:$0.0403 USD。 最终费用以实际用量为准。 账户适用价格可能不同;支持报价的接口可按实际请求获取报价。授权
请求体
Filter best podcasts by the publisher"s country/region. This is to narrow down the results to include "best podcasts" produced in a specific country/region. You can get the supported country codes (e.g., us, jp, gb...) from GET /regions. If not specified, you"ll get "best podcasts" produced in any country/region. If you want to get a country/region"s "best podcasts" that are also produced in that country/region, then you need to specify both region and publisher_region, e.g., region=jp and publisher_region=jp.
Filter best podcasts by country/region. Please note that podcasts that are "best" in a country/region may not be produced in that country/region. For example, a podcast from the US may be very popular in Canada. You can get the supported country codes (e.g., us, jp, gb...) from GET /regions. If not specified, you"ll get "best podcasts" in United States.