DAJI OPEN PLATFORM
中文
PRICE
CONSOLE
  1. Taobao Product Search
  • Introduction
    • I. Learn About DAJI
    • II. Become a developer
    • III. Get Access Key and Access Secret
    • IV. Start Your Application Development
    • V. Frequently Asked Question
    • VI. Plans & Pricing
  • 1688 - Adapted Capabilities
    • Capability Specifications
      • Request Signature
      • Enum Type
      • Message Notification
      • Message Notification - Signature
    • Integration Testing
      • 1688 Business Opportunity
        • Query Ranking List
        • Query Daily Product Sales Trend
      • 1688 Product Search
        • Upload image to get imageId
        • Image Search
        • Keyword Search
        • Product Detail Search
        • Shop Search
        • Product Shipping Query
        • Category Query
        • Product Detail Search - supports short links
      • 1688 Order Manage
        • Preview Order
        • Create Order
        • Cancel Order
        • Confirm Receipt
        • Query Order Detail
        • Query Order List
      • 1688 Order Pay
        • Get payment links for orders in batches
        • Protocol Pay
      • Other API
        • Multilingual Search Navigation
  • Taobao - Adapted Capabilities
    • Capability Specifications
      • Request Signature
      • Enum Type
      • Message Notification
      • Message Notification - Signature
    • Integration Testing
      • Taobao Product Search
        • Upload Image
          POST
        • Image Search
          GET
        • Keyword Product Search
          GET
        • Shop Search
          GET
        • Product Detail Search V2
          GET
        • Ranking Type Search
          GET
        • Ranking Product Search
          GET
        • Product Shipping Query V2
          POST
        • Product Detail Search - supports short links
          GET
        • Batch Product Shipping Query V2
          POST
      • Taobao Order Manage
        • Product ID Mapping
        • Product Preview
        • Create Order
        • Cancel Order
        • Query Order
      • Taobao Order Pay
        • Protocol Pay
  • Poizon V2.0 - Adapted Capabilities
    • Capability Specifications
    • Integration Testing
      • Poizon V2.0 Product Search
        • Keyword Search
        • Product Detail
      • Poizon V2.0 Order Manage
        • Create Order & Payment
        • Query Order Info
        • Cancel Order
      • Poizon V2.0 Logistics
        • Query Logistics Trace
      • Poizon V2.0 Balance Query
        • Balance Query
  1. Taobao Product Search

Upload Image

POST
/taobao/upload/image
Production Endpoint: https://openapi.dajisaas.com/taobao/upload/image
Submit the Base64-encoded image (image_base64) via a POST request to obtain an imageId, which will be used for the subsequent Image Search API. The Base64 string must represent a JPG, JPEG, PNG, or WEBP file, with a maximum size of 3MB.

Request

Body Params multipart/form-data

Request Code 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 'https://openapi.dajisaas.com/taobao/upload/image' \
--form 'appKey=""' \
--form 'appSecret=""' \
--form 'sign=""' \
--form 'image_base64=""'

Responses

🟢200Success
application/json
Bodyapplication/json

Example
{
    "code": 200,
    "message": "操作成功",
    "data": {
        "imageId": "1198208171997245747"
    },
    "timestamp": 1722498406137,
    "traceId": "6c3a39ba1b69"
}
Previous
Message Notification - Signature
Next
Image Search
Built with