Discover/Avianca API
live

Avianca APIavianca.com

Access all current Avianca promotional flight offers via a single API call. Returns origin/destination codes, prices, trip types, discounts, and miles eligibility.

This API takes change requests — .
Endpoint health
verified 3h ago
get_all_actions
1/1 passing latest checkself-healing
Endpoints
1
Updated
3h ago

What is the Avianca API?

The Avianca API exposes all active flight promotions from avianca.com through a single endpoint, get_all_actions, returning up to the complete current set of promotional offers in one response. Each offer object includes IATA origin and destination codes, pricing in available currencies, trip type, category, discount details, and miles eligibility — giving you the full picture of Avianca's current deals without multiple requests.

This call costs1 credit / call— charged only on success
Try it

No input parameters required.

api.parse.bot/scraper/08ccfd38-1889-4569-a1a3-421df82b4dcc/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/08ccfd38-1889-4569-a1a3-421df82b4dcc/get_all_actions' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace avianca-com-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

"""Walkthrough: Avianca promotional actions — browse current flight deals."""
from parse_apis.avianca_com_api import Avianca, ParseError

client = Avianca()

# List promotional flight offers, capping total items fetched.
for action in client.actions.list(limit=10):
    price = action.prices.get("ars", "N/A")
    print(f"{action.origin} -> {action.destination}: ARS {price} ({action.trip_type_text})")

# Grab one action to inspect its full details.
try:
    featured = client.actions.list(limit=50).first()
except ParseError as e:
    print(f"Could not fetch actions: {e}")
    featured = None

if featured is not None:
    print(f"\nFeatured route: {featured.origin} -> {featured.destination}")
    print(f"  POS: {featured.pos_code}, Category: {featured.category_code}")
    print(f"  Earns miles: {'yes' if featured.earn_miles else 'no'}")

print("\nexercised: actions.list")
All endpoints · 1 totalmissing one? ·

Returns all current promotional flight offers (actions) from Avianca across all points of sale. Each action includes origin/destination IATA codes, prices in available currencies, trip type, category, discount info, and miles eligibility. Returns the complete set in a single call (typically 200-300 offers). No pagination needed.

Input

No input parameters required.

Response
{
  "type": "object",
  "fields": {
    "total": "total count of offers returned",
    "actions": "array of promotional flight offer objects"
  },
  "sample": {
    "data": {
      "total": 245,
      "actions": [
        {
          "origin": "AEP",
          "prices": {
            "ars": "658017"
          },
          "discount": "",
          "pos_code": "AR",
          "earn_miles": "1",
          "promo_text": "",
          "destination": "JFK",
          "publish_date": "",
          "category_code": "COD01",
          "featured_offer": "",
          "trip_type_text": "One way from",
          "unpublish_date": "",
          "secondary_currency": ""
        }
      ]
    },
    "status": "success"
  }
}

About the Avianca API

What the API Returns

The get_all_actions endpoint returns every active promotional flight offer (called "actions") across all Avianca points of sale. The response includes a total field with the count of offers and an actions array containing the full detail of each offer. Response fields per action include IATA origin and destination codes, prices expressed in the currencies available for that market, trip type (e.g. round-trip or one-way), a category label, discount information, and a flag indicating miles eligibility.

Endpoint Details

get_all_actions takes no input parameters — it returns the complete set of current promotions in a single call. This means there is no pagination to manage and no filter arguments to construct. The total field in the response lets you quickly verify how many offers were returned before iterating over the actions array.

Coverage and Data Freshness

The data reflects promotions currently active on avianca.com across all points of sale, so the offers you receive are the same ones Avianca surfaces to travelers. Because promotions change frequently — especially around fare sales — the content of actions can shift between calls. Building a caching or polling layer in your application is advisable if you need to track changes over time.

Reliability & maintenanceVerified

The Avianca API is a managed, monitored endpoint for avianca.com — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when avianca.com changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official avianca.com API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
3h ago
Latest check
1/1 endpoint passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Monitor Avianca fare sales and alert users when discounted routes matching their origin/destination IATA codes appear
  • Aggregate Avianca promotional prices by currency to display regional deal comparisons
  • Filter active promotions by trip type (round-trip vs. one-way) to surface relevant offers in a travel booking interface
  • Identify routes with miles-eligible promotions for loyalty program tracking tools
  • Track discount depth across active Avianca promotions to analyze pricing patterns over time
  • Populate a deals feed or newsletter with current Avianca promotional fares using category and route data
  • Cross-reference Avianca promotional destinations with hotel or car rental inventory using IATA codes from the response
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does Avianca have an official public developer API?+
Avianca does not publish a public developer API for flight promotions or booking data. There is no documented REST or GraphQL API available to third-party developers on their website.
What does the `actions` array actually contain per offer?+
Each object in the actions array includes IATA codes for the origin and destination airports, the price in one or more available currencies, the trip type (such as round-trip or one-way), a category label, discount details, and a boolean or flag indicating whether the fare is eligible for miles accrual.
Can I filter promotions by route, currency, or date range?+
get_all_actions accepts no input parameters, so filtering is not done server-side. You receive the full set of active promotions and apply any route, currency, or date filtering on the client side using the fields present in each action object.
Does the API return flight schedules, seat availability, or booking details?+
Not currently. The API covers promotional offer metadata — prices, routes, trip types, discounts, and miles eligibility — but does not include flight schedules, seat inventory, or booking flow data. You can fork this API on Parse and revise it to add an endpoint targeting those data types.
How current are the promotions returned by `get_all_actions`?+
The response reflects promotions that are currently active on Avianca's site at the time of the request. Avianca updates its promotions frequently, particularly during sale events, so the set of offers can change between calls. There is no last_updated timestamp in the response, so polling on a schedule is the recommended approach for detecting changes.
Page content last updated . Spec covers 1 endpoint from avianca.com.
Related APIs in TravelSee all →
despegar.com.ar API
Search and book flights on Despegar.com.ar by exploring real-time flight offers, autocompleting destinations, and comparing travel options across multiple routes. Get instant access to current promotions and home page deals to find the best prices for your next trip.
skyairline.com API
Search for flights across SKY Airline routes, explore available airports and travel options, and discover current promotions and brand offerings. Plan your trip efficiently by browsing the airline's complete route network and accessing exclusive deals in one place.
airpremia.com API
Search for the lowest available fares across Air Premia flight routes and discover current promotions to find the best deals on your next flight. Browse real-time pricing for specific sectors and stay updated on limited-time offers to maximize your savings.
virginaustralia.com API
Search Virgin Australia flights and browse fare calendars to find the best prices, while exploring available destinations and current flight specials all in one place. Get real-time flight options and pricing information to plan your next trip with ease.
jetsmart.com API
Search JetSMART flights across available routes and airports, check real-time schedules and flight status, and discover low fares with an interactive calendar. Plan your trips efficiently by browsing all airport and route options without needing authentication.
aircanada.com API
Search for Air Canada flights between any two airports and compare pricing across all fare families, from Basic to Business class, along with complete schedule and segment details. Find the perfect flight option with transparent pricing and full flight information to make your booking decision.
smiles.com.br API
Search for available flights on Smiles and compare fares across one-way and round-trip routes. Retrieve pricing for standard Smiles, Clube Smiles, and Smiles+Money fare types, including miles requirements, cash portions, and applicable taxes.
skiplagged.com API
Search for flights across airlines including hidden-city ticketing options, and look up airport information by name or code to find the best travel deals. Access Skiplagged's flight inventory and routing data to discover cheaper itineraries and alternative airport combinations.