Discover/Smiles API
live

Smiles APIsmiles.com.br

Search Smiles miles redemption flights via API. Get pricing across Smiles, Clube Smiles, and Smiles+Money fare types for one-way and round-trip routes.

Endpoint health
monitored
search_flights
0/1 passing latest checkself-healing
Endpoints
1
Updated
26d ago

What is the Smiles API?

The Smiles.com.br API exposes 1 endpoint — search_flights — that returns available award flight options redeemable with Smiles miles. A single call returns flight objects covering departure and arrival times, duration, stop count, cabin class, seat availability, and miles pricing across four distinct fare types: standard Smiles, Clube Smiles, Smiles+Money, and Smiles+Money Club.

Try it
Number of adult passengers
Origin airport 3-letter IATA code (e.g. GRU, CGH, MIA)
Number of infant passengers
Number of child passengers
Trip type: 1 for one-way, 2 for round-trip
Destination airport 3-letter IATA code (e.g. MIA, GIG, LIS)
Return date in YYYY-MM-DD format. Required when trip_type is 2 (round-trip).
Departure date in YYYY-MM-DD format
api.parse.bot/scraper/53b04628-2b65-4375-964f-37ec2643d834/<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/53b04628-2b65-4375-964f-37ec2643d834/search_flights?adults=1&origin=GRU&infants=0&children=0&trip_type=1&destination=GIG&return_date=2026-08-17&departure_date=2026-08-10' \
  -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 smiles-com-br-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.

from parse_apis.smiles_flight_search_api import Smiles, Flight, TripType

smiles = Smiles()

# Search one-way flights from São Paulo to Rio de Janeiro
for flight in smiles.flightsearches.search(
    origin="GRU",
    destination="GIG",
    departure_date="2026-07-15",
    trip_type=TripType.ONE_WAY,
):
    print(
        flight.flight_number,
        flight.departure_time,
        flight.arrival_time,
        flight.duration,
        flight.stops,
        flight.available_seats,
    )
    print(
        flight.pricing.smiles.miles,
        flight.pricing.clube_smiles.miles,
        flight.pricing.smiles_money.money,
    )
All endpoints · 1 totalmissing one? ·

Search for available flights using Smiles miles. Returns flight options with pricing across multiple fare types (Smiles, Clube Smiles, Smiles+Money, Smiles+Money Club). Supports both one-way and round-trip searches. Results include departure/arrival times, duration, stops, airline, seat availability, and per-fare pricing (miles, money, tax). One-way returns only SEGMENT_1 flights; round-trip returns both SEGMENT_1 (outbound) and SEGMENT_2 (return) flights.

Input
ParamTypeDescription
adultsintegerNumber of adult passengers
originrequiredstringOrigin airport 3-letter IATA code (e.g. GRU, CGH, MIA)
infantsintegerNumber of infant passengers
childrenintegerNumber of child passengers
trip_typeintegerTrip type: 1 for one-way, 2 for round-trip
destinationrequiredstringDestination airport 3-letter IATA code (e.g. MIA, GIG, LIS)
return_datestringReturn date in YYYY-MM-DD format. Required when trip_type is 2 (round-trip).
departure_daterequiredstringDeparture date in YYYY-MM-DD format
Response
{
  "type": "object",
  "fields": {
    "flights": "array of flight objects with segment_type, airline, airline_code, flight_number, departure_time, origin, arrival_time, destination, duration, stops, stops_text, cabin, available_seats, and pricing object containing fare types (smiles, clube_smiles, smiles_money, smiles_money_club) each with miles, money, and tax"
  },
  "sample": {
    "data": {
      "flights": [
        {
          "cabin": "ECONOMIC",
          "stops": 0,
          "origin": "GRU",
          "airline": "GOL (G3)",
          "pricing": {
            "smiles": {
              "tax": 33.64,
              "miles": 33500,
              "money": 0
            },
            "clube_smiles": {
              "tax": 33.64,
              "miles": 31900,
              "money": 0
            },
            "smiles_money": {
              "tax": 33.64,
              "miles": 10100,
              "money": 550
            },
            "smiles_money_club": {
              "tax": 33.64,
              "miles": 9570,
              "money": 521
            }
          },
          "duration": "1h 5m",
          "stops_text": "Direto",
          "destination": "GIG",
          "airline_code": "G3",
          "arrival_time": "14:10",
          "segment_type": "SEGMENT_1",
          "flight_number": "G3 1376",
          "departure_time": "13:05",
          "available_seats": 7
        }
      ]
    },
    "status": "success"
  }
}

