Shopping Keyword Rankings
curl --request GET \
--url https://scrapebadger.com/v1/naver/shopping/keywords \
--header 'X-API-Key: <x-api-key>'import requests
url = "https://scrapebadger.com/v1/naver/shopping/keywords"
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/keywords', 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/keywords",
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/keywords"
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/keywords")
.header("X-API-Key", "<x-api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://scrapebadger.com/v1/naver/shopping/keywords")
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{
"category_id": "<string>",
"age_type": "<string>",
"sort_type": "<string>",
"period_type": "<string>",
"result_count": 123,
"keywords": [
{
"rank": 123,
"keyword": "<string>",
"sub_title": "<string>",
"tags": [
"<string>"
],
"status": "<string>",
"rank_fluctuation": 123,
"category_id": "<string>",
"category_path": [
"<string>"
]
}
]
}Shopping Intelligence
Shopping Keyword Rankings
Trending Naver Shopping keyword rankings for a category, with rise/fall status and rank movement.
GET
/
v1
/
naver
/
shopping
/
keywords
Shopping Keyword Rankings
curl --request GET \
--url https://scrapebadger.com/v1/naver/shopping/keywords \
--header 'X-API-Key: <x-api-key>'import requests
url = "https://scrapebadger.com/v1/naver/shopping/keywords"
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/keywords', 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/keywords",
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/keywords"
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/keywords")
.header("X-API-Key", "<x-api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://scrapebadger.com/v1/naver/shopping/keywords")
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{
"category_id": "<string>",
"age_type": "<string>",
"sort_type": "<string>",
"period_type": "<string>",
"result_count": 123,
"keywords": [
{
"rank": 123,
"keyword": "<string>",
"sub_title": "<string>",
"tags": [
"<string>"
],
"status": "<string>",
"rank_fluctuation": 123,
"category_id": "<string>",
"category_path": [
"<string>"
]
}
]
}Fetch Naver Shopping’s trending keyword ranking for a category — the keywords shoppers are searching most, each with its rank, a sub-title, tags, a rise/fall status and the rank movement versus the previous period.
Credits: 5
category_id is required and must be a real Naver Shopping category id — ALL returns an empty ranking. Take an id from /shopping/categories.Authorization
string
required
Your ScrapeBadger API key.
Query Parameters
string
required
Category to rank within. A real category id —
ALL returns empty.string
default:"ALL"
Age bracket to rank for.
string
default:"KEYWORD_POPULAR"
The metric the ranking is sorted by.
string
default:"WEEKLY"
DAILY or WEEKLY.Response
string
Echo of the requested category.
string
string
string
integer
Keyword[]
Example
curl "https://scrapebadger.com/v1/naver/shopping/keywords?category_id=50000000&period_type=WEEKLY" \
-H "X-API-Key: YOUR_API_KEY"
const res = await fetch(
"https://scrapebadger.com/v1/naver/shopping/keywords?" +
new URLSearchParams({"category_id": "50000000", "period_type": "WEEKLY"}),
{ 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/keywords",
headers={"X-API-Key": "YOUR_API_KEY"},
params={"category_id": "50000000", "period_type": "WEEKLY"},
)
data = res.json()
Response
{
"category_id": "50000000",
"age_type": "ALL",
"sort_type": "KEYWORD_POPULAR",
"period_type": "WEEKLY",
"result_count": 100,
"keywords": [
{
"rank": 1,
"keyword": "여름 원피스",
"sub_title": "",
"tags": [
"여성의류"
],
"status": "RISE",
"rank_fluctuation": 3,
"category_id": "50000167",
"category_path": [
"패션의류",
"여성의류",
"원피스"
]
}
]
}
Errors
| Status | Meaning |
|---|---|
422 | Naver served a challenge instead of content — not billed. Retry; it succeeds. |
502 | Unexpected upstream failure — not billed. |

