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

Gmarket Product API Documentation

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

Gmarket Product API Documentation Get one product from Gmarket, one of South Korea's largest marketplaces. Send the numeric GoodsCode from a search result, or a product url that contains it. The response has the title, the price as a number in KRW, the discount in percent, the rating score and the review count as numbers, the seller and full size image urls. Prices are numbers in KRW. Product options and variants are hydrated by JavaScript and are not available; they are returned as null. Shipping and specification tables are not available and are also null. An unknown id answers 404. Cost: 1 credit per request. Failed requests are not billed.

Gmarket Product API Documentation 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/gmarket/product
Auth header
x-api-key
Cost
1 credit / request
Response preview
200 OK
{
    "data": {
        "item": {
            "id": "464146218",
            "image": "https://gdimg.gmarket.co.kr/464146218/still/600",
            "price": 19800,
            "specs": null,
            "title": "Lotus Peeling Gel Exfoliator SEBUM",
            "images": [
                "https://gdimg.gmarket.co.kr/464146218/still/600"
            ],
            "rating": {
                "count": 128,
                "score": 4.5
...

Parameters

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

Runnable path

This endpoint has no required query parameters.

2 optional filters available.

id string Optional

Numeric GoodsCode from a search result, for example 464146218. Send id or url.

Example value 1234567890
url string Optional
Open example

Gmarket product url with a goodscode query. Send id or url.

Example value https://example.com/product

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": {
        "item": {
            "id": "464146218",
            "image": "https://gdimg.gmarket.co.kr/464146218/still/600",
            "price": 19800,
            "specs": null,
            "title": "Lotus Peeling Gel Exfoliator SEBUM",
            "images": [
                "https://gdimg.gmarket.co.kr/464146218/still/600"
            ],
            "rating": {
                "count": 128,
                "score": 4.5
            },
            "seller": "Lotus",
            "options": null,
            "currency": "KRW",
            "discount": 2,
            "shipping": null,
            "product_url": "https://mg.gmarket.co.kr/Item?goodscode=464146218",
            "review_count": 128,
            "price_display": "\u20a919,800",
            "original_price": null
        }
    },
    "meta": {
        "credits": 1,
        "billable": true,
        "endpoint_family": "product"
    },
    "success": true
}

Errors

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

422

Validation Error

No valid id or url was sent. This response is not billable.

{
    "errors": {
        "id": [
            "Send a numeric GoodsCode from a search result, or a Gmarket product url."
        ]
    },
    "message": "The request validation failed"
}
404

Not Found

Gmarket has no product with this id. This response is not billable.

{
    "meta": {
        "billable": false,
        "retryable": false,
        "endpoint_family": "product"
    },
    "error": {
        "code": "NOT_FOUND",
        "message": "Gmarket has no product with this id. Send the id from a search result."
    },
    "success": false
}
503

Upstream Unavailable

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

{
    "meta": {
        "billable": false,
        "retryable": true,
        "endpoint_family": "product"
    },
    "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.