English
Product Documentation1688 APITaobao/Tmall API
Product Documentation1688 APITaobao/Tmall API
中文
  1. Taobao / Tmall Product Search
  • Taobao / Tmall Product Search
    • Image upload By Get
      GET
    • Image upload By Post
      POST
    • Image search
      GET
    • keyword search
      GET
    • shop search
      GET
    • Product details search
      GET
    • Product Logistics Price Get
      GET
    • Hot list type search
      GET
    • List product search
      GET
    • Product Logistics Price Post
      POST
    • Image search2
      GET
  • Taobao / Tmall Order Manage
    • Product Bunker interface(撞库)
      GET
    • Preview order
      POST
    • Create order
      POST
    • Cancel order
      POST
    • View order details
      POST
  • Taobao / Tmall Order Pay
    • Pay order
      POST
  • Taobao / Tmall Message
    • Message Type
  1. Taobao / Tmall Product Search

Image upload By Post

POST
/taobao/upload/image
Image upload interface, The GET mode supports only pic_url and does not support image_base64 parameter passing.
obtain imageId for subsequent image search interface, production environment request address: https://openapi.dajisaas.com/taobao/upload/image

Request

Query Params
appKey
string 
required
DAJI AppKey
appSecret
string 
optional
appSecret (For Testing Only) – Use the sign signature in production environments.
sign
string 
optional
Signature: Sort the request parameters in dictionary order and append the appSecret key. This field can be omitted during testing.
pic_url
string 
optional
Provide the complete image URL. This parameter is mutually exclusive with image_base64; if both are provided, image_base64 takes precedence.
Example:
https://img.alicdn.com/bao/uploaded/i3/684174095/O1CN019WLF1n1g7YYWtonEu_!!0-item_pic.jpg
image_base64
string 
optional
Request Method: POST – The Base64-encoded image must be in JPG (.jpg/.jpeg), PNG (.png), or WEBP (.webp) format, and its size must not exceed 3MB.

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 POST 'https://openapi.dajisaas.com/taobao/upload/image?appKey&appSecret&sign&pic_url=https://img.alicdn.com/bao/uploaded/i3/684174095/O1CN019WLF1n1g7YYWtonEu_!!0-item_pic.jpg&image_base64'

Responses

🟢200成功
application/json
Body
code
integer 
required
返回码
message
string 
required
消息
data
object 
required
业务数据
imageId
string 
required
图片ID
traceId
string 
required
timestamp
integer 
required
Example
{
  "code": 200,
  "message": "操作成功",
  "data": {
    "imageId": "1198208171997245747"
  },
  "timestamp": 1722498406137,
  "traceId": "6c3a39ba1b69"
}
Previous
Image upload By Get
Next
Image search
Built with