# Blibli Shop API Documentation

<p><strong>Blibli Shop API</strong> returns a merchant profile and up to 40 products per page. Send the merchant code from search unchanged.</p><p>Prices are IDR numbers. Page N returns the real page N.</p><p>Costs 1 credit per successful request. Empty results and failed requests are free.</p>

- **Documentation:** [https://scrappa.co/docs/blibli-api/blibli_shop](https://scrappa.co/docs/blibli-api/blibli_shop)
- **API group:** Blibli API
- **Endpoint:** `GET https://scrappa.co/api/blibli/shop`

## 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 |
| --- | --- | --- | --- |
| `code` | string | Yes | Merchant code from search, for example APF-70017. |
| `page` | integer | No | One-based page number (default 1). |

## Example response

```json
{
    "data": {
        "shop": {
            "name": "Olahraga Store",
            "shop_id": "APF-70017",
            "location": "Jakarta",
            "is_official": true
        },
        "results": [
            {
                "url": "https://www.blibli.com/p/sepatu-lari",
                "image": "https://static.blibli.com/abc.jpg",
                "price": 250000,
                "title": "Sepatu Lari Pria",
                "rating": 4.7,
                "base_sku": "MIS-60145",
                "currency": "IDR",
                "item_sku": "MIS-60145-02191",
                "location": "Jakarta",
                "merchant": {
                    "code": "APF-70017",
                    "name": "Olahraga Store",
                    "is_official": true
                },
                "product_id": "MIS-60145-02191",
                "sold_count": null,
                "formatted_id": "ps--MIS-60145-02191",
                "review_count": 88,
                "original_price": 350000,
                "discount_percent": 28.6
            }
        ],
        "pagination": {
            "page": 1,
            "has_next": true,
            "per_page": 40
        }
    },
    "meta": {
        "credits": 1,
        "billable": true,
        "endpoint_family": "shop"
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A required parameter or a value is invalid. This response is not billable. |
| 503 | Upstream Unavailable | The source could not be reached. This response is not billable. Retry shortly. |

## 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)
