# Swiss parliament motions on energy

**Use case:** 

Motions submitted in the Swiss federal parliament on energy policy, newest first, with status, author, party, council, Federal Council response and full text, from the official Curia Vista database.

## Input

```json
{
  "query": "Energie",
  "types": [
    "Mo."
  ],
  "topics": [
    "Energie"
  ],
  "departments": [],
  "councils": [],
  "submittedAfter": "",
  "submittedBefore": "",
  "modifiedSince": "",
  "author": "",
  "onlyOpen": false,
  "includeTexts": true,
  "includeUntitled": false,
  "language": "DE",
  "maxResults": 200
}
```

## Output

```json
{
  "number": {
    "label": "No.",
    "format": "text"
  },
  "type": {
    "label": "Type",
    "format": "text"
  },
  "title": {
    "label": "Title",
    "format": "text"
  },
  "status": {
    "label": "Status",
    "format": "text"
  },
  "submissionDate": {
    "label": "Submitted",
    "format": "date"
  },
  "author": {
    "label": "Author",
    "format": "text"
  },
  "authorParty": {
    "label": "Party",
    "format": "text"
  },
  "authorCanton": {
    "label": "Canton",
    "format": "text"
  },
  "responsibleDepartment": {
    "label": "Dept.",
    "format": "text"
  },
  "federalCouncilProposal": {
    "label": "Federal Council proposes",
    "format": "text"
  },
  "topics": {
    "label": "Topics",
    "format": "array"
  },
  "url": {
    "label": "Curia Vista",
    "format": "link"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Swiss Parliament Affairs Tracker (Curia Vista) Actor is ready to run with the inputs already set for "Swiss parliament motions on energy". [Sign up or log in](https://console.apify.com/create-task-from-example/gyLdiBTgFSHFGJ7bo) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Swiss parliament motions on energy" task

The Swiss Parliament Affairs Tracker (Curia Vista) Actor will start running based on the input automatically. You can also change all the input fields, like words in the title, types of affair, and more, to match your specific use case.

### 3. Receive the "Swiss parliament motions on energy" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as no., type, title, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Swiss parliament motions on energy" task via API](https://apify.com/dach-open-data/swiss-parliament-affairs.md).

## About this Actor

This example demonstrates how to use [Swiss Parliament Affairs Tracker (Curia Vista)](https://apify.com/dach-open-data/swiss-parliament-affairs.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/dach-open-data/swiss-parliament-affairs.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/dach-open-data/swiss-parliament-affairs.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
