General search (raw data, recommend V2)
curl --request GET \
--url https://api.aisa.one/apis/v1/tikhub/youtube/web_v2/get_general_search \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/tikhub/youtube/web_v2/get_general_search"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.aisa.one/apis/v1/tikhub/youtube/web_v2/get_general_search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/tikhub/youtube/web_v2/get_general_search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/tikhub/youtube/web_v2/get_general_search"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.aisa.one/apis/v1/tikhub/youtube/web_v2/get_general_search")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/tikhub/youtube/web_v2/get_general_search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_bodyExtended
General search (raw data, recommend V2)
General search (raw data, recommend V2)
GET
https://api.aisa.one/apis/v1
/
tikhub
/
youtube
/
web_v2
/
get_general_search
General search (raw data, recommend V2)
curl --request GET \
--url https://api.aisa.one/apis/v1/tikhub/youtube/web_v2/get_general_search \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/tikhub/youtube/web_v2/get_general_search"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.aisa.one/apis/v1/tikhub/youtube/web_v2/get_general_search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/tikhub/youtube/web_v2/get_general_search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/tikhub/youtube/web_v2/get_general_search"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.aisa.one/apis/v1/tikhub/youtube/web_v2/get_general_search")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/tikhub/youtube/web_v2/get_general_search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_bodyGeneral search (raw data, recommend V2)
Pricing — base $0.00145 per successful call (provider cost × 1.45; final charge scales by your plan multiplier). Charged only when the upstream response body
code is 200.
Response structure is not yet fully documented — refer to the actual API response.
Example
curl "https://api.aisa.one/apis/v1/tikhub/youtube/web_v2/get_general_search?search_query=Python" \
-H "Authorization: Bearer YOUR_API_KEY"
Authorizations
AIsa API key. Get yours at https://aisa.one
Query Parameters
Search keyword
Maximum string length:
200Language code
Country code
Time zone
Upload time filter
Available options:
hour, today, week, month, year Example:
{
"hour": { "summary": "1", "value": "hour" },
"today": {
"summary": "See API documentation",
"value": "today"
},
"week": {
"summary": "See API documentation",
"value": "week"
},
"month": {
"summary": "See API documentation",
"value": "month"
},
"year": {
"summary": "See API documentation",
"value": "year"
}
}
Duration filter
Available options:
short, medium, long Example:
{
"short": { "summary": "<4", "value": "short" },
"medium": { "summary": "4-20", "value": "medium" },
"long": { "summary": ">20", "value": "long" }
}
Content type filter
Available options:
video, channel, playlist, movie Example:
{
"video": {
"summary": "See API documentation",
"value": "video"
},
"channel": {
"summary": "See API documentation",
"value": "channel"
},
"playlist": {
"summary": "See API documentation",
"value": "playlist"
},
"movie": {
"summary": "See API documentation",
"value": "movie"
}
}
Feature filter
Available options:
live, 4k, hd, subtitles, creative_commons, 360, vr180, 3d, hdr, location, purchased Example:
{
"360": { "summary": "360", "value": "360" },
"hd": {
"summary": "See API documentation",
"value": "hd"
},
"4k": { "summary": "4K", "value": "4k" },
"subtitles": {
"summary": "See API documentation",
"value": "subtitles"
},
"live": {
"summary": "See API documentation",
"value": "live"
},
"creative_commons": {
"summary": "See API documentation",
"value": "creative_commons"
},
"vr180": { "summary": "VR180", "value": "vr180" },
"3d": { "summary": "3D", "value": "3d" },
"hdr": { "summary": "HDR", "value": "hdr" },
"location": {
"summary": "See API documentation",
"value": "location"
},
"purchased": {
"summary": "See API documentation",
"value": "purchased"
}
}
Sort by
Available options:
relevance, upload_date, view_count, rating Example:
{
"relevance": {
"summary": "See API documentation",
"value": "relevance"
},
"upload_date": {
"summary": "See API documentation",
"value": "upload_date"
},
"view_count": {
"summary": "See API documentation",
"value": "view_count"
},
"rating": {
"summary": "See API documentation",
"value": "rating"
}
}
Pagination token
Response
200
Successful response. Response structure varies; refer to the actual API response.