subscription
curl --request GET \
--url https://api-services.podcastor.ai/open/podcast/v1/subscription \
--header 'X-Api-Key: <api-key>'import requests
url = "https://api-services.podcastor.ai/open/podcast/v1/subscription"
headers = {"X-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://api-services.podcastor.ai/open/podcast/v1/subscription', 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-services.podcastor.ai/open/podcast/v1/subscription",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-Api-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api-services.podcastor.ai/open/podcast/v1/subscription"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Api-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api-services.podcastor.ai/open/podcast/v1/subscription")
.header("X-Api-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-services.podcastor.ai/open/podcast/v1/subscription")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Api-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"cause": "<string>",
"code": 123,
"data": {
"coupon": {
"amount_off": 123,
"amount_off_dollar": 123,
"currency": "<string>",
"percent_off": 123
},
"current_api_credit": 123,
"current_credit": 123,
"current_dp_usage": 123,
"current_seat": 123,
"enterprise_member": true,
"enterprise_member_detail": {
"credits_quota": 123,
"credits_used": 123,
"email": "<string>",
"has_validity": true,
"id": 123,
"lip_sync_quota": 123,
"lip_sync_used": 123,
"space_id": 123,
"space_name": "<string>",
"user_id": 123,
"user_status": 123,
"username": "<string>",
"validity_end_time": 123,
"validity_months": 123,
"validity_start_time": 123
},
"goods_name": "<string>",
"goods_sn": "<string>",
"goods_type": 123,
"ltd_code": "<string>",
"ltd_tier": 123,
"num": 123,
"order_sn": "<string>",
"pay_price": 123,
"period": "<string>",
"plan_current_credit": 123,
"plan_info_id": 123,
"plan_total_credit": 123,
"primary_account": {
"credit": 123,
"username": "<string>"
},
"privileges": {
"api_credit": 123,
"credit": 123,
"lip_sync_duration": 123,
"team_seat": 123
},
"purchase_credit": 123,
"sell_price": 123,
"service_days": 123,
"subscribe_plan": "<string>",
"subscribe_plan_int": 123,
"subscription_status": 123,
"supplements": [
{
"goods_name": "<string>",
"goods_type": 123,
"num": 123,
"pay_price": 123,
"privileges": {
"api_credit": 123,
"credit": 123,
"lip_sync_duration": 123,
"team_seat": 123
},
"purchase_credit": 123,
"sell_price": 123,
"status": 123,
"vip_end": 123,
"vip_start": 123
}
],
"total_api_credit": 123,
"total_credit": 123,
"total_dp_usage": 123,
"total_order_price": 123,
"total_pay_price": 123,
"total_seat": 123,
"video_count": 123,
"vip_end": 123,
"vip_start": 123
},
"details": "<unknown>",
"msg": "<string>",
"rid": "<string>"
}Account and discovery
Subscription
Get the shared Web subscription and remaining credits.
GET
/
open
/
podcast
/
v1
/
subscription
subscription
curl --request GET \
--url https://api-services.podcastor.ai/open/podcast/v1/subscription \
--header 'X-Api-Key: <api-key>'import requests
url = "https://api-services.podcastor.ai/open/podcast/v1/subscription"
headers = {"X-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://api-services.podcastor.ai/open/podcast/v1/subscription', 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-services.podcastor.ai/open/podcast/v1/subscription",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-Api-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api-services.podcastor.ai/open/podcast/v1/subscription"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Api-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api-services.podcastor.ai/open/podcast/v1/subscription")
.header("X-Api-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-services.podcastor.ai/open/podcast/v1/subscription")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Api-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"cause": "<string>",
"code": 123,
"data": {
"coupon": {
"amount_off": 123,
"amount_off_dollar": 123,
"currency": "<string>",
"percent_off": 123
},
"current_api_credit": 123,
"current_credit": 123,
"current_dp_usage": 123,
"current_seat": 123,
"enterprise_member": true,
"enterprise_member_detail": {
"credits_quota": 123,
"credits_used": 123,
"email": "<string>",
"has_validity": true,
"id": 123,
"lip_sync_quota": 123,
"lip_sync_used": 123,
"space_id": 123,
"space_name": "<string>",
"user_id": 123,
"user_status": 123,
"username": "<string>",
"validity_end_time": 123,
"validity_months": 123,
"validity_start_time": 123
},
"goods_name": "<string>",
"goods_sn": "<string>",
"goods_type": 123,
"ltd_code": "<string>",
"ltd_tier": 123,
"num": 123,
"order_sn": "<string>",
"pay_price": 123,
"period": "<string>",
"plan_current_credit": 123,
"plan_info_id": 123,
"plan_total_credit": 123,
"primary_account": {
"credit": 123,
"username": "<string>"
},
"privileges": {
"api_credit": 123,
"credit": 123,
"lip_sync_duration": 123,
"team_seat": 123
},
"purchase_credit": 123,
"sell_price": 123,
"service_days": 123,
"subscribe_plan": "<string>",
"subscribe_plan_int": 123,
"subscription_status": 123,
"supplements": [
{
"goods_name": "<string>",
"goods_type": 123,
"num": 123,
"pay_price": 123,
"privileges": {
"api_credit": 123,
"credit": 123,
"lip_sync_duration": 123,
"team_seat": 123
},
"purchase_credit": 123,
"sell_price": 123,
"status": 123,
"vip_end": 123,
"vip_start": 123
}
],
"total_api_credit": 123,
"total_credit": 123,
"total_dp_usage": 123,
"total_order_price": 123,
"total_pay_price": 123,
"total_seat": 123,
"video_count": 123,
"vip_end": 123,
"vip_start": 123
},
"details": "<unknown>",
"msg": "<string>",
"rid": "<string>"
}