Air Canada Flight Deals Scraper avatar

Air Canada Flight Deals Scraper

Pricing

from $1.50 / 1,000 air canada flight deals scrapers

Go to Apify Store
Air Canada Flight Deals Scraper

Air Canada Flight Deals Scraper

Collect public Air Canada fare cards from the English Canada flight-deals page. Get route, date, price, currency, trip type, and class. Run with maxResults; no Air Canada login. Pricing: $0.0015 per item + $0.00005 per Actor Start on Free plan. An Apify proxy may help if direct access is blocked.

Pricing

from $1.50 / 1,000 air canada flight deals scrapers

Rating

0.0

(0)

Developer

Vitalii Bondarev

Vitalii Bondarev

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

15 days ago

Last modified

Categories

Features

Limited permissions

Share

Scrape public fare cards from Air Canada's English Canada flight-deals page: routes, dates, displayed prices, currencies, trip types, and travel classes. Pricing is pay per event, see the Pricing section.

  • Save route names and three-letter airport codes for each parsed fare card.
  • Compare displayed fares by departure date, currency, trip type, and travel class for travel research.
  • Use the public cards for fare monitoring and scheduled price checks as cards change or disappear.
  • Control the number of saved cards with maxResults, which defaults to 50.
  • Run with your Apify account and optional Apify proxy settings; no buyer API key or Air Canada login is required.

What you get

Each dataset item represents one public fare card that the Actor can parse from the Air Canada page. The output keeps the displayed departure date, fare amount, currency, trip type, travel class, and relative last-seen label.

FieldTypeDescription
titlestringRoute title in the form of origin and destination names with airport codes.
urlstringAir Canada page containing the fare card.
originstringOrigin city or airport name.
origin_codestringThree-letter origin airport code.
destinationstringDestination city or airport name.
destination_codestringThree-letter destination airport code.
departure_datestringDeparture date as displayed on the fare card.
pricenumberDisplayed fare amount.
currencystringThree-letter currency code displayed with the fare.
last_seenstringRelative time label shown for the fare card.
trip_typestringTrip type displayed on the fare card.
travel_classstringCabin or travel class displayed on the fare card.

The Actor reads the public page at https://www.aircanada.com/en-ca/. The url field points to that page for every item; it is not a direct URL for an individual fare card.

Sample output

The following is one complete dataset record:

{
"title": "Toronto (YYZ) to Bridgetown (BGI)",
"url": "https://www.aircanada.com/en-ca/",
"origin": "Toronto",
"origin_code": "YYZ",
"destination": "Bridgetown",
"destination_code": "BGI",
"departure_date": "Apr 08, 2027",
"price": 280,
"currency": "CAD",
"last_seen": "3 hours ago",
"trip_type": "One-way",
"travel_class": "Economy"
}

Pricing

You pay only for the events listed below. This Actor does not use the Pay per event + usage option, so the platform usage of your runs (compute, proxy traffic and storage) is not billed to you separately.

Prices below are for the Free plan. The Actor uses pay-per-event billing with these charge events:

EventPrice per event1,000 events10,000 events
apify-actor-start (Free plan)$0.00005$0.05$0.50
apify-default-dataset-item (Free plan)$0.0015$1.50$15.00

apify-actor-start is charged when the Actor starts: one event per GB of memory, minimum one. apify-default-dataset-item is one scraped result containing all output fields.

The dataset-item event is the primary result event. The Free plan includes $5 of monthly platform usage credit. With one Actor Start event charged, that credit covers 3,333 results = $4.99955 on the Free plan.

How to use

  1. Open the Actor in Apify and use your Apify account to start a run.
  2. Set maxResults to the positive integer number of fare cards you want to save. If you omit it, the default is 50.
  3. Optionally adjust proxyConfiguration; by default the run uses the RESIDENTIAL Apify proxy.
  4. Run the Actor. It requests the Air Canada English Canada page, follows redirects, checks for fare-card markup, parses the available cards, and saves up to the requested maximum.
  5. Review the dataset fields, including route codes, departure date, displayed price, currency, trip type, travel class, relative last-seen text, and the source page URL.
  6. Repeat the run through Apify Schedules, using daily as a starting point for fare and price monitoring.

Example input:

{
"maxResults": 50,
"proxyConfiguration": {
"useApifyProxy": true,
"apifyProxyGroups": [
"RESIDENTIAL"
]
}
}

Export the dataset as JSON or CSV, or read it through the Apify dataset API.

Input parameters

ParameterWhat it doesDefault
maxResultsMaximum number of parsed fare cards to save from the page.50
proxyConfigurationOptional Apify proxy settings. If you omit it, requests use a direct connection.RESIDENTIAL Apify proxy (useApifyProxy: true, group RESIDENTIAL)

Limits and edge cases

ConditionWhat you seeWhat to do
More fare cards are parsed than the value of maxResultsOnly the first maxResults cards are saved.Increase maxResults and run again.
maxResults is zero or negative when supplied directlyThe Actor exits before requesting the Air Canada page and saves no items.Use a positive integer; the input schema minimum is 1.
The Air Canada response does not contain fare-card markupThe run stops with an error stating that the response did not contain fare-card markup.Check whether the public page is available and run again later.
A fare card lacks a parseable origin, destination, price, departure date, trip type, travel class, or last-seen valueThat card is not added to the parsed item list. If no cards remain parseable, the run stops with an error stating that Air Canada returned no parseable fare cards.Check the source page and run again after the card markup is available.
Air Canada returns a non-success HTTP responseThe request raises an error before the page is parsed.Check access to the public page and retry the run.
Fare cards change or disappear on the source pageA later run can contain different cards, displayed prices, dates, or relative last-seen labels.Treat each run as a capture of the public page at that time and rerun when you need a new extract.
You open an item’s url expecting a direct card linkThe URL opens the Air Canada page that lists the card. The page’s Book Now control opens a booking flow, but the public card markup does not expose a direct item URL.Use the route, date, price, and other extracted fields to identify the card on the source page.

FAQ

How much does it cost to scrape Air Canada flight deals?

See the Pricing table above: it lists the per-event prices on the Free plan.

What information does each result contain?

Each result holds the 12 fields listed in the table under "What you get".

Why did my run return no fare cards?

The Actor requires fare-card markup in the Air Canada response and skips cards that do not contain all required route, price, date, trip, class, and last-seen values. If no complete cards can be parsed, the run reports an error rather than saving an incomplete record. Check the public source page and run again later.

Do I need to provide an Air Canada login or buyer API key?

No. The input contains only the result limit and optional Apify proxy settings. The Actor reads the publicly displayed fare cards without requesting an Air Canada login, buyer API key, cookies, or proxy credentials.

The Actor extracts publicly displayed fare cards from Air Canada’s English Canada flight-deals page. Whether a particular use is legal or allowed depends on the source terms and applicable law for your use case, so review them before using the data. This Actor does not provide a legal guarantee.