在继续您的订阅之前,我们需要验证您的身份。
这将保护您和其他用户免受潜在欺诈。
- 您将被重定向到我们的安全身份验证合作伙伴Stripe。
- 您需要提供政府颁发的身份证件。
- 该过程是自动的,只需几分钟。
- 完成后,您将被重定向到结账页面继续您的订阅。
set up zyla - https://zylalabs.com/llms.txt
粘贴到 Claude Code、Cursor、Codex 或任何 AI 智能体中。它会读取说明、向您索取 API key 并自动完成连接。
{
"code": 200,
"data": [
{
"value": 1,
"id": 1,
"label": "专业评测"
},
{
"value": 2,
"id": 2,
"label": "好物种草"
},
{
"value": 3,
"id": 3,
"label": "开箱试用"
},
{
"value": 4,
"id": 4,
"label": "Vlog"
},
{
"value": 5,
"id": 5,
"label": "技能制作"
},
{
"value": 6,
"id": 6,
"label": "趣味探店"
},
{
"value": 7,
"id": 7,
"label": "教程教学"
},
{
"value": 8,
"id": 8,
"label": "才艺展示"
},
{
"value": 9,
"id": 9,
"label": "科普分享"
},
{
"value": 10,
"id": 10,
"label": "评鉴杂谈"
},
{
"value": 11,
"id": 11,
"label": "剪辑达人"
},
{
"value": 12,
"id": 12,
"label": "原创短片"
},
{
"value": 13,
"id": 13,
"label": "母婴"
},
{
"value": 14,
"id": 14,
"label": "热点资讯"
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15545/social+data+plus+api/41796/list+bilibili+creator+industry+tags' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
// Build the GET request
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41796/list+bilibili+creator+industry+tags")
.get() // Use GET method without a body
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
// Execute the request
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
// Handle the response in case of a successful request
String responseData = response.body().string();
System.out.println(responseData);
} else {
// Handle errors
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
// Handle I/O exceptions
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15545/social+data+plus+api/41796/list+bilibili+creator+industry+tags",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15545/social+data+plus+api/41796/list+bilibili+creator+industry+tags");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15545/social+data+plus+api/41796/list+bilibili+creator+industry+tags',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15545/social+data+plus+api/41796/list+bilibili+creator+industry+tags',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15545/social+data+plus+api/41796/list+bilibili+creator+industry+tags"
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15545/social+data+plus+api/41796/list+bilibili+creator+industry+tags")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15545/social+data+plus+api/41796/list+bilibili+creator+industry+tags' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15545/social+data+plus+api/41796/list+bilibili+creator+industry+tags");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15545/social+data+plus+api/41796/list+bilibili+creator+industry+tags"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15545/social+data+plus+api/41796/list+bilibili+creator+industry+tags")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41796/list+bilibili+creator+industry+tags")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15545/social+data+plus+api/41796/list+bilibili+creator+industry+tags"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15545/social+data+plus+api/41796/list+bilibili+creator+industry+tags")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"code": 200,
"data": [
{
"id": 1001,
"name": "客户端/主机/网页游戏(非手机游戏)"
},
{
"id": 1002,
"name": "手游"
},
{
"id": 1003,
"name": "游戏服务及周边"
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15545/social+data+plus+api/41797/bilibili+get+collaboration-experience+industries?industry_type=1' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
// Build the GET request
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41797/bilibili+get+collaboration-experience+industries?industry_type=1")
.get() // Use GET method without a body
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
// Execute the request
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
// Handle the response in case of a successful request
String responseData = response.body().string();
System.out.println(responseData);
} else {
// Handle errors
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
// Handle I/O exceptions
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15545/social+data+plus+api/41797/bilibili+get+collaboration-experience+industries?industry_type=1",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15545/social+data+plus+api/41797/bilibili+get+collaboration-experience+industries?industry_type=1");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15545/social+data+plus+api/41797/bilibili+get+collaboration-experience+industries?industry_type=1',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15545/social+data+plus+api/41797/bilibili+get+collaboration-experience+industries?industry_type=1',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15545/social+data+plus+api/41797/bilibili+get+collaboration-experience+industries?industry_type=1"
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15545/social+data+plus+api/41797/bilibili+get+collaboration-experience+industries?industry_type=1")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15545/social+data+plus+api/41797/bilibili+get+collaboration-experience+industries?industry_type=1' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15545/social+data+plus+api/41797/bilibili+get+collaboration-experience+industries?industry_type=1");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15545/social+data+plus+api/41797/bilibili+get+collaboration-experience+industries?industry_type=1"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15545/social+data+plus+api/41797/bilibili+get+collaboration-experience+industries?industry_type=1")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41797/bilibili+get+collaboration-experience+industries?industry_type=1")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15545/social+data+plus+api/41797/bilibili+get+collaboration-experience+industries?industry_type=1"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15545/social+data+plus+api/41797/bilibili+get+collaboration-experience+industries?industry_type=1")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"code": 200,
"data": {
"page": 1,
"data": [
{
"mapping_id": 6545,
"upper_mid": 433351,
"mcn_id": 331257408,
"mcn_company_name": "上海超电文化传播有限公司",
"is_high_potential": 0,
"live_guild_id": null,
"live_guild_name": null,
"head_img": "https://i1.hdslb.com/bfs/face/50900541a74f7875867c38a1e8e572b44b388060.jpg",
"nickname": "EdmundDZhang",
"gender_desc": "男",
"region_desc": "上海",
"second_region_desc": "上海",
"partition_id": 4,
"partition_name": "游戏",
"second_partition_id": 17,
"second_partition_name": "单机游戏",
"cooperation_type": null,
"cooperation_type_desc": null,
"fans_num": 3194048,
"fans_inc": 22714,
"fans_inc_rate": 0.7,
"upper_type": 4,
"magnetic_value": 7,
"active_status": 1,
"synthetical_score": 81.9000015258789,
"is_collected": 0,
"average_play_cnt": 512065,
"median_play_30d": null,
"median_play_vt": 0,
"interactive_rate": 0.0783,
"special_tags": [
"marriage.",
"kid.",
"education."
],
"cooperation_mode_tags": [],
"high_convert_tags": [],
"tags": [],
"character_tag": [],
"occupation_tag": [
"解说"
],
"price_infos": [
{
"price_id": 13090,
"mapping_id": 6545,
"cooperation_type": 2,
"cooperation_type_desc": "定制视频",
"platform_price": 200000,
"discount_price": 200000,
"price_right": [],
"custom_right_desc": "",
"discount_rate": 1,
"huahuo_plus_cur_price": 10000,
"huahuo_plus_original_price": 10000,
"price_control_status": 1,
"include_content": [],
"custom_include_content": "",
"creative_skill": [],
"custom_creative_skill": ""
},
{
"price_id": 13089,
"mapping_id": 6545,
"cooperation_type": 1,
"cooperation_type_desc": "植入视频",
"platform_price": 9999999,
"discount_price": 9999999,
"price_right": [],
"custom_right_desc": "",
"discount_rate": 1,
"huahuo_plus_cur_price": 499999.95,
"huahuo_plus_original_price": 499999.95,
"price_control_status": 1,
"include_content": [],
"custom_include_content": "",
"creative_skill": [],
"custom_creative_skill": ""
},
{
"price_id": 25565,
"mapping_id": 6545,
"cooperation_type": 3,
"cooperation_type_desc": "直发动态",
"platform_price": 60000,
"discount_price": 60000,
"price_right": [],
"custom_right_desc": "",
"discount_rate": 1,
"huahuo_plus_cur_price": null,
"huahuo_plus_original_price": null,
"price_control_status": 1,
"include_content": [],
"custom_include_content": "",
"creative_skill": [],
"custom_creative_skill": ""
},
{
"price_id": 25566,
"mapping_id": 6545,
"cooperation_type": 4,
"cooperation_type_desc": "转发动态",
"platform_price": 45000,
"discount_price": 45000,
"price_right": [],
"custom_right_desc": "",
"discount_rate": 1,
"huahuo_plus_cur_price": null,
"huahuo_plus_original_price": null,
"price_control_status": 1,
"include_content": [],
"custom_include_content": "",
"creative_skill": [],
"custom_creative_skill": ""
},
{
"price_id": 446809,
"mapping_id": 6545,
"cooperation_type": 10,
"cooperation_type_desc": "线上直播",
"platform_price": 68000,
"discount_price": 68000,
"price_right": [],
"custom_right_desc": "",
"discount_rate": 1,
"huahuo_plus_cur_price": null,
"huahuo_plus_original_price": null,
"price_control_status": 1,
"include_content": [],
"custom_include_content": "",
"creative_skill": [],
"custom_creative_skill": ""
}
],
"brand_embedding_platform_price_cpm": 19511.6220988654,
"content_customized_platform_price_cpm": 390.2324810005561,
"state_types": [
1,
4,
16384
],
"spark_tag": [
"cooperate",
"coo_frequent",
"game_cooperate",
"game_coo_frequent",
"game_other_cooperate",
"cosmetics_other_cooperate",
"digit_cooperate",
"digit_coo_frequent",
"digit_other_cooperate",
"car_other_cooperate",
"sy_other_cooperate",
"wf_cooperate",
"wf_coo_frequent",
"wf_other_cooperate",
"3001_cooperate",
"6009_cooperate",
"3005_cooperate",
"1003_cooperate",
"3007_cooperate",
"1001_cooperate",
"3003_cooperate",
"1002_cooperate",
"6008_cooperate",
"1003_coo_frequent",
"3007_coo_frequent",
"1001_coo_frequent",
"1002_coo_frequent",
"play_upward",
"hot_7d",
"is_commercialize_target",
"hot",
"hot_frequent",
"is_pinxuan_up",
"grow_fast"
],
"is_new_upper": 0,
"dynamic_score": null,
"dynamic_score_strategy": null,
"dmp_fans_rate": null,
"dmp_cover_rate": null,
"dmp_cover_count": null,
"is_live": true,
"live_audience_h_avg_30d": 78492,
"live_danmu_h_avg_30d": 6686,
"top3_area": [
{
"parent_id": 6,
"parent_name": "单机游戏",
"id": 889,
"name": "新游推荐"
},
{
"parent_id": 3,
"parent_name": "手游",
"id": 848,
"name": "明日方舟:终末地"
},
{
"parent_id": 6,
"parent_name": "单机游戏",
"id": 236,
"name": "主机游戏"
}
],
"live_subarea_name": [
"主机游戏",
"新游推荐"
],
"top_star_level": "TOPSTAR",
"valid_live_days_30d": 28,
"avg_acu_30d": "高于75%同类UP主",
"avg_pcu_30d": "高于75%同类UP主",
"live_anchor_abilities": [],
"popularity": 2054612.2727,
"live_tag_info": [
{
"parent_name": "技术",
"name": "攻略教学"
}
],
"live_tag": [
"攻略教学"
]
}
]
},
"_note": "Response truncated for documentation purposes"
}
curl --location --request POST 'https://zylalabs.com/api/15545/social+data+plus+api/41798/bilibili+search+live+creators' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{}'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
// Build the GET request
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41798/bilibili+search+live+creators")
.get() // Use GET method without a body
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
// Execute the request
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
// Handle the response in case of a successful request
String responseData = response.body().string();
System.out.println(responseData);
} else {
// Handle errors
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
// Handle I/O exceptions
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15545/social+data+plus+api/41798/bilibili+search+live+creators",
"method": "POST",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var data = "{}";
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("POST", "https://zylalabs.com/api/15545/social+data+plus+api/41798/bilibili+search+live+creators");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
xhr.send(data);
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
var axios = require('axios');
var data = "{}";
var config = {
method: 'POST',
url: 'https://zylalabs.com/api/15545/social+data+plus+api/41798/bilibili+search+live+creators',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
data : data
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15545/social+data+plus+api/41798/bilibili+search+live+creators',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS => '{}',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15545/social+data+plus+api/41798/bilibili+search+live+creators"
payload = "{}"
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15545/social+data+plus+api/41798/bilibili+search+live+creators")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::POST.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
request.body = "{}"
response = http.request(request)
puts response.read_body
printf '{}'|
http --follow --timeout 3600 POST 'https://zylalabs.com/api/15545/social+data+plus+api/41798/bilibili+search+live+creators' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15545/social+data+plus+api/41798/bilibili+search+live+creators");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
var body = "{}";
request.AddParameter("text/plain", body, ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15545/social+data+plus+api/41798/bilibili+search+live+creators"
method := "POST"
payload := strings.NewReader("{}")
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15545/social+data+plus+api/41798/bilibili+search+live+creators")!
var request = URLRequest(url: url)
request.httpMethod = "POST"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
request.httpBody = "{}".data(using: .utf8)
request.setValue("application/json", forHTTPHeaderField: "Content-Type")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
body = "{}".toRequestBody("application/json".toMediaType())
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41798/bilibili+search+live+creators")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("POST", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
payload = "{}";
final request = http.Request(
"POST",
Uri.parse("https://zylalabs.com/api/15545/social+data+plus+api/41798/bilibili+search+live+creators"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"POST")?;
let client = Client::new();
let mut body = String::new();
body = r#"{}"#.to_string();
let mut request = client
.request(method, "https://zylalabs.com/api/15545/social+data+plus+api/41798/bilibili+search+live+creators")
.header("Authorization", "Bearer YOUR_API_KEY");
request = request.body(body.clone());
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"code": 200,
"data": [
{
"id": 1,
"name": "娱乐",
"list": [
{
"id": 21,
"name": "唱见",
"pic": null
}
]
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15545/social+data+plus+api/41799/bilibili+get+live-streaming+areas' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
// Build the GET request
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41799/bilibili+get+live-streaming+areas")
.get() // Use GET method without a body
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
// Execute the request
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
// Handle the response in case of a successful request
String responseData = response.body().string();
System.out.println(responseData);
} else {
// Handle errors
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
// Handle I/O exceptions
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15545/social+data+plus+api/41799/bilibili+get+live-streaming+areas",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15545/social+data+plus+api/41799/bilibili+get+live-streaming+areas");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15545/social+data+plus+api/41799/bilibili+get+live-streaming+areas',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15545/social+data+plus+api/41799/bilibili+get+live-streaming+areas',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15545/social+data+plus+api/41799/bilibili+get+live-streaming+areas"
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15545/social+data+plus+api/41799/bilibili+get+live-streaming+areas")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15545/social+data+plus+api/41799/bilibili+get+live-streaming+areas' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15545/social+data+plus+api/41799/bilibili+get+live-streaming+areas");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15545/social+data+plus+api/41799/bilibili+get+live-streaming+areas"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15545/social+data+plus+api/41799/bilibili+get+live-streaming+areas")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41799/bilibili+get+live-streaming+areas")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15545/social+data+plus+api/41799/bilibili+get+live-streaming+areas"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15545/social+data+plus+api/41799/bilibili+get+live-streaming+areas")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"code": 200,
"data": [
{
"name": "极客先锋团",
"label_key": "special_15groups_jikexianfengtuan",
"icon": "[omitted]",
"cover_mid_cnt": 33721704
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15545/social+data+plus+api/41800/bilibili+get+audience+packages' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
// Build the GET request
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41800/bilibili+get+audience+packages")
.get() // Use GET method without a body
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
// Execute the request
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
// Handle the response in case of a successful request
String responseData = response.body().string();
System.out.println(responseData);
} else {
// Handle errors
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
// Handle I/O exceptions
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15545/social+data+plus+api/41800/bilibili+get+audience+packages",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15545/social+data+plus+api/41800/bilibili+get+audience+packages");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15545/social+data+plus+api/41800/bilibili+get+audience+packages',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15545/social+data+plus+api/41800/bilibili+get+audience+packages',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15545/social+data+plus+api/41800/bilibili+get+audience+packages"
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15545/social+data+plus+api/41800/bilibili+get+audience+packages")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15545/social+data+plus+api/41800/bilibili+get+audience+packages' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15545/social+data+plus+api/41800/bilibili+get+audience+packages");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15545/social+data+plus+api/41800/bilibili+get+audience+packages"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15545/social+data+plus+api/41800/bilibili+get+audience+packages")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41800/bilibili+get+audience+packages")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15545/social+data+plus+api/41800/bilibili+get+audience+packages"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15545/social+data+plus+api/41800/bilibili+get+audience+packages")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"code": 200,
"data": [
{
"label_name": "Cosplay",
"label_desc": "COSPLAY是英文Costume Play的简写,日文コスプレ。指利用服装、饰品、道具以及化妆来扮演动漫作品、游戏中以及古代人物的角色。玩COSPLAY的人则一般被称为COSPLAYER(也称COSER)。",
"label_id": 15,
"label_img_url": "[omitted]"
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15545/social+data+plus+api/41801/bilibili+get+content-style+tags' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
// Build the GET request
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41801/bilibili+get+content-style+tags")
.get() // Use GET method without a body
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
// Execute the request
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
// Handle the response in case of a successful request
String responseData = response.body().string();
System.out.println(responseData);
} else {
// Handle errors
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
// Handle I/O exceptions
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15545/social+data+plus+api/41801/bilibili+get+content-style+tags",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15545/social+data+plus+api/41801/bilibili+get+content-style+tags");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15545/social+data+plus+api/41801/bilibili+get+content-style+tags',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15545/social+data+plus+api/41801/bilibili+get+content-style+tags',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15545/social+data+plus+api/41801/bilibili+get+content-style+tags"
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15545/social+data+plus+api/41801/bilibili+get+content-style+tags")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15545/social+data+plus+api/41801/bilibili+get+content-style+tags' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15545/social+data+plus+api/41801/bilibili+get+content-style+tags");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15545/social+data+plus+api/41801/bilibili+get+content-style+tags"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15545/social+data+plus+api/41801/bilibili+get+content-style+tags")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41801/bilibili+get+content-style+tags")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15545/social+data+plus+api/41801/bilibili+get+content-style+tags"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15545/social+data+plus+api/41801/bilibili+get+content-style+tags")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"code": 200,
"data": [
{
"value": 1,
"id": 1,
"pid": 0,
"label": "美妆个护",
"children": [
{
"value": 1001,
"id": 1001,
"pid": 1,
"label": "美容护肤"
}
]
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15545/social+data+plus+api/41802/bilibili+get+commerce+category+options' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
// Build the GET request
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41802/bilibili+get+commerce+category+options")
.get() // Use GET method without a body
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
// Execute the request
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
// Handle the response in case of a successful request
String responseData = response.body().string();
System.out.println(responseData);
} else {
// Handle errors
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
// Handle I/O exceptions
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15545/social+data+plus+api/41802/bilibili+get+commerce+category+options",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15545/social+data+plus+api/41802/bilibili+get+commerce+category+options");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15545/social+data+plus+api/41802/bilibili+get+commerce+category+options',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15545/social+data+plus+api/41802/bilibili+get+commerce+category+options',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15545/social+data+plus+api/41802/bilibili+get+commerce+category+options"
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15545/social+data+plus+api/41802/bilibili+get+commerce+category+options")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15545/social+data+plus+api/41802/bilibili+get+commerce+category+options' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15545/social+data+plus+api/41802/bilibili+get+commerce+category+options");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15545/social+data+plus+api/41802/bilibili+get+commerce+category+options"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15545/social+data+plus+api/41802/bilibili+get+commerce+category+options")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41802/bilibili+get+commerce+category+options")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15545/social+data+plus+api/41802/bilibili+get+commerce+category+options"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15545/social+data+plus+api/41802/bilibili+get+commerce+category+options")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"code": 200,
"data": [
{
"id": 7259,
"name": "火吧"
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15545/social+data+plus+api/41803/bilibili+get+live-streaming+guilds' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
// Build the GET request
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41803/bilibili+get+live-streaming+guilds")
.get() // Use GET method without a body
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
// Execute the request
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
// Handle the response in case of a successful request
String responseData = response.body().string();
System.out.println(responseData);
} else {
// Handle errors
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
// Handle I/O exceptions
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15545/social+data+plus+api/41803/bilibili+get+live-streaming+guilds",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15545/social+data+plus+api/41803/bilibili+get+live-streaming+guilds");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15545/social+data+plus+api/41803/bilibili+get+live-streaming+guilds',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15545/social+data+plus+api/41803/bilibili+get+live-streaming+guilds',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15545/social+data+plus+api/41803/bilibili+get+live-streaming+guilds"
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15545/social+data+plus+api/41803/bilibili+get+live-streaming+guilds")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15545/social+data+plus+api/41803/bilibili+get+live-streaming+guilds' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15545/social+data+plus+api/41803/bilibili+get+live-streaming+guilds");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15545/social+data+plus+api/41803/bilibili+get+live-streaming+guilds"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15545/social+data+plus+api/41803/bilibili+get+live-streaming+guilds")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41803/bilibili+get+live-streaming+guilds")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15545/social+data+plus+api/41803/bilibili+get+live-streaming+guilds"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15545/social+data+plus+api/41803/bilibili+get+live-streaming+guilds")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"code": 200,
"data": [
{
"id": null,
"name": null
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15545/social+data+plus+api/41804/bilibili+get+live-commerce+categories' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
// Build the GET request
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41804/bilibili+get+live-commerce+categories")
.get() // Use GET method without a body
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
// Execute the request
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
// Handle the response in case of a successful request
String responseData = response.body().string();
System.out.println(responseData);
} else {
// Handle errors
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
// Handle I/O exceptions
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15545/social+data+plus+api/41804/bilibili+get+live-commerce+categories",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15545/social+data+plus+api/41804/bilibili+get+live-commerce+categories");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15545/social+data+plus+api/41804/bilibili+get+live-commerce+categories',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15545/social+data+plus+api/41804/bilibili+get+live-commerce+categories',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15545/social+data+plus+api/41804/bilibili+get+live-commerce+categories"
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15545/social+data+plus+api/41804/bilibili+get+live-commerce+categories")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15545/social+data+plus+api/41804/bilibili+get+live-commerce+categories' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15545/social+data+plus+api/41804/bilibili+get+live-commerce+categories");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15545/social+data+plus+api/41804/bilibili+get+live-commerce+categories"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15545/social+data+plus+api/41804/bilibili+get+live-commerce+categories")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41804/bilibili+get+live-commerce+categories")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15545/social+data+plus+api/41804/bilibili+get+live-commerce+categories"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15545/social+data+plus+api/41804/bilibili+get+live-commerce+categories")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"code": 200,
"data": {
"mid": 946974,
"category_name": [
"数码/家电/游戏"
],
"order_sale_amount_90day": 1719,
"up_live_commerce_video_info": []
}
}
curl --location --request GET 'https://zylalabs.com/api/15545/social+data+plus+api/41805/bilibili+get+live-commerce+performance?upper_mid=946974' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
// Build the GET request
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41805/bilibili+get+live-commerce+performance?upper_mid=946974")
.get() // Use GET method without a body
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
// Execute the request
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
// Handle the response in case of a successful request
String responseData = response.body().string();
System.out.println(responseData);
} else {
// Handle errors
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
// Handle I/O exceptions
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15545/social+data+plus+api/41805/bilibili+get+live-commerce+performance?upper_mid=946974",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15545/social+data+plus+api/41805/bilibili+get+live-commerce+performance?upper_mid=946974");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15545/social+data+plus+api/41805/bilibili+get+live-commerce+performance?upper_mid=946974',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15545/social+data+plus+api/41805/bilibili+get+live-commerce+performance?upper_mid=946974',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15545/social+data+plus+api/41805/bilibili+get+live-commerce+performance?upper_mid=946974"
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15545/social+data+plus+api/41805/bilibili+get+live-commerce+performance?upper_mid=946974")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15545/social+data+plus+api/41805/bilibili+get+live-commerce+performance?upper_mid=946974' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15545/social+data+plus+api/41805/bilibili+get+live-commerce+performance?upper_mid=946974");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15545/social+data+plus+api/41805/bilibili+get+live-commerce+performance?upper_mid=946974"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15545/social+data+plus+api/41805/bilibili+get+live-commerce+performance?upper_mid=946974")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41805/bilibili+get+live-commerce+performance?upper_mid=946974")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15545/social+data+plus+api/41805/bilibili+get+live-commerce+performance?upper_mid=946974"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15545/social+data+plus+api/41805/bilibili+get+live-commerce+performance?upper_mid=946974")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"code": 200,
"data": [
"教学"
]
}
curl --location --request GET 'https://zylalabs.com/api/15545/social+data+plus+api/41806/bilibili+get+live+creator+persona+tags' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
// Build the GET request
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41806/bilibili+get+live+creator+persona+tags")
.get() // Use GET method without a body
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
// Execute the request
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
// Handle the response in case of a successful request
String responseData = response.body().string();
System.out.println(responseData);
} else {
// Handle errors
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
// Handle I/O exceptions
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15545/social+data+plus+api/41806/bilibili+get+live+creator+persona+tags",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15545/social+data+plus+api/41806/bilibili+get+live+creator+persona+tags");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15545/social+data+plus+api/41806/bilibili+get+live+creator+persona+tags',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15545/social+data+plus+api/41806/bilibili+get+live+creator+persona+tags',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15545/social+data+plus+api/41806/bilibili+get+live+creator+persona+tags"
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15545/social+data+plus+api/41806/bilibili+get+live+creator+persona+tags")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15545/social+data+plus+api/41806/bilibili+get+live+creator+persona+tags' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15545/social+data+plus+api/41806/bilibili+get+live+creator+persona+tags");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15545/social+data+plus+api/41806/bilibili+get+live+creator+persona+tags"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15545/social+data+plus+api/41806/bilibili+get+live+creator+persona+tags")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41806/bilibili+get+live+creator+persona+tags")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15545/social+data+plus+api/41806/bilibili+get+live+creator+persona+tags"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15545/social+data+plus+api/41806/bilibili+get+live+creator+persona+tags")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"code": 200,
"data": [
{
"id": 67286998,
"name": "阿婆文化"
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15545/social+data+plus+api/41807/bilibili+get+mcn+organizations' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
// Build the GET request
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41807/bilibili+get+mcn+organizations")
.get() // Use GET method without a body
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
// Execute the request
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
// Handle the response in case of a successful request
String responseData = response.body().string();
System.out.println(responseData);
} else {
// Handle errors
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
// Handle I/O exceptions
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15545/social+data+plus+api/41807/bilibili+get+mcn+organizations",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15545/social+data+plus+api/41807/bilibili+get+mcn+organizations");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15545/social+data+plus+api/41807/bilibili+get+mcn+organizations',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15545/social+data+plus+api/41807/bilibili+get+mcn+organizations',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15545/social+data+plus+api/41807/bilibili+get+mcn+organizations"
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15545/social+data+plus+api/41807/bilibili+get+mcn+organizations")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15545/social+data+plus+api/41807/bilibili+get+mcn+organizations' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15545/social+data+plus+api/41807/bilibili+get+mcn+organizations");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15545/social+data+plus+api/41807/bilibili+get+mcn+organizations"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15545/social+data+plus+api/41807/bilibili+get+mcn+organizations")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41807/bilibili+get+mcn+organizations")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15545/social+data+plus+api/41807/bilibili+get+mcn+organizations"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15545/social+data+plus+api/41807/bilibili+get+mcn+organizations")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"code": 200,
"data": {
"data": [
{
"upper_mid": 1497330079,
"mcn_id": 2140003063,
"mapping_id": 321883,
"upper_type": 1,
"is_collected": 0,
"state_types": [
4
],
"nickname": "OK哥环球探海记",
"fans_num": 3045028,
"face": "[omitted]",
"avid": 116731506988938,
"bv_id": "BV1eAEq6rExJ",
"cover": "[omitted]"
}
],
"page": 1,
"total": 200
}
}
curl --location --request GET 'https://zylalabs.com/api/15545/social+data+plus+api/41808/bilibili+get+huahuo+video+rankings' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
// Build the GET request
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41808/bilibili+get+huahuo+video+rankings")
.get() // Use GET method without a body
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
// Execute the request
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
// Handle the response in case of a successful request
String responseData = response.body().string();
System.out.println(responseData);
} else {
// Handle errors
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
// Handle I/O exceptions
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15545/social+data+plus+api/41808/bilibili+get+huahuo+video+rankings",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15545/social+data+plus+api/41808/bilibili+get+huahuo+video+rankings");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15545/social+data+plus+api/41808/bilibili+get+huahuo+video+rankings',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15545/social+data+plus+api/41808/bilibili+get+huahuo+video+rankings',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15545/social+data+plus+api/41808/bilibili+get+huahuo+video+rankings"
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15545/social+data+plus+api/41808/bilibili+get+huahuo+video+rankings")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15545/social+data+plus+api/41808/bilibili+get+huahuo+video+rankings' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15545/social+data+plus+api/41808/bilibili+get+huahuo+video+rankings");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15545/social+data+plus+api/41808/bilibili+get+huahuo+video+rankings"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15545/social+data+plus+api/41808/bilibili+get+huahuo+video+rankings")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41808/bilibili+get+huahuo+video+rankings")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15545/social+data+plus+api/41808/bilibili+get+huahuo+video+rankings"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15545/social+data+plus+api/41808/bilibili+get+huahuo+video+rankings")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"code": 200,
"data": [
{
"value": 5,
"id": 5,
"pid": 0,
"label": "娱乐",
"children": [
{
"value": 137,
"id": 137,
"pid": 5,
"label": "明星综合"
}
]
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15545/social+data+plus+api/41809/bilibili+get+video+partition+options' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
// Build the GET request
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41809/bilibili+get+video+partition+options")
.get() // Use GET method without a body
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
// Execute the request
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
// Handle the response in case of a successful request
String responseData = response.body().string();
System.out.println(responseData);
} else {
// Handle errors
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
// Handle I/O exceptions
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15545/social+data+plus+api/41809/bilibili+get+video+partition+options",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15545/social+data+plus+api/41809/bilibili+get+video+partition+options");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15545/social+data+plus+api/41809/bilibili+get+video+partition+options',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15545/social+data+plus+api/41809/bilibili+get+video+partition+options',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15545/social+data+plus+api/41809/bilibili+get+video+partition+options"
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15545/social+data+plus+api/41809/bilibili+get+video+partition+options")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15545/social+data+plus+api/41809/bilibili+get+video+partition+options' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15545/social+data+plus+api/41809/bilibili+get+video+partition+options");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15545/social+data+plus+api/41809/bilibili+get+video+partition+options"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15545/social+data+plus+api/41809/bilibili+get+video+partition+options")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41809/bilibili+get+video+partition+options")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15545/social+data+plus+api/41809/bilibili+get+video+partition+options"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15545/social+data+plus+api/41809/bilibili+get+video+partition+options")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"code": 200,
"data": [
{
"id": 681,
"name": "数码家电"
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15545/social+data+plus+api/41810/bilibili+get+video+ranking+industries' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
// Build the GET request
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41810/bilibili+get+video+ranking+industries")
.get() // Use GET method without a body
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
// Execute the request
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
// Handle the response in case of a successful request
String responseData = response.body().string();
System.out.println(responseData);
} else {
// Handle errors
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
// Handle I/O exceptions
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15545/social+data+plus+api/41810/bilibili+get+video+ranking+industries",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15545/social+data+plus+api/41810/bilibili+get+video+ranking+industries");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15545/social+data+plus+api/41810/bilibili+get+video+ranking+industries',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15545/social+data+plus+api/41810/bilibili+get+video+ranking+industries',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15545/social+data+plus+api/41810/bilibili+get+video+ranking+industries"
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15545/social+data+plus+api/41810/bilibili+get+video+ranking+industries")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15545/social+data+plus+api/41810/bilibili+get+video+ranking+industries' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15545/social+data+plus+api/41810/bilibili+get+video+ranking+industries");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15545/social+data+plus+api/41810/bilibili+get+video+ranking+industries"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15545/social+data+plus+api/41810/bilibili+get+video+ranking+industries")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41810/bilibili+get+video+ranking+industries")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15545/social+data+plus+api/41810/bilibili+get+video+ranking+industries"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15545/social+data+plus+api/41810/bilibili+get+video+ranking+industries")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"code": 200,
"data": {
"data": [
{
"log_date": "20261123",
"ranking": 1,
"mapping_id": 11506,
"upper_mid": 159085018,
"mcn_id": 207450595,
"upper_type": 3,
"is_collected": 0,
"state_types": [
4
],
"face": "[omitted]",
"nickname": "爱生活的马克君",
"gender": 0,
"partition_name": "生活"
}
],
"page": 1,
"total": 50
}
}
curl --location --request GET 'https://zylalabs.com/api/15545/social+data+plus+api/41811/bilibili+get+commerce+creators+by+industry?x_huo_industry_id=11' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
// Build the GET request
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41811/bilibili+get+commerce+creators+by+industry?x_huo_industry_id=11")
.get() // Use GET method without a body
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
// Execute the request
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
// Handle the response in case of a successful request
String responseData = response.body().string();
System.out.println(responseData);
} else {
// Handle errors
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
// Handle I/O exceptions
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15545/social+data+plus+api/41811/bilibili+get+commerce+creators+by+industry?x_huo_industry_id=11",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15545/social+data+plus+api/41811/bilibili+get+commerce+creators+by+industry?x_huo_industry_id=11");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15545/social+data+plus+api/41811/bilibili+get+commerce+creators+by+industry?x_huo_industry_id=11',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15545/social+data+plus+api/41811/bilibili+get+commerce+creators+by+industry?x_huo_industry_id=11',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15545/social+data+plus+api/41811/bilibili+get+commerce+creators+by+industry?x_huo_industry_id=11"
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15545/social+data+plus+api/41811/bilibili+get+commerce+creators+by+industry?x_huo_industry_id=11")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15545/social+data+plus+api/41811/bilibili+get+commerce+creators+by+industry?x_huo_industry_id=11' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15545/social+data+plus+api/41811/bilibili+get+commerce+creators+by+industry?x_huo_industry_id=11");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15545/social+data+plus+api/41811/bilibili+get+commerce+creators+by+industry?x_huo_industry_id=11"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15545/social+data+plus+api/41811/bilibili+get+commerce+creators+by+industry?x_huo_industry_id=11")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41811/bilibili+get+commerce+creators+by+industry?x_huo_industry_id=11")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15545/social+data+plus+api/41811/bilibili+get+commerce+creators+by+industry?x_huo_industry_id=11"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15545/social+data+plus+api/41811/bilibili+get+commerce+creators+by+industry?x_huo_industry_id=11")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"code": 200,
"data": {
"data": [
{
"log_date": "20261123",
"ranking": 1,
"mapping_id": 165195,
"upper_mid": 1252860980,
"mcn_id": 207450595,
"upper_type": 3,
"is_collected": 0,
"state_types": [
4
],
"face": "[omitted]",
"nickname": "玩忽职守的月亮",
"gender": 0,
"partition_name": "游戏"
}
],
"page": 1,
"total": 50
}
}
curl --location --request GET 'https://zylalabs.com/api/15545/social+data+plus+api/41812/bilibili+get+creators+ranked+for+a+product?goods_id=Required' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
// Build the GET request
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41812/bilibili+get+creators+ranked+for+a+product?goods_id=Required")
.get() // Use GET method without a body
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
// Execute the request
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
// Handle the response in case of a successful request
String responseData = response.body().string();
System.out.println(responseData);
} else {
// Handle errors
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
// Handle I/O exceptions
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15545/social+data+plus+api/41812/bilibili+get+creators+ranked+for+a+product?goods_id=Required",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15545/social+data+plus+api/41812/bilibili+get+creators+ranked+for+a+product?goods_id=Required");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15545/social+data+plus+api/41812/bilibili+get+creators+ranked+for+a+product?goods_id=Required',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15545/social+data+plus+api/41812/bilibili+get+creators+ranked+for+a+product?goods_id=Required',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15545/social+data+plus+api/41812/bilibili+get+creators+ranked+for+a+product?goods_id=Required"
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15545/social+data+plus+api/41812/bilibili+get+creators+ranked+for+a+product?goods_id=Required")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15545/social+data+plus+api/41812/bilibili+get+creators+ranked+for+a+product?goods_id=Required' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15545/social+data+plus+api/41812/bilibili+get+creators+ranked+for+a+product?goods_id=Required");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15545/social+data+plus+api/41812/bilibili+get+creators+ranked+for+a+product?goods_id=Required"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15545/social+data+plus+api/41812/bilibili+get+creators+ranked+for+a+product?goods_id=Required")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41812/bilibili+get+creators+ranked+for+a+product?goods_id=Required")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15545/social+data+plus+api/41812/bilibili+get+creators+ranked+for+a+product?goods_id=Required"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15545/social+data+plus+api/41812/bilibili+get+creators+ranked+for+a+product?goods_id=Required")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"code": 200,
"data": [
{
"id": 4,
"name": "游戏"
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15545/social+data+plus+api/41813/bilibili+get+creator+ranking+categories' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
// Build the GET request
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41813/bilibili+get+creator+ranking+categories")
.get() // Use GET method without a body
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
// Execute the request
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
// Handle the response in case of a successful request
String responseData = response.body().string();
System.out.println(responseData);
} else {
// Handle errors
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
// Handle I/O exceptions
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15545/social+data+plus+api/41813/bilibili+get+creator+ranking+categories",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15545/social+data+plus+api/41813/bilibili+get+creator+ranking+categories");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15545/social+data+plus+api/41813/bilibili+get+creator+ranking+categories',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15545/social+data+plus+api/41813/bilibili+get+creator+ranking+categories',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15545/social+data+plus+api/41813/bilibili+get+creator+ranking+categories"
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15545/social+data+plus+api/41813/bilibili+get+creator+ranking+categories")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15545/social+data+plus+api/41813/bilibili+get+creator+ranking+categories' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15545/social+data+plus+api/41813/bilibili+get+creator+ranking+categories");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15545/social+data+plus+api/41813/bilibili+get+creator+ranking+categories"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15545/social+data+plus+api/41813/bilibili+get+creator+ranking+categories")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41813/bilibili+get+creator+ranking+categories")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15545/social+data+plus+api/41813/bilibili+get+creator+ranking+categories"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15545/social+data+plus+api/41813/bilibili+get+creator+ranking+categories")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"code": 200,
"data": {
"data": [
{
"log_date": "20261123",
"ranking": 1,
"goods_id": "107606335",
"image_url": "[omitted]",
"image_urls": [
"[omitted]"
],
"title": "熙彼儿(Sibyl)【2026新款】星轨WS200 Pro主动降噪蓝牙耳机真无线入耳式运动游戏电竞音乐超长续航 灰色【-50db降噪+Hi-Res金标+LDAC无损音质】 游戏低延迟+智能APP",
"division_ratio": 0.01,
"price": 149,
"jump_url": "[omitted]",
"source": 3,
"order_count_trend_list": [
78
],
"yesterday_gmv": "6000+"
}
],
"page": 1,
"total": 50
}
}
curl --location --request GET 'https://zylalabs.com/api/15545/social+data+plus+api/41814/bilibili+get+x-huo+product+rankings?x_huo_industry_id=11' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
// Build the GET request
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41814/bilibili+get+x-huo+product+rankings?x_huo_industry_id=11")
.get() // Use GET method without a body
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
// Execute the request
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
// Handle the response in case of a successful request
String responseData = response.body().string();
System.out.println(responseData);
} else {
// Handle errors
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
// Handle I/O exceptions
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15545/social+data+plus+api/41814/bilibili+get+x-huo+product+rankings?x_huo_industry_id=11",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15545/social+data+plus+api/41814/bilibili+get+x-huo+product+rankings?x_huo_industry_id=11");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15545/social+data+plus+api/41814/bilibili+get+x-huo+product+rankings?x_huo_industry_id=11',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15545/social+data+plus+api/41814/bilibili+get+x-huo+product+rankings?x_huo_industry_id=11',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15545/social+data+plus+api/41814/bilibili+get+x-huo+product+rankings?x_huo_industry_id=11"
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15545/social+data+plus+api/41814/bilibili+get+x-huo+product+rankings?x_huo_industry_id=11")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15545/social+data+plus+api/41814/bilibili+get+x-huo+product+rankings?x_huo_industry_id=11' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15545/social+data+plus+api/41814/bilibili+get+x-huo+product+rankings?x_huo_industry_id=11");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15545/social+data+plus+api/41814/bilibili+get+x-huo+product+rankings?x_huo_industry_id=11"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15545/social+data+plus+api/41814/bilibili+get+x-huo+product+rankings?x_huo_industry_id=11")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41814/bilibili+get+x-huo+product+rankings?x_huo_industry_id=11")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15545/social+data+plus+api/41814/bilibili+get+x-huo+product+rankings?x_huo_industry_id=11"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15545/social+data+plus+api/41814/bilibili+get+x-huo+product+rankings?x_huo_industry_id=11")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"code": 200,
"data": [
{
"mid": 234004476,
"nickname": "飞机上的小电视",
"head_img": "[omitted]"
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15545/social+data+plus+api/41815/bilibili+search+creator+suggestions?nickname_or_mids=小电视' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
// Build the GET request
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41815/bilibili+search+creator+suggestions?nickname_or_mids=小电视")
.get() // Use GET method without a body
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
// Execute the request
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
// Handle the response in case of a successful request
String responseData = response.body().string();
System.out.println(responseData);
} else {
// Handle errors
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
// Handle I/O exceptions
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15545/social+data+plus+api/41815/bilibili+search+creator+suggestions?nickname_or_mids=小电视",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15545/social+data+plus+api/41815/bilibili+search+creator+suggestions?nickname_or_mids=小电视");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15545/social+data+plus+api/41815/bilibili+search+creator+suggestions?nickname_or_mids=小电视',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15545/social+data+plus+api/41815/bilibili+search+creator+suggestions?nickname_or_mids=小电视',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15545/social+data+plus+api/41815/bilibili+search+creator+suggestions?nickname_or_mids=小电视"
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15545/social+data+plus+api/41815/bilibili+search+creator+suggestions?nickname_or_mids=小电视")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15545/social+data+plus+api/41815/bilibili+search+creator+suggestions?nickname_or_mids=小电视' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15545/social+data+plus+api/41815/bilibili+search+creator+suggestions?nickname_or_mids=小电视");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15545/social+data+plus+api/41815/bilibili+search+creator+suggestions?nickname_or_mids=小电视"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15545/social+data+plus+api/41815/bilibili+search+creator+suggestions?nickname_or_mids=小电视")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41815/bilibili+search+creator+suggestions?nickname_or_mids=小电视")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15545/social+data+plus+api/41815/bilibili+search+creator+suggestions?nickname_or_mids=小电视"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15545/social+data+plus+api/41815/bilibili+search+creator+suggestions?nickname_or_mids=小电视")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"code": 200,
"data": {
"data": [],
"page": 1,
"total": 50
}
}
curl --location --request GET 'https://zylalabs.com/api/15545/social+data+plus+api/41816/bilibili+get+x-huo+creator+rankings?x_huo_industry_id=11' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
// Build the GET request
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41816/bilibili+get+x-huo+creator+rankings?x_huo_industry_id=11")
.get() // Use GET method without a body
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
// Execute the request
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
// Handle the response in case of a successful request
String responseData = response.body().string();
System.out.println(responseData);
} else {
// Handle errors
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
// Handle I/O exceptions
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15545/social+data+plus+api/41816/bilibili+get+x-huo+creator+rankings?x_huo_industry_id=11",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15545/social+data+plus+api/41816/bilibili+get+x-huo+creator+rankings?x_huo_industry_id=11");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15545/social+data+plus+api/41816/bilibili+get+x-huo+creator+rankings?x_huo_industry_id=11',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15545/social+data+plus+api/41816/bilibili+get+x-huo+creator+rankings?x_huo_industry_id=11',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15545/social+data+plus+api/41816/bilibili+get+x-huo+creator+rankings?x_huo_industry_id=11"
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15545/social+data+plus+api/41816/bilibili+get+x-huo+creator+rankings?x_huo_industry_id=11")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15545/social+data+plus+api/41816/bilibili+get+x-huo+creator+rankings?x_huo_industry_id=11' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15545/social+data+plus+api/41816/bilibili+get+x-huo+creator+rankings?x_huo_industry_id=11");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15545/social+data+plus+api/41816/bilibili+get+x-huo+creator+rankings?x_huo_industry_id=11"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15545/social+data+plus+api/41816/bilibili+get+x-huo+creator+rankings?x_huo_industry_id=11")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41816/bilibili+get+x-huo+creator+rankings?x_huo_industry_id=11")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15545/social+data+plus+api/41816/bilibili+get+x-huo+creator+rankings?x_huo_industry_id=11"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15545/social+data+plus+api/41816/bilibili+get+x-huo+creator+rankings?x_huo_industry_id=11")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"code": 200,
"data": {
"data": [
{
"ranking": 1,
"mapping_id": 305817,
"upper_mid": 359844033,
"mcn_id": 207450595,
"upper_type": 3,
"is_collected": 0,
"state_types": [
4
],
"face": "[omitted]",
"nickname": "大乾乾是顾乾宇",
"gender": 0,
"is_mcn_upper": 0,
"fans_num": 1079136
}
],
"page": 1,
"total": 50
}
}
curl --location --request GET 'https://zylalabs.com/api/15545/social+data+plus+api/41817/bilibili+get+creator+rankings' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
// Build the GET request
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41817/bilibili+get+creator+rankings")
.get() // Use GET method without a body
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
// Execute the request
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
// Handle the response in case of a successful request
String responseData = response.body().string();
System.out.println(responseData);
} else {
// Handle errors
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
// Handle I/O exceptions
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15545/social+data+plus+api/41817/bilibili+get+creator+rankings",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15545/social+data+plus+api/41817/bilibili+get+creator+rankings");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15545/social+data+plus+api/41817/bilibili+get+creator+rankings',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15545/social+data+plus+api/41817/bilibili+get+creator+rankings',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15545/social+data+plus+api/41817/bilibili+get+creator+rankings"
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15545/social+data+plus+api/41817/bilibili+get+creator+rankings")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15545/social+data+plus+api/41817/bilibili+get+creator+rankings' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15545/social+data+plus+api/41817/bilibili+get+creator+rankings");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15545/social+data+plus+api/41817/bilibili+get+creator+rankings"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15545/social+data+plus+api/41817/bilibili+get+creator+rankings")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41817/bilibili+get+creator+rankings")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15545/social+data+plus+api/41817/bilibili+get+creator+rankings"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15545/social+data+plus+api/41817/bilibili+get+creator+rankings")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"code": 200,
"data": [
{
"value": 4,
"id": 4,
"label": "北京",
"children": []
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15545/social+data+plus+api/41818/bilibili+get+region+options' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
// Build the GET request
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41818/bilibili+get+region+options")
.get() // Use GET method without a body
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
// Execute the request
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
// Handle the response in case of a successful request
String responseData = response.body().string();
System.out.println(responseData);
} else {
// Handle errors
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
// Handle I/O exceptions
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15545/social+data+plus+api/41818/bilibili+get+region+options",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15545/social+data+plus+api/41818/bilibili+get+region+options");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15545/social+data+plus+api/41818/bilibili+get+region+options',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15545/social+data+plus+api/41818/bilibili+get+region+options',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15545/social+data+plus+api/41818/bilibili+get+region+options"
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15545/social+data+plus+api/41818/bilibili+get+region+options")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15545/social+data+plus+api/41818/bilibili+get+region+options' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15545/social+data+plus+api/41818/bilibili+get+region+options");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15545/social+data+plus+api/41818/bilibili+get+region+options"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15545/social+data+plus+api/41818/bilibili+get+region+options")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41818/bilibili+get+region+options")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15545/social+data+plus+api/41818/bilibili+get+region+options"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15545/social+data+plus+api/41818/bilibili+get+region+options")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"code": 200,
"data": {
"fans_age_tag": [
{
"value": "age_lte_17",
"label": "17岁及以下粉丝居多",
"children": null
}
],
"fans_gender_tag": [
{
"value": "m_gt_50p",
"label": "男性占比大于50%",
"children": null
}
],
"fans_region_tag": [
{
"value": "city_1",
"label": "一线城市居多",
"children": null
}
],
"gender_info": [
{
"value": "0",
"label": "男",
"children": null
}
],
"square_tag": [
{
"value": "makeup_high_convert",
"label": "美妆高转化up主",
"children": null
}
],
"av_active_tag": [
{
"value": "av_active_30",
"label": "近30天投稿活跃",
"children": null
}
],
"special_tags": [
{
"value": "cooperation_mode",
"label": "合作形式",
"children": [
{
"value": "cooperation_mode.支持7日急单",
"label": "支持7日急单",
"children": null
}
]
}
],
"industry_tree": [
{
"value": "1",
"label": "3C及电器",
"children": [
{
"value": "2",
"label": "手机",
"children": []
}
]
}
],
"price_info_options": {
"request_field": "price_info",
"currency": "CNY",
"cooperation_type": [
{
"label": "深度定制",
"value": 22,
"group": "video",
"group_label": "视频合作",
"supported_fields": []
}
],
"price_range": [
{
"label": "10万以上",
"price_min": 100000,
"price_max": ""
}
],
"price_right": [
{
"label": "品牌在前1/3露出",
"value": "show_in_video_first_1p3",
"cooperation_types": []
}
],
"include_content": [
{
"label": "授权二创/分发",
"value": 1,
"cooperation_types": []
}
],
"creative_skill": [
{
"label": "海外拍摄",
"value": 1,
"cooperation_types": []
}
]
}
}
}
curl --location --request GET 'https://zylalabs.com/api/15545/social+data+plus+api/41819/bilibili+get+creator+marketplace+filter+dictionaries' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
// Build the GET request
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41819/bilibili+get+creator+marketplace+filter+dictionaries")
.get() // Use GET method without a body
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
// Execute the request
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
// Handle the response in case of a successful request
String responseData = response.body().string();
System.out.println(responseData);
} else {
// Handle errors
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
// Handle I/O exceptions
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15545/social+data+plus+api/41819/bilibili+get+creator+marketplace+filter+dictionaries",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15545/social+data+plus+api/41819/bilibili+get+creator+marketplace+filter+dictionaries");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15545/social+data+plus+api/41819/bilibili+get+creator+marketplace+filter+dictionaries',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15545/social+data+plus+api/41819/bilibili+get+creator+marketplace+filter+dictionaries',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15545/social+data+plus+api/41819/bilibili+get+creator+marketplace+filter+dictionaries"
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15545/social+data+plus+api/41819/bilibili+get+creator+marketplace+filter+dictionaries")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15545/social+data+plus+api/41819/bilibili+get+creator+marketplace+filter+dictionaries' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15545/social+data+plus+api/41819/bilibili+get+creator+marketplace+filter+dictionaries");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15545/social+data+plus+api/41819/bilibili+get+creator+marketplace+filter+dictionaries"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15545/social+data+plus+api/41819/bilibili+get+creator+marketplace+filter+dictionaries")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41819/bilibili+get+creator+marketplace+filter+dictionaries")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15545/social+data+plus+api/41819/bilibili+get+creator+marketplace+filter+dictionaries"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15545/social+data+plus+api/41819/bilibili+get+creator+marketplace+filter+dictionaries")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"code": 200,
"data": [
{
"value": 100063,
"id": 100063,
"label": "职场向",
"children": []
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15545/social+data+plus+api/41820/bilibili+get+persona+tags' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
// Build the GET request
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41820/bilibili+get+persona+tags")
.get() // Use GET method without a body
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
// Execute the request
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
// Handle the response in case of a successful request
String responseData = response.body().string();
System.out.println(responseData);
} else {
// Handle errors
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
// Handle I/O exceptions
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15545/social+data+plus+api/41820/bilibili+get+persona+tags",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15545/social+data+plus+api/41820/bilibili+get+persona+tags");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15545/social+data+plus+api/41820/bilibili+get+persona+tags',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15545/social+data+plus+api/41820/bilibili+get+persona+tags',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15545/social+data+plus+api/41820/bilibili+get+persona+tags"
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15545/social+data+plus+api/41820/bilibili+get+persona+tags")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15545/social+data+plus+api/41820/bilibili+get+persona+tags' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15545/social+data+plus+api/41820/bilibili+get+persona+tags");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15545/social+data+plus+api/41820/bilibili+get+persona+tags"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15545/social+data+plus+api/41820/bilibili+get+persona+tags")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41820/bilibili+get+persona+tags")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15545/social+data+plus+api/41820/bilibili+get+persona+tags"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15545/social+data+plus+api/41820/bilibili+get+persona+tags")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"code": 200,
"data": [
{
"value": 100069,
"id": 100069,
"label": "摄影师",
"children": []
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15545/social+data+plus+api/41821/bilibili+get+occupation+tags' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
// Build the GET request
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41821/bilibili+get+occupation+tags")
.get() // Use GET method without a body
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
// Execute the request
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
// Handle the response in case of a successful request
String responseData = response.body().string();
System.out.println(responseData);
} else {
// Handle errors
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
// Handle I/O exceptions
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15545/social+data+plus+api/41821/bilibili+get+occupation+tags",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15545/social+data+plus+api/41821/bilibili+get+occupation+tags");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15545/social+data+plus+api/41821/bilibili+get+occupation+tags',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15545/social+data+plus+api/41821/bilibili+get+occupation+tags',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15545/social+data+plus+api/41821/bilibili+get+occupation+tags"
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15545/social+data+plus+api/41821/bilibili+get+occupation+tags")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15545/social+data+plus+api/41821/bilibili+get+occupation+tags' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15545/social+data+plus+api/41821/bilibili+get+occupation+tags");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15545/social+data+plus+api/41821/bilibili+get+occupation+tags"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15545/social+data+plus+api/41821/bilibili+get+occupation+tags")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41821/bilibili+get+occupation+tags")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15545/social+data+plus+api/41821/bilibili+get+occupation+tags"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15545/social+data+plus+api/41821/bilibili+get+occupation+tags")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"code": 200,
"data": [
{
"value": 100001,
"id": 100001,
"label": "美妆个护",
"children": [
{
"value": 100018,
"id": 100018,
"label": "日常妆教",
"children": []
}
]
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15545/social+data+plus+api/41822/bilibili+get+commercial+tags' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
// Build the GET request
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41822/bilibili+get+commercial+tags")
.get() // Use GET method without a body
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
// Execute the request
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
// Handle the response in case of a successful request
String responseData = response.body().string();
System.out.println(responseData);
} else {
// Handle errors
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
// Handle I/O exceptions
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15545/social+data+plus+api/41822/bilibili+get+commercial+tags",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15545/social+data+plus+api/41822/bilibili+get+commercial+tags");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15545/social+data+plus+api/41822/bilibili+get+commercial+tags',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15545/social+data+plus+api/41822/bilibili+get+commercial+tags',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15545/social+data+plus+api/41822/bilibili+get+commercial+tags"
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15545/social+data+plus+api/41822/bilibili+get+commercial+tags")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15545/social+data+plus+api/41822/bilibili+get+commercial+tags' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15545/social+data+plus+api/41822/bilibili+get+commercial+tags");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15545/social+data+plus+api/41822/bilibili+get+commercial+tags"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15545/social+data+plus+api/41822/bilibili+get+commercial+tags")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41822/bilibili+get+commercial+tags")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15545/social+data+plus+api/41822/bilibili+get+commercial+tags"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15545/social+data+plus+api/41822/bilibili+get+commercial+tags")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"code": 200,
"data": {
"nickname": "影视飓风",
"upper_mid": 946974,
"mcn_id": 32048613,
"head_img": "[omitted]",
"state_types": [
1
]
}
}
curl --location --request GET 'https://zylalabs.com/api/15545/social+data+plus+api/41823/bilibili+get+creator+basic+information?mid=946974' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
// Build the GET request
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41823/bilibili+get+creator+basic+information?mid=946974")
.get() // Use GET method without a body
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
// Execute the request
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
// Handle the response in case of a successful request
String responseData = response.body().string();
System.out.println(responseData);
} else {
// Handle errors
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
// Handle I/O exceptions
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15545/social+data+plus+api/41823/bilibili+get+creator+basic+information?mid=946974",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15545/social+data+plus+api/41823/bilibili+get+creator+basic+information?mid=946974");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15545/social+data+plus+api/41823/bilibili+get+creator+basic+information?mid=946974',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15545/social+data+plus+api/41823/bilibili+get+creator+basic+information?mid=946974',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15545/social+data+plus+api/41823/bilibili+get+creator+basic+information?mid=946974"
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15545/social+data+plus+api/41823/bilibili+get+creator+basic+information?mid=946974")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15545/social+data+plus+api/41823/bilibili+get+creator+basic+information?mid=946974' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15545/social+data+plus+api/41823/bilibili+get+creator+basic+information?mid=946974");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15545/social+data+plus+api/41823/bilibili+get+creator+basic+information?mid=946974"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15545/social+data+plus+api/41823/bilibili+get+creator+basic+information?mid=946974")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41823/bilibili+get+creator+basic+information?mid=946974")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15545/social+data+plus+api/41823/bilibili+get+creator+basic+information?mid=946974"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15545/social+data+plus+api/41823/bilibili+get+creator+basic+information?mid=946974")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"code": 200,
"data": []
}
curl --location --request GET 'https://zylalabs.com/api/15545/social+data+plus+api/41824/bilibili+find+creators+by+nickname?nickname=哔哩哔哩弹幕网' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
// Build the GET request
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41824/bilibili+find+creators+by+nickname?nickname=哔哩哔哩弹幕网")
.get() // Use GET method without a body
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
// Execute the request
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
// Handle the response in case of a successful request
String responseData = response.body().string();
System.out.println(responseData);
} else {
// Handle errors
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
// Handle I/O exceptions
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15545/social+data+plus+api/41824/bilibili+find+creators+by+nickname?nickname=哔哩哔哩弹幕网",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15545/social+data+plus+api/41824/bilibili+find+creators+by+nickname?nickname=哔哩哔哩弹幕网");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15545/social+data+plus+api/41824/bilibili+find+creators+by+nickname?nickname=哔哩哔哩弹幕网',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15545/social+data+plus+api/41824/bilibili+find+creators+by+nickname?nickname=哔哩哔哩弹幕网',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15545/social+data+plus+api/41824/bilibili+find+creators+by+nickname?nickname=哔哩哔哩弹幕网"
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15545/social+data+plus+api/41824/bilibili+find+creators+by+nickname?nickname=哔哩哔哩弹幕网")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15545/social+data+plus+api/41824/bilibili+find+creators+by+nickname?nickname=哔哩哔哩弹幕网' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15545/social+data+plus+api/41824/bilibili+find+creators+by+nickname?nickname=哔哩哔哩弹幕网");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15545/social+data+plus+api/41824/bilibili+find+creators+by+nickname?nickname=哔哩哔哩弹幕网"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15545/social+data+plus+api/41824/bilibili+find+creators+by+nickname?nickname=哔哩哔哩弹幕网")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41824/bilibili+find+creators+by+nickname?nickname=哔哩哔哩弹幕网")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15545/social+data+plus+api/41824/bilibili+find+creators+by+nickname?nickname=哔哩哔哩弹幕网"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15545/social+data+plus+api/41824/bilibili+find+creators+by+nickname?nickname=哔哩哔哩弹幕网")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"code": 200,
"data": {
"avid_cnt": 78,
"hot_cnt": 64,
"hot_rate": 0.82,
"explode_cnt": 21,
"explode_rate": 0.27,
"high_interact_rate": 0.04,
"avid_cnt_is_gt_median": true,
"hot_rate_is_gt_median": true,
"explode_rate_is_gt_median": true,
"high_interact_is_gt_median": true
}
}
curl --location --request GET 'https://zylalabs.com/api/15545/social+data+plus+api/41825/bilibili+get+creator+video+highlights?upper_mid=946974' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
// Build the GET request
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41825/bilibili+get+creator+video+highlights?upper_mid=946974")
.get() // Use GET method without a body
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
// Execute the request
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
// Handle the response in case of a successful request
String responseData = response.body().string();
System.out.println(responseData);
} else {
// Handle errors
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
// Handle I/O exceptions
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15545/social+data+plus+api/41825/bilibili+get+creator+video+highlights?upper_mid=946974",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15545/social+data+plus+api/41825/bilibili+get+creator+video+highlights?upper_mid=946974");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15545/social+data+plus+api/41825/bilibili+get+creator+video+highlights?upper_mid=946974',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15545/social+data+plus+api/41825/bilibili+get+creator+video+highlights?upper_mid=946974',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15545/social+data+plus+api/41825/bilibili+get+creator+video+highlights?upper_mid=946974"
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15545/social+data+plus+api/41825/bilibili+get+creator+video+highlights?upper_mid=946974")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15545/social+data+plus+api/41825/bilibili+get+creator+video+highlights?upper_mid=946974' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15545/social+data+plus+api/41825/bilibili+get+creator+video+highlights?upper_mid=946974");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15545/social+data+plus+api/41825/bilibili+get+creator+video+highlights?upper_mid=946974"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15545/social+data+plus+api/41825/bilibili+get+creator+video+highlights?upper_mid=946974")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41825/bilibili+get+creator+video+highlights?upper_mid=946974")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15545/social+data+plus+api/41825/bilibili+get+creator+video+highlights?upper_mid=946974"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15545/social+data+plus+api/41825/bilibili+get+creator+video+highlights?upper_mid=946974")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"code": 200,
"data": [
{
"date": "[omitted]",
"source": 1
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15545/social+data+plus+api/41826/bilibili+get+creator+unavailable+dates?mid=946974' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
// Build the GET request
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41826/bilibili+get+creator+unavailable+dates?mid=946974")
.get() // Use GET method without a body
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
// Execute the request
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
// Handle the response in case of a successful request
String responseData = response.body().string();
System.out.println(responseData);
} else {
// Handle errors
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
// Handle I/O exceptions
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15545/social+data+plus+api/41826/bilibili+get+creator+unavailable+dates?mid=946974",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15545/social+data+plus+api/41826/bilibili+get+creator+unavailable+dates?mid=946974");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15545/social+data+plus+api/41826/bilibili+get+creator+unavailable+dates?mid=946974',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15545/social+data+plus+api/41826/bilibili+get+creator+unavailable+dates?mid=946974',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15545/social+data+plus+api/41826/bilibili+get+creator+unavailable+dates?mid=946974"
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15545/social+data+plus+api/41826/bilibili+get+creator+unavailable+dates?mid=946974")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15545/social+data+plus+api/41826/bilibili+get+creator+unavailable+dates?mid=946974' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15545/social+data+plus+api/41826/bilibili+get+creator+unavailable+dates?mid=946974");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15545/social+data+plus+api/41826/bilibili+get+creator+unavailable+dates?mid=946974"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15545/social+data+plus+api/41826/bilibili+get+creator+unavailable+dates?mid=946974")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41826/bilibili+get+creator+unavailable+dates?mid=946974")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15545/social+data+plus+api/41826/bilibili+get+creator+unavailable+dates?mid=946974"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15545/social+data+plus+api/41826/bilibili+get+creator+unavailable+dates?mid=946974")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"code": 200,
"data": {
"mapping_id": 8099,
"upper_mid": 946974,
"upper_type": 1,
"upper_type_desc": "正常入库",
"head_img": "[omitted]",
"nickname": "影视飓风",
"signature": "[omitted]",
"introduction": "影视飓风频道专注于影视制作教程、科技产品测评以及生活方式分享,粉丝人群以年轻男性为主,包含众多科技数码/影视摄影爱好者,在兴趣圈层内有较好的分享与自推广能力。",
"gender_desc": "男",
"region_desc": "上海",
"second_region_desc": "上海",
"partition_id": 188
}
}
curl --location --request GET 'https://zylalabs.com/api/15545/social+data+plus+api/41827/bilibili+get+creator+profile?upper_mid=946974' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
// Build the GET request
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41827/bilibili+get+creator+profile?upper_mid=946974")
.get() // Use GET method without a body
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
// Execute the request
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
// Handle the response in case of a successful request
String responseData = response.body().string();
System.out.println(responseData);
} else {
// Handle errors
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
// Handle I/O exceptions
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15545/social+data+plus+api/41827/bilibili+get+creator+profile?upper_mid=946974",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15545/social+data+plus+api/41827/bilibili+get+creator+profile?upper_mid=946974");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15545/social+data+plus+api/41827/bilibili+get+creator+profile?upper_mid=946974',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15545/social+data+plus+api/41827/bilibili+get+creator+profile?upper_mid=946974',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15545/social+data+plus+api/41827/bilibili+get+creator+profile?upper_mid=946974"
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15545/social+data+plus+api/41827/bilibili+get+creator+profile?upper_mid=946974")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15545/social+data+plus+api/41827/bilibili+get+creator+profile?upper_mid=946974' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15545/social+data+plus+api/41827/bilibili+get+creator+profile?upper_mid=946974");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15545/social+data+plus+api/41827/bilibili+get+creator+profile?upper_mid=946974"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15545/social+data+plus+api/41827/bilibili+get+creator+profile?upper_mid=946974")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41827/bilibili+get+creator+profile?upper_mid=946974")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15545/social+data+plus+api/41827/bilibili+get+creator+profile?upper_mid=946974"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15545/social+data+plus+api/41827/bilibili+get+creator+profile?upper_mid=946974")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"code": 200,
"data": {
"min_cnt": 881780,
"max_cnt": 13742851,
"median": 3527749.5,
"upper_draft_trend_info_vos": [
{
"av_id": "[omitted]",
"bv_id": "BV1pGnn67EbB",
"title": "带着100万,我们见了成人网红...",
"pub_date": "[omitted]",
"trend_cnt": 7550724,
"cover": "[omitted]",
"play": 7550724,
"is_spark_avid": 0,
"history_rank": 0,
"is_history_hot": 1,
"is_current_high_interact": 1,
"is_history_explode": 1
}
]
}
}
curl --location --request GET 'https://zylalabs.com/api/15545/social+data+plus+api/41828/bilibili+get+creator+video+metric+trends?upper_mid=946974' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
// Build the GET request
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41828/bilibili+get+creator+video+metric+trends?upper_mid=946974")
.get() // Use GET method without a body
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
// Execute the request
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
// Handle the response in case of a successful request
String responseData = response.body().string();
System.out.println(responseData);
} else {
// Handle errors
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
// Handle I/O exceptions
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15545/social+data+plus+api/41828/bilibili+get+creator+video+metric+trends?upper_mid=946974",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15545/social+data+plus+api/41828/bilibili+get+creator+video+metric+trends?upper_mid=946974");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15545/social+data+plus+api/41828/bilibili+get+creator+video+metric+trends?upper_mid=946974',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15545/social+data+plus+api/41828/bilibili+get+creator+video+metric+trends?upper_mid=946974',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15545/social+data+plus+api/41828/bilibili+get+creator+video+metric+trends?upper_mid=946974"
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15545/social+data+plus+api/41828/bilibili+get+creator+video+metric+trends?upper_mid=946974")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15545/social+data+plus+api/41828/bilibili+get+creator+video+metric+trends?upper_mid=946974' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15545/social+data+plus+api/41828/bilibili+get+creator+video+metric+trends?upper_mid=946974");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15545/social+data+plus+api/41828/bilibili+get+creator+video+metric+trends?upper_mid=946974"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15545/social+data+plus+api/41828/bilibili+get+creator+video+metric+trends?upper_mid=946974")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41828/bilibili+get+creator+video+metric+trends?upper_mid=946974")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15545/social+data+plus+api/41828/bilibili+get+creator+video+metric+trends?upper_mid=946974"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15545/social+data+plus+api/41828/bilibili+get+creator+video+metric+trends?upper_mid=946974")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"code": 200,
"data": {
"fans_inc7": 68755,
"fans_inc_rate7": 0.36,
"fans_inc30": 380839,
"fans_inc_rate30": 2.03,
"fans_inc90": 1927107,
"fans_inc_rate90": 11.18,
"fans_inc180": 2865268,
"fans_inc_rate180": 17.58,
"fans_inc365": 4764311,
"fans_inc_rate365": 33.09,
"data_statistics_by_day_vos": [
{
"date": "[omitted]",
"count": 14400115
}
]
}
}
curl --location --request GET 'https://zylalabs.com/api/15545/social+data+plus+api/41829/bilibili+get+creator+follower+trends?upper_mid=946974' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
// Build the GET request
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41829/bilibili+get+creator+follower+trends?upper_mid=946974")
.get() // Use GET method without a body
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
// Execute the request
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
// Handle the response in case of a successful request
String responseData = response.body().string();
System.out.println(responseData);
} else {
// Handle errors
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
// Handle I/O exceptions
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15545/social+data+plus+api/41829/bilibili+get+creator+follower+trends?upper_mid=946974",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15545/social+data+plus+api/41829/bilibili+get+creator+follower+trends?upper_mid=946974");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15545/social+data+plus+api/41829/bilibili+get+creator+follower+trends?upper_mid=946974',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15545/social+data+plus+api/41829/bilibili+get+creator+follower+trends?upper_mid=946974',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15545/social+data+plus+api/41829/bilibili+get+creator+follower+trends?upper_mid=946974"
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15545/social+data+plus+api/41829/bilibili+get+creator+follower+trends?upper_mid=946974")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15545/social+data+plus+api/41829/bilibili+get+creator+follower+trends?upper_mid=946974' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15545/social+data+plus+api/41829/bilibili+get+creator+follower+trends?upper_mid=946974");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15545/social+data+plus+api/41829/bilibili+get+creator+follower+trends?upper_mid=946974"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15545/social+data+plus+api/41829/bilibili+get+creator+follower+trends?upper_mid=946974")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41829/bilibili+get+creator+follower+trends?upper_mid=946974")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15545/social+data+plus+api/41829/bilibili+get+creator+follower+trends?upper_mid=946974"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15545/social+data+plus+api/41829/bilibili+get+creator+follower+trends?upper_mid=946974")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"code": 200,
"data": {
"draft_cnt": 78,
"draft_percentile_tag": "高于75%同类UP主",
"order_cnt": 32,
"order_percentile_tag": "高于75%同类UP主",
"hot_draft_cnt": 64,
"hot_percentile_tag": "高于75%同类UP主",
"must_week_cnt": 22,
"must_week_percentile_tag": "高于75%同类UP主",
"rank_cnt": 44,
"rank_percentile_tag": "高于75%同类UP主",
"partition_distribution": [
{
"section_desc": "科技",
"count": 86
}
],
"duration_distribution": [
{
"section_desc": "10min以上",
"count": 51
}
]
}
}
curl --location --request GET 'https://zylalabs.com/api/15545/social+data+plus+api/41830/bilibili+get+creator+video+performance?upper_mid=946974' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
// Build the GET request
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41830/bilibili+get+creator+video+performance?upper_mid=946974")
.get() // Use GET method without a body
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
// Execute the request
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
// Handle the response in case of a successful request
String responseData = response.body().string();
System.out.println(responseData);
} else {
// Handle errors
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
// Handle I/O exceptions
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15545/social+data+plus+api/41830/bilibili+get+creator+video+performance?upper_mid=946974",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15545/social+data+plus+api/41830/bilibili+get+creator+video+performance?upper_mid=946974");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15545/social+data+plus+api/41830/bilibili+get+creator+video+performance?upper_mid=946974',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15545/social+data+plus+api/41830/bilibili+get+creator+video+performance?upper_mid=946974',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15545/social+data+plus+api/41830/bilibili+get+creator+video+performance?upper_mid=946974"
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15545/social+data+plus+api/41830/bilibili+get+creator+video+performance?upper_mid=946974")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15545/social+data+plus+api/41830/bilibili+get+creator+video+performance?upper_mid=946974' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15545/social+data+plus+api/41830/bilibili+get+creator+video+performance?upper_mid=946974");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15545/social+data+plus+api/41830/bilibili+get+creator+video+performance?upper_mid=946974"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15545/social+data+plus+api/41830/bilibili+get+creator+video+performance?upper_mid=946974")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41830/bilibili+get+creator+video+performance?upper_mid=946974")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15545/social+data+plus+api/41830/bilibili+get+creator+video+performance?upper_mid=946974"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15545/social+data+plus+api/41830/bilibili+get+creator+video+performance?upper_mid=946974")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"code": 200,
"data": {
"page": 1,
"total": 0,
"data": []
}
}
curl --location --request GET 'https://zylalabs.com/api/15545/social+data+plus+api/41831/bilibili+get+creators+with+overlapping+audiences?upper_mid=946974' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
// Build the GET request
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41831/bilibili+get+creators+with+overlapping+audiences?upper_mid=946974")
.get() // Use GET method without a body
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
// Execute the request
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
// Handle the response in case of a successful request
String responseData = response.body().string();
System.out.println(responseData);
} else {
// Handle errors
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
// Handle I/O exceptions
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15545/social+data+plus+api/41831/bilibili+get+creators+with+overlapping+audiences?upper_mid=946974",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15545/social+data+plus+api/41831/bilibili+get+creators+with+overlapping+audiences?upper_mid=946974");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15545/social+data+plus+api/41831/bilibili+get+creators+with+overlapping+audiences?upper_mid=946974',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15545/social+data+plus+api/41831/bilibili+get+creators+with+overlapping+audiences?upper_mid=946974',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15545/social+data+plus+api/41831/bilibili+get+creators+with+overlapping+audiences?upper_mid=946974"
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15545/social+data+plus+api/41831/bilibili+get+creators+with+overlapping+audiences?upper_mid=946974")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15545/social+data+plus+api/41831/bilibili+get+creators+with+overlapping+audiences?upper_mid=946974' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15545/social+data+plus+api/41831/bilibili+get+creators+with+overlapping+audiences?upper_mid=946974");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15545/social+data+plus+api/41831/bilibili+get+creators+with+overlapping+audiences?upper_mid=946974"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15545/social+data+plus+api/41831/bilibili+get+creators+with+overlapping+audiences?upper_mid=946974")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41831/bilibili+get+creators+with+overlapping+audiences?upper_mid=946974")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15545/social+data+plus+api/41831/bilibili+get+creators+with+overlapping+audiences?upper_mid=946974"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15545/social+data+plus+api/41831/bilibili+get+creators+with+overlapping+audiences?upper_mid=946974")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"code": 200,
"data": [
{
"av_id": 116554742109232,
"bv_id": "BV1XY546vE1o",
"cover": "[omitted]",
"title": "3台高速机VS刘谦手速!谁更胜一筹?",
"pub_time": 1778490000,
"duration": 834,
"play_cnt": 16161320,
"like_cnt": 652462,
"comment_cnt": 10571,
"danmu_cnt": 38402,
"interact_cnt": 1403217,
"interact_rate": 8.68
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15545/social+data+plus+api/41832/bilibili+get+creator+representative+videos?upper_mid=946974' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
// Build the GET request
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41832/bilibili+get+creator+representative+videos?upper_mid=946974")
.get() // Use GET method without a body
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
// Execute the request
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
// Handle the response in case of a successful request
String responseData = response.body().string();
System.out.println(responseData);
} else {
// Handle errors
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
// Handle I/O exceptions
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15545/social+data+plus+api/41832/bilibili+get+creator+representative+videos?upper_mid=946974",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15545/social+data+plus+api/41832/bilibili+get+creator+representative+videos?upper_mid=946974");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15545/social+data+plus+api/41832/bilibili+get+creator+representative+videos?upper_mid=946974',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15545/social+data+plus+api/41832/bilibili+get+creator+representative+videos?upper_mid=946974',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15545/social+data+plus+api/41832/bilibili+get+creator+representative+videos?upper_mid=946974"
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15545/social+data+plus+api/41832/bilibili+get+creator+representative+videos?upper_mid=946974")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15545/social+data+plus+api/41832/bilibili+get+creator+representative+videos?upper_mid=946974' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15545/social+data+plus+api/41832/bilibili+get+creator+representative+videos?upper_mid=946974");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15545/social+data+plus+api/41832/bilibili+get+creator+representative+videos?upper_mid=946974"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15545/social+data+plus+api/41832/bilibili+get+creator+representative+videos?upper_mid=946974")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41832/bilibili+get+creator+representative+videos?upper_mid=946974")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15545/social+data+plus+api/41832/bilibili+get+creator+representative+videos?upper_mid=946974"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15545/social+data+plus+api/41832/bilibili+get+creator+representative+videos?upper_mid=946974")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"code": 200,
"data": [
{
"id": 751,
"value": 751,
"pid": 0,
"label": "特别推荐",
"label_i18n": "特别推荐",
"level": 0,
"filter_type": 0,
"platform_recommend": false,
"icon_length": 0,
"icon_height": 0,
"children": [
{
"id": 752,
"value": 752,
"pid": 751,
"label": "近年百大UP主",
"label_i18n": "近年百大UP主",
"hover": "近年B站百大UP主名单",
"level": 1,
"filter_type": 2,
"platform_recommend": false,
"icon_length": 0,
"icon_height": 0
}
]
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15545/social+data+plus+api/41833/bilibili+get+creator+filter+panel+configuration' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
// Build the GET request
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41833/bilibili+get+creator+filter+panel+configuration")
.get() // Use GET method without a body
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
// Execute the request
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
// Handle the response in case of a successful request
String responseData = response.body().string();
System.out.println(responseData);
} else {
// Handle errors
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
// Handle I/O exceptions
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15545/social+data+plus+api/41833/bilibili+get+creator+filter+panel+configuration",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15545/social+data+plus+api/41833/bilibili+get+creator+filter+panel+configuration");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15545/social+data+plus+api/41833/bilibili+get+creator+filter+panel+configuration',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15545/social+data+plus+api/41833/bilibili+get+creator+filter+panel+configuration',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15545/social+data+plus+api/41833/bilibili+get+creator+filter+panel+configuration"
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15545/social+data+plus+api/41833/bilibili+get+creator+filter+panel+configuration")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15545/social+data+plus+api/41833/bilibili+get+creator+filter+panel+configuration' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15545/social+data+plus+api/41833/bilibili+get+creator+filter+panel+configuration");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15545/social+data+plus+api/41833/bilibili+get+creator+filter+panel+configuration"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15545/social+data+plus+api/41833/bilibili+get+creator+filter+panel+configuration")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41833/bilibili+get+creator+filter+panel+configuration")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15545/social+data+plus+api/41833/bilibili+get+creator+filter+panel+configuration"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15545/social+data+plus+api/41833/bilibili+get+creator+filter+panel+configuration")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"code": 200,
"data": {
"mid": 946974,
"enable_auto_reply": 0,
"show_wechat_qq": 0,
"show_busy_time": 0,
"show_busy_time_in_portrait": 0,
"auto_sync_busy_time": 1,
"show_no_cooperation_industry": 0,
"no_cooperation_united_industry": null
}
}
curl --location --request GET 'https://zylalabs.com/api/15545/social+data+plus+api/41834/bilibili+get+creator+inquiry+settings?mid=946974' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
// Build the GET request
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41834/bilibili+get+creator+inquiry+settings?mid=946974")
.get() // Use GET method without a body
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
// Execute the request
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
// Handle the response in case of a successful request
String responseData = response.body().string();
System.out.println(responseData);
} else {
// Handle errors
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
// Handle I/O exceptions
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15545/social+data+plus+api/41834/bilibili+get+creator+inquiry+settings?mid=946974",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15545/social+data+plus+api/41834/bilibili+get+creator+inquiry+settings?mid=946974");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15545/social+data+plus+api/41834/bilibili+get+creator+inquiry+settings?mid=946974',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15545/social+data+plus+api/41834/bilibili+get+creator+inquiry+settings?mid=946974',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15545/social+data+plus+api/41834/bilibili+get+creator+inquiry+settings?mid=946974"
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15545/social+data+plus+api/41834/bilibili+get+creator+inquiry+settings?mid=946974")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15545/social+data+plus+api/41834/bilibili+get+creator+inquiry+settings?mid=946974' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15545/social+data+plus+api/41834/bilibili+get+creator+inquiry+settings?mid=946974");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15545/social+data+plus+api/41834/bilibili+get+creator+inquiry+settings?mid=946974"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15545/social+data+plus+api/41834/bilibili+get+creator+inquiry+settings?mid=946974")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41834/bilibili+get+creator+inquiry+settings?mid=946974")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15545/social+data+plus+api/41834/bilibili+get+creator+inquiry+settings?mid=946974"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15545/social+data+plus+api/41834/bilibili+get+creator+inquiry+settings?mid=946974")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"code": 200,
"data": {
"base_resp": {
"status_code": 0,
"status_message": ""
},
"cpe_20_60": "0.5312",
"cpe_60": "0.664",
"cpm_20_60": "18.3326",
"cpm_20_60_rank_percent": "[omitted]",
"cpm_60": "22.9158",
"modify_time": "[omitted]",
"platform_hot_rate": "1",
"sn_cpe_20_60": "0.5781",
"sn_cpe_60": "0.7226",
"sn_cpm_20_60": "18.3602",
"sn_cpm_60": "22.9502"
}
}
curl --location --request GET 'https://zylalabs.com/api/15545/social+data+plus+api/41835/douyin+get+author+commerce+spread+info?o_author_id=7112600044674482187' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
// Build the GET request
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41835/douyin+get+author+commerce+spread+info?o_author_id=7112600044674482187")
.get() // Use GET method without a body
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
// Execute the request
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
// Handle the response in case of a successful request
String responseData = response.body().string();
System.out.println(responseData);
} else {
// Handle errors
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
// Handle I/O exceptions
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15545/social+data+plus+api/41835/douyin+get+author+commerce+spread+info?o_author_id=7112600044674482187",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15545/social+data+plus+api/41835/douyin+get+author+commerce+spread+info?o_author_id=7112600044674482187");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15545/social+data+plus+api/41835/douyin+get+author+commerce+spread+info?o_author_id=7112600044674482187',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15545/social+data+plus+api/41835/douyin+get+author+commerce+spread+info?o_author_id=7112600044674482187',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15545/social+data+plus+api/41835/douyin+get+author+commerce+spread+info?o_author_id=7112600044674482187"
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15545/social+data+plus+api/41835/douyin+get+author+commerce+spread+info?o_author_id=7112600044674482187")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15545/social+data+plus+api/41835/douyin+get+author+commerce+spread+info?o_author_id=7112600044674482187' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15545/social+data+plus+api/41835/douyin+get+author+commerce+spread+info?o_author_id=7112600044674482187");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15545/social+data+plus+api/41835/douyin+get+author+commerce+spread+info?o_author_id=7112600044674482187"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15545/social+data+plus+api/41835/douyin+get+author+commerce+spread+info?o_author_id=7112600044674482187")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41835/douyin+get+author+commerce+spread+info?o_author_id=7112600044674482187")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15545/social+data+plus+api/41835/douyin+get+author+commerce+spread+info?o_author_id=7112600044674482187"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15545/social+data+plus+api/41835/douyin+get+author+commerce+spread+info?o_author_id=7112600044674482187")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"code": 200,
"data": [
{
"mapping_id": 54505,
"upper_mid": 1428110495,
"mcn_id": 207450595,
"head_img": "[omitted]",
"nickname": "妮可厅长",
"gender_desc": "女",
"fans_num": 286108,
"is_collected": 0,
"upper_type": 3,
"fans_like_num": 1457321,
"video_num": 207,
"tags": [
"数码测评"
]
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15545/social+data+plus+api/41836/bilibili+get+creators+with+similar+content?upper_mid=946974' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
// Build the GET request
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41836/bilibili+get+creators+with+similar+content?upper_mid=946974")
.get() // Use GET method without a body
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
// Execute the request
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
// Handle the response in case of a successful request
String responseData = response.body().string();
System.out.println(responseData);
} else {
// Handle errors
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
// Handle I/O exceptions
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15545/social+data+plus+api/41836/bilibili+get+creators+with+similar+content?upper_mid=946974",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15545/social+data+plus+api/41836/bilibili+get+creators+with+similar+content?upper_mid=946974");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15545/social+data+plus+api/41836/bilibili+get+creators+with+similar+content?upper_mid=946974',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15545/social+data+plus+api/41836/bilibili+get+creators+with+similar+content?upper_mid=946974',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15545/social+data+plus+api/41836/bilibili+get+creators+with+similar+content?upper_mid=946974"
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15545/social+data+plus+api/41836/bilibili+get+creators+with+similar+content?upper_mid=946974")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15545/social+data+plus+api/41836/bilibili+get+creators+with+similar+content?upper_mid=946974' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15545/social+data+plus+api/41836/bilibili+get+creators+with+similar+content?upper_mid=946974");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15545/social+data+plus+api/41836/bilibili+get+creators+with+similar+content?upper_mid=946974"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15545/social+data+plus+api/41836/bilibili+get+creators+with+similar+content?upper_mid=946974")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41836/bilibili+get+creators+with+similar+content?upper_mid=946974")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15545/social+data+plus+api/41836/bilibili+get+creators+with+similar+content?upper_mid=946974"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15545/social+data+plus+api/41836/bilibili+get+creators+with+similar+content?upper_mid=946974")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"code": 200,
"data": [
{
"id": 1,
"pid": 0,
"label": "数码家电",
"children": [
{
"id": 7,
"pid": 1,
"label": "数码产品及配件",
"children": []
}
]
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15545/social+data+plus+api/41837/bilibili+get+x-huo+ranking+industries' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
// Build the GET request
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41837/bilibili+get+x-huo+ranking+industries")
.get() // Use GET method without a body
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
// Execute the request
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
// Handle the response in case of a successful request
String responseData = response.body().string();
System.out.println(responseData);
} else {
// Handle errors
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
// Handle I/O exceptions
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15545/social+data+plus+api/41837/bilibili+get+x-huo+ranking+industries",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15545/social+data+plus+api/41837/bilibili+get+x-huo+ranking+industries");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15545/social+data+plus+api/41837/bilibili+get+x-huo+ranking+industries',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15545/social+data+plus+api/41837/bilibili+get+x-huo+ranking+industries',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15545/social+data+plus+api/41837/bilibili+get+x-huo+ranking+industries"
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15545/social+data+plus+api/41837/bilibili+get+x-huo+ranking+industries")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15545/social+data+plus+api/41837/bilibili+get+x-huo+ranking+industries' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15545/social+data+plus+api/41837/bilibili+get+x-huo+ranking+industries");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15545/social+data+plus+api/41837/bilibili+get+x-huo+ranking+industries"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15545/social+data+plus+api/41837/bilibili+get+x-huo+ranking+industries")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41837/bilibili+get+x-huo+ranking+industries")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15545/social+data+plus+api/41837/bilibili+get+x-huo+ranking+industries"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15545/social+data+plus+api/41837/bilibili+get+x-huo+ranking+industries")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"code": 200,
"data": [
"2025-01"
]
}
curl --location --request GET 'https://zylalabs.com/api/15545/social+data+plus+api/41838/bilibili+get+x-huo+ranking+periods' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
// Build the GET request
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41838/bilibili+get+x-huo+ranking+periods")
.get() // Use GET method without a body
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
// Execute the request
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
// Handle the response in case of a successful request
String responseData = response.body().string();
System.out.println(responseData);
} else {
// Handle errors
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
// Handle I/O exceptions
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15545/social+data+plus+api/41838/bilibili+get+x-huo+ranking+periods",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15545/social+data+plus+api/41838/bilibili+get+x-huo+ranking+periods");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15545/social+data+plus+api/41838/bilibili+get+x-huo+ranking+periods',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15545/social+data+plus+api/41838/bilibili+get+x-huo+ranking+periods',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15545/social+data+plus+api/41838/bilibili+get+x-huo+ranking+periods"
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15545/social+data+plus+api/41838/bilibili+get+x-huo+ranking+periods")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15545/social+data+plus+api/41838/bilibili+get+x-huo+ranking+periods' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15545/social+data+plus+api/41838/bilibili+get+x-huo+ranking+periods");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15545/social+data+plus+api/41838/bilibili+get+x-huo+ranking+periods"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15545/social+data+plus+api/41838/bilibili+get+x-huo+ranking+periods")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41838/bilibili+get+x-huo+ranking+periods")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15545/social+data+plus+api/41838/bilibili+get+x-huo+ranking+periods"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15545/social+data+plus+api/41838/bilibili+get+x-huo+ranking+periods")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"code": 200,
"data": {
"base_resp": {
"status_code": 0,
"status_message": ""
},
"video_content_distribution": [
{
"cnt": 2,
"id": "0",
"name": "生活记录",
"proportion": 0.4
}
]
}
}
curl --location --request GET 'https://zylalabs.com/api/15545/social+data+plus+api/41839/douyin+get+author+video+distribution?o_author_id=7112600044674482187' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
// Build the GET request
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41839/douyin+get+author+video+distribution?o_author_id=7112600044674482187")
.get() // Use GET method without a body
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
// Execute the request
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
// Handle the response in case of a successful request
String responseData = response.body().string();
System.out.println(responseData);
} else {
// Handle errors
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
// Handle I/O exceptions
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15545/social+data+plus+api/41839/douyin+get+author+video+distribution?o_author_id=7112600044674482187",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15545/social+data+plus+api/41839/douyin+get+author+video+distribution?o_author_id=7112600044674482187");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15545/social+data+plus+api/41839/douyin+get+author+video+distribution?o_author_id=7112600044674482187',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15545/social+data+plus+api/41839/douyin+get+author+video+distribution?o_author_id=7112600044674482187',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15545/social+data+plus+api/41839/douyin+get+author+video+distribution?o_author_id=7112600044674482187"
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15545/social+data+plus+api/41839/douyin+get+author+video+distribution?o_author_id=7112600044674482187")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15545/social+data+plus+api/41839/douyin+get+author+video+distribution?o_author_id=7112600044674482187' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15545/social+data+plus+api/41839/douyin+get+author+video+distribution?o_author_id=7112600044674482187");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15545/social+data+plus+api/41839/douyin+get+author+video+distribution?o_author_id=7112600044674482187"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15545/social+data+plus+api/41839/douyin+get+author+video+distribution?o_author_id=7112600044674482187")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41839/douyin+get+author+video+distribution?o_author_id=7112600044674482187")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15545/social+data+plus+api/41839/douyin+get+author+video+distribution?o_author_id=7112600044674482187"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15545/social+data+plus+api/41839/douyin+get+author+video+distribution?o_author_id=7112600044674482187")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"code": 200,
"data": {
"count": 2,
"results": [
{
"channel": "durov",
"ok": true,
"info": {
"username": "durov",
"title": "Pavel Durov",
"verified": true,
"description": "Founder/CEO/Owner of Telegram.Founder of TON/Gram.Half-part troll.",
"photo": "[omitted]",
"subscribers": "9.88M",
"counters": {
"subscribers": "9.88M",
"photos": "106",
"videos": "47",
"links": "203"
}
}
}
]
}
}
curl --location --request GET 'https://zylalabs.com/api/15545/social+data+plus+api/41840/telegram+batch+channel+info?channels=durov,telegram' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
// Build the GET request
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41840/telegram+batch+channel+info?channels=durov,telegram")
.get() // Use GET method without a body
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
// Execute the request
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
// Handle the response in case of a successful request
String responseData = response.body().string();
System.out.println(responseData);
} else {
// Handle errors
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
// Handle I/O exceptions
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15545/social+data+plus+api/41840/telegram+batch+channel+info?channels=durov,telegram",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15545/social+data+plus+api/41840/telegram+batch+channel+info?channels=durov,telegram");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15545/social+data+plus+api/41840/telegram+batch+channel+info?channels=durov,telegram',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15545/social+data+plus+api/41840/telegram+batch+channel+info?channels=durov,telegram',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15545/social+data+plus+api/41840/telegram+batch+channel+info?channels=durov,telegram"
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15545/social+data+plus+api/41840/telegram+batch+channel+info?channels=durov,telegram")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15545/social+data+plus+api/41840/telegram+batch+channel+info?channels=durov,telegram' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15545/social+data+plus+api/41840/telegram+batch+channel+info?channels=durov,telegram");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15545/social+data+plus+api/41840/telegram+batch+channel+info?channels=durov,telegram"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15545/social+data+plus+api/41840/telegram+batch+channel+info?channels=durov,telegram")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41840/telegram+batch+channel+info?channels=durov,telegram")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15545/social+data+plus+api/41840/telegram+batch+channel+info?channels=durov,telegram"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15545/social+data+plus+api/41840/telegram+batch+channel+info?channels=durov,telegram")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"code": 200,
"data": {
"username": "durov",
"title": "Pavel Durov",
"verified": true,
"description": "Founder/CEO/Owner of Telegram.Founder of TON/Gram.Half-part troll.",
"photo": "[omitted]",
"subscribers": "9.88M",
"counters": {
"subscribers": "9.88M",
"photos": "106",
"videos": "47",
"links": "203"
}
}
}
curl --location --request GET 'https://zylalabs.com/api/15545/social+data+plus+api/41841/telegram+get+channel+info?channel=durov' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
// Build the GET request
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41841/telegram+get+channel+info?channel=durov")
.get() // Use GET method without a body
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
// Execute the request
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
// Handle the response in case of a successful request
String responseData = response.body().string();
System.out.println(responseData);
} else {
// Handle errors
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
// Handle I/O exceptions
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15545/social+data+plus+api/41841/telegram+get+channel+info?channel=durov",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15545/social+data+plus+api/41841/telegram+get+channel+info?channel=durov");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15545/social+data+plus+api/41841/telegram+get+channel+info?channel=durov',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15545/social+data+plus+api/41841/telegram+get+channel+info?channel=durov',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15545/social+data+plus+api/41841/telegram+get+channel+info?channel=durov"
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15545/social+data+plus+api/41841/telegram+get+channel+info?channel=durov")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15545/social+data+plus+api/41841/telegram+get+channel+info?channel=durov' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15545/social+data+plus+api/41841/telegram+get+channel+info?channel=durov");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15545/social+data+plus+api/41841/telegram+get+channel+info?channel=durov"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15545/social+data+plus+api/41841/telegram+get+channel+info?channel=durov")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41841/telegram+get+channel+info?channel=durov")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15545/social+data+plus+api/41841/telegram+get+channel+info?channel=durov"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15545/social+data+plus+api/41841/telegram+get+channel+info?channel=durov")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"code": 200,
"data": {
"base_resp": {
"status_code": 0,
"status_message": ""
},
"spread_videos": [
{
"author_id": "[omitted]",
"cover_uri": "tos-cn-i-0813c000-ce/oAAIwE3A9qOEqASfwA28DEpaeSwDACFannqEkB",
"create_time": "[omitted]",
"duration": 522.285,
"id": "7705740994922290865",
"stats": {
"avg_watch_dura": "0",
"comment_cnt": "2333",
"favorite_cnt": "27026",
"interact_rate": 0.034,
"like_cnt": "137223",
"share_cnt": "36581",
"watch_cnt": "5167170"
},
"title": "每次给他化女妆 我都感觉他在装矜持#底妆教程 #给老公化妆",
"url": "[omitted]",
"video_id": "v2700fgi0000dbo4hdfog65nip9m2l00"
}
]
}
}
curl --location --request GET 'https://zylalabs.com/api/15545/social+data+plus+api/41842/douyin+get+author+spread+videos?o_author_id=7112600044674482187' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
// Build the GET request
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41842/douyin+get+author+spread+videos?o_author_id=7112600044674482187")
.get() // Use GET method without a body
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
// Execute the request
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
// Handle the response in case of a successful request
String responseData = response.body().string();
System.out.println(responseData);
} else {
// Handle errors
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
// Handle I/O exceptions
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15545/social+data+plus+api/41842/douyin+get+author+spread+videos?o_author_id=7112600044674482187",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15545/social+data+plus+api/41842/douyin+get+author+spread+videos?o_author_id=7112600044674482187");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15545/social+data+plus+api/41842/douyin+get+author+spread+videos?o_author_id=7112600044674482187',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15545/social+data+plus+api/41842/douyin+get+author+spread+videos?o_author_id=7112600044674482187',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15545/social+data+plus+api/41842/douyin+get+author+spread+videos?o_author_id=7112600044674482187"
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15545/social+data+plus+api/41842/douyin+get+author+spread+videos?o_author_id=7112600044674482187")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15545/social+data+plus+api/41842/douyin+get+author+spread+videos?o_author_id=7112600044674482187' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15545/social+data+plus+api/41842/douyin+get+author+spread+videos?o_author_id=7112600044674482187");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15545/social+data+plus+api/41842/douyin+get+author+spread+videos?o_author_id=7112600044674482187"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15545/social+data+plus+api/41842/douyin+get+author+spread+videos?o_author_id=7112600044674482187")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41842/douyin+get+author+spread+videos?o_author_id=7112600044674482187")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15545/social+data+plus+api/41842/douyin+get+author+spread+videos?o_author_id=7112600044674482187"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15545/social+data+plus+api/41842/douyin+get+author+spread+videos?o_author_id=7112600044674482187")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"code": 200,
"data": {
"id": 510,
"channel": "durov",
"url": "[omitted]",
"type": "album",
"date": "2026-05-12T17:28:39+00:00",
"text": "🌍 With 400 validators across 6 continents, TON is one of the most decentralized blockchain networks on the planet. \n\n🧑💻 Telegram becoming the largest validator opened the do…",
"text_html": "🌍 With 400 validators across 6 continents, TON is one of the most decentralized blockchain networks on the planet. <br><br>🧑💻 Telegram becoming the largest validator opened …",
"views": "3.91M",
"author": "Pavel Durov",
"is_forwarded": false,
"forwarded_from": null,
"reply_to": null
}
}
curl --location --request GET 'https://zylalabs.com/api/15545/social+data+plus+api/41843/telegram+get+single+post?channel=durov&post_id=510' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
// Build the GET request
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41843/telegram+get+single+post?channel=durov&post_id=510")
.get() // Use GET method without a body
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
// Execute the request
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
// Handle the response in case of a successful request
String responseData = response.body().string();
System.out.println(responseData);
} else {
// Handle errors
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
// Handle I/O exceptions
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15545/social+data+plus+api/41843/telegram+get+single+post?channel=durov&post_id=510",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15545/social+data+plus+api/41843/telegram+get+single+post?channel=durov&post_id=510");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15545/social+data+plus+api/41843/telegram+get+single+post?channel=durov&post_id=510',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15545/social+data+plus+api/41843/telegram+get+single+post?channel=durov&post_id=510',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15545/social+data+plus+api/41843/telegram+get+single+post?channel=durov&post_id=510"
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15545/social+data+plus+api/41843/telegram+get+single+post?channel=durov&post_id=510")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15545/social+data+plus+api/41843/telegram+get+single+post?channel=durov&post_id=510' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15545/social+data+plus+api/41843/telegram+get+single+post?channel=durov&post_id=510");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15545/social+data+plus+api/41843/telegram+get+single+post?channel=durov&post_id=510"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15545/social+data+plus+api/41843/telegram+get+single+post?channel=durov&post_id=510")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41843/telegram+get+single+post?channel=durov&post_id=510")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15545/social+data+plus+api/41843/telegram+get+single+post?channel=durov&post_id=510"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15545/social+data+plus+api/41843/telegram+get+single+post?channel=durov&post_id=510")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"code": 200,
"data": {
"channel": "durov",
"query": "TON",
"backend": "mtproto",
"matched": 20,
"messages": [
{
"id": 562,
"channel": "durov",
"url": "[omitted]",
"type": "photo",
"date": "2026-11-15T22:48:26+00:00",
"text": "Noticed in the banya today: I’m getting skinnier. \n\nThis despite a strict diet of lobster linguini and crab pelmeni. 🦞\n\nOnly one explanation: crypto winter. \n\nSo we stayed in t…",
"text_html": null,
"views": "2118194",
"author": "Pavel Durov",
"is_forwarded": false,
"forwarded_from": null,
"reply_to": null
}
],
"note": "Server-side search over the channel's full history."
}
}
curl --location --request GET 'https://zylalabs.com/api/15545/social+data+plus+api/41844/telegram+search+posts+in+a+channel?query=TON&channel=durov' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
// Build the GET request
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41844/telegram+search+posts+in+a+channel?query=TON&channel=durov")
.get() // Use GET method without a body
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
// Execute the request
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
// Handle the response in case of a successful request
String responseData = response.body().string();
System.out.println(responseData);
} else {
// Handle errors
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
// Handle I/O exceptions
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15545/social+data+plus+api/41844/telegram+search+posts+in+a+channel?query=TON&channel=durov",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15545/social+data+plus+api/41844/telegram+search+posts+in+a+channel?query=TON&channel=durov");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15545/social+data+plus+api/41844/telegram+search+posts+in+a+channel?query=TON&channel=durov',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15545/social+data+plus+api/41844/telegram+search+posts+in+a+channel?query=TON&channel=durov',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15545/social+data+plus+api/41844/telegram+search+posts+in+a+channel?query=TON&channel=durov"
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15545/social+data+plus+api/41844/telegram+search+posts+in+a+channel?query=TON&channel=durov")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15545/social+data+plus+api/41844/telegram+search+posts+in+a+channel?query=TON&channel=durov' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15545/social+data+plus+api/41844/telegram+search+posts+in+a+channel?query=TON&channel=durov");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15545/social+data+plus+api/41844/telegram+search+posts+in+a+channel?query=TON&channel=durov"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15545/social+data+plus+api/41844/telegram+search+posts+in+a+channel?query=TON&channel=durov")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41844/telegram+search+posts+in+a+channel?query=TON&channel=durov")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15545/social+data+plus+api/41844/telegram+search+posts+in+a+channel?query=TON&channel=durov"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15545/social+data+plus+api/41844/telegram+search+posts+in+a+channel?query=TON&channel=durov")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"code": 200,
"data": {
"live": false
}
}
curl --location --request GET 'https://zylalabs.com/api/15545/social+data+plus+api/41845/x+check+user+live+status?rest_id=44196397' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
// Build the GET request
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41845/x+check+user+live+status?rest_id=44196397")
.get() // Use GET method without a body
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
// Execute the request
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
// Handle the response in case of a successful request
String responseData = response.body().string();
System.out.println(responseData);
} else {
// Handle errors
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
// Handle I/O exceptions
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15545/social+data+plus+api/41845/x+check+user+live+status?rest_id=44196397",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15545/social+data+plus+api/41845/x+check+user+live+status?rest_id=44196397");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15545/social+data+plus+api/41845/x+check+user+live+status?rest_id=44196397',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15545/social+data+plus+api/41845/x+check+user+live+status?rest_id=44196397',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15545/social+data+plus+api/41845/x+check+user+live+status?rest_id=44196397"
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15545/social+data+plus+api/41845/x+check+user+live+status?rest_id=44196397")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15545/social+data+plus+api/41845/x+check+user+live+status?rest_id=44196397' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15545/social+data+plus+api/41845/x+check+user+live+status?rest_id=44196397");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15545/social+data+plus+api/41845/x+check+user+live+status?rest_id=44196397"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15545/social+data+plus+api/41845/x+check+user+live+status?rest_id=44196397")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41845/x+check+user+live+status?rest_id=44196397")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15545/social+data+plus+api/41845/x+check+user+live+status?rest_id=44196397"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15545/social+data+plus+api/41845/x+check+user+live+status?rest_id=44196397")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"code": 200,
"data": {
"extra": {
"fatal_item_ids": [],
"logid": "2026112418083794B871A15BA92414B578",
"now": 1795543717000
},
"itemCustomTDK": {
"article": "For those who are obsessed with preventing sun damage, finding the right sunscreen is crucial. A popular product, Supergoop's Unseen Sunscreen, has long been a favorite, but man…",
"desc": "A genuine review of the new Supergoop Unseen Sunscreen SPF50! See my shocked reaction to its velvety, non-greasy feel and how it vanishes into the skin. #sunscreenreview #superg…",
"keywords": [
"Supergoop Unseen Sunscreen SPF50 review"
],
"title": "Supergoop Unseen Sunscreen SPF50 Review: A Genuine First Impression"
},
"log_pb": {
"impr_id": "2026112418083794B871A15BA92414B578"
},
"statusCode": 0,
"status_code": 0,
"status_msg": ""
}
}
curl --location --request GET 'https://zylalabs.com/api/15545/social+data+plus+api/41846/tiktok+get+ai-generated+article+of+a+single+video?itemId=7651935877744168194' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
// Build the GET request
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41846/tiktok+get+ai-generated+article+of+a+single+video?itemId=7651935877744168194")
.get() // Use GET method without a body
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
// Execute the request
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
// Handle the response in case of a successful request
String responseData = response.body().string();
System.out.println(responseData);
} else {
// Handle errors
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
// Handle I/O exceptions
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15545/social+data+plus+api/41846/tiktok+get+ai-generated+article+of+a+single+video?itemId=7651935877744168194",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15545/social+data+plus+api/41846/tiktok+get+ai-generated+article+of+a+single+video?itemId=7651935877744168194");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15545/social+data+plus+api/41846/tiktok+get+ai-generated+article+of+a+single+video?itemId=7651935877744168194',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15545/social+data+plus+api/41846/tiktok+get+ai-generated+article+of+a+single+video?itemId=7651935877744168194',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15545/social+data+plus+api/41846/tiktok+get+ai-generated+article+of+a+single+video?itemId=7651935877744168194"
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15545/social+data+plus+api/41846/tiktok+get+ai-generated+article+of+a+single+video?itemId=7651935877744168194")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15545/social+data+plus+api/41846/tiktok+get+ai-generated+article+of+a+single+video?itemId=7651935877744168194' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15545/social+data+plus+api/41846/tiktok+get+ai-generated+article+of+a+single+video?itemId=7651935877744168194");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15545/social+data+plus+api/41846/tiktok+get+ai-generated+article+of+a+single+video?itemId=7651935877744168194"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15545/social+data+plus+api/41846/tiktok+get+ai-generated+article+of+a+single+video?itemId=7651935877744168194")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41846/tiktok+get+ai-generated+article+of+a+single+video?itemId=7651935877744168194")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15545/social+data+plus+api/41846/tiktok+get+ai-generated+article+of+a+single+video?itemId=7651935877744168194"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15545/social+data+plus+api/41846/tiktok+get+ai-generated+article+of+a+single+video?itemId=7651935877744168194")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"code": 200,
"data": {
"followers": [],
"more_users": true,
"next_cursor": "None"
}
}
curl --location --request GET 'https://zylalabs.com/api/15545/social+data+plus+api/41847/x+get+user+affiliates?screen_name=NASA' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
// Build the GET request
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41847/x+get+user+affiliates?screen_name=NASA")
.get() // Use GET method without a body
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
// Execute the request
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
// Handle the response in case of a successful request
String responseData = response.body().string();
System.out.println(responseData);
} else {
// Handle errors
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
// Handle I/O exceptions
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15545/social+data+plus+api/41847/x+get+user+affiliates?screen_name=NASA",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15545/social+data+plus+api/41847/x+get+user+affiliates?screen_name=NASA");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15545/social+data+plus+api/41847/x+get+user+affiliates?screen_name=NASA',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15545/social+data+plus+api/41847/x+get+user+affiliates?screen_name=NASA',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15545/social+data+plus+api/41847/x+get+user+affiliates?screen_name=NASA"
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15545/social+data+plus+api/41847/x+get+user+affiliates?screen_name=NASA")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15545/social+data+plus+api/41847/x+get+user+affiliates?screen_name=NASA' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15545/social+data+plus+api/41847/x+get+user+affiliates?screen_name=NASA");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15545/social+data+plus+api/41847/x+get+user+affiliates?screen_name=NASA"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15545/social+data+plus+api/41847/x+get+user+affiliates?screen_name=NASA")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41847/x+get+user+affiliates?screen_name=NASA")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15545/social+data+plus+api/41847/x+get+user+affiliates?screen_name=NASA"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15545/social+data+plus+api/41847/x+get+user+affiliates?screen_name=NASA")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"code": 200,
"data": {
"data": [],
"paging": {
"is_end": true,
"next": ""
}
}
}
curl --location --request GET 'https://zylalabs.com/api/15545/social+data+plus+api/41848/get+zhihu+user+segments?user_url_token=c72367b43730a490687966ceb87e9305' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
// Build the GET request
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41848/get+zhihu+user+segments?user_url_token=c72367b43730a490687966ceb87e9305")
.get() // Use GET method without a body
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
// Execute the request
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
// Handle the response in case of a successful request
String responseData = response.body().string();
System.out.println(responseData);
} else {
// Handle errors
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
// Handle I/O exceptions
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15545/social+data+plus+api/41848/get+zhihu+user+segments?user_url_token=c72367b43730a490687966ceb87e9305",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15545/social+data+plus+api/41848/get+zhihu+user+segments?user_url_token=c72367b43730a490687966ceb87e9305");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15545/social+data+plus+api/41848/get+zhihu+user+segments?user_url_token=c72367b43730a490687966ceb87e9305',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15545/social+data+plus+api/41848/get+zhihu+user+segments?user_url_token=c72367b43730a490687966ceb87e9305',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15545/social+data+plus+api/41848/get+zhihu+user+segments?user_url_token=c72367b43730a490687966ceb87e9305"
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15545/social+data+plus+api/41848/get+zhihu+user+segments?user_url_token=c72367b43730a490687966ceb87e9305")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15545/social+data+plus+api/41848/get+zhihu+user+segments?user_url_token=c72367b43730a490687966ceb87e9305' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15545/social+data+plus+api/41848/get+zhihu+user+segments?user_url_token=c72367b43730a490687966ceb87e9305");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15545/social+data+plus+api/41848/get+zhihu+user+segments?user_url_token=c72367b43730a490687966ceb87e9305"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15545/social+data+plus+api/41848/get+zhihu+user+segments?user_url_token=c72367b43730a490687966ceb87e9305")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41848/get+zhihu+user+segments?user_url_token=c72367b43730a490687966ceb87e9305")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15545/social+data+plus+api/41848/get+zhihu+user+segments?user_url_token=c72367b43730a490687966ceb87e9305"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15545/social+data+plus+api/41848/get+zhihu+user+segments?user_url_token=c72367b43730a490687966ceb87e9305")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"code": 200,
"data": {
"id": "2050290260991534603",
"type": "pin",
"state": "normal",
"url": "[omitted]",
"view_permission": "all",
"source_pin_id": 0,
"created": 1781607393,
"updated": 1781607403,
"is_deleted": false,
"self_create": false,
"comment_permission": "all",
"can_top": false
}
}
curl --location --request GET 'https://zylalabs.com/api/15545/social+data+plus+api/41849/get+zhihu+pin+detail?pin_id=2050290260991534603' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
// Build the GET request
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41849/get+zhihu+pin+detail?pin_id=2050290260991534603")
.get() // Use GET method without a body
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
// Execute the request
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
// Handle the response in case of a successful request
String responseData = response.body().string();
System.out.println(responseData);
} else {
// Handle errors
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
// Handle I/O exceptions
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15545/social+data+plus+api/41849/get+zhihu+pin+detail?pin_id=2050290260991534603",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15545/social+data+plus+api/41849/get+zhihu+pin+detail?pin_id=2050290260991534603");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15545/social+data+plus+api/41849/get+zhihu+pin+detail?pin_id=2050290260991534603',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15545/social+data+plus+api/41849/get+zhihu+pin+detail?pin_id=2050290260991534603',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15545/social+data+plus+api/41849/get+zhihu+pin+detail?pin_id=2050290260991534603"
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15545/social+data+plus+api/41849/get+zhihu+pin+detail?pin_id=2050290260991534603")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15545/social+data+plus+api/41849/get+zhihu+pin+detail?pin_id=2050290260991534603' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15545/social+data+plus+api/41849/get+zhihu+pin+detail?pin_id=2050290260991534603");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15545/social+data+plus+api/41849/get+zhihu+pin+detail?pin_id=2050290260991534603"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15545/social+data+plus+api/41849/get+zhihu+pin+detail?pin_id=2050290260991534603")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41849/get+zhihu+pin+detail?pin_id=2050290260991534603")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15545/social+data+plus+api/41849/get+zhihu+pin+detail?pin_id=2050290260991534603"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15545/social+data+plus+api/41849/get+zhihu+pin+detail?pin_id=2050290260991534603")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"code": 200,
"data": {
"paging": {
"is_end": true,
"totals": 2,
"previous": "[omitted]",
"is_start": true,
"next": "[omitted]"
},
"data": [
{
"is_navigator": false,
"label_info": {
"icon_url": "[omitted]",
"foreground_color": {
"alpha": 1,
"group": "GYL02A"
},
"type": "editor_recommendation",
"text": "编辑推荐"
},
"excerpt": "读者们,大家好!本专栏将从零基础到进阶,带您深入了解 DeepSeek 的使用技巧。不过我想先说明一点: <b>本专栏并非只聚焦于 DeepSeek。毕竟,任何单一软件的功能都是有限的</b>,只有将 DeepSeek 与更多 AI 或非 AI 工具相结合,才能最大程度地满足不同人群的需求…",
"admin_closed_comment": false,
"article_type": "paid_column_content",
"force_login_when_click_read_more": false,
"reaction_instruction": [],
"id": "[omitted]",
"vote_next_step": "vote",
"upvoted_followees": [],
"author": {
"avatar_url_template": "[omitted]",
"badge_v2": {
"icon": "[omitted]",
"detail_badges": [],
"night_icon": "[omitted]",
"merged_badges": [],
"title": "新知答主"
},
"user_type": "people",
"url": "[omitted]",
"type": "people",
"url_token": "jzwa",
"id": "[omitted]",
"kvip_info": {
"target_url": "",
"is_vip": false,
"vip_icon": {
"url": "",
"night_mode_url": ""
}
},
"name": "平凡",
"headline": "英国大学讲师(AP)|AI|专栏作家|pingfan.me",
"gender": 1,
"is_advertiser": false
},
"content": "[omitted]"
}
]
}
}
curl --location --request GET 'https://zylalabs.com/api/15545/social+data+plus+api/41850/get+zhihu+user+included+articles?user_url_token=jzwa' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
// Build the GET request
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41850/get+zhihu+user+included+articles?user_url_token=jzwa")
.get() // Use GET method without a body
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
// Execute the request
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
// Handle the response in case of a successful request
String responseData = response.body().string();
System.out.println(responseData);
} else {
// Handle errors
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
// Handle I/O exceptions
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15545/social+data+plus+api/41850/get+zhihu+user+included+articles?user_url_token=jzwa",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15545/social+data+plus+api/41850/get+zhihu+user+included+articles?user_url_token=jzwa");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15545/social+data+plus+api/41850/get+zhihu+user+included+articles?user_url_token=jzwa',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15545/social+data+plus+api/41850/get+zhihu+user+included+articles?user_url_token=jzwa',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15545/social+data+plus+api/41850/get+zhihu+user+included+articles?user_url_token=jzwa"
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15545/social+data+plus+api/41850/get+zhihu+user+included+articles?user_url_token=jzwa")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15545/social+data+plus+api/41850/get+zhihu+user+included+articles?user_url_token=jzwa' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15545/social+data+plus+api/41850/get+zhihu+user+included+articles?user_url_token=jzwa");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15545/social+data+plus+api/41850/get+zhihu+user+included+articles?user_url_token=jzwa"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15545/social+data+plus+api/41850/get+zhihu+user+included+articles?user_url_token=jzwa")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41850/get+zhihu+user+included+articles?user_url_token=jzwa")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15545/social+data+plus+api/41850/get+zhihu+user+included+articles?user_url_token=jzwa"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15545/social+data+plus+api/41850/get+zhihu+user+included+articles?user_url_token=jzwa")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"code": 200,
"data": {
"channel": "durov",
"channel_info": {
"username": "durov",
"title": "Pavel Durov",
"verified": true,
"description": "Founder/CEO/Owner of Telegram.Founder of TON/Gram.Half-part troll.",
"photo": "[omitted]",
"subscribers": "9.88M",
"counters": {
"subscribers": "9.88M",
"photos": "106",
"videos": "47",
"links": "203"
}
},
"messages": [
{
"id": 570,
"channel": "durov",
"url": "[omitted]",
"type": "text",
"date": "2026-11-23T21:00:12+00:00",
"text": "🎉 Jensen's back. \n\nNvidia's board finally understood that a CEO has to evaluate Chinese models personally. \n\nYou can't delegate that.",
"text_html": "🎉 Jensen's back. <br><br>Nvidia's board finally understood that a CEO has to evaluate Chinese models personally. <br><br>You can't delegate that.",
"views": "764K",
"author": "Pavel Durov",
"is_forwarded": false,
"forwarded_from": null,
"reply_to": null
}
],
"pagination": {
"before_cursor": 551,
"after_cursor": 570,
"has_more_before": true,
"count": 20,
"limit": 20,
"pages_fetched": 1
}
}
}
curl --location --request GET 'https://zylalabs.com/api/15545/social+data+plus+api/41851/telegram+get+channel+posts+paginated?channel=durov' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
// Build the GET request
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41851/telegram+get+channel+posts+paginated?channel=durov")
.get() // Use GET method without a body
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
// Execute the request
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
// Handle the response in case of a successful request
String responseData = response.body().string();
System.out.println(responseData);
} else {
// Handle errors
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
// Handle I/O exceptions
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15545/social+data+plus+api/41851/telegram+get+channel+posts+paginated?channel=durov",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://zylalabs.com/api/15545/social+data+plus+api/41851/telegram+get+channel+posts+paginated?channel=durov");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
var axios = require('axios');
var config = {
method: 'GET',
url: 'https://zylalabs.com/api/15545/social+data+plus+api/41851/telegram+get+channel+posts+paginated?channel=durov',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15545/social+data+plus+api/41851/telegram+get+channel+posts+paginated?channel=durov',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15545/social+data+plus+api/41851/telegram+get+channel+posts+paginated?channel=durov"
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15545/social+data+plus+api/41851/telegram+get+channel+posts+paginated?channel=durov")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::GET.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 GET 'https://zylalabs.com/api/15545/social+data+plus+api/41851/telegram+get+channel+posts+paginated?channel=durov' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15545/social+data+plus+api/41851/telegram+get+channel+posts+paginated?channel=durov");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15545/social+data+plus+api/41851/telegram+get+channel+posts+paginated?channel=durov"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15545/social+data+plus+api/41851/telegram+get+channel+posts+paginated?channel=durov")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41851/telegram+get+channel+posts+paginated?channel=durov")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("GET", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"GET",
Uri.parse("https://zylalabs.com/api/15545/social+data+plus+api/41851/telegram+get+channel+posts+paginated?channel=durov"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"GET")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15545/social+data+plus+api/41851/telegram+get+channel+posts+paginated?channel=durov")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"code": 200,
"data": {
"author_info": {
"author_id": "7112600044674482187",
"avatar_uri": "[omitted]",
"city": "秀山土家族苗族自治县",
"content_tags": {
"时尚": [
"穿搭"
]
},
"core_user_id": "[omitted]",
"follower": "2913295",
"gender": 1,
"industry_tags": [],
"ink_cnt": "22374091",
"is_star": 1,
"link_cnt": "54852357",
"name": "老陈困告告"
},
"base_resp": {
"status_code": 0,
"status_message": ""
},
"video_info": {
"collect_cnt": "55866",
"comment_cnt": "22780",
"create_time": "[omitted]",
"duration": 272.044,
"finish_rate": 0.1789418329,
"head_image_uri": "tos-cn-i-0813c001/oYABexOFAf75I3BBLPADUIQGUAnG1ApEsve2jt",
"interact_cnt": "968850",
"interact_rate": 0.0319,
"item_id": "7451907165419359488",
"like_cnt": "567777",
"music_info": {
"album": "",
"author": "老陈困告告",
"cover_uri": "100x100/aweme-avatar/tos-cn-avt-0015_a51562ede1c63ab72e744577faf67e89",
"cover_url": [
"[omitted]"
],
"create_time": "[omitted]",
"duration": "272",
"music_id": "7451907147094297363",
"play_url": "[omitted]",
"source_platform": 0,
"title": "@老陈困告告创作的原声",
"used_count": "0"
},
"share_cnt": "378293"
}
}
}
curl --location --request POST 'https://zylalabs.com/api/15545/social+data+plus+api/41852/douyin+get+item+report+detail' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{"item_id":"7451907165419359488"}'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
// Build the GET request
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41852/douyin+get+item+report+detail")
.get() // Use GET method without a body
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
// Execute the request
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
// Handle the response in case of a successful request
String responseData = response.body().string();
System.out.println(responseData);
} else {
// Handle errors
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
// Handle I/O exceptions
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15545/social+data+plus+api/41852/douyin+get+item+report+detail",
"method": "POST",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var data = "{\"item_id\":\"7451907165419359488\"}";
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("POST", "https://zylalabs.com/api/15545/social+data+plus+api/41852/douyin+get+item+report+detail");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
xhr.send();
xhr.send(data);
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
var axios = require('axios');
var data = "{\"item_id\":\"7451907165419359488\"}";
var config = {
method: 'POST',
url: 'https://zylalabs.com/api/15545/social+data+plus+api/41852/douyin+get+item+report+detail',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
data : data
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15545/social+data+plus+api/41852/douyin+get+item+report+detail',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS => '{"item_id":"7451907165419359488"}',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15545/social+data+plus+api/41852/douyin+get+item+report+detail"
payload={}
payload = "{\"item_id\":\"7451907165419359488\"}"
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15545/social+data+plus+api/41852/douyin+get+item+report+detail")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::POST.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
request.body = "{\"item_id\":\"7451907165419359488\"}"
response = http.request(request)
puts response.read_body
printf '{"item_id":"7451907165419359488"}'|
http --follow --timeout 3600 POST 'https://zylalabs.com/api/15545/social+data+plus+api/41852/douyin+get+item+report+detail' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15545/social+data+plus+api/41852/douyin+get+item+report+detail");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
var body = "{\"item_id\":\"7451907165419359488\"}";
request.AddParameter("text/plain", body, ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15545/social+data+plus+api/41852/douyin+get+item+report+detail"
method := "POST"
payload := strings.NewReader("{"item_id":"7451907165419359488"}")
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15545/social+data+plus+api/41852/douyin+get+item+report+detail")!
var request = URLRequest(url: url)
request.httpMethod = "POST"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
request.httpBody = "{"item_id":"7451907165419359488"}".data(using: .utf8)
request.setValue("application/json", forHTTPHeaderField: "Content-Type")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
body = "{"item_id":"7451907165419359488"}".toRequestBody("application/json".toMediaType())
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41852/douyin+get+item+report+detail")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("POST", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
payload = "{"item_id":"7451907165419359488"}";
final request = http.Request(
"POST",
Uri.parse("https://zylalabs.com/api/15545/social+data+plus+api/41852/douyin+get+item+report+detail"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"POST")?;
let client = Client::new();
let mut body = String::new();
body = r#"{"item_id":"7451907165419359488"}"#.to_string();
let mut request = client
.request(method, "https://zylalabs.com/api/15545/social+data+plus+api/41852/douyin+get+item+report+detail")
.header("Authorization", "Bearer YOUR_API_KEY");
request = request.body(body.clone());
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"code": 200,
"data": {
"base_resp": {
"status_code": 0,
"status_message": ""
},
"comments": []
}
}
curl --location --request POST 'https://zylalabs.com/api/15545/social+data+plus+api/41853/douyin+get+item+report+comments' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{"item_id":"946974"}'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
// Build the GET request
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41853/douyin+get+item+report+comments")
.get() // Use GET method without a body
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
// Execute the request
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
// Handle the response in case of a successful request
String responseData = response.body().string();
System.out.println(responseData);
} else {
// Handle errors
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
// Handle I/O exceptions
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15545/social+data+plus+api/41853/douyin+get+item+report+comments",
"method": "POST",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var data = "{\"item_id\":\"946974\"}";
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("POST", "https://zylalabs.com/api/15545/social+data+plus+api/41853/douyin+get+item+report+comments");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
xhr.send();
xhr.send();
xhr.send(data);
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
var axios = require('axios');
var data = "{\"item_id\":\"946974\"}";
var config = {
method: 'POST',
url: 'https://zylalabs.com/api/15545/social+data+plus+api/41853/douyin+get+item+report+comments',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
data : data
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15545/social+data+plus+api/41853/douyin+get+item+report+comments',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS => '{"item_id":"946974"}',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15545/social+data+plus+api/41853/douyin+get+item+report+comments"
payload={}
payload={}
payload = "{\"item_id\":\"946974\"}"
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15545/social+data+plus+api/41853/douyin+get+item+report+comments")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::POST.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
request.body = "{\"item_id\":\"946974\"}"
response = http.request(request)
puts response.read_body
printf '{"item_id":"946974"}'|
http --follow --timeout 3600 POST 'https://zylalabs.com/api/15545/social+data+plus+api/41853/douyin+get+item+report+comments' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15545/social+data+plus+api/41853/douyin+get+item+report+comments");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
var body = "{\"item_id\":\"946974\"}";
request.AddParameter("text/plain", body, ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15545/social+data+plus+api/41853/douyin+get+item+report+comments"
method := "POST"
payload := strings.NewReader("{"item_id":"946974"}")
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15545/social+data+plus+api/41853/douyin+get+item+report+comments")!
var request = URLRequest(url: url)
request.httpMethod = "POST"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
request.httpBody = "{"item_id":"946974"}".data(using: .utf8)
request.setValue("application/json", forHTTPHeaderField: "Content-Type")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
body = "{"item_id":"946974"}".toRequestBody("application/json".toMediaType())
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41853/douyin+get+item+report+comments")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("POST", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
payload = "{"item_id":"946974"}";
final request = http.Request(
"POST",
Uri.parse("https://zylalabs.com/api/15545/social+data+plus+api/41853/douyin+get+item+report+comments"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"POST")?;
let client = Client::new();
let mut body = String::new();
body = r#"{"item_id":"946974"}"#.to_string();
let mut request = client
.request(method, "https://zylalabs.com/api/15545/social+data+plus+api/41853/douyin+get+item+report+comments")
.header("Authorization", "Bearer YOUR_API_KEY");
request = request.body(body.clone());
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"code": 200,
"data": {
"page": 1,
"data": [
{
"mapping_id": 248387,
"upper_mid": 5294454,
"mcn_id": 2140010221,
"mcn_company_name": "雀立盛熙",
"is_high_potential": 0,
"live_guild_id": null,
"live_guild_name": null,
"head_img": "[omitted]",
"nickname": "逗比的雀巢",
"gender_desc": "男",
"region_desc": "四川",
"second_region_desc": "成都"
}
],
"total_count": 10000
}
}
curl --location --request POST 'https://zylalabs.com/api/15545/social+data+plus+api/41854/bilibili+search+huahuo+creators+or+content' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{}'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
// Build the GET request
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41854/bilibili+search+huahuo+creators+or+content")
.get() // Use GET method without a body
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
// Execute the request
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
// Handle the response in case of a successful request
String responseData = response.body().string();
System.out.println(responseData);
} else {
// Handle errors
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
// Handle I/O exceptions
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15545/social+data+plus+api/41854/bilibili+search+huahuo+creators+or+content",
"method": "POST",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var data = "{}";
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("POST", "https://zylalabs.com/api/15545/social+data+plus+api/41854/bilibili+search+huahuo+creators+or+content");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
xhr.send();
xhr.send();
xhr.send();
xhr.send(data);
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
var axios = require('axios');
var data = "{}";
var config = {
method: 'POST',
url: 'https://zylalabs.com/api/15545/social+data+plus+api/41854/bilibili+search+huahuo+creators+or+content',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
data : data
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15545/social+data+plus+api/41854/bilibili+search+huahuo+creators+or+content',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS => '{}',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15545/social+data+plus+api/41854/bilibili+search+huahuo+creators+or+content"
payload={}
payload={}
payload={}
payload = "{}"
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15545/social+data+plus+api/41854/bilibili+search+huahuo+creators+or+content")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::POST.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
request.body = "{}"
response = http.request(request)
puts response.read_body
printf '{}'|
http --follow --timeout 3600 POST 'https://zylalabs.com/api/15545/social+data+plus+api/41854/bilibili+search+huahuo+creators+or+content' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15545/social+data+plus+api/41854/bilibili+search+huahuo+creators+or+content");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
var body = "{}";
request.AddParameter("text/plain", body, ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15545/social+data+plus+api/41854/bilibili+search+huahuo+creators+or+content"
method := "POST"
payload := strings.NewReader("{}")
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15545/social+data+plus+api/41854/bilibili+search+huahuo+creators+or+content")!
var request = URLRequest(url: url)
request.httpMethod = "POST"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
request.httpBody = "{}".data(using: .utf8)
request.setValue("application/json", forHTTPHeaderField: "Content-Type")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
body = "{}".toRequestBody("application/json".toMediaType())
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41854/bilibili+search+huahuo+creators+or+content")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("POST", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
payload = "{}";
final request = http.Request(
"POST",
Uri.parse("https://zylalabs.com/api/15545/social+data+plus+api/41854/bilibili+search+huahuo+creators+or+content"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"POST")?;
let client = Client::new();
let mut body = String::new();
body = r#"{}"#.to_string();
let mut request = client
.request(method, "https://zylalabs.com/api/15545/social+data+plus+api/41854/bilibili+search+huahuo+creators+or+content")
.header("Authorization", "Bearer YOUR_API_KEY");
request = request.body(body.clone());
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"code": 200,
"data": {
"code": 0,
"msg": "OK",
"data": {
"ad_language": [
{
"id": "en",
"label": "language_en",
"value": "language_en"
},
{
"id": "es",
"label": "language_es",
"value": "language_es"
},
{
"id": "ar",
"label": "language_ar",
"value": "language_ar"
},
{
"id": "vi",
"label": "language_vi",
"value": "language_vi"
},
{
"id": "th",
"label": "language_th",
"value": "language_th"
},
{
"id": "de",
"label": "language_de",
"value": "language_de"
},
{
"id": "id",
"label": "language_id",
"value": "language_id"
},
{
"id": "pt",
"label": "language_pt",
"value": "language_pt"
},
{
"id": "fr",
"label": "language_fr",
"value": "language_fr"
},
{
"id": "ms",
"label": "language_ms",
"value": "language_ms"
},
{
"id": "nl",
"label": "language_nl",
"value": "language_nl"
},
{
"id": "ja",
"label": "language_ja",
"value": "language_ja"
},
{
"id": "it",
"label": "language_it",
"value": "language_it"
},
{
"id": "ro",
"label": "language_ro",
"value": "language_ro"
},
{
"id": "zh-Hant",
"label": "language_zh-Hant",
"value": "language_zh-Hant"
},
{
"id": "ko",
"label": "language_ko",
"value": "language_ko"
}
],
"country": [
{
"id": "AR",
"value": "Argentina",
"label": "AR"
},
{
"id": "AU",
"value": "Australia",
"label": "AU"
},
{
"id": "BR",
"value": "Brazil",
"label": "BR"
},
{
"id": "CA",
"value": "Canada",
"label": "CA"
},
{
"id": "CO",
"value": "Colombia",
"label": "CO"
},
{
"id": "FR",
"value": "France",
"label": "FR"
},
{
"id": "DE",
"value": "Germany",
"label": "DE"
},
{
"id": "ID",
"value": "Indonesia",
"label": "ID"
},
{
"id": "IT",
"value": "Italy",
"label": "IT"
},
{
"id": "JP",
"value": "Japan",
"label": "JP"
},
{
"id": "MY",
"value": "Malaysia",
"label": "MY"
},
{
"id": "MX",
"value": "Mexico",
"label": "MX"
},
{
"id": "NL",
"value": "Netherlands",
"label": "NL"
},
{
"id": "PK",
"value": "Pakistan",
"label": "PK"
},
{
"id": "PH",
"value": "Philippines",
"label": "PH"
},
{
"id": "RO",
"value": "Romania",
"label": "RO"
},
{
"id": "SA",
"value": "Saudi Arabia",
"label": "SA"
},
{
"id": "SG",
"value": "Singapore",
"label": "SG"
},
{
"id": "ZA",
"value": "South Africa",
"label": "ZA"
},
{
"id": "KR",
"value": "South Korea",
"label": "KR"
},
{
"id": "ES",
"value": "Spain",
"label": "ES"
},
{
"id": "SE",
"value": "Sweden",
"label": "SE"
},
{
"id": "TH",
"value": "Thailand",
"label": "TH"
},
{
"id": "TR",
"value": "Turkey",
"label": "TR"
},
{
"id": "AE",
"value": "United Arab Emirates",
"label": "AE"
},
{
"id": "GB",
"value": "United Kingdom",
"label": "GB"
},
{
"id": "US",
"value": "United States",
"label": "US"
},
{
"id": "VN",
"value": "Vietnam",
"label": "VN"
}
],
"industry": [
{
"id": 23107000000,
"value": "Environmental Protection",
"label": "label_23107000000",
"parent_id": 23000000000
},
{
"id": 23114000000,
"value": "Astrology",
"label": "label_23114000000",
"parent_id": 23000000000
},
{
"id": 11107000000,
"value": "Bicycles",
"label": "label_11107000000",
"parent_id": 11000000000
},
{
"id": 27100000000,
"value": "Cuisine",
"label": "label_27100000000",
"parent_id": 27000000000
},
{
"id": 30101000000,
"value": "Small & Medium-sized E-commerce Platforms",
"label": "label_30101000000",
"parent_id": 30000000000
},
{
"id": 27101000000,
"value": "Food & Fresh Produce",
"label": "label_27101000000",
"parent_id": 27000000000
},
{
"id": 25310000000,
"value": "Strategy",
"label": "label_25310000000",
"parent_id": 25000000000
},
{
"id": 13109000000,
"value": "Microfinance Companies",
"label": "label_13109000000",
"parent_id": 13000000000
},
{
"id": 14107000000,
"value": "Feminine Care",
"label": "label_14107000000",
"parent_id": 14000000000
},
{
"id": 18106000000,
"value": "Cleaning Appliances",
"label": "label_18106000000",
"parent_id": 18000000000
},
{
"id": 24119000000,
"value": "Investment Planning & Management",
"label": "label_24119000000",
"parent_id": 24000000000
},
{
"id": 12000000000,
"value": "Baby, Kids & Maternity",
"label": "label_12000000000"
},
{
"id": 19102000000,
"value": "Pet Household Products"
}
]
}
},
"_note": "Response truncated for documentation purposes"
}
curl --location --request POST 'https://zylalabs.com/api/15545/social+data+plus+api/41855/tiktok+get+top+ads+filters' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
// Build the GET request
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41855/tiktok+get+top+ads+filters")
.get() // Use GET method without a body
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
// Execute the request
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
// Handle the response in case of a successful request
String responseData = response.body().string();
System.out.println(responseData);
} else {
// Handle errors
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
// Handle I/O exceptions
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15545/social+data+plus+api/41855/tiktok+get+top+ads+filters",
"method": "POST",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("POST", "https://zylalabs.com/api/15545/social+data+plus+api/41855/tiktok+get+top+ads+filters");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
var axios = require('axios');
var config = {
method: 'POST',
url: 'https://zylalabs.com/api/15545/social+data+plus+api/41855/tiktok+get+top+ads+filters',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15545/social+data+plus+api/41855/tiktok+get+top+ads+filters',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15545/social+data+plus+api/41855/tiktok+get+top+ads+filters"
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15545/social+data+plus+api/41855/tiktok+get+top+ads+filters")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::POST.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 POST 'https://zylalabs.com/api/15545/social+data+plus+api/41855/tiktok+get+top+ads+filters' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15545/social+data+plus+api/41855/tiktok+get+top+ads+filters");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15545/social+data+plus+api/41855/tiktok+get+top+ads+filters"
method := "POST"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15545/social+data+plus+api/41855/tiktok+get+top+ads+filters")!
var request = URLRequest(url: url)
request.httpMethod = "POST"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41855/tiktok+get+top+ads+filters")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("POST", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"POST",
Uri.parse("https://zylalabs.com/api/15545/social+data+plus+api/41855/tiktok+get+top+ads+filters"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"POST")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15545/social+data+plus+api/41855/tiktok+get+top+ads+filters")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"code": 200,
"data": {
"base_resp": {
"status_code": 0,
"status_message": ""
},
"date_values": {
"hot_score_list": []
}
}
}
curl --location --request POST 'https://zylalabs.com/api/15545/social+data+plus+api/41856/douyin+get+item+report+trend' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{"item_id":"946974"}'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
// Build the GET request
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41856/douyin+get+item+report+trend")
.get() // Use GET method without a body
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
// Execute the request
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
// Handle the response in case of a successful request
String responseData = response.body().string();
System.out.println(responseData);
} else {
// Handle errors
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
// Handle I/O exceptions
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15545/social+data+plus+api/41856/douyin+get+item+report+trend",
"method": "POST",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var data = "{\"item_id\":\"946974\"}";
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("POST", "https://zylalabs.com/api/15545/social+data+plus+api/41856/douyin+get+item+report+trend");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send(data);
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
var axios = require('axios');
var data = "{\"item_id\":\"946974\"}";
var config = {
method: 'POST',
url: 'https://zylalabs.com/api/15545/social+data+plus+api/41856/douyin+get+item+report+trend',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
data : data
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15545/social+data+plus+api/41856/douyin+get+item+report+trend',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS => '{"item_id":"946974"}',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15545/social+data+plus+api/41856/douyin+get+item+report+trend"
payload={}
payload={}
payload={}
payload={}
payload = "{\"item_id\":\"946974\"}"
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15545/social+data+plus+api/41856/douyin+get+item+report+trend")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::POST.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
request.body = "{\"item_id\":\"946974\"}"
response = http.request(request)
puts response.read_body
printf '{"item_id":"946974"}'|
http --follow --timeout 3600 POST 'https://zylalabs.com/api/15545/social+data+plus+api/41856/douyin+get+item+report+trend' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15545/social+data+plus+api/41856/douyin+get+item+report+trend");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
var body = "{\"item_id\":\"946974\"}";
request.AddParameter("text/plain", body, ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15545/social+data+plus+api/41856/douyin+get+item+report+trend"
method := "POST"
payload := strings.NewReader("{"item_id":"946974"}")
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15545/social+data+plus+api/41856/douyin+get+item+report+trend")!
var request = URLRequest(url: url)
request.httpMethod = "POST"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
request.httpBody = "{"item_id":"946974"}".data(using: .utf8)
request.setValue("application/json", forHTTPHeaderField: "Content-Type")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
body = "{"item_id":"946974"}".toRequestBody("application/json".toMediaType())
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41856/douyin+get+item+report+trend")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("POST", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
payload = "{"item_id":"946974"}";
final request = http.Request(
"POST",
Uri.parse("https://zylalabs.com/api/15545/social+data+plus+api/41856/douyin+get+item+report+trend"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"POST")?;
let client = Client::new();
let mut body = String::new();
body = r#"{"item_id":"946974"}"#.to_string();
let mut request = client
.request(method, "https://zylalabs.com/api/15545/social+data+plus+api/41856/douyin+get+item+report+trend")
.header("Authorization", "Bearer YOUR_API_KEY");
request = request.body(body.clone());
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"code": 200,
"data": {
"base_resp": {
"status_code": 0,
"status_message": ""
},
"like_info": {
"0": "53549",
"3": "30341",
"6": "16207",
"9": "14548",
"12": "9053",
"15": "6951",
"18": "9894",
"21": "6665",
"24": "5781",
"27": "5837",
"30": "5924",
"33": "11451"
},
"play_lose_info": {
"0": "11602313",
"3": "3223611",
"6": "1626137",
"9": "1368651",
"12": "651402",
"15": "441029",
"18": "460429",
"21": "401276",
"24": "340939",
"27": "300186",
"30": "298629",
"33": "343666"
}
}
}
curl --location --request POST 'https://zylalabs.com/api/15545/social+data+plus+api/41857/douyin+get+item+report+interaction+analysis' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{"item_id":"7451907165419359488"}'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
// Build the GET request
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41857/douyin+get+item+report+interaction+analysis")
.get() // Use GET method without a body
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
// Execute the request
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
// Handle the response in case of a successful request
String responseData = response.body().string();
System.out.println(responseData);
} else {
// Handle errors
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
// Handle I/O exceptions
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15545/social+data+plus+api/41857/douyin+get+item+report+interaction+analysis",
"method": "POST",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var data = "{\"item_id\":\"7451907165419359488\"}";
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("POST", "https://zylalabs.com/api/15545/social+data+plus+api/41857/douyin+get+item+report+interaction+analysis");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send(data);
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
var axios = require('axios');
var data = "{\"item_id\":\"7451907165419359488\"}";
var config = {
method: 'POST',
url: 'https://zylalabs.com/api/15545/social+data+plus+api/41857/douyin+get+item+report+interaction+analysis',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
data : data
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15545/social+data+plus+api/41857/douyin+get+item+report+interaction+analysis',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS => '{"item_id":"7451907165419359488"}',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15545/social+data+plus+api/41857/douyin+get+item+report+interaction+analysis"
payload={}
payload={}
payload={}
payload={}
payload={}
payload = "{\"item_id\":\"7451907165419359488\"}"
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15545/social+data+plus+api/41857/douyin+get+item+report+interaction+analysis")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::POST.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
request.body = "{\"item_id\":\"7451907165419359488\"}"
response = http.request(request)
puts response.read_body
printf '{"item_id":"7451907165419359488"}'|
http --follow --timeout 3600 POST 'https://zylalabs.com/api/15545/social+data+plus+api/41857/douyin+get+item+report+interaction+analysis' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15545/social+data+plus+api/41857/douyin+get+item+report+interaction+analysis");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
var body = "{\"item_id\":\"7451907165419359488\"}";
request.AddParameter("text/plain", body, ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15545/social+data+plus+api/41857/douyin+get+item+report+interaction+analysis"
method := "POST"
payload := strings.NewReader("{"item_id":"7451907165419359488"}")
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15545/social+data+plus+api/41857/douyin+get+item+report+interaction+analysis")!
var request = URLRequest(url: url)
request.httpMethod = "POST"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
request.httpBody = "{"item_id":"7451907165419359488"}".data(using: .utf8)
request.setValue("application/json", forHTTPHeaderField: "Content-Type")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
body = "{"item_id":"7451907165419359488"}".toRequestBody("application/json".toMediaType())
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41857/douyin+get+item+report+interaction+analysis")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("POST", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
payload = "{"item_id":"7451907165419359488"}";
final request = http.Request(
"POST",
Uri.parse("https://zylalabs.com/api/15545/social+data+plus+api/41857/douyin+get+item+report+interaction+analysis"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"POST")?;
let client = Client::new();
let mut body = String::new();
body = r#"{"item_id":"7451907165419359488"}"#.to_string();
let mut request = client
.request(method, "https://zylalabs.com/api/15545/social+data+plus+api/41857/douyin+get+item+report+interaction+analysis")
.header("Authorization", "Bearer YOUR_API_KEY");
request = request.body(body.clone());
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"code": 200,
"data": {
"msg": "成功",
"data": {
"noteList": [
{
"noteInfo": {
"isAdNote": 0,
"goodNoteTypeList": [],
"noteId": "6afc36cd0000000022038dfa",
"noteType": 1,
"favNum": 5115,
"readNum": 3975875,
"cmtNum": 1867,
"likeNum": 67939,
"bindType": 4,
"hotContentCollect": false,
"title": "报!郑渊洁为许飞澄清私活事件",
"noteImages": []
},
"userInfo": {
"nickName": "刚刚发生",
"avatar": "[omitted]",
"userId": "689afc8e000000001a00cdfa",
"fansNum": 6921,
"currentLevel": 2,
"userType": 2
}
}
],
"total": 100,
"pageInfoDto": {
"pageNum": 1,
"pageSize": 34,
"total": 100,
"totalPage": 0
}
},
"code": 0,
"success": true
}
}
curl --location --request POST 'https://zylalabs.com/api/15545/social+data+plus+api/41858/xiaohongshu+pgy+content+square+leaderboards' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{"biz_type":1}'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
// Build the GET request
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41858/xiaohongshu+pgy+content+square+leaderboards")
.get() // Use GET method without a body
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
// Execute the request
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
// Handle the response in case of a successful request
String responseData = response.body().string();
System.out.println(responseData);
} else {
// Handle errors
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
// Handle I/O exceptions
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15545/social+data+plus+api/41858/xiaohongshu+pgy+content+square+leaderboards",
"method": "POST",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var data = "{\"biz_type\":1}";
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("POST", "https://zylalabs.com/api/15545/social+data+plus+api/41858/xiaohongshu+pgy+content+square+leaderboards");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send(data);
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
var axios = require('axios');
var data = "{\"biz_type\":1}";
var config = {
method: 'POST',
url: 'https://zylalabs.com/api/15545/social+data+plus+api/41858/xiaohongshu+pgy+content+square+leaderboards',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
data : data
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15545/social+data+plus+api/41858/xiaohongshu+pgy+content+square+leaderboards',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS => '{"biz_type":1}',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15545/social+data+plus+api/41858/xiaohongshu+pgy+content+square+leaderboards"
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload = "{\"biz_type\":1}"
payload={}
payload={}
payload={}
payload={}
payload={}
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15545/social+data+plus+api/41858/xiaohongshu+pgy+content+square+leaderboards")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::POST.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
request.body = "{\"biz_type\":1}"
response = http.request(request)
puts response.read_body
printf '{"biz_type":1}'|
http --follow --timeout 3600 POST 'https://zylalabs.com/api/15545/social+data+plus+api/41858/xiaohongshu+pgy+content+square+leaderboards' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15545/social+data+plus+api/41858/xiaohongshu+pgy+content+square+leaderboards");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
var body = "{\"biz_type\":1}";
request.AddParameter("text/plain", body, ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15545/social+data+plus+api/41858/xiaohongshu+pgy+content+square+leaderboards"
method := "POST"
payload := strings.NewReader("{"biz_type":1}")
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15545/social+data+plus+api/41858/xiaohongshu+pgy+content+square+leaderboards")!
var request = URLRequest(url: url)
request.httpMethod = "POST"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
request.httpBody = "{"biz_type":1}".data(using: .utf8)
request.setValue("application/json", forHTTPHeaderField: "Content-Type")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
body = "{"biz_type":1}".toRequestBody("application/json".toMediaType())
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41858/xiaohongshu+pgy+content+square+leaderboards")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("POST", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
payload = "{"biz_type":1}";
final request = http.Request(
"POST",
Uri.parse("https://zylalabs.com/api/15545/social+data+plus+api/41858/xiaohongshu+pgy+content+square+leaderboards"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"POST")?;
let client = Client::new();
let mut body = String::new();
body = r#"{"biz_type":1}"#.to_string();
let mut request = client
.request(method, "https://zylalabs.com/api/15545/social+data+plus+api/41858/xiaohongshu+pgy+content+square+leaderboards")
.header("Authorization", "Bearer YOUR_API_KEY");
request = request.body(body.clone());
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"code": 200,
"data": {
"data": {
"personalTags": [
{
"id": 2,
"orderId": 1,
"taxonomy1Tag": "家庭角色",
"taxonomy2Tags": [],
"taxonomy2Tag": "家庭身份",
"taxonomy3Tags": []
}
],
"featureTags": [
{
"id": 1,
"orderId": null,
"taxonomy1Tag": "形式",
"taxonomy2Tags": [],
"taxonomy2Tag": null,
"taxonomy3Tags": null
}
],
"industryTags": [
{
"id": 0,
"orderId": 1,
"taxonomy1Tag": "美妆个护",
"taxonomy2Tags": [],
"taxonomy2Tag": null,
"taxonomy3Tags": null
}
],
"market": [
{
"type": "imp",
"name": "曝光",
"children": [],
"hover": null
}
],
"personalTagsV2": [
{
"tagId": 130,
"tagName": "家庭身份",
"subTagList": [],
"desc": "",
"orderId": 1,
"createTime": 1747724474000,
"updateTime": 1747724474000,
"proTag": false
}
],
"audience20": [
{
"label": "自在户外",
"value": "自在户外",
"children": [],
"disabled": false
}
],
"automotiveIndustryTag": [
{
"label": "文玩娱乐",
"value": "6b051ba29fb2a81b5c1caf3e",
"children": [],
"disabled": false
}
],
"contentTheme": [
{
"label": "汽车特色",
"value": "69786d48f02b11619e76b969",
"children": [],
"disabled": false
}
],
"activities": [
{
"code": "6adb650ee4b07ecda757f88a",
"content": "活动期间合作平台推荐博主,有机会享受流量激励扶持",
"buttonName": "见具体规则",
"buttonLink": "[omitted]",
"activityName": "成人教育精选博主",
"priority": 1,
"startTime": "10/23/26 12:00 AM",
"endTime": "12/31/26 11:59 PM",
"activityLabel": null,
"kolDownloadStatus": 0,
"show": false
}
],
"contentTags": [
{
"taxonomy1Tag": "美妆",
"taxonomy2Tags": []
}
],
"contentScenes": [
{
"label": "汽车",
"tooltip": "",
"children": [],
"showNew": true,
"value": "696e2a28f057cb1c2dda6724"
}
],
"consumerBehavior": [
{
"value": "内容行为预估",
"label": "内容行为预估",
"children": [],
"disabled": false
}
]
}
}
}
curl --location --request POST 'https://zylalabs.com/api/15545/social+data+plus+api/41859/xiaohongshu+get+pgy+blogger+filter+options' --header 'Authorization: Bearer YOUR_API_KEY'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
// Build the GET request
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41859/xiaohongshu+get+pgy+blogger+filter+options")
.get() // Use GET method without a body
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
// Execute the request
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
// Handle the response in case of a successful request
String responseData = response.body().string();
System.out.println(responseData);
} else {
// Handle errors
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
// Handle I/O exceptions
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15545/social+data+plus+api/41859/xiaohongshu+get+pgy+blogger+filter+options",
"method": "POST",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("POST", "https://zylalabs.com/api/15545/social+data+plus+api/41859/xiaohongshu+get+pgy+blogger+filter+options");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
var axios = require('axios');
var config = {
method: 'POST',
url: 'https://zylalabs.com/api/15545/social+data+plus+api/41859/xiaohongshu+get+pgy+blogger+filter+options',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15545/social+data+plus+api/41859/xiaohongshu+get+pgy+blogger+filter+options',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15545/social+data+plus+api/41859/xiaohongshu+get+pgy+blogger+filter+options"
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15545/social+data+plus+api/41859/xiaohongshu+get+pgy+blogger+filter+options")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::POST.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
response = http.request(request)
puts response.read_body
http --follow --timeout 3600 POST 'https://zylalabs.com/api/15545/social+data+plus+api/41859/xiaohongshu+get+pgy+blogger+filter+options' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15545/social+data+plus+api/41859/xiaohongshu+get+pgy+blogger+filter+options");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15545/social+data+plus+api/41859/xiaohongshu+get+pgy+blogger+filter+options"
method := "POST"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15545/social+data+plus+api/41859/xiaohongshu+get+pgy+blogger+filter+options")!
var request = URLRequest(url: url)
request.httpMethod = "POST"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41859/xiaohongshu+get+pgy+blogger+filter+options")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("POST", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
final request = http.Request(
"POST",
Uri.parse("https://zylalabs.com/api/15545/social+data+plus+api/41859/xiaohongshu+get+pgy+blogger+filter+options"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"POST")?;
let client = Client::new();
let mut body = String::new();
let mut request = client
.request(method, "https://zylalabs.com/api/15545/social+data+plus+api/41859/xiaohongshu+get+pgy+blogger+filter+options")
.header("Authorization", "Bearer YOUR_API_KEY");
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"code": 200,
"data": {
"code": 0,
"msg": "成功",
"guid": null,
"success": true,
"data": {
"dailyData": [
{
"dateKey": "[omitted]",
"searchScore": "23859",
"searchScore30bm": null,
"noteNum": 27012,
"noteNum30bm": null,
"userNum": 18755,
"userNum30bm": null,
"impNum": 43870222,
"impNum30bm": null,
"readNum": 8674013,
"readNum30bm": null,
"engageNum": 260572
}
]
}
}
}
curl --location --request POST 'https://zylalabs.com/api/15545/social+data+plus+api/41860/xiaohongshu+pgy+keyword+daily+trend' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{"search_word":"面膜"}'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
// Build the GET request
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41860/xiaohongshu+pgy+keyword+daily+trend")
.get() // Use GET method without a body
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
// Execute the request
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
// Handle the response in case of a successful request
String responseData = response.body().string();
System.out.println(responseData);
} else {
// Handle errors
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
// Handle I/O exceptions
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15545/social+data+plus+api/41860/xiaohongshu+pgy+keyword+daily+trend",
"method": "POST",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var data = "{\"search_word\":\"\u9762\u819c\"}";
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("POST", "https://zylalabs.com/api/15545/social+data+plus+api/41860/xiaohongshu+pgy+keyword+daily+trend");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send(data);
xhr.send();
xhr.send();
xhr.send();
xhr.send();
var axios = require('axios');
var data = "{\"search_word\":\"\u9762\u819c\"}";
var config = {
method: 'POST',
url: 'https://zylalabs.com/api/15545/social+data+plus+api/41860/xiaohongshu+pgy+keyword+daily+trend',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
data : data
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15545/social+data+plus+api/41860/xiaohongshu+pgy+keyword+daily+trend',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS => '{"search_word":"面膜"}',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15545/social+data+plus+api/41860/xiaohongshu+pgy+keyword+daily+trend"
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload = "{\"search_word\":\"\u9762\u819c\"}"
payload={}
payload={}
payload={}
payload={}
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15545/social+data+plus+api/41860/xiaohongshu+pgy+keyword+daily+trend")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::POST.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
request.body = "{\"search_word\":\"\u9762\u819c\"}"
response = http.request(request)
puts response.read_body
printf '{"search_word":"面膜"}'|
http --follow --timeout 3600 POST 'https://zylalabs.com/api/15545/social+data+plus+api/41860/xiaohongshu+pgy+keyword+daily+trend' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15545/social+data+plus+api/41860/xiaohongshu+pgy+keyword+daily+trend");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
var body = "{\"search_word\":\"\u9762\u819c\"}";
request.AddParameter("text/plain", body, ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15545/social+data+plus+api/41860/xiaohongshu+pgy+keyword+daily+trend"
method := "POST"
payload := strings.NewReader("{"search_word":"面膜"}")
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15545/social+data+plus+api/41860/xiaohongshu+pgy+keyword+daily+trend")!
var request = URLRequest(url: url)
request.httpMethod = "POST"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
request.httpBody = "{"search_word":"面膜"}".data(using: .utf8)
request.setValue("application/json", forHTTPHeaderField: "Content-Type")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
body = "{"search_word":"面膜"}".toRequestBody("application/json".toMediaType())
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41860/xiaohongshu+pgy+keyword+daily+trend")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("POST", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
payload = "{"search_word":"面膜"}";
final request = http.Request(
"POST",
Uri.parse("https://zylalabs.com/api/15545/social+data+plus+api/41860/xiaohongshu+pgy+keyword+daily+trend"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"POST")?;
let client = Client::new();
let mut body = String::new();
body = r#"{"search_word":"面膜"}"#.to_string();
let mut request = client
.request(method, "https://zylalabs.com/api/15545/social+data+plus+api/41860/xiaohongshu+pgy+keyword+daily+trend")
.header("Authorization", "Bearer YOUR_API_KEY");
request = request.body(body.clone());
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"code": 200,
"data": {
"code": 0,
"msg": "成功",
"guid": null,
"success": true,
"data": {
"kols": [
{
"userId": "[omitted]",
"valid": 1,
"headPhoto": "[omitted]",
"name": "饺子晶",
"redId": "103893460",
"location": "浙江 杭州 萧山区",
"homePageDisplay": 1,
"travelAreaList": null,
"type": [],
"personalTags": null,
"fansCount": 26349,
"likeCollectCountInfo": 2033281
}
],
"total": 8,
"trackId": "kolSimilar_d11085ca203f43b2910b9e8f2420429e",
"highlightWords": [],
"resultType": 0,
"redirect2NickSearch": false
}
}
}
curl --location --request POST 'https://zylalabs.com/api/15545/social+data+plus+api/41861/xiaohongshu+get+pgy+similar+bloggers' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{"user_id":"5c668b3e0000000012021605"}'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
// Build the GET request
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41861/xiaohongshu+get+pgy+similar+bloggers")
.get() // Use GET method without a body
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
// Execute the request
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
// Handle the response in case of a successful request
String responseData = response.body().string();
System.out.println(responseData);
} else {
// Handle errors
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
// Handle I/O exceptions
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15545/social+data+plus+api/41861/xiaohongshu+get+pgy+similar+bloggers",
"method": "POST",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var data = "{\"user_id\":\"5c668b3e0000000012021605\"}";
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("POST", "https://zylalabs.com/api/15545/social+data+plus+api/41861/xiaohongshu+get+pgy+similar+bloggers");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send(data);
xhr.send();
xhr.send();
xhr.send();
var axios = require('axios');
var data = "{\"user_id\":\"5c668b3e0000000012021605\"}";
var config = {
method: 'POST',
url: 'https://zylalabs.com/api/15545/social+data+plus+api/41861/xiaohongshu+get+pgy+similar+bloggers',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
data : data
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15545/social+data+plus+api/41861/xiaohongshu+get+pgy+similar+bloggers',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS => '{"user_id":"5c668b3e0000000012021605"}',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15545/social+data+plus+api/41861/xiaohongshu+get+pgy+similar+bloggers"
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload = "{\"user_id\":\"5c668b3e0000000012021605\"}"
payload={}
payload={}
payload={}
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15545/social+data+plus+api/41861/xiaohongshu+get+pgy+similar+bloggers")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::POST.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
request.body = "{\"user_id\":\"5c668b3e0000000012021605\"}"
response = http.request(request)
puts response.read_body
printf '{"user_id":"5c668b3e0000000012021605"}'|
http --follow --timeout 3600 POST 'https://zylalabs.com/api/15545/social+data+plus+api/41861/xiaohongshu+get+pgy+similar+bloggers' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15545/social+data+plus+api/41861/xiaohongshu+get+pgy+similar+bloggers");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
var body = "{\"user_id\":\"5c668b3e0000000012021605\"}";
request.AddParameter("text/plain", body, ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15545/social+data+plus+api/41861/xiaohongshu+get+pgy+similar+bloggers"
method := "POST"
payload := strings.NewReader("{"user_id":"5c668b3e0000000012021605"}")
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15545/social+data+plus+api/41861/xiaohongshu+get+pgy+similar+bloggers")!
var request = URLRequest(url: url)
request.httpMethod = "POST"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
request.httpBody = "{"user_id":"5c668b3e0000000012021605"}".data(using: .utf8)
request.setValue("application/json", forHTTPHeaderField: "Content-Type")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
body = "{"user_id":"5c668b3e0000000012021605"}".toRequestBody("application/json".toMediaType())
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41861/xiaohongshu+get+pgy+similar+bloggers")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("POST", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
payload = "{"user_id":"5c668b3e0000000012021605"}";
final request = http.Request(
"POST",
Uri.parse("https://zylalabs.com/api/15545/social+data+plus+api/41861/xiaohongshu+get+pgy+similar+bloggers"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"POST")?;
let client = Client::new();
let mut body = String::new();
body = r#"{"user_id":"5c668b3e0000000012021605"}"#.to_string();
let mut request = client
.request(method, "https://zylalabs.com/api/15545/social+data+plus+api/41861/xiaohongshu+get+pgy+similar+bloggers")
.header("Authorization", "Bearer YOUR_API_KEY");
request = request.body(body.clone());
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"code": 200,
"data": {
"code": 0,
"msg": "成功",
"guid": null,
"success": true,
"data": {
"upSearchWords": [
{
"searchWord": "洗面奶",
"relevanceRank": 1,
"searchScore": 2259802,
"readTotalCount": 389849049,
"noteNum": 108935,
"brandTag": 0
}
],
"downSearchWords": [
{
"searchWord": "面膜推荐",
"relevanceRank": 1,
"searchScore": 2319892,
"readTotalCount": 515544381,
"noteNum": 92424,
"brandTag": 0
}
]
}
}
}
curl --location --request POST 'https://zylalabs.com/api/15545/social+data+plus+api/41862/xiaohongshu+pgy+related+keywords' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{"search_word":"面膜"}'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
// Build the GET request
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41862/xiaohongshu+pgy+related+keywords")
.get() // Use GET method without a body
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
// Execute the request
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
// Handle the response in case of a successful request
String responseData = response.body().string();
System.out.println(responseData);
} else {
// Handle errors
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
// Handle I/O exceptions
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15545/social+data+plus+api/41862/xiaohongshu+pgy+related+keywords",
"method": "POST",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var data = "{\"search_word\":\"\u9762\u819c\"}";
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("POST", "https://zylalabs.com/api/15545/social+data+plus+api/41862/xiaohongshu+pgy+related+keywords");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send(data);
xhr.send();
xhr.send();
var axios = require('axios');
var data = "{\"search_word\":\"\u9762\u819c\"}";
var config = {
method: 'POST',
url: 'https://zylalabs.com/api/15545/social+data+plus+api/41862/xiaohongshu+pgy+related+keywords',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
data : data
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15545/social+data+plus+api/41862/xiaohongshu+pgy+related+keywords',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS => '{"search_word":"面膜"}',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15545/social+data+plus+api/41862/xiaohongshu+pgy+related+keywords"
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload = "{\"search_word\":\"\u9762\u819c\"}"
payload={}
payload={}
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15545/social+data+plus+api/41862/xiaohongshu+pgy+related+keywords")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::POST.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
request.body = "{\"search_word\":\"\u9762\u819c\"}"
response = http.request(request)
puts response.read_body
printf '{"search_word":"面膜"}'|
http --follow --timeout 3600 POST 'https://zylalabs.com/api/15545/social+data+plus+api/41862/xiaohongshu+pgy+related+keywords' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15545/social+data+plus+api/41862/xiaohongshu+pgy+related+keywords");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
var body = "{\"search_word\":\"\u9762\u819c\"}";
request.AddParameter("text/plain", body, ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15545/social+data+plus+api/41862/xiaohongshu+pgy+related+keywords"
method := "POST"
payload := strings.NewReader("{"search_word":"面膜"}")
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15545/social+data+plus+api/41862/xiaohongshu+pgy+related+keywords")!
var request = URLRequest(url: url)
request.httpMethod = "POST"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
request.httpBody = "{"search_word":"面膜"}".data(using: .utf8)
request.setValue("application/json", forHTTPHeaderField: "Content-Type")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
body = "{"search_word":"面膜"}".toRequestBody("application/json".toMediaType())
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41862/xiaohongshu+pgy+related+keywords")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("POST", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
payload = "{"search_word":"面膜"}";
final request = http.Request(
"POST",
Uri.parse("https://zylalabs.com/api/15545/social+data+plus+api/41862/xiaohongshu+pgy+related+keywords"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"POST")?;
let client = Client::new();
let mut body = String::new();
body = r#"{"search_word":"面膜"}"#.to_string();
let mut request = client
.request(method, "https://zylalabs.com/api/15545/social+data+plus+api/41862/xiaohongshu+pgy+related+keywords")
.header("Authorization", "Bearer YOUR_API_KEY");
request = request.body(body.clone());
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"code": 200,
"data": {
"code": 0,
"success": true,
"msg": "成功",
"data": {
"distributor_info_list": [
{
"distributor_data_info": {
"note_engage_median": 0,
"content_categorys": [],
"buyer_business_tags": [],
"avg_sale_amount": "100w-200w",
"atv": "0-100",
"fans_num": 600001,
"live_viewer_num": 6836,
"avg_live_viewer_num": "44649",
"note_read_median_num": 72244,
"live_day_cnt": 3,
"distributor_id": "570c638884edcd4b63594a3b",
"sex": "女"
},
"distributor_extra_info": {
"buyer_bar_list": [],
"willing_category": [],
"willing_commsion": "不限",
"grade": 5
},
"is_star": false,
"show_data": 1
}
],
"total": 5213266,
"page_total": 5000,
"seed": 0,
"req_id": "ecb21aaf-5725-454e-bfa8-5b20d48278c4"
}
}
}
curl --location --request POST 'https://zylalabs.com/api/15545/social+data+plus+api/41863/xiaohongshu+pgy+live+blogger+square' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{}'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
// Build the GET request
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41863/xiaohongshu+pgy+live+blogger+square")
.get() // Use GET method without a body
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
// Execute the request
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
// Handle the response in case of a successful request
String responseData = response.body().string();
System.out.println(responseData);
} else {
// Handle errors
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
// Handle I/O exceptions
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15545/social+data+plus+api/41863/xiaohongshu+pgy+live+blogger+square",
"method": "POST",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var data = "{}";
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("POST", "https://zylalabs.com/api/15545/social+data+plus+api/41863/xiaohongshu+pgy+live+blogger+square");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send(data);
xhr.send();
var axios = require('axios');
var data = "{}";
var config = {
method: 'POST',
url: 'https://zylalabs.com/api/15545/social+data+plus+api/41863/xiaohongshu+pgy+live+blogger+square',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
data : data
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15545/social+data+plus+api/41863/xiaohongshu+pgy+live+blogger+square',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS => '{}',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15545/social+data+plus+api/41863/xiaohongshu+pgy+live+blogger+square"
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload = "{}"
payload={}
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15545/social+data+plus+api/41863/xiaohongshu+pgy+live+blogger+square")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::POST.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
request.body = "{}"
response = http.request(request)
puts response.read_body
printf '{}'|
http --follow --timeout 3600 POST 'https://zylalabs.com/api/15545/social+data+plus+api/41863/xiaohongshu+pgy+live+blogger+square' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15545/social+data+plus+api/41863/xiaohongshu+pgy+live+blogger+square");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
var body = "{}";
request.AddParameter("text/plain", body, ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15545/social+data+plus+api/41863/xiaohongshu+pgy+live+blogger+square"
method := "POST"
payload := strings.NewReader("{}")
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15545/social+data+plus+api/41863/xiaohongshu+pgy+live+blogger+square")!
var request = URLRequest(url: url)
request.httpMethod = "POST"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
request.httpBody = "{}".data(using: .utf8)
request.setValue("application/json", forHTTPHeaderField: "Content-Type")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
body = "{}".toRequestBody("application/json".toMediaType())
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41863/xiaohongshu+pgy+live+blogger+square")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("POST", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
payload = "{}";
final request = http.Request(
"POST",
Uri.parse("https://zylalabs.com/api/15545/social+data+plus+api/41863/xiaohongshu+pgy+live+blogger+square"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"POST")?;
let client = Client::new();
let mut body = String::new();
body = r#"{}"#.to_string();
let mut request = client
.request(method, "https://zylalabs.com/api/15545/social+data+plus+api/41863/xiaohongshu+pgy+live+blogger+square")
.header("Authorization", "Bearer YOUR_API_KEY");
request = request.body(body.clone());
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
{
"code": 200,
"data": {
"code": 0,
"msg": "成功",
"guid": null,
"success": true,
"data": {
"searchWordData": {
"dateKey": null,
"searchScore": "2022552",
"searchScore30bm": "-22.5",
"noteNum": 179370,
"noteNum30bm": "14.2",
"userNum": 106712,
"userNum30bm": "16.8",
"impNum": 4188006378,
"impNum30bm": "-33.8",
"readNum": 733668032,
"readNum30bm": "-29.3",
"engageNum": 27323905,
"engageNum30bm": "-21.8",
"likeNum": 19357030,
"favNum": 6409421,
"cmtNum": 1557454,
"shareNum": 1763581,
"followCnt": 1163461,
"brandTag": 0
},
"wordKolProfile": {
"contentTagStat": [
{
"name": "护肤",
"percent": 92.3
},
{
"name": "美妆",
"percent": 2.5
},
{
"name": "影视综资讯",
"percent": 1.2
},
{
"name": "个人护理",
"percent": 1.1
},
{
"name": "出行旅游",
"percent": 0.8
}
],
"personalTagStat": [
{
"name": "妈妈",
"percent": 23.7
},
{
"name": "留学背景",
"percent": 16.9
},
{
"name": "学生",
"percent": 15.2
},
{
"name": "户外爱好者",
"percent": 10
},
{
"name": "海外华人",
"percent": 8.8
}
],
"featureTagStat": [
{
"name": "保湿补水",
"percent": 52.7
},
{
"name": "修复",
"percent": 35
},
{
"name": "祛黄",
"percent": 32.9
},
{
"name": "敏感肌",
"percent": 22.1
},
{
"name": "抗老",
"percent": 21.4
}
],
"fansStat": [
{
"start": 1000,
"end": 5000,
"percent": 70.8
},
{
"start": 5000,
"end": 10000,
"percent": 11.6
},
{
"start": 10000,
"end": 100000,
"percent": 4
},
{
"start": 100000,
"end": 500000,
"percent": 11.3
},
{
"start": 500000,
"end": 1000000,
"percent": 1.7
},
{
"start": 1000000,
"end": null,
"percent": 0.3
}
],
"picPriceStat": [
{
"start": 0,
"end": 1000,
"percent": 88.6
},
{
"start": 1000,
"end": 5000,
"percent": 8.2
},
{
"start": 5000,
"end": 10000,
"percent": 1.5
},
{
"start": 10000,
"end": 50000,
"percent": 1.3
},
{
"start": 50000,
"end": null,
"percent": 0.4
}
],
"videoPriceStat": [
{
"start": 0,
"end": 1000,
"percent": 88.7
},
{
"start": 1000,
"end": 5000,
"percent": 7.4
},
{
"start": 5000,
"end": 10000,
"percent": 1.7
},
{
"start": 10000,
"end": 50000,
"percent": 1.6
},
{
"start": 50000,
"end": null,
"percent": 0.5
}
]
}
}
}
}
curl --location --request POST 'https://zylalabs.com/api/15545/social+data+plus+api/41864/xiaohongshu+pgy+keyword+overview' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{"search_word":"面膜"}'
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
// Build the GET request
Request request = new Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41864/xiaohongshu+pgy+keyword+overview")
.get() // Use GET method without a body
.addHeader("Authorization", "Bearer YOUR_API_KEY")
.build();
// Execute the request
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
// Handle the response in case of a successful request
String responseData = response.body().string();
System.out.println(responseData);
} else {
// Handle errors
System.out.println("Request error: " + response.code());
}
} catch (IOException e) {
// Handle I/O exceptions
e.printStackTrace();
}
}
}
var settings = {
"url": "https://zylalabs.com/api/15545/social+data+plus+api/41864/xiaohongshu+pgy+keyword+overview",
"method": "POST",
"timeout": 0,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var data = "{\"search_word\":\"\u9762\u819c\"}";
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("POST", "https://zylalabs.com/api/15545/social+data+plus+api/41864/xiaohongshu+pgy+keyword+overview");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_KEY");
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send();
xhr.send(data);
var axios = require('axios');
var data = "{\"search_word\":\"\u9762\u819c\"}";
var config = {
method: 'POST',
url: 'https://zylalabs.com/api/15545/social+data+plus+api/41864/xiaohongshu+pgy+keyword+overview',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
},
data : data
};
axios(config).then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://zylalabs.com/api/15545/social+data+plus+api/41864/xiaohongshu+pgy+keyword+overview',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS => '{"search_word":"面膜"}',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer YOUR_API_KEY'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://zylalabs.com/api/15545/social+data+plus+api/41864/xiaohongshu+pgy+keyword+overview"
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload={}
payload = "{\"search_word\":\"\u9762\u819c\"}"
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://zylalabs.com/api/15545/social+data+plus+api/41864/xiaohongshu+pgy+keyword+overview")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::POST.new(url)
request["Authorization"] = "Bearer YOUR_API_KEY"
request.body = "{\"search_word\":\"\u9762\u819c\"}"
response = http.request(request)
puts response.read_body
printf '{"search_word":"面膜"}'|
http --follow --timeout 3600 POST 'https://zylalabs.com/api/15545/social+data+plus+api/41864/xiaohongshu+pgy+keyword+overview' \
Authorization:'Bearer YOUR_API_KEY'
var client = new RestClient("https://zylalabs.com/api/15545/social+data+plus+api/41864/xiaohongshu+pgy+keyword+overview");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
var body = "{\"search_word\":\"\u9762\u819c\"}";
request.AddParameter("text/plain", body, ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://zylalabs.com/api/15545/social+data+plus+api/41864/xiaohongshu+pgy+keyword+overview"
method := "POST"
payload := strings.NewReader("{"search_word":"面膜"}")
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
import Foundation
let url = URL(string: "https://zylalabs.com/api/15545/social+data+plus+api/41864/xiaohongshu+pgy+keyword+overview")!
var request = URLRequest(url: url)
request.httpMethod = "POST"
request.setValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
request.httpBody = "{"search_word":"面膜"}".data(using: .utf8)
request.setValue("application/json", forHTTPHeaderField: "Content-Type")
let task = URLSession.shared.dataTask(with: request) { data, _, error in
if let error = error {
print(error.localizedDescription)
return
}
if let data = data {
print(String(decoding: data, as: UTF8.self))
}
}
task.resume()
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
fun main() {
val client = OkHttpClient()
var body: RequestBody? = null
body = "{"search_word":"面膜"}".toRequestBody("application/json".toMediaType())
val requestBuilder = Request.Builder()
.url("https://zylalabs.com/api/15545/social+data+plus+api/41864/xiaohongshu+pgy+keyword+overview")
.addHeader("Authorization", "Bearer YOUR_API_KEY")
val request = requestBuilder.method("POST", body).build()
client.newCall(request).execute().use { response ->
println(response.body?.string())
}
}
import 'package:http/http.dart' as http;
void main() async {
var payload = '';
payload = "{"search_word":"面膜"}";
final request = http.Request(
"POST",
Uri.parse("https://zylalabs.com/api/15545/social+data+plus+api/41864/xiaohongshu+pgy+keyword+overview"),
);
request.headers['Authorization'] = 'Bearer YOUR_API_KEY';
if (payload.isNotEmpty) {
request.headers['Content-Type'] = 'application/json';
request.body = payload;
}
final client = http.Client();
final response = await client.send(request);
print(await response.stream.bytesToString());
client.close();
}
use reqwest::blocking::Client;
use reqwest::Method;
use std::error::Error;
fn main() -> Result<(), Box> {
let method = Method::from_bytes(b"POST")?;
let client = Client::new();
let mut body = String::new();
body = r#"{"search_word":"面膜"}"#.to_string();
let mut request = client
.request(method, "https://zylalabs.com/api/15545/social+data+plus+api/41864/xiaohongshu+pgy+keyword+overview")
.header("Authorization", "Bearer YOUR_API_KEY");
request = request.body(body.clone());
let response = request.send()?;
println!("{}", response.text()?);
Ok(())
}
注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 社交数据增强版 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
| 标头 | 描述 |
|---|---|
授权
|
必需
应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。
|
无长期承诺。随时升级、降级或取消。
查询多个社交平台上的公开社交内容、创作者发现和商业分析。获取公开内容详情、创作者和内容表现报告、广告筛选条件、行业分类体系以及商业统计数据。共享服务提供方的容量为每个市场每分钟 30 个请求
该 API 使用公开数据源和由服务提供商管理的数据源。你只需要一个 Zyla API 密钥和一个订阅 唯一需要返回翻译后的文本 不要添加句号或逗号 如果翻译有误 只返回“error”
该服务提供商在 Zyla 客户之间共享每分钟 30 次请求的限额。遇到 HTTP 429 时,请等待后再重试,并遵循任何 Retry-After 标头
该 API 提供来自哔哩哔哩、抖音、TikTok、Telegram、小红书、知乎和 X 的公开数据及服务商管理的数据 涵盖创作者资料、受众和内容表现、电商分析、广告筛选条件、排名、公开帖子、关键词趋势和直播状态
使用花火或直播达人搜索接口并按创作者身份、受众人口统计信息、地区、内容或直播类别、人设和职业标签、MCN、商品类别、合作经历、定价、表现、GMV 和自定义受众包进行筛选。请先从字典接口获取有效的选项 ID
分类端点会返回包含 ID、标签、父级 ID 和子级的分层对象。将选定的 ID 传入文档中说明的请求字段,例如 `partition_id`、`second_partition_id`、`goods_category_first_ids` 或 `mcn_ids`。对于市场表单,使用筛选面板和字典响应构建有效选项。
哔哩哔哩和抖音端点会展示粉丝增长、播放量、互动、观看时长、内容构成、代表性视频、亮点、CPM、CPE、电商成效和受众重合度。响应可能包含汇总数据、百分位标签、按日或按视频排列的序列,以及诸如 `upper_mid`、`av_id` 或 `video_id` 的标识符
排名端点通常返回一个包含 `data`、`page` 和 `total` 或 `total_count` 的分页对象。记录可以包含排名、创作者或产品标识符、名称、类别、个人资料字段、价格、与 GMV 相关的指标以及互动统计数据。使用行业和周期查询端点获取有效的排名输入。
Telegram 端点返回公开频道元数据和帖子,包括用户名、标题、描述、认证状态、订阅者数量、媒体计数、消息 ID、日期、文本、URL、作者、浏览量和转发详情。搜索结果包括查询内容、使用的后端、匹配数量和匹配的消息
空结果可能是有效响应,尤其是在没有创作者、帖子、评论、排名或可选指标符合请求时。检查端点的状态字段,并区分空数组和错误。对于批量 Telegram 结果,使用每个条目的 `ok` 和 `error` 字段分别处理。
响应通常是包含 `code` 和 `data` 的 JSON 封装。`data` 可以是数组、单个对象或分页对象。一些提供商会添加嵌套的状态对象,例如 `base_resp`,而小红书和 TikTok 的响应可能包含额外的 `code`、`msg` 和提供商特定的负载。需要精确值时,请保留数字字符串