WebParse

Extract Webpage Images

0calls
2 credits / call

Want to batch get all image links from a webpage? This endpoint handles it.

GET
uapis.cn
/api/v1/webparse/extractimages
Query parameters
1
url
string
required

Webpage URL to extract images from

Overview

Provide a webpage URL, returns a list of all image links from that page. Suitable for image collection, material download and other scenarios.

Query parameters

url
stringrequired

Webpage URL to extract images from

Response

200 / OK

Success response

JSON
{
  // Actual parsed webpage address.
  "page_url": "https://cn.bing.com/",
  // List of image links extracted from the page.
  "image_urls": [
    "string"
  ]
}

400 / Bad Request

URL parameter is missing or invalid

JSON
{
  "code": "INVALID_ARGUMENT",
  "details": {},
  "message": "Missing or invalid 'url' parameter."
}

500 / Internal Server Error

Internal server error

JSON
{
  "code": "INTERNAL_SERVER_ERROR",
  "details": {},
  "message": "Failed to parse the webpage."
}