Shopping Filtered Search
curl --request GET \
--url https://scrapebadger.com/v1/naver/shopping/search-filtered \
--header 'X-API-Key: <x-api-key>'import requests
url = "https://scrapebadger.com/v1/naver/shopping/search-filtered"
headers = {"X-API-Key": "<x-api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<x-api-key>'}};
fetch('https://scrapebadger.com/v1/naver/shopping/search-filtered', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://scrapebadger.com/v1/naver/shopping/search-filtered",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <x-api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://scrapebadger.com/v1/naver/shopping/search-filtered"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<x-api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://scrapebadger.com/v1/naver/shopping/search-filtered")
.header("X-API-Key", "<x-api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://scrapebadger.com/v1/naver/shopping/search-filtered")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<x-api-key>'
response = http.request(request)
puts response.read_body{
"query": "<string>",
"brand_ids": [
"<string>"
],
"attribute_ids": [
"<string>"
],
"preview_only": true,
"result_count": 123,
"page_count": 123,
"page_size": 123,
"total_count": 123,
"filters_applied_by": "<string>",
"products": [
{}
]
}Shopping Search & Catalog
Shopping Filtered Search
Filtered Naver Shopping product search — narrow a finder query by a brand id and/or attribute id.
GET
/
v1
/
naver
/
shopping
/
search-filtered
Shopping Filtered Search
curl --request GET \
--url https://scrapebadger.com/v1/naver/shopping/search-filtered \
--header 'X-API-Key: <x-api-key>'import requests
url = "https://scrapebadger.com/v1/naver/shopping/search-filtered"
headers = {"X-API-Key": "<x-api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<x-api-key>'}};
fetch('https://scrapebadger.com/v1/naver/shopping/search-filtered', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://scrapebadger.com/v1/naver/shopping/search-filtered",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <x-api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://scrapebadger.com/v1/naver/shopping/search-filtered"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<x-api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://scrapebadger.com/v1/naver/shopping/search-filtered")
.header("X-API-Key", "<x-api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://scrapebadger.com/v1/naver/shopping/search-filtered")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<x-api-key>'
response = http.request(request)
puts response.read_body{
"query": "<string>",
"brand_ids": [
"<string>"
],
"attribute_ids": [
"<string>"
],
"preview_only": true,
"result_count": 123,
"page_count": 123,
"page_size": 123,
"total_count": 123,
"filters_applied_by": "<string>",
"products": [
{}
]
}Run a filtered Naver Shopping product search — the same finder feed as
/shopping/search-products, narrowed by a brand id and/or attribute id taken from /shopping/search-filters. Returns the finite finder set (up to 10 pages of 8 slots).
Credits: 5
Authorization
string
required
Your ScrapeBadger API key.
Query Parameters
string
required
Search keywords.
string
A brand value id from
/shopping/search-filters (BRAND facet).string
An attribute value id from
/shopping/search-filters (ATTRIBUTE facet).Response
string
string[]
The brand ids applied.
string[]
The attribute ids applied.
boolean
Always
true.integer
integer
Finder pages folded in (≤ 10).
integer
integer
Total matches reported by Naver, when available.
string
How the filter was applied:
click or rewrite.Product[]
Filtered products — same shape as a
/shopping/search-products product.Example
curl "https://scrapebadger.com/v1/naver/shopping/search-filtered?query=무선+이어폰&brand_id=12345" \
-H "X-API-Key: YOUR_API_KEY"
const res = await fetch(
"https://scrapebadger.com/v1/naver/shopping/search-filtered?" +
new URLSearchParams({"query": "무선 이어폰", "brand_id": "12345"}),
{ headers: { "X-API-Key": process.env.SCRAPEBADGER_API_KEY } },
);
const data = await res.json();
import requests
res = requests.get(
"https://scrapebadger.com/v1/naver/shopping/search-filtered",
headers={"X-API-Key": "YOUR_API_KEY"},
params={"query": "무선 이어폰", "brand_id": "12345"},
)
data = res.json()
Response
{
"query": "무선 이어폰",
"brand_ids": [
"12345"
],
"attribute_ids": [],
"preview_only": true,
"result_count": 40,
"page_count": 5,
"page_size": 8,
"total_count": 40,
"filters_applied_by": "click",
"products": [
{
"rank": 1,
"nv_mid": "82613579214",
"product_name": "삼성전자 갤럭시 버즈3 프로",
"product_url": "https://shopping.naver.com/catalog/82613579214",
"sale_price": 279000,
"discounted_sale_price": 229000,
"mall_name": "삼성전자 공식스토어",
"is_ad": false
}
]
}
Errors
| Status | Meaning |
|---|---|
422 | Naver served a challenge instead of content — not billed. Retry; it succeeds. |
502 | Unexpected upstream failure — not billed. |

