# HALOWERK EU Commerce Rules – Toy Safety Directive

> HALOWERK EU Commerce Rules – Toy Safety Directive is a paid API for AI agents from commerce-rules.halowerk.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-11-23).

Determines EU toy safety directive applicability and required actions based on declared commerce facts, effective date, and product details.

## Facts

- Endpoint: POST https://commerce-rules.halowerk.com/v1/eu/toy-safety?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/halowerk-eu-commerce-rules-toy-safety-directive-6982af40
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RNdcaR9bwg00Tt1k3omof

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability halowerk-eu-commerce-rules-toy-safety-directive-6982af40 -d '<json body>'
```

Example prompt: Can you check whether the EU toy safety directive applies to my electrical toy for child consumers being sold through my own shop in Germany, with a product value of €25, evaluated as of today 2025-07-15? The toy is imported from outside the EU and contains a battery.

## When to prefer this

Use this endpoint when you need a structured, source-cited determination of EU Toy Safety Directive applicability for a specific product and transaction context, rather than a general compliance overview. Prefer it over generic legal lookup when you need actionable required steps, exceptions, and review triggers tied to declared commerce facts and a specific effective date. It is especially suited for automated compliance pipelines, e-commerce checkout flows, and regulatory pre-screening for toy category products sold in EU member states.

## Known failure modes

- Invalid or missing effective_date format (must be YYYY-MM-DD)
- Unsupported seller_country or customer_country outside EU member state enum
- product_category too short or too long (must be 2–120 chars)
- Ambiguous product_value_eur outside allowed range (0–100,000,000)
- Conflicting flags causing indeterminate applicability outcome
- Missing required fields causing 400 validation error

## How this service works

Determine toy safety directive applicability from declared commerce facts, the effective date and the cited primary EU source. The response identifies applicability, exceptions, required actions, effective law and review triggers rather than claiming blanket compliance.

## Output

A structured response identifying whether the EU Toy Safety Directive applies to the described commerce scenario, any applicable exceptions, the required compliance actions, the effective EU law citation, and the conditions or triggers that would prompt a compliance review.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "flags": {
   "type": "object",
   "default": {},
   "maxProperties": 100,
   "additionalProperties": {
    "type": "boolean"
   }
  },
  "is_platform": {
   "type": "boolean",
   "default": false
  },
  "customer_type": {
   "enum": [
    "consumer",
    "business",
    "unknown"
   ],
   "type": "string",
   "default": "consumer"
  },
  "is_electrical": {
   "type": "boolean",
   "default": false
  },
  "sales_channel": {
   "enum": [
    "own_shop",
    "marketplace",
    "social_commerce",
    "other"
   ],
   "type": "string",
   "default": "own_shop"
  },
  "effective_date": {
   "type": "string",
   "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
   "description": "Date on which the commercial decision is evaluated (YYYY-MM-DD)."
  },
  "seller_country": {
   "enum": [
    "AT",
    "BE",
    "BG",
    "HR",
    "CY",
    "CZ",
    "DK",
    "EE",
    "FI",
    "FR",
    "DE",
    "GR",
    "HU",
    "IE",
    "IT",
    "LV",
    "LT",
    "LU",
    "MT",
    "NL",
    "PL",
    "PT",
    "RO",
    "SK",
    "SI",
    "ES",
    "SE"
   ],
   "type": "string"
  },
  "declared_fields": {
   "type": "array",
   "items": {
    "type": "string",
    "maxLength": 100,
    "minLength": 1
   },
   "default": [],
   "maxItems": 200,
   "uniqueItems": true
  },
  "contains_battery": {
   "type": "boolean",
   "default": false
  },
  "customer_country": {
   "enum": [
    "AT",
    "BE",
    "BG",
    "HR",
    "CY",
    "CZ",
    "DK",
    "EE",
    "FI",
    "FR",
    "DE",
    "GR",
    "HU",
    "IE",
    "IT",
    "LV",
    "LT",
    "LU",
    "MT",
    "NL",
    "PL",
    "PT",
    "RO",
    "SK",
    "SI",
    "ES",
    "SE"
   ],
   "type": "string"
  },
  "product_category": {
   "type": "string",
   "default": "general_consumer_goods",
   "maxLength": 120,
   "minLength": 2
  },
  "transaction_type": {
   "enum": [
    "goods",
    "digital_content",
    "digital_service",
    "service",
    "marketplace_offer"
   ],
   "type": "string",
   "default": "goods"
  },
  "product_value_eur": {
   "type": "number",
   "default": 49.9,
   "maximum": 100000000,
   "minimum": 0
  },
  "is_digital_element": {
   "type": "boolean",
   "default": false
  },
  "is_microenterprise": {
   "type": "boolean",
   "default": false
  },
  "agreed_delivery_days": {
   "type": "integer",
   "default": 30,
   "maximum": 3650,
   "minimum": 0
  },
  "imported_from_outside_eu": {
   "type": "boolean",
   "default": false
  },
  "annual_cross_bord
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/halowerk-eu-commerce-rules-toy-safety-directive-6982af40/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce-rules.halowerk.com](https://www.zero.xyz/host/commerce-rules.halowerk.com/llms.txt)
