# searchDecisionsByDateRange

**Identifier:** `eurlex_searchDecisionsByDateRange`

**Provider:** [EUR-Lex Pharma](https://kirha.com/providers/eurlex.md)

List EU Commission Decisions on centralised marketing authorisations within a date range, optionally narrowed to a specific decision type. Use for regulatory-news monitoring ('what was authorised last quarter?') or compliance reporting.

## Run it with the CLI

```bash
kirha tools run eurlex_searchDecisionsByDateRange \
  --input '{
    "start": "<start>",
    "end": "<end>"
  }'
```

`--input` takes a JSON object that matches the input schema. Pass `--input -` to read it from stdin.

## Call it over HTTP

```bash
curl https://api.kirha.com/tools/v1/execute \
  --request POST \
  --header 'Content-Type: application/json' \
  --header 'Authorization: **********' \
  --data '{
  "tool_name": "eurlex_searchDecisionsByDateRange",
  "input": {
    "start": "<start>",
    "end": "<end>"
  }
}'
```

Replace the stars with an API key from https://app.kirha.com/api-keys.

## Input schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "decisionType": {
      "enum": [
        "issuing",
        "modification",
        "withdrawal",
        "suspension",
        "rejection"
      ],
      "type": "string"
    },
    "end": {
      "description": "End date (inclusive), ISO 8601 YYYY-MM-DD.",
      "type": "string"
    },
    "limit": {
      "default": 25,
      "maximum": 50,
      "minimum": 1,
      "type": "number"
    },
    "start": {
      "description": "Start date (inclusive), ISO 8601 YYYY-MM-DD.",
      "type": "string"
    }
  },
  "required": [
    "start",
    "end"
  ],
  "type": "object"
}
```

## Output schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "context": {
      "type": "string"
    },
    "decisions": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "atcCode": {
            "type": [
              "string",
              "null"
            ]
          },
          "decisionDate": {
            "type": [
              "string",
              "null"
            ]
          },
          "decisionType": {
            "type": "string"
          },
          "euRegisterNumber": {
            "type": [
              "string",
              "null"
            ]
          },
          "holderAddress": {
            "type": [
              "string",
              "null"
            ]
          },
          "holderName": {
            "type": [
              "string",
              "null"
            ]
          },
          "inn": {
            "type": [
              "string",
              "null"
            ]
          },
          "notificationDate": {
            "type": [
              "string",
              "null"
            ]
          },
          "pharmaceuticalForm": {
            "type": [
              "string",
              "null"
            ]
          },
          "productName": {
            "type": "string"
          },
          "summaryCelex": {
            "type": "string"
          },
          "summaryDate": {
            "type": [
              "string",
              "null"
            ]
          },
          "summaryUrl": {
            "type": "string"
          }
        },
        "required": [
          "decisionType",
          "productName",
          "summaryCelex",
          "summaryUrl"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "end": {
      "type": "string"
    },
    "euRegisterNumbers": {
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "start": {
      "type": "string"
    }
  },
  "required": [
    "context",
    "start",
    "end",
    "decisions",
    "euRegisterNumbers"
  ],
  "type": "object"
}
```

-----

[All EUR-Lex Pharma tools](https://kirha.com/providers/eurlex.md) · [< Back to tools list](https://kirha.com/tools.md)