Image Search
curl --request GET \
--url https://scrapebadger.com/v1/naver/image \
--header 'X-API-Key: <x-api-key>'import requests
url = "https://scrapebadger.com/v1/naver/image"
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/image', 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/image",
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/image"
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/image")
.header("X-API-Key", "<x-api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://scrapebadger.com/v1/naver/image")
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>",
"page": 123,
"result_count": 123,
"results": [
{
"position": 123,
"img_id": "<string>",
"title": "<string>",
"url": "<string>",
"source": "<string>",
"thumbnail_url": "<string>",
"original_url": "<string>",
"width": 123,
"height": 123,
"published": "<string>",
"published_at": "<string>"
}
]
}Search
Image Search
Search the Naver image vertical — 100 images per page with thumbnail, full-resolution URL, dimensions and source.
GET
/
v1
/
naver
/
image
Image Search
curl --request GET \
--url https://scrapebadger.com/v1/naver/image \
--header 'X-API-Key: <x-api-key>'import requests
url = "https://scrapebadger.com/v1/naver/image"
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/image', 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/image",
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/image"
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/image")
.header("X-API-Key", "<x-api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://scrapebadger.com/v1/naver/image")
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>",
"page": 123,
"result_count": 123,
"results": [
{
"position": 123,
"img_id": "<string>",
"title": "<string>",
"url": "<string>",
"source": "<string>",
"thumbnail_url": "<string>",
"original_url": "<string>",
"width": 123,
"height": 123,
"published": "<string>",
"published_at": "<string>"
}
]
}Search the Naver image vertical. Backed by Naver’s image JSON API, it returns up to 100 images per page, each with its thumbnail and full-resolution URLs, dimensions, title and source site.
Credits: 5
Authorization
string
required
Your ScrapeBadger API key.
Query Parameters
string
required
Search keywords.
integer
default:"1"
1-based result page. Each page returns up to 100 images.
Response
string
integer
integer
ImageResult[]
Example
curl "https://scrapebadger.com/v1/naver/image?query=한라산+설경&page=1" \
-H "X-API-Key: YOUR_API_KEY"
const res = await fetch(
"https://scrapebadger.com/v1/naver/image?" +
new URLSearchParams({"query": "한라산 설경", "page": "1"}),
{ headers: { "X-API-Key": process.env.SCRAPEBADGER_API_KEY } },
);
const data = await res.json();
import requests
res = requests.get(
"https://scrapebadger.com/v1/naver/image",
headers={"X-API-Key": "YOUR_API_KEY"},
params={"query": "한라산 설경", "page": "1"},
)
data = res.json()
Response
{
"query": "한라산 설경",
"page": 1,
"result_count": 100,
"results": [
{
"position": 1,
"img_id": "blog_12345",
"title": "한라산 겨울 설경",
"url": "https://blog.example.com/hallasan",
"source": "제주여행블로그",
"thumbnail_url": "https://search-phinf.example.net/thumb/12345.jpg",
"original_url": "https://blogfiles.example.net/hallasan_full.jpg",
"width": 1920,
"height": 1280
}
]
}
Errors
| Status | Meaning |
|---|---|
422 | Naver served a challenge instead of content — not billed. Retry; it succeeds. |
502 | Unexpected upstream failure — not billed. |

