# Roame Award Flights — Cached Offers & Full Itineraries (`jpmarketdata/roame-award-flights-scraper`) Actor

Export partial cached Roame award offers for exact airports, dates and cabins: miles, seats, full flight legs and source freshness. No login. Not live or exhaustive availability. $0.50 per 1,000 delivered fares; no start fee.

- **URL**: https://apify.com/jpmarketdata/roame-award-flights-scraper.md
- **Developed by:** [h ichi](https://apify.com/jpmarketdata) (community)
- **Categories:** Travel, Automation, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 51.7% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$0.50 / 1,000 saved award fares

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

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 examples already wired to this Actor's own input schema, see the [API](#api) section below.

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`).

# README

## Roame Award Flights — Cached Offers & Full Itineraries

Export **partial cached award-offer observations** that Roame publishes through its public discovery feed. Select exact airports, departure dates, cabin and optional loyalty programs, then receive full flight legs, required points, reported seat lower bounds and per-offer source timestamps. No login, browser, proxy or verification token is used.

This is **not live or exhaustive award availability**. The public window can omit routes, dates, cabins and programs. Its observed data is strongest in business and first class; economy and premium economy can have no observations. An empty window or a disappearing offer does not establish that no award seats exist or that an offer sold. Confirm availability and fees with the airline before booking.

### Start with a route

```json
{
  "routes": [{"origin": "JFK", "destination": "LHR"}],
  "daysFromToday": 7,
  "days": 1,
  "cabin": "business",
  "maxItems": 100
}
```

This is the existing default route and rolling departure-date configuration. A maximum is a delivery ceiling, not a guaranteed count. To restrict a repeated watchlist, add `"programs": ["AMERICAN"]` and `"minSeats": 2`; use `"days": 2` for two consecutive departure dates. Save an input as an [Apify Task](https://docs.apify.com/actors/running/tasks) and schedule it at the frequency your research requires. The Actor does not create schedules or send alerts.

### Input and coverage

- `routes`: one to three exact uppercase IATA airport pairs. Nearby airports are excluded; duplicate routes are rejected.
- `startDate` or `daysFromToday`: an explicit `YYYY-MM-DD` departure date, or an offset from the current UTC date (default seven days). `days` expands consecutive dates. Every selected date must be today through 60 days ahead; at most five route/day combinations per run.
- `cabin`: economy, premiumEconomy, business or first. Cabin and `programs` are sent to Roame before the bounded public window is selected, then all input conditions are checked again locally. This prevents unrelated cabin/program rows from consuming that window. Matching data remains source-dependent.
- `includeMixedCabin`: false by default. When true, source-labeled mixed offers for the selected cabin can be included; per-leg cabin classes remain explicit.
- `minSeats`: source-reported seat lower bound, default one. This is not a bookability guarantee.
- `maxAgeHours`: maximum age of each offer's `scrapedAt`, default 24 hours. The feed's `generatedAt` and the Actor's observation time never replace the offer timestamp.
- `maxItems`: one to 1,000 delivered fares, default 100, also bounded by the remaining PPE allowance.

The source query selects an origin and date across destinations. The Actor then applies the exact destination and all remaining filters locally. A public response has been observed at 200 rows, but it exposes no total count, pagination or truncation indicator. Reaching fewer than 200 rows does not prove complete inventory; additional matching offers may be absent. Requests are not partitioned to claim exhaustive coverage.

### Output and repeat use

Each delivered `award_flight` row contains exact route/date, loyalty program, points, seat lower bound, flight numbers, operating carriers, airports, per-leg cabins and UTC departure/arrival times, duration, source freshness and observation time. `surchargeUsd` is the public client's USD estimate, converted from native cents; ticket purchase totals are not inferred. Proto3 scalar defaults, including a genuine zero estimate and zero stops on a nonstop itinerary, retain their native meaning.

`departureDate` is Roame's native departure calendar date. Leg timestamps are UTC, so their calendar day can differ. Points belong to their own loyalty programs and are not ranked across programs. Fare classes preserve distinctions such as basic economy and mixed cabins.

Every row has `sourceCoverage: "public_cached_preview"` and `searchComplete: false`. The old optional `sourcePercentCompleted` field is **omitted** because this API reports no search progress. No zero or 100% is invented.

`fareId` is a stable composite of the actual route, date, program, class, points/fees and itinerary. Repeated cached observations of that offer are collapsed to the newest source timestamp **before** seat and freshness filtering. `sourceFareId`, when available, preserves the selected native observation identifier. A newer observation with fewer seats cannot be replaced by an older one that satisfies `minSeats`.

For your own history, upsert by `fareId` and retain `sourceUpdatedAt` and `observedAt`. An offer delivered again in a later run is billable again. This Actor does not read previous datasets or reconstruct historical inventory.

### Completion, failures and limits

The free `SEARCHES` record in the default key-value store identifies every selected route/day, filtering counts, source failures, output clipping and confirmed delivered count. A successful public query has `queryComplete: true`, `status: "partial"` and `terminationReason: "public-cached-preview"`; that means the HTTP query finished, not that the market search is complete. All rows and the overall successful run remain partial observations.

If the source cannot be read, malformed native data is detected or no eligible offers remain, the run fails without inventing an empty availability answer. Failed queries include bounded diagnostic phase/status information. A batch can retain useful fares from successful queries while reporting the other queries as failed. Inspect `SEARCHES` and delivered data before retrying an incomplete run; already delivered offers can bill again. Storage and charge errors are not automatically retried. The prepared checkpoint is saved before paid delivery. If only the final checkpoint update fails after confirmed delivery, the run warns and keeps the confirmed result; a remaining prepared checkpoint is not a final zero count. Inspect the dataset and events instead of rerunning solely to refresh that metadata.

The existing limits remain: 256 MB, 250 seconds overall, two concurrent queries, up to five route/day combinations, 106 total HTTP requests and 6 MiB per decoded response. The public unary path normally needs one robots request and one source request per route/day. A rate limit is retried at most once when its advertised delay is at most ten seconds and fits the remaining deadline.

### Pricing

One `award-flight-saved` event per delivered unique offer: **$0.0005 each, or $0.50 per 1,000**. No start fee. Source reads, excluded or duplicate observations and `SEARCHES` do not create fare charges. An exhausted PPE allowance stops source acquisition; rows saved before a later ambiguous storage/charge failure can remain billable.

### Privacy

Only public flight, route, loyalty-program and award information is collected. No passenger, account, cookie, credential or verification-token data is requested or exported. Independent tool, not affiliated with or endorsed by Roame.

# Actor input Schema

## `routes` (type: `array`):

One to three origin/destination airport pairs. Nearby airports returned by the source are excluded. Routes multiplied by departure days cannot exceed 5 searches. $0.0005 is charged per saved fare.

## `startDate` (type: `string`):

Optional YYYY-MM-DD date, today to 60 days ahead (UTC). Overrides Days from today. $0.0005 is charged per saved fare.

## `daysFromToday` (type: `integer`):

Used when First departure date is omitted. Seven means one week from today (UTC). $0.0005 is charged per saved fare.

## `days` (type: `integer`):

Number of consecutive dates, up to 5. More dates can produce more charged results. $0.0005 is charged per saved fare.

## `cabin` (type: `string`):

Filter cabin before the bounded public source window and again on native rows. Public cache availability varies, especially for economy and premium economy; empty results do not establish no award inventory. $0.0005 per delivered fare.

## `minSeats` (type: `integer`):

Require this source-reported seat lower bound. Seat availability must be rechecked before booking. $0.0005 is charged per saved fare.

## `includeMixedCabin` (type: `boolean`):

Allow itineraries whose legs use different cabins. The actual cabin on each leg remains in the result. $0.0005 is charged per saved fare.

## `maxAgeHours` (type: `integer`):

Exclude fares whose source update time is older than this many hours. This is not a booking guarantee. $0.0005 is charged per saved fare.

## `programs` (type: `array`):

Optional native Roame program codes, for example AMERICAN or UNITED. Applied before the public source window and locally. Different loyalty programs are not ranked against one another. $0.0005 per delivered fare.

## `maxItems` (type: `integer`):

Maximum saved and charged award options across all routes and days. Each saved option is billed once at the Actor's listed fare price. Source responses can contain more options than this output limit. $0.0005 is charged per saved fare.

## Actor input object example

```json
{
  "routes": [
    {
      "origin": "JFK",
      "destination": "LHR"
    }
  ],
  "daysFromToday": 7,
  "days": 1,
  "cabin": "business",
  "minSeats": 1,
  "includeMixedCabin": false,
  "maxAgeHours": 24,
  "programs": [],
  "maxItems": 100
}
```

# Actor output Schema

## `results` (type: `string`):

One delivered full itinerary observation with points, reported seats, native freshness and explicit partial cached coverage.

## `searches` (type: `string`):

Every selected route/date, public query completion, unknown inventory completeness, filtering, source failures and confirmed delivery.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("jpmarketdata/roame-award-flights-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("jpmarketdata/roame-award-flights-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call jpmarketdata/roame-award-flights-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,jpmarketdata/roame-award-flights-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/EgPqKHyy8XHpVqaa0/builds/O56uUhyqd8I9eP614/openapi.json
