Category
Learn how to get Target category page data using the Web Scraper API. Find out about request parameters and how to find category node IDs.
Request samples
curl 'https://realtime.oxylabs.io/v1/queries' \
--user 'USERNAME:PASSWORD' \
-H 'Content-Type: application/json' \
-d '{
"source": "target_category",
"category_id": "owq2q",
"render": "html"
}'import requests
from pprint import pprint
# Structure payload
payload = {
'source': 'target_category',
'category_id': 'owq2q',
'render': 'html',
}
# Get response
response = requests.request(
'POST',
'https://realtime.oxylabs.io/v1/queries',
auth=('USERNAME', 'PASSWORD'),
json=payload,
)
# Print the response
pprint(response.json())Request parameter values
Generic
Parameter
Description
Default Value
Localization
Parameter
Description
Type
Understanding Target's node IDs
Example node IDs

Node ID format
Last updated
Was this helpful?

