Air Canada Flight Deals Scraper
Pricing
from $1.50 / 1,000 air canada flight deals scrapers
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
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
15 days ago
Last modified
Categories
Features
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.
| Field | Type | Description |
|---|---|---|
title | string | Route title in the form of origin and destination names with airport codes. |
url | string | Air Canada page containing the fare card. |
origin | string | Origin city or airport name. |
origin_code | string | Three-letter origin airport code. |
destination | string | Destination city or airport name. |
destination_code | string | Three-letter destination airport code. |
departure_date | string | Departure date as displayed on the fare card. |
price | number | Displayed fare amount. |
currency | string | Three-letter currency code displayed with the fare. |
last_seen | string | Relative time label shown for the fare card. |
trip_type | string | Trip type displayed on the fare card. |
travel_class | string | Cabin 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:
| Event | Price per event | 1,000 events | 10,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
- Open the Actor in Apify and use your Apify account to start a run.
- Set
maxResultsto the positive integer number of fare cards you want to save. If you omit it, the default is 50. - Optionally adjust
proxyConfiguration; by default the run uses the RESIDENTIAL Apify proxy. - 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.
- 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.
- 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
| Parameter | What it does | Default |
|---|---|---|
maxResults | Maximum number of parsed fare cards to save from the page. | 50 |
proxyConfiguration | Optional Apify proxy settings. If you omit it, requests use a direct connection. | RESIDENTIAL Apify proxy (useApifyProxy: true, group RESIDENTIAL) |
Limits and edge cases
| Condition | What you see | What to do |
|---|---|---|
More fare cards are parsed than the value of maxResults | Only the first maxResults cards are saved. | Increase maxResults and run again. |
maxResults is zero or negative when supplied directly | The 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 markup | The 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 value | That 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 response | The 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 page | A 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 link | The 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.
Is scraping this public data legal or allowed?
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.