# Kelkoo Product Batch API Documentation

`GET /api/kelkoo/batch` Looks up a comma-separated list of product ids in one public request. Ids are passed unchanged. Invalid or missing ids give 422.

## Credits

A successful request costs **1 credit**. Errors, challenges and empty results cost nothing. The response shows the charge in `meta.credits_charged`. Clients are never rate limited.

- **Documentation:** [https://scrappa.co/docs/kelkoo-api/kelkoo_batch](https://scrappa.co/docs/kelkoo-api/kelkoo_batch)
- **API group:** Kelkoo API
- **Endpoint:** `GET https://scrappa.co/api/kelkoo/batch`

## 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 |
| --- | --- | --- | --- |
| `ids` | string | Yes | Comma-separated product ids, up to 20. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/kelkoo/batch?ids=00195949821967%2C00195949821968"
```

## Example response

```json
{
    "success": true,
    "products": [],
    "requested_ids": [
        "00195949821967",
        "00195949821968"
    ],
    "meta": {
        "endpoint_family": "kelkoo-batch",
        "billable": true,
        "attempts": 1,
        "credits_charged": 1
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 404 | Not Found | The source has no record for that id. Non-billable. |
| 422 | Validation Error | A parameter is missing, unknown, conflicting or invalid. Unknown parameters are rejected. Non-billable. |
| 503 | Source Unavailable | The source could not be reached or changed its response shape. Retryable and never billed. Clients are never rate limited. |

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