# Just Eat Takeaway Allergens API Documentation

<p><strong>Just Eat Takeaway Allergens API Documentation</strong> Get the product information of one menu item: allergens with level and type, additives, ingredients, nutrition table, Nutri-Score, brand and GTIN. The upstream fills these fields only where the restaurant published them, mostly grocery partners. When nothing is published, allergens_provided is false and the lists are empty; the call still costs 1 credit, because the upstream answered. Take the restaurant id from the restaurants endpoint and the product id from the id of a menu item. Cost: 1 credit per successful request.</p>

- **Documentation:** [https://scrappa.co/docs/justeat-api/justeat_allergens](https://scrappa.co/docs/justeat-api/justeat_allergens)
- **API group:** Just Eat Takeaway API
- **Endpoint:** `GET https://scrappa.co/api/justeat/allergens`

## 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 |
| --- | --- | --- | --- |
| `country` | string | Yes | Country code: de, nl, it, be, at, ch, es, pl or uk. |
| `restaurant_id` | string | Yes | Restaurant id from the restaurants endpoint, for example 10614123. |
| `product_id` | string | Yes | Item id from the menu endpoint. |

## Example response

```json
{
    "data": {
        "gtin": null,
        "brand": null,
        "country": "de",
        "servings": 1,
        "additives": [],
        "allergens": [],
        "nutrition": null,
        "legal_name": null,
        "product_id": "503880c5-0941-44e5-9206-a145a217f032",
        "ingredients": null,
        "nutri_score": null,
        "restaurant_id": "10614123",
        "additives_provided": false,
        "allergens_provided": false,
        "additional_information": null
    },
    "meta": {
        "credits": 1,
        "billable": true,
        "endpoint_family": "justeat_allergens"
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A required parameter or a value is invalid. This response is not billable. |
| 404 | Not Found | No such restaurant, product or page exists. Use the ids and slugs from the restaurants endpoint. This response is not billable. |
| 503 | Service Unavailable | Just Eat Takeaway could not be reached or is busy. Retry in a few seconds. This response is not billable. |
| 502 | Bad Gateway | Just Eat Takeaway answered in a form this API does not know. This response is 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)
