# European Parliament climate & energy votes and amendments

**Use case:** 

Roll-call votes and amendments on climate, energy, emissions and environment files in the European Parliament from the last 180 days, with group and country breakdowns. Swap in your own policy keywords.

## Input

```json
{
  "keywords": [
    "climate",
    "energy",
    "emission*",
    "methane",
    "renewable*",
    "environment*"
  ],
  "keywordMatch": "any",
  "excludeKeywords": [],
  "lastDays": 180,
  "voteKinds": [
    "main",
    "amendment"
  ],
  "outcome": "any",
  "meps": [],
  "outputMode": "votes",
  "groups": [],
  "countries": [],
  "includeGroupBreakdown": true,
  "includeCountryBreakdown": true,
  "includeVoterLists": false,
  "includeHandVotes": false,
  "language": "en",
  "onlyNew": false,
  "stateKey": "default",
  "maxResults": 100,
  "maxRunSeconds": 220
}
```

## Output

```json
{
  "date": {
    "label": "Date",
    "format": "string"
  },
  "itemTitle": {
    "label": "File",
    "format": "string"
  },
  "voteLabel": {
    "label": "Vote",
    "format": "string"
  },
  "voteKind": {
    "label": "Kind",
    "format": "string"
  },
  "outcome": {
    "label": "Outcome",
    "format": "string"
  },
  "votesFor": {
    "label": "For",
    "format": "integer"
  },
  "votesAgainst": {
    "label": "Against",
    "format": "integer"
  },
  "votesAbstention": {
    "label": "Abstain",
    "format": "integer"
  },
  "margin": {
    "label": "Margin",
    "format": "integer"
  },
  "documentRef": {
    "label": "Doc",
    "format": "string"
  },
  "documentUrl": {
    "label": "Report",
    "format": "string"
  },
  "minutesUrl": {
    "label": "Minutes",
    "format": "string"
  },
  "status": {
    "label": "Row",
    "format": "string"
  }
}
```

## How it works

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

The European Parliament Votes API – MEP Roll-Call Voting Records Actor is ready to run with the inputs already set for "European Parliament climate & energy votes and amendments". [Sign up or log in](https://console.apify.com/create-task-from-example/Obn2G2hSinuOlXle3) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "European Parliament climate & energy votes and amendments" task

The European Parliament Votes API – MEP Roll-Call Voting Records Actor will start running based on the input automatically. You can also change all the input fields, like topic keywords, keyword match, and more, to match your specific use case.

### 3. Receive the "European Parliament climate & energy votes and amendments" 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 date, file, vote, 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 "European Parliament climate & energy votes and amendments" task via API](https://apify.com/benelux-signals/european-parliament-votes.md).

## About this Actor

This example demonstrates how to use [European Parliament Votes API – MEP Roll-Call Voting Records](https://apify.com/benelux-signals/european-parliament-votes.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/benelux-signals/european-parliament-votes.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/benelux-signals/european-parliament-votes.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`).
