Skip to content
Scrappa Get API key
Gmarket API 1 credit / request

Gmarket Search API Documentation

GET https://scrappa.co/api/gmarket/search

Gmarket Search API Documentation Search products on Gmarket, one of South Korea's largest marketplaces. Return up to 60 products per page with the title, the sale price and original price as numbers in KRW, the discount in percent, a full size image, the product url, the seller and delivery flags. Filter by a price range, sort by relevance or ascending price, and select overseas delivery or the Big Smile badge. Every returned product matches the price filter you send. An item whose price is shown as free has a null price and a price_is_free flag, never zero. Rating and review count are not part of search results; read them from the product endpoint. Each result carries a GoodsCode that the product endpoint accepts unchanged. Cost: 1 credit per request. Empty results and failed requests are not billed.

Gmarket Search API Documentation 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/gmarket/search
Auth header
x-api-key
Cost
1 credit / request
query = coffee shops
Response preview
200 OK
{
    "data": {
        "items": [
            {
                "id": "464146218",
                "image": "https://gdimg.gmarket.co.kr/464146218/still/280?ver=0",
                "price": 19800,
                "title": "Lotus Peeling Gel Exfoliator SEBUM",
                "images": [
                    "https://gdimg.gmarket.co.kr/464146218/still/280?ver=0"
                ],
                "l_code": null,
                "m_code": null,
                "s_code": null,
...

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

1 required parameter needed before sending a request.

6 optional filters available.

query string Required

Search keyword, for example 노트북. Required.

Example value coffee shops
min_price integer Optional

Lowest price in KRW. Every returned product costs at least this much.

Example value 10
max_price integer Optional

Highest price in KRW. Every returned product costs at most this much.

Example value 10
sort string Optional

relevance (default) or price_asc.

Example value relevance
page integer Optional

Page number from 1. Each page has up to 60 products.

Example value 1
oversea boolean Optional

true to return only overseas-delivered products.

Example value true
big_smile boolean Optional

true for products with the Big Smile delivery badge.

Example value true

Response Schema

Example response fields are illustrative; inspect the JSON before integrating.

Example response fields

Scan these fields before integrating.

data meta success
JSON Response
200 OK
{
    "data": {
        "items": [
            {
                "id": "464146218",
                "image": "https://gdimg.gmarket.co.kr/464146218/still/280?ver=0",
                "price": 19800,
                "title": "Lotus Peeling Gel Exfoliator SEBUM",
                "images": [
                    "https://gdimg.gmarket.co.kr/464146218/still/280?ver=0"
                ],
                "l_code": null,
                "m_code": null,
                "s_code": null,
                "seller": "Lotus",
                "oversea": false,
                "currency": "KRW",
                "discount": 2,
                "big_smile": false,
                "sponsored": false,
                "seller_url": null,
                "product_url": "https://mg.gmarket.co.kr/Item?goodscode=464146218",
                "free_shipping": false,
                "price_is_free": false,
                "original_price": 20300,
                "ad_coupon_price": null
            }
        ],
        "filters": {
            "page": 1,
            "query": "\ub178\ud2b8\ubd81"
        },
        "currency": "KRW",
        "pagination": {
            "page": 1,
            "has_next": true,
            "page_size": 60
        }
    },
    "meta": {
        "credits": 1,
        "billable": true,
        "endpoint_family": "search"
    },
    "success": true
}

Errors

Handle these documented responses before retrying or showing customer-facing failures.

422

Validation Error

A query parameter is missing or invalid. This response is not billable.

{
    "errors": {
        "query": [
            "The query field is required."
        ]
    },
    "message": "The request validation failed"
}
503

Upstream Unavailable

Gmarket did not answer after the internal retries. This response is not billable.

{
    "meta": {
        "billable": false,
        "retryable": true,
        "endpoint_family": "search"
    },
    "error": {
        "code": "UPSTREAM_UNAVAILABLE",
        "message": "Gmarket is temporarily unavailable. Please retry. This request was not charged."
    },
    "success": false
}

Generate Code with AI

Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.

Try It Live

Test this endpoint in our interactive playground with real data.