# Gmarket Product API Documentation

<p><strong>Gmarket Product API Documentation</strong> 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.</p>

- **Documentation:** [https://scrappa.co/docs/gmarket-api/gmarket_product](https://scrappa.co/docs/gmarket-api/gmarket_product)
- **API group:** Gmarket API
- **Endpoint:** `GET https://scrappa.co/api/gmarket/product`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string | No | Numeric GoodsCode from a search result, for example 464146218. Send id or url. |
| `url` | string | No | Gmarket product url with a goodscode query. Send id or url. |

## Example response

```json
{
    "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

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | No valid id or url was sent. This response is not billable. |
| 404 | Not Found | Gmarket has no product with this id. This response is not billable. |
| 503 | Upstream Unavailable | Gmarket did not answer after the internal retries. This response is not billable. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
