Platform List
Returns the metadata catalog for currently registered channel platforms, including display information, authorization methods, content limits, media rules, publishing and engagement capabilities, publishing option schemas, and availability status. Platform capabilities may change as the service is updated; always use the real-time response from this endpoint.
This endpoint only queries platform metadata and does not start account authorization, publish content, or perform other platform actions.
curl --request GET \
--url https://aitoearn.cn/api/v2/channels/platformsimport requests
url = "https://aitoearn.cn/api/v2/channels/platforms"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://aitoearn.cn/api/v2/channels/platforms', 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/platforms"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"code": 0,
"message": "Request succeeded",
"data": [
{
"platform": "string",
"displayName": {
"en-US": "string",
"zh-CN": "string"
},
"logoUrl": "string",
"authType": "string",
"authInstructions": {
"en-US": "string",
"zh-CN": "string"
},
"emptyAccountHint": {
"title": {
"en-US": "string",
"zh-CN": "string"
},
"description": {
"en-US": "string",
"zh-CN": "string"
},
"action": {
"label": {
"en-US": "string",
"zh-CN": "string"
},
"url": "string"
}
},
"editor": "string",
"contentLimits": {
"modes": [
"string"
],
"maxTitleLength": "number",
"maxBodyLength": "number",
"maxTotalTextLength": "number",
"minImages": "number",
"maxImages": "number",
"maxVideos": "number",
"coverRequired": "boolean"
},
"mediaRules": {
"imageFormats": [
"string"
],
"videoFormats": [
"string"
],
"maxImageSize": "number",
"maxVideoSize": "number",
"maxVideoDuration": "number",
"minVideoFps": "number",
"maxVideoFps": "number",
"maxImageShortSide": "number",
"aspectRatio": {
"min": "number",
"max": "number"
}
},
"topic": {
"supported": "boolean",
"nativeField": "boolean",
"maxCount": "number",
"maxTotalLength": "number"
},
"capabilities": {
"auth": {
"supported": "boolean",
"revoke": "boolean",
"selectableAccounts": "boolean",
"refreshAccountAccess": "boolean"
},
"publish": {
"supported": "boolean",
"cancel": "boolean",
"update": "boolean",
"verify": "boolean",
"finalize": "boolean",
"scheduleByPlatform": "boolean",
"optionSources": "boolean",
"completionStrategy": "string"
},
"analytics": {
"account": "boolean",
"work": "boolean"
},
"engagement": {
"comments": {
"list": "object",
"create": "object"
},
"functions": [
"object"
]
},
"work": {
"listWorks": "boolean",
"listWorksPagination": "object",
"getLinkInfo": "boolean",
"getDetail": "boolean",
"verifyOwnership": "boolean"
},
"browse": {
"search": "boolean",
"getDetail": "boolean"
},
"webhook": {
"supported": "boolean"
}
},
"optionSchema": "object",
"status": "string"
}
],
"requestId": "string"
}Response
The request has been processed by the service. Business success is determined by whether the response body has code === 0.
The currently registered platform metadata list. Platform capabilities, limits, and status may change as the service is updated; always use the latest response from this endpoint.
Hide child attributes
Hide child attributes
Platform identification
douyin, xhs, wxSph, KWAI, youtube, wxGzh, bilibili, twitter, tiktok, facebook, instagram, threads, pinterest, linkedin Authorization type
oauth2, plugin, qrcode Editor type
text, html Content restrictions
Hide child attributes
Hide child attributes
Supported publishing content modes
article2, article, video Maximum title length
Maximum text length
Maximum length of final published text
Minimum number of images
Maximum number of pictures
Maximum number of videos
Whether a cover is required
media rules
Hide child attributes
Hide child attributes
Picture format
video format
Maximum number of bytes of image
Maximum number of bytes of video
Maximum seconds of video
Minimum video frame rate
Maximum video frame rate
Maximum pixel count of the image's shorter side
Platform status
available, unavailable Business status code. 0 means success; non-zero means a business error.
Response message.
Request ID.
Error response timestamp in Unix milliseconds.
curl --request GET \
--url https://aitoearn.cn/api/v2/channels/platformsimport requests
url = "https://aitoearn.cn/api/v2/channels/platforms"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://aitoearn.cn/api/v2/channels/platforms', 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/platforms"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"code": 0,
"message": "Request succeeded",
"data": [
{
"platform": "string",
"displayName": {
"en-US": "string",
"zh-CN": "string"
},
"logoUrl": "string",
"authType": "string",
"authInstructions": {
"en-US": "string",
"zh-CN": "string"
},
"emptyAccountHint": {
"title": {
"en-US": "string",
"zh-CN": "string"
},
"description": {
"en-US": "string",
"zh-CN": "string"
},
"action": {
"label": {
"en-US": "string",
"zh-CN": "string"
},
"url": "string"
}
},
"editor": "string",
"contentLimits": {
"modes": [
"string"
],
"maxTitleLength": "number",
"maxBodyLength": "number",
"maxTotalTextLength": "number",
"minImages": "number",
"maxImages": "number",
"maxVideos": "number",
"coverRequired": "boolean"
},
"mediaRules": {
"imageFormats": [
"string"
],
"videoFormats": [
"string"
],
"maxImageSize": "number",
"maxVideoSize": "number",
"maxVideoDuration": "number",
"minVideoFps": "number",
"maxVideoFps": "number",
"maxImageShortSide": "number",
"aspectRatio": {
"min": "number",
"max": "number"
}
},
"topic": {
"supported": "boolean",
"nativeField": "boolean",
"maxCount": "number",
"maxTotalLength": "number"
},
"capabilities": {
"auth": {
"supported": "boolean",
"revoke": "boolean",
"selectableAccounts": "boolean",
"refreshAccountAccess": "boolean"
},
"publish": {
"supported": "boolean",
"cancel": "boolean",
"update": "boolean",
"verify": "boolean",
"finalize": "boolean",
"scheduleByPlatform": "boolean",
"optionSources": "boolean",
"completionStrategy": "string"
},
"analytics": {
"account": "boolean",
"work": "boolean"
},
"engagement": {
"comments": {
"list": "object",
"create": "object"
},
"functions": [
"object"
]
},
"work": {
"listWorks": "boolean",
"listWorksPagination": "object",
"getLinkInfo": "boolean",
"getDetail": "boolean",
"verifyOwnership": "boolean"
},
"browse": {
"search": "boolean",
"getDetail": "boolean"
},
"webhook": {
"supported": "boolean"
}
},
"optionSchema": "object",
"status": "string"
}
],
"requestId": "string"
}