About the Smiles API

What the API Returns

The search_flights endpoint accepts an origin and destination as 3-letter IATA airport codes (e.g. GRU, MIA, LIS) along with a departure_date in YYYY-MM-DD format or Unix timestamp in milliseconds. It returns an array of flight objects, each carrying segment_type, airline, flight_number, departure and arrival timestamps, total duration, number of stops, cabin class, and available_seats.

Fare Types and Passenger Configuration

Each flight result surfaces pricing across multiple fare categories — standard Smiles miles, Clube Smiles (the loyalty tier), Smiles+Money (a split miles-and-cash option), and Smiles+Money Club — so callers can directly compare the miles requirement and any cash co-pay across redemption strategies. Passenger counts are configurable per search: the adults, children, and infants parameters let you price out the exact party size.

Trip Type Support

Set trip_type to 1 for a one-way search or 2 for a round-trip. When requesting a round-trip, include return_date alongside departure_date. Both date fields accept either YYYY-MM-DD strings or Unix timestamps in milliseconds, giving flexibility for integrations that already work in epoch time.

Coverage and Scope

Results reflect routes and inventory available through the Smiles program, which includes TAM/LATAM, GOL, and partner airlines operating in Brazil and internationally. Availability and fare-type options depend on the route and travel date — not all four fare types will appear on every flight result.

Reliability & maintenance

The Smiles API is a managed, monitored endpoint for smiles.com.br — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when smiles.com.br 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 smiles.com.br 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.

Latest check
0/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
  • Compare miles costs across Smiles, Clube Smiles, and Smiles+Money fare types for a GRU–MIA route before booking
  • Monitor award seat availability on specific routes to alert users when seats open up
  • Build a miles-value calculator that converts the miles requirement and cash portion into a per-mile valuation
  • Aggregate round-trip redemption costs for popular Brazil–Europe routes across a date range
  • Display stop count and duration data to help travelers choose direct versus connecting award flights
  • Power a family travel planner that prices itineraries for mixed adult, child, and infant passenger groups
  • Track cabin class availability (economy vs. business) on partner airline routes within the Smiles network
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 Smiles have an official public developer API?+
Smiles does not publish a documented public developer API or self-service API portal. Access to programmatic flight search data is not officially offered to third-party developers.
What does the search_flights endpoint return for each flight result?+
Each object in the flights array includes segment_type, airline name, flight_number, departure and arrival datetimes, total flight duration, number of stops, cabin class, available_seats, and miles pricing broken down by fare type (Smiles, Clube Smiles, Smiles+Money, Smiles+Money Club). Not every fare type will be populated for every flight — availability depends on the route and inventory.
Does the API return hotel, car rental, or non-flight Smiles redemption options?+
No. The API currently covers only flight redemptions via the search_flights endpoint. Smiles also allows miles redemption for hotels, car rentals, and experiences on its platform, but those are not included. You can fork this API on Parse and revise it to add endpoints covering those redemption categories.
Can I retrieve multi-city or open-jaw itineraries?+
The current trip_type parameter supports one-way (1) and round-trip (2) searches only. Multi-city or open-jaw routing is not covered. You can fork this API on Parse and revise it to add a multi-segment search endpoint if that structure is needed.
How fresh is the availability and pricing data returned by the API?+
Results reflect availability at the time of each API call. Award inventory on Smiles can change frequently — seats and fare-type options shown in one response may not be present in a subsequent call, especially for high-demand routes or dates close to departure.
Page content last updated . Spec covers 1 endpoint from smiles.com.br.
Related APIs in TravelSee all →
us.trip.com API
Search for flights across Trip.com and view a low-price calendar to find the cheapest travel dates for your destination. Compare flight options and prices to book your next trip at the best rates available.
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.
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.
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.
skyscanner.com API
Search for flights and compare prices across multiple booking agents, while exploring airports and cities to plan your trip. View daily and monthly price calendars to find the best deals for your travel dates.
alaskaair.com API
Search for Alaska Airlines award flight availability and pricing in miles, including taxes, fees, and seat details across airports and cities. Look up airport and city codes to find the perfect mileage redemption for your next trip.
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.
almosafer.com API
Search and compare flights across multiple airlines with real-time pricing, filtering options, and a fare calendar to find the best deals. Look up airport details and airline information to plan your travel better.