# First Class Flights: New York to Tokyo

**Use case:** 

Search Kiwi.com for first class itineraries from New York to Tokyo, priced in US dollars. Each row shows the airlines, every flight segment with its own cabin, the number of stops, total journey time, the dollar fare with a euro equivalent, and a booking link. One-way, departing 24 March 2027. First class inventory is limited, so expect a short, high-value result set.

## Input

```json
{
  "origin": "New York",
  "destination": "Tokyo",
  "departureDate": "2027-03-24",
  "returnDate": "",
  "cabinClass": "FIRST",
  "maxStops": "any",
  "cabinBags": "1",
  "checkedBags": "1",
  "currency": "USD",
  "maxResults": 100
}
```

## Output

```json
{
  "originCode": {
    "label": "From",
    "format": "text"
  },
  "destinationCode": {
    "label": "To",
    "format": "text"
  },
  "departureTime": {
    "label": "Departure",
    "format": "text"
  },
  "returnTime": {
    "label": "Return",
    "format": "text"
  },
  "airlines": {
    "label": "Airlines",
    "format": "array"
  },
  "outboundStops": {
    "label": "Stops",
    "format": "number"
  },
  "overnightLayovers": {
    "label": "Overnight layovers",
    "format": "number"
  },
  "nightsAtDestination": {
    "label": "Nights at destination",
    "format": "number"
  },
  "durationHours": {
    "label": "Total trip duration (h)",
    "format": "number"
  },
  "price": {
    "label": "Price",
    "format": "number"
  },
  "currency": {
    "label": "Currency",
    "format": "text"
  },
  "priceEur": {
    "label": "Price (EUR)",
    "format": "number"
  },
  "bookingUrl": {
    "label": "Booking",
    "format": "link"
  }
}
```

## About this Actor

This example demonstrates how to use [Kiwi Flights Scraper](https://apify.com/solidcode/kiwi-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/solidcode/kiwi-scraper.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/solidcode/kiwi-scraper.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`).
