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

Blibli Search API Documentation

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

Blibli Search API searches products on Blibli in Indonesia. Each item has the price, original price and discount as IDR numbers, the rating, review count, merchant, shop id, shop location and a full image url. The shop id feeds the Shop API unchanged.

Filter by price range, minimum rating, location and sort. Every item in the answer follows the filters you send. There are 40 results per page and page N returns the real page N.

The product id, base sku and merchant code feed the other routes unchanged. Costs 1 credit per successful request. Empty results and failed requests are free.

Blibli Search API Documentation 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/blibli/search
Auth header
x-api-key
Cost
1 credit / request
query = coffee shops
Response preview
200 OK
{
    "data": {
        "query": "sepatu lari",
        "filters": [],
        "results": [
            {
                "url": "https://www.blibli.com/p/sepatu-lari",
                "shop": {
                    "id": "APF-70017",
                    "code": "APF-70017",
                    "name": "Olahraga Store",
                    "location": "Jakarta",
                    "is_official": true
                },
...

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 text, 1 to 120 characters, for example sepatu lari.

Example value coffee shops
page integer Optional

One-based page number, 40 results per page (default 1).

Example value 1
sort string Optional

One of relevance, price_asc, price_desc, rating.

Example value relevance
min_price number Optional

Lowest price in IDR.

Example value 10
max_price number Optional

Highest price in IDR.

Example value 10
min_rating number Optional

Lowest item rating, 0 to 5.

Example value 10
location string Optional

Location text to match.

Example value Austin, Texas

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": {
        "query": "sepatu lari",
        "filters": [],
        "results": [
            {
                "url": "https://www.blibli.com/p/sepatu-lari",
                "shop": {
                    "id": "APF-70017",
                    "code": "APF-70017",
                    "name": "Olahraga Store",
                    "location": "Jakarta",
                    "is_official": true
                },
                "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
            }
        ],
        "currency": "IDR",
        "pagination": {
            "page": 1,
            "has_next": true,
            "per_page": 40,
            "total_results": 17799
        }
    },
    "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 required parameter or a value is invalid. This response is not billable.

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

Upstream Unavailable

The source could not be reached. This response is not billable. Retry shortly.

{
    "meta": {
        "credits": 0,
        "billable": false,
        "retryable": true,
        "endpoint_family": "search"
    },
    "error": {
        "code": "UPSTREAM_UNAVAILABLE",
        "message": "A search text is required."
    },
    "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.