# Blinkit Search API Documentation

<p><strong>Blinkit Search API</strong> returns quick-commerce products for a query and latitude and longitude. Each item has an id accepted by the product route, name, brand, pack, INR price, MRP, discount, availability and a full-size image.</p><p>Pagination uses a real page number and echoes the requested location. Costs 1 credit per successful page with results. Failed requests are free.</p>

- **Documentation:** [https://scrappa.co/docs/blinkit-api/blinkit_search](https://scrappa.co/docs/blinkit-api/blinkit_search)
- **API group:** Blinkit API
- **Endpoint:** `GET https://scrappa.co/api/blinkit/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 text |
| `lat` | number | Yes | Decimal latitude |
| `lon` | number | Yes | Decimal longitude |
| `page` | integer | No | Page number from 1 |

## Example response

```json
{
    "data": {
        "page": 1,
        "count": 1,
        "items": [
            {
                "id": "12345",
                "name": "Fresh Milk",
                "price": 68,
                "currency": "INR",
                "position": 1,
                "availability": "in_stock",
                "regular_price": 75
            }
        ],
        "query": "milk",
        "location": {
            "latitude": "28.6139",
            "longitude": "77.2090"
        },
        "has_next_page": false
    },
    "meta": {
        "credits": 1,
        "billable": true,
        "endpoint_family": "search"
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 503 | Upstream unavailable | Blinkit could not be reached. Not billed. |

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