---
title: "Gmarket API: Korean product search as JSON | Perceptlayer"
description: "Gmarket API for Korean product search with prices, discounts and category codes, and product details with review counts, as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/gmarket
---

[APIs](https://perceptlayer.com/apis) / [Marketplaces](https://perceptlayer.com/verticals/marketplaces) / Gmarket

1 credit per call 2 endpoints 18 datapoints 

# Gmarket API

Gmarket API for Korean product search with prices, discounts and category codes, and product details with review counts, as JSON. 1 credit per successful call.

[Get a free API key](https://perceptlayer.com/signup) Run it below

Gmarket

GET /v1/gmarket/search?query=%EB%85%B8%ED%8A%B8%EB%B6%81&sort=relevance&page=1 

```
{
  "success": true,
  "data": {
    "items": [
      {
        "id": "222284700",
        "title": "Bookrest/Laptop/Pad/Holders/Music Stand/Graduate/Enroll/Group",
        "price": 21000,
        "price_is_free": false,
        "original_price": 23450,
        "discount": 10,
        "currency": "KRW",
        "image": "https://gdimg.gmarket.co.kr/222284700/still/280?ver=0",
        "images": [
          "https://gdimg.gmarket.co.kr/222284700/still/280?ver=0",
          "https://gdimg.gmarket.co.kr/goods_image2/shop_img/222/284/222284700.jpg",
          "https://gdimg.gmarket.co.kr/goods_image2/middle_moreimg/222/284/222284700/222284700_00.jpg"
        ],
        "product_url": "https://mg.gmarket.co.kr/Item?goodscode=222284700",
        "seller_url": "yosoyoso",
        "free_shipping": false,
        "big_smile": false,
        "oversea": true,
        "sponsored": false,
        "l_code": "100000045",
        "m_code": "200000881",
        "s_code": "300008425"
      },
      {
        "id": "1592375993",
        "title": "360 shield canvas laptop pouch MacBook bag 13 14 15.6",
        "price": 28900,
        "price_is_free": false,
        "original_price": 28900,
        "discount": 0,
        "currency": "KRW",
        "image": "https://gdimg.gmarket.co.kr/1592375993/still/280?ver=0",
        "images": [
          "https://gdimg.gmarket.co.kr/1592375993/still/280?ver=0",
          "https://gdimg.gmarket.co.kr/goods_image2/shop_img/159/237/1592375993.jpg",
          "https://gdimg.gmarket.co.kr/goods_image2/middle_moreimg/159/237/1592375993/1592375993_00.jpg"
        ],
        "product_url": "https://mg.gmarket.co.kr/Item?goodscode=1592375993",
        "seller_url": "nitrocorp",
        "free_shipping": false,
        "big_smile": false,
        "oversea": true,
        "sponsored": false,
        "l_code": "100000002",
        "m_code": "200001091",
        "s_code": "300028497"
      },
      {
        "id": "1354251698",
        "title": "노트북 서랍 테이블 침대 책상 베드 트레이 1인용",
        "price": 20610,
        "price_is_free": false,
        "original_price": 52830,
        "discount": 60,
        "currency": "KRW",
        "image": "https://gdimg.gmarket.co.kr/1354251698/still/280?ver=0",
        "images": [
          "https://gdimg.gmarket.co.kr/1354251698/still/280?ver=0",
          "https://gdimg.gmarket.co.kr/goods_image2/shop_img/135/425/1354251698.jpg",
          "https://gdimg.gmarket.co.kr/goods_image2/middle_moreimg/135/425/1354251698/1354251698_00.jpg"
        ],
        "product_url": "https://mg.gmarket.co.kr/Item?goodscode=1354251698",
        "seller_url": "choiko",
        "free_shipping": false,
        "big_smile": false,
        "oversea": false,
        "sponsored": false,
        "l_code": "100000031",
        "m_code": "200000424",
        "s_code": "300026943"
      }
    ],
    "pagination": {
      "page": 1,
      "page_size": 60,
      "has_next": true
    },
    "currency": "KRW",
    "filters": {
      "query": "노트북",
      "sort": "relevance",
      "page": 1
    }
  },
  "meta": {
    "endpoint_family": "search",
    "request_id": "req_ec339640e7d64a459149914c39f79bc5",
    "credits_charged": 1,
    "credits_remaining": 996
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded from our API and shortened.

Sample data

## What one call returns

A recorded run of `search`: the fields and shapes you will get, shortened to 3 items.

| # | id string | title string | price integer | price\_is\_free boolean | original\_price integer | discount integer | currency string | image url | images string\[\] | product\_url url | seller\_url string | free\_shipping boolean | big\_smile boolean | oversea boolean | sponsored boolean | l\_code string | m\_code string | s\_code string |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| 1 | 222284700 | Bookrest/Laptop/Pad/Holders/Music Stand/Graduate/Enroll/Group | 21000 | false | 23450 | 10 | KRW | https://gdimg.gmarket.co.kr/222284700/still/280?ver=0 | \[3 items\] | https://mg.gmarket.co.kr/Item?goodscode=222284700 | yosoyoso | false | false | true | false | 100000045 | 200000881 | 300008425 |
| 2 | 1592375993 | 360 shield canvas laptop pouch MacBook bag 13 14 15.6 | 28900 | false | 28900 | 0 | KRW | https://gdimg.gmarket.co.kr/1592375993/still/280?ver=0 | \[3 items\] | https://mg.gmarket.co.kr/Item?goodscode=1592375993 | nitrocorp | false | false | true | false | 100000002 | 200001091 | 300028497 |
| 3 | 1354251698 | 노트북 서랍 테이블 침대 책상 베드 트레이 1인용 | 20610 | false | 52830 | 60 | KRW | https://gdimg.gmarket.co.kr/1354251698/still/280?ver=0 | \[3 items\] | https://mg.gmarket.co.kr/Item?goodscode=1354251698 | choiko | false | false | false | false | 100000031 | 200000424 | 300026943 |

Recorded from our API · 3 items shown · 18 datapoints per item GET /v1/gmarket/search?query=%EB%85%B8%ED%8A%B8%EB%B6%81&sort=relevance&page=1

18 datapoints

### Identity

-   id string
-   title string

### Contact

-   product\_url url
-   seller\_url string

### Reputation

-   image url
-   images string\[\]

### Price

-   price integer
-   price\_is\_free boolean
-   original\_price integer
-   discount integer
-   currency string

### Other

-   free\_shipping boolean
-   big\_smile boolean
-   oversea boolean
-   sponsored boolean
-   l\_code string
-   m\_code string
-   s\_code string

Playground

## Run this API

cURL shell 

```
curl "https://api.perceptlayer.com/v1/gmarket/search?query=%EB%85%B8%ED%8A%B8%EB%B6%81&sort=relevance&page=1" \
  -H "X-API-Key: $API_KEY"
```

Gmarket · 2 endpoints

## Endpoints

Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.

| Endpoint | Required parameters | Returns | Cost |
| --- | --- | --- | --- |
| [GET `/v1/gmarket/product`](https://perceptlayer.com/apis/gmarket/product) | none +2 optional | `item` | 1 credit |
| [GET `/v1/gmarket/search`](https://perceptlayer.com/apis/gmarket/search) | `query` +6 optional | `items` `pagination` `currency` | 1 credit |

Overview

## About the Gmarket API

## What you can get

The Gmarket API returns Gmarket products from South Korea as JSON through 2 endpoints.

-   **Search:** `search` takes a `query`, with `min_price`, `max_price`, `sort` ( `relevance` or `price_asc`), `page`, `oversea` and `big_smile`.
-   **Product:** `product` takes an `id` or a product `url`.

The recorded search for "노트북" (laptop), sorted by `relevance`, returns `items`, `pagination` and `currency`. Each item has `id`, `title`, `price`, `price_is_free`, `original_price`, `discount`, `currency`, `image`, `images`, `product_url`, `free_shipping`, `big_smile`, `oversea`, `sponsored` and the category codes `l_code`, `m_code` and `s_code`. The first item is a laptop and book stand at a `price` of 21000 KRW, down from 23450, with a `discount` of 10. `pagination` reports a `page_size` of 60 and `has_next`.

## How a call works

Search, then read the product: `GET /v1/gmarket/search?query=노트북&sort=relevance&page=1`, with your key in the `X-API-Key` header, returns each item's `id`. Pass that to `product`, for example `GET /v1/gmarket/product?id=222284700`, which returned an `item` with `title`, `price`, `price_display`, `discount`, `currency`, `review_count` (112), `images` and `product_url`. Check `has_next` in `pagination` before asking for the next `page`. Every successful call costs 1 credit; failed calls cost nothing.

Marketplaces JSON REST MCP

### More marketplaces APIs

[About You](https://perceptlayer.com/apis/about-you) [adidas](https://perceptlayer.com/apis/adidas) [Albert Heijn](https://perceptlayer.com/apis/albert-heijn) [ALDI SÜD](https://perceptlayer.com/apis/aldi-sued) [Alibaba](https://perceptlayer.com/apis/alibaba) [AliExpress](https://perceptlayer.com/apis/aliexpress) [Allegro](https://perceptlayer.com/apis/allegro) [ALTERNATE](https://perceptlayer.com/apis/alternate) [Alza](https://perceptlayer.com/apis/alza) [Amazon](https://perceptlayer.com/apis/amazon) [Americanas](https://perceptlayer.com/apis/americanas) [Aponeo](https://perceptlayer.com/apis/aponeo)

Use cases

### Track prices and discounts for products sold on Gmarket

`Use the Gmarket API to track prices and discounts for products sold on Gmarket` 

### Find the cheapest listings for a query with \`sort=price\_asc\`

`` Use the Gmarket API to find the cheapest listings for a query with `sort=price_asc` `` 

### Filter search results to a price band with \`min\_price\` and \`max\_price\`

`` Use the Gmarket API to filter search results to a price band with `min_price` and `max_price` `` 

### Separate \`sponsored\` items from the rest of a results page

`` Use the Gmarket API to separate `sponsored` items from the rest of a results page `` 

FAQ

## Questions

**How much does the Gmarket API cost?**

Each successful call costs one credit, whichever endpoint you call, and each search page is one call. New accounts get free credits to start, and credit packs bring the price down as you scale.

**Which currency are prices in?**

Prices come back in Korean won, with \`currency\` set to \`KRW\`.

**Can I search in Korean?**

Yes. The recorded search used the Korean \`query\` "노트북" (laptop).

**What format are responses in?**

Every endpoint returns JSON, with no HTML parsing on your side.

**Is this the official Gmarket API?**

No. Perceptlayer is an independent service and is not affiliated with Gmarket. It returns Gmarket data as JSON with a Perceptlayer key, so there is no Gmarket developer account, app review or partner approval to get first. It only reads data: if Gmarket has an official API and you need to act on your own Gmarket account, such as posting, managing orders or reading private data, use that one.

**Should I build a Gmarket scraper instead?**

You can, but a Gmarket scraper is code you maintain: page changes break it, requests get blocked, and Gmarket's terms govern how you collect data. The Gmarket API gives you 2 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.

## Try the Gmarket API with 100 free credits

No credit card. Failed calls are never billed.

[Get a free API key](https://perceptlayer.com/signup) [Read the docs](https://docs.perceptlayer.com)
