---
title: "HTML of multiple page areas by URL and CSS selectors"
method: GET
path: "/selected-multiple"
tags: ["Selected HTML"]
---

# HTML of multiple page areas by URL and CSS selectors

`GET /selected-multiple`

Returns HTML of multiple page areas by URL and CSS selectors. Useful if you don't want to do the HTML parsing on your side.

## Query parameters

- `selectors` string[]
- `url` string, required
- `headers` object
- `timeout` integer
- `js` boolean
- `js_timeout` integer
- `wait_for` string
- `proxy` 'datacenter' | 'residential' | 'stealth'
- `country` 'us' | 'gb' | 'de' | 'it' | 'fr' | 'ca' | 'es' | 'ru' | 'jp' | 'kr' | 'in' | 'hk' | 'tr'
- `custom_proxy` string
- `device` 'desktop' | 'mobile' | 'tablet'
- `error_on_404` boolean
- `error_on_redirect` boolean
- `js_script` string

## Response `200`

Success

- string[] — Array of elements matched by selectors

## Other responses

- `400` — Parameters validation error
- `402` — Billing issue, probably you've ran out of credits
- `403` — Wrong API key
- `429` — Too many concurrent requests
- `500` — Non-2xx and non-404 HTTP status code on the target page or unexpected error, try again or contact support@webscraping.ai
- `504` — Timeout error, try increasing timeout parameter value

---

[API](https://skmtc.net/webscraping/apis/webscraping-ai.md) · [All operations](https://skmtc.net/webscraping/apis/webscraping-ai/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/webscraping/webscraping-ai/versions/786b9bdc23f1/schema)
