Channel Management/Works
Parse Work Link
Interface description: Parse a social-media work link for the specified platform and return the identified basic work information, snapshots, and platform-specific fields.
GET
/
api
/
v2
/
channels
/
works
/
link-info
Parse Work Link
curl --request GET \
--url https://aitoearn.cn/api/v2/channels/works/link-info \
--header 'X-Api-Key: <api-key>'import requests
url = "https://aitoearn.cn/api/v2/channels/works/link-info"
headers = {"X-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://aitoearn.cn/api/v2/channels/works/link-info', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://aitoearn.cn/api/v2/channels/works/link-info"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Api-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"code": "integer",
"message": "string",
"data": {
"platform": "string",
"work": {
"id": "string",
"url": "string",
"mediaType": "string"
},
"snapshots": "array",
"extra": {
"dataId": "string",
"uniqueId": "string",
"type": "string",
"videoType": "string",
"resolvedUrl": "string"
}
},
"requestId": "string"
}Authorizations
Need to get API Key from AiToEarn. Click to go to "API Key Obtaining Tutorial".
Query Parameters
platform
Available options:
douyin, xhs, wxSph, KWAI, youtube, wxGzh, bilibili, twitter, tiktok, facebook, instagram, threads, pinterest, linkedin, google_business Example:
"douyin"
Work link
Minimum string length:
1Example:
"https://www.douyin.com/video/7667836920484196454"
Account ID
Minimum string length:
1Response
200 - application/json
The request has been processed by the service. Business success is determined by whether the response body has code === 0.
Hide child attributes
Hide child attributes
Business status code. 0 means success; non-zero means a business error.
Response message.
Request ID.
Error response timestamp in Unix milliseconds.
Last modified on September 29, 2026
⌘I
Parse Work Link
curl --request GET \
--url https://aitoearn.cn/api/v2/channels/works/link-info \
--header 'X-Api-Key: <api-key>'import requests
url = "https://aitoearn.cn/api/v2/channels/works/link-info"
headers = {"X-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://aitoearn.cn/api/v2/channels/works/link-info', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://aitoearn.cn/api/v2/channels/works/link-info"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Api-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"code": "integer",
"message": "string",
"data": {
"platform": "string",
"work": {
"id": "string",
"url": "string",
"mediaType": "string"
},
"snapshots": "array",
"extra": {
"dataId": "string",
"uniqueId": "string",
"type": "string",
"videoType": "string",
"resolvedUrl": "string"
}
},
"requestId": "string"
}
