# Ceneo Product Batch API Documentation

`GET /api/ceneo/ceneo.products` accepts comma-separated ids from search results and returns price, brand, image, rating, offer count and badges as structured JSON. Prices are numbers in PLN. A dead id is returned as an empty list; an empty or challenged lookup costs nothing.

## Credits

A successful request costs **1 credits**. 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/ceneo-api/ceneo_products](https://scrappa.co/docs/ceneo-api/ceneo_products)
- **API group:** Ceneo API
- **Endpoint:** `GET https://scrappa.co/api/ceneo/products`

## 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 40. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/ceneo/products?ids=199941331%2C199519073"
```

## Example response

```json
{
    "success": true,
    "currency": "PLN",
    "items": [
        {
            "id": 199941331,
            "name": "Example",
            "price": 1234.5,
            "currency": "PLN"
        }
    ],
    "meta": {
        "endpoint_family": "ceneo-product-batch-json",
        "billable": true,
        "attempts": 1,
        "credits_charged": 1
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 404 | Not Found | The public page has no product with that id (`not_found`). Non-billable. |
| 422 | Parameter Not Available Yet | Ceneo page numbers above one return 422 (`unsupported_page`) instead of relabelling page one. Non-billable. |
| 422 | Validation Error | A query parameter is missing, unknown, conflicting or unusable. Unknown parameters are rejected, never ignored. Non-billable. |
| 503 | Upstream Unavailable | The source could not be reached, answered with a challenge, or changed its page shape (`upstream_blocked`, `upstream_unavailable`, `parser_drift`). 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)
