{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://zieapi.vercel.app"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/cloud:aliyun-imagesearch/get-product-info-by-ids":{"post":{"operationId":"cloud_aliyun_imagesearch_get_product_info_by_ids","summary":"Queries product information by IDs for online calls to the Taobao Alliance edition","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["ItemIds"],"properties":{"endpoint":{"type":"string","enum":["https://imagesearch.ap-northeast-1.aliyuncs.com","https://imagesearch.ap-south-1.aliyuncs.com","https://imagesearch.ap-southeast-1.aliyuncs.com","https://imagesearch.ap-southeast-2.aliyuncs.com","https://imagesearch.cn-beijing.aliyuncs.com","https://imagesearch.cn-hangzhou.aliyuncs.com","https://imagesearch.cn-hongkong.aliyuncs.com","https://imagesearch.cn-shanghai.aliyuncs.com","https://imagesearch.cn-shenzhen.aliyuncs.com","https://imagesearch.eu-central-1.aliyuncs.com"],"default":"https://imagesearch.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://imagesearch.ap-southeast-1.aliyuncs.com"},"ItemIds":{"type":"string","description":"The product ID string. Separate multiple IDs with commas (,). You can specify up to 40 IDs"},"Pid":{"type":"string","description":"The PID. For more information, see PID…"},"Fields":{"type":"string","description":"The list of fields to return. Separate multiple fields with commas (,). By default, the PicUrl, ReservePrice, Title, Url, and ZkFinalPrice…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-imagesearch/search-by-pic":{"post":{"operationId":"cloud_aliyun_imagesearch_search_by_pic","summary":"Searches for products by image for online calls to the Taobao Union edition","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["PicContent"],"properties":{"endpoint":{"type":"string","enum":["https://imagesearch.ap-northeast-1.aliyuncs.com","https://imagesearch.ap-south-1.aliyuncs.com","https://imagesearch.ap-southeast-1.aliyuncs.com","https://imagesearch.ap-southeast-2.aliyuncs.com","https://imagesearch.cn-beijing.aliyuncs.com","https://imagesearch.cn-hangzhou.aliyuncs.com","https://imagesearch.cn-hongkong.aliyuncs.com","https://imagesearch.cn-shanghai.aliyuncs.com","https://imagesearch.cn-shenzhen.aliyuncs.com","https://imagesearch.eu-central-1.aliyuncs.com"],"default":"https://imagesearch.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://imagesearch.ap-southeast-1.aliyuncs.com"},"PicContent":{"type":"string","description":"The image content. The image size cannot exceed 4 MB. Image formats: PNG, JPG, JPEG, BMP, GIF, WEBP, TIFF, and PPM. The transmission wait…"},"CategoryId":{"type":"integer","enum":["0","1","2","3","4","5","6","7","8","9","20","21","22","88888888"],"description":"The image category. For more information, see https://help.aliyun.com/document_detail/179184.html. If you specify a category, the…"},"Pid":{"type":"string","description":"The PID. For more information, see PID…"},"UserType":{"type":"integer","enum":["0","1"],"description":"The seller type. 1: Tmall. 0: Taobao"},"Crop":{"type":"string","description":"Specifies whether to perform subject identification. Default value: true. true: The system performs subject identification. This method is…"},"Region":{"type":"string","description":"The subject region of the image. The format is `x1,x2,y1,y2`, where `x1,y1` represents the upper-left corner and `x2,y2` represents the…"},"Start":{"type":"integer","description":"The start position of the returned results. Valid values: 0 to 499. Default value: 0"},"Num":{"type":"integer","description":"The number of returned results. Valid values: 1 to 20. Default value: 10"},"Fields":{"type":"string","description":"The list of fields to be returned. Separate multiple fields with commas (,). By default, the PicUrl, ReservePrice, Title, Url, and…"},"RelationId":{"type":"integer","description":"The channel ID. This parameter is used to distinguish channels in Taobao Union"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-imagesearch/search-by-url":{"post":{"operationId":"cloud_aliyun_imagesearch_search_by_url","summary":"Searches for products by image URL for online calls to the Taobao Alliance edition","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["PicUrl"],"properties":{"endpoint":{"type":"string","enum":["https://imagesearch.ap-northeast-1.aliyuncs.com","https://imagesearch.ap-south-1.aliyuncs.com","https://imagesearch.ap-southeast-1.aliyuncs.com","https://imagesearch.ap-southeast-2.aliyuncs.com","https://imagesearch.cn-beijing.aliyuncs.com","https://imagesearch.cn-hangzhou.aliyuncs.com","https://imagesearch.cn-hongkong.aliyuncs.com","https://imagesearch.cn-shanghai.aliyuncs.com","https://imagesearch.cn-shenzhen.aliyuncs.com","https://imagesearch.eu-central-1.aliyuncs.com"],"default":"https://imagesearch.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://imagesearch.ap-southeast-1.aliyuncs.com"},"PicUrl":{"type":"string","description":"The image URL. The URL must start with HTTP or HTTPS"},"CategoryId":{"type":"integer","enum":["0","1","2","3","4","5","6","7","8","9","20","21","22","88888888"],"description":"The image category. For more information, see https://help.aliyun.com/document_detail/179184.html. If you specify a category, the…"},"Pid":{"type":"string","description":"The PID. For more information, see PID…"},"UserType":{"type":"integer","enum":["0","1"],"description":"The seller type. Valid values: 1: Tmall. 0: Taobao"},"Crop":{"type":"string","description":"Specifies whether to perform subject identification. Default value: true. true: The system performs subject identification. We recommend…"},"Region":{"type":"string","description":"The subject region of the image. The format is x1,x2,y1,y2, where x1,y1 represents the upper-left corner and x2,y2 represents the…"},"Start":{"type":"integer","description":"The start position of the returned results. Valid values: 0 to 499. Default value: 0"},"Num":{"type":"integer","description":"The number of returned results. Valid values: 1 to 20. Default value: 10"},"Fields":{"type":"string","description":"The list of fields to be returned. Separate multiple fields with commas (,). By default, the PicUrl, ReservePrice, Title, Url, and…"},"RelationId":{"type":"integer","description":"The channel ID. This parameter is used to distinguish channels in Taobao Alliance"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-imagesearch/version":{"post":{"operationId":"cloud_aliyun_imagesearch_version","summary":"version","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://imagesearch.ap-northeast-1.aliyuncs.com","https://imagesearch.ap-south-1.aliyuncs.com","https://imagesearch.ap-southeast-1.aliyuncs.com","https://imagesearch.ap-southeast-2.aliyuncs.com","https://imagesearch.cn-beijing.aliyuncs.com","https://imagesearch.cn-hangzhou.aliyuncs.com","https://imagesearch.cn-hongkong.aliyuncs.com","https://imagesearch.cn-shanghai.aliyuncs.com","https://imagesearch.cn-shenzhen.aliyuncs.com","https://imagesearch.eu-central-1.aliyuncs.com"],"default":"https://imagesearch.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://imagesearch.ap-southeast-1.aliyuncs.com"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}