# Jumia Product Search API Documentation

Search the Jumia catalog by keyword with country, category, sort, price, discount, brand and page filters. Each product has a SKU, name, brand, local price with original and sale price, computed discount, rating, review count, seller id, availability, badges, categories and a full-size image. Ids feed the product endpoint unchanged. Sort, price and brand filters apply to the products of the requested page. price_discount is applied by Jumia. total counts the products on this page. Failed requests (403, 422, 503, schema drift) are never billed. Search and category cost 9 credits, detail costs 3 credits.

- **Documentation:** [https://scrappa.co/docs/jumia-api/jumia_search](https://scrappa.co/docs/jumia-api/jumia_search)
- **API group:** Jumia API
- **Endpoint:** `GET https://scrappa.co/api/jumia/search`

## 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 |
| --- | --- | --- | --- |
| `query` | string | Yes | Search keywords. |
| `country` | string | No | Market: ng (Nigeria). Default: ng. |
| `category` | string | No | Category slug from a Jumia category page. |
| `sort` | string | No | popularity, price_asc, price_desc or rating. Applies to the products of the requested page only. |
| `price_min` | number | No | Lowest price in local currency. Applies to this page only. |
| `price_max` | number | No | Highest price in local currency. Applies to this page only. |
| `price_discount` | number | No | Discount percent, 0 to 100. Applied by Jumia. |
| `brand` | string | No | One brand or a comma-separated list. Applies to this page only. |
| `page` | integer | No | Result page, 1 to 50. Default: 1. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/jumia/search?query=iphone&country=ng&page=1"
```

## Example response

```json
{
    "success": true,
    "data": {
        "query": "iphone",
        "country": "ng",
        "currency": "NGN",
        "page": 1,
        "products": [
            {
                "position": 1,
                "sku": "1234567890",
                "id": "apple-iphone-13-6.1-128gb-rom-4gb-ram-3240mah-pink-271248585.html",
                "name": "Apple iPhone 15 128 GB",
                "display_name": "Apple iPhone 15 128 GB",
                "brand": "Apple",
                "price": 850000,
                "original_price": 950000,
                "sale_price": 850000,
                "discount": 10.53,
                "currency": "NGN",
                "rating": 4.5,
                "review_count": 212,
                "seller_id": "seller-1",
                "availability": "in_stock",
                "image": "https://cdn.jumia.com.ng/img/1234567890.jpg",
                "url": "https://www.jumia.com.ng/apple-iphone-13-6.1-128gb-rom-4gb-ram-3240mah-pink-271248585.html",
                "badges": [],
                "categories": []
            }
        ],
        "total": 40
    },
    "meta": {
        "endpoint_family": "search",
        "billable": true,
        "credits": 9
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A query, country or page is invalid. Not billable. |
| 503 | Upstream Unavailable | Jumia did not return a usable JSON answer. 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)
