# Schengen 90/180: days left and whether a trip fits

**Use case:** 

Days used in the last 180, days left, the first day the limit would be broken, and whether a planned 30-day trip fits, counted the way the European Commission's method says. Every result cites its source.

## Input

```json
{
  "travellers": [
    {
      "ref": "t1",
      "trips": [
        {
          "country": "FR",
          "from": "2026-03-01",
          "to": "2026-03-30"
        },
        {
          "country": "GB",
          "from": "2026-04-10",
          "to": "2026-04-20"
        },
        {
          "country": "ES",
          "from": "2026-06-01",
          "to": "2026-07-10"
        },
        {
          "country": "IT",
          "from": "2026-09-20",
          "to": "2026-10-05"
        }
      ]
    }
  ],
  "rules": [
    "schengen-90-180"
  ],
  "asOf": "2026-10-20",
  "plan": {
    "entry": "2026-11-01",
    "days": 30,
    "country": "FR"
  },
  "ukNaturalisationRoute": "standard"
}
```

## Output

```json
{
  "ref": {
    "label": "Traveller ref",
    "format": "string"
  },
  "rule": {
    "label": "Rule id",
    "format": "string"
  },
  "status": {
    "label": "Status",
    "format": "string"
  },
  "met": {
    "label": "Rule met",
    "format": "boolean"
  },
  "daysCounted": {
    "label": "Days counted",
    "format": "number"
  },
  "limit": {
    "label": "Limit",
    "format": "number"
  },
  "remaining": {
    "label": "Remaining",
    "format": "number"
  },
  "windowStart": {
    "label": "Window start",
    "format": "string"
  },
  "windowEnd": {
    "label": "Window end",
    "format": "string"
  },
  "firstBreachDate": {
    "label": "First breach date",
    "format": "string"
  },
  "earliestEligibleDate": {
    "label": "Earliest eligible date",
    "format": "string"
  },
  "asOf": {
    "label": "As of",
    "format": "string"
  },
  "error": {
    "label": "Error",
    "format": "string"
  }
}
```

## How it works

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

The Schengen 90/180 & Residence Day Calculator API Actor is ready to run with the inputs already set for "Schengen 90/180: days left and whether a trip fits". [Sign up or log in](https://console.apify.com/create-task-from-example/EzrfXFugytskDMXkI) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Schengen 90/180: days left and whether a trip fits" task

The Schengen 90/180 & Residence Day Calculator API Actor will start running based on the input automatically. You can also change all the input fields, like travellers and trips, rules, and more, to match your specific use case.

### 3. Receive the "Schengen 90/180: days left and whether a trip fits" 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 traveller ref, rule id, status, 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 "Schengen 90/180: days left and whether a trip fits" task via API](https://apify.com/fetchgrove/stay-limit-calculator.md).

## About this Actor

This example demonstrates how to use [Schengen 90/180 & Residence Day Calculator API](https://apify.com/fetchgrove/stay-limit-calculator.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/fetchgrove/stay-limit-calculator.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/fetchgrove/stay-limit-calculator.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`).
