curl --request POST \
--url https://api.aisa.one/apis/v1/linkfox/echotik/batchProductDetail \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"productIds": [
"1729389874815799694"
]
}
'import requests
url = "https://api.aisa.one/apis/v1/linkfox/echotik/batchProductDetail"
payload = { "productIds": ["1729389874815799694"] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({productIds: ['1729389874815799694']})
};
fetch('https://api.aisa.one/apis/v1/linkfox/echotik/batchProductDetail', 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/linkfox/echotik/batchProductDetail",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'productIds' => [
'1729389874815799694'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/linkfox/echotik/batchProductDetail"
payload := strings.NewReader("{\n \"productIds\": [\n \"1729389874815799694\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/linkfox/echotik/batchProductDetail")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"productIds\": [\n \"1729389874815799694\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/linkfox/echotik/batchProductDetail")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"productIds\": [\n \"1729389874815799694\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"columns": [],
"errcode": 200,
"errmsg": "ok",
"products": [
{
"categoryId": "example",
"categoryL2Id": "example",
"imageUrl": "example",
"productId": "example",
"productImageUrls": [],
"productName": "example",
"region": "example",
"sellerId": "example"
}
],
"total": 1,
"type": "example"
}Linkfox Echotik Batch Product Detail
Linkfox native synchronous API. HTTP 200 can contain a business error: inspect errcode and errmsg when present.
Native Linkfox JSON request and response. Parameters are validated by Linkfox. Billed at the account credit cost with no plan markup.
curl --request POST \
--url https://api.aisa.one/apis/v1/linkfox/echotik/batchProductDetail \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"productIds": [
"1729389874815799694"
]
}
'import requests
url = "https://api.aisa.one/apis/v1/linkfox/echotik/batchProductDetail"
payload = { "productIds": ["1729389874815799694"] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({productIds: ['1729389874815799694']})
};
fetch('https://api.aisa.one/apis/v1/linkfox/echotik/batchProductDetail', 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/linkfox/echotik/batchProductDetail",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'productIds' => [
'1729389874815799694'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/linkfox/echotik/batchProductDetail"
payload := strings.NewReader("{\n \"productIds\": [\n \"1729389874815799694\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/linkfox/echotik/batchProductDetail")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"productIds\": [\n \"1729389874815799694\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/linkfox/echotik/batchProductDetail")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"productIds\": [\n \"1729389874815799694\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"columns": [],
"errcode": 200,
"errmsg": "ok",
"products": [
{
"categoryId": "example",
"categoryL2Id": "example",
"imageUrl": "example",
"productId": "example",
"productImageUrls": [],
"productName": "example",
"region": "example",
"sellerId": "example"
}
],
"total": 1,
"type": "example"
}Request contract
- Method and path: POST /apis/v1/linkfox/echotik/batchProductDetail
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/linkfox/echotik/batchProductDetail
{
"operationId": "post_linkfox_apis_v1_linkfox_echotik_batchproductdetail",
"method": "POST",
"path": "/apis/v1/linkfox/echotik/batchProductDetail",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"examples": {
"request": {
"summary": "Illustrative request; replace identifiers and dates for your query.",
"value": {
"productIds": [
"1729389874815799694"
]
}
}
},
"schema": {
"additionalProperties": true,
"anyOf": [
{
"properties": {
"productIds": {
"minItems": 1
}
},
"required": [
"productIds"
]
},
{
"properties": {
"productUrls": {
"minItems": 1
}
},
"required": [
"productUrls"
]
}
],
"description": " JSON body forwarded to Linkfox. Field descriptions and constraints below come from the pinned provider reference; gateway-enforced constraints take precedence. Supply at least one identifier or URL list; both lists are allowed. At most 1000 items in total.",
"properties": {
"productIds": {
"description": "无; 商品ID列表(最多 1000 个)。示例:`[\"1729382310407603945\", \"1729382310407603946\"]`",
"items": {
"type": "string"
},
"maxItems": 1000,
"type": "array"
},
"productUrls": {
"description": "无; 商品URL列表(最多 1000 个),形如 `https://shop.tiktok.com/us/pdp/<slug>/<productId>?...`;后端会从每个URL中提取末尾的 `productId` 并合并到 `productIds`,与 `productIds` 不互斥",
"items": {
"type": "string"
},
"maxItems": 1000,
"type": "array"
}
},
"type": "object"
}
}
},
"required": true
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Usage-based pricing. Default request estimate: $0.01 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.Authorizations
Body
- Option 1
- Option 2
JSON body forwarded to Linkfox. Field descriptions and constraints below come from the pinned provider reference; gateway-enforced constraints take precedence. Supply at least one identifier or URL list; both lists are allowed. At most 1000 items in total.
Response
Provider response; inspect the business status in the body.
Provider JSON response. Optional fields can be omitted; additional provider fields are preserved. This schema documents the HTTP body, excluding client-added costToken/costCredit and local cache fields.