---
title: "P010 Image Search Get Image Url"
method: POST
path: "/image-search/image-upload"
tags: ["Patent Data Search"]
---

# P010 Image Search Get Image Url

`POST /image-search/image-upload`

## Request

- Base URL: `https://connect.patsnap.com`
- URL: `https://connect.patsnap.com/image-search/image-upload`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/patsnap/apis/patsnap-open-platform-api/docs/image-search/image-upload/post.ts> (a function with typed inputs; its response is checked against the schema)

Obtain the url accessible to the public network by uploading an image.

## Request body `multipart/form-data`

- P010ImageSearchImageUploadRequest
  - `image` string, required: JPG,PNG

## Response `200`

Successful p010 image search get image url response.

- P010ImageSearchImageUploadResponse
  - `data` P010ImageSearchImageUploadFileUrlResponse
    - `url` string: url
    - `expire` integer: period of validity,Unit:second
  - `status` boolean, required: Status
  - `error_msg` string: Error Message
  - `error_code` integer, required: Error Code

---

[API](https://skmtc.dev/patsnap/apis/patsnap-open-platform-api.md) - [All operations](https://skmtc.dev/patsnap/apis/patsnap-open-platform-api/llms.txt) - [OpenAPI document](https://skmtc.dev/patsnap/apis/patsnap-open-platform-api/revisions/c2264a0de595?raw)
