Topview-api
  1. Scraper
Topview-api
  • API文档
  • Avatar Marketing Video
    • script
      • list script content
      • update script content
    • submit task
      POST
    • query task
      GET
    • export
      POST
  • Video Avatar
    • Video Avatar API Usage
    • submit task
      POST
    • query task
      GET
  • Product Avatar
    • Product Avatar API Usage
    • Replace Product Image
      • submit task
      • query task
    • Image2Video
      • submit task
      • query task
    • Category Query
      GET
    • Public product avatar Query
      GET
  • Product AnyShoot
    • Replace Product Image
      • submit task
      • query task
    • Template Category
      GET
    • Template List
      GET
  • Common Task
    • image2Video
      • submit task
      • query task
  • Scraper
    • submit scraper task
      POST
    • query scraper task
      GET
  • Upload
    • Get Upload Credential
      GET
    • Get Upload Check
      GET
  • check notice url
    POST
  • Voice Query
    GET
  • Ethnicity Query
    GET
  • AiAvatar Query
    GET
  • Caption List
    GET
  1. Scraper

query scraper task

Developing
GET
/v1/scraper/task/query

Request

Query Params
taskId
string 
required
needCloudFrontUrl
boolean 
optional
是否需要返回CloudFront的url,true-返回cf的url;false-会返回s3的url
Header Params
Topview-Uid
string 
required
Authorization
string 
required

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.topview.ai/v1/scraper/task/query?taskId=&needCloudFrontUrl' \
--header 'Topview-Uid;' \
--header 'Authorization;'

Responses

🟢200OK
application/json
Body
code
string 
required
message
string 
required
result
object 
required
taskId
string 
required
status
string 
required
errorMsg
string 
required
productLink
string 
required
productName
string 
required
productDescription
string 
required
productImages
array [object {5}] 
required
productVideos
array [object {5}] 
required
Example
{
    "code": "string",
    "message": "string",
    "result": {
        "taskId": "string",
        "status": "string",
        "errorMsg": "string",
        "productLink": "string",
        "productName": "string",
        "productDescription": "string",
        "productImages": [
            {
                "fileId": "string",
                "fileName": "string",
                "fileType": "string",
                "format": "string",
                "fileUrl": "string"
            }
        ],
        "productVideos": [
            {
                "fileId": "string",
                "fileName": "string",
                "fileType": "string",
                "format": "string",
                "fileUrl": "string"
            }
        ]
    }
}
Modified at 2025-06-14 02:54:37
Previous
submit scraper task
Next
Get Upload Credential
Built with