smiles.com.br 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.
curl -X GET 'https://api.parse.bot/scraper/53b04628-2b65-4375-964f-37ec2643d834/search_flights?origin=GRU&destination=MIA&departure_date=2026-05-20' \ -H 'X-API-Key: $PARSE_API_KEY'
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, and seat availability.
| Param | Type | Description |
|---|---|---|
| adults | integer | Number of adult passengers |
| originrequired | string | Origin airport 3-letter IATA code (e.g. GRU, CGH, MIA) |
| infants | integer | Number of infant passengers |
| children | integer | Number of child passengers |
| trip_type | integer | Trip type: 1 for one-way, 2 for round-trip |
| destinationrequired | string | Destination airport 3-letter IATA code (e.g. MIA, GIG, LIS) |
| return_date | string | Return date in YYYY-MM-DD format or Unix timestamp in milliseconds. Required when trip_type is 2 (round-trip). |
| departure_daterequired | string | Departure date in YYYY-MM-DD format or Unix timestamp in milliseconds |
{
"type": "object",
"fields": {
"flights": "array of flight objects with segment_type, airline, flight_number, departure/arrival times, duration, stops, cabin, available_seats, and pricing across fare types (smiles, clube_smiles, smiles_money, smiles_money_club)"
},
"sample": {
"data": {
"flights": [
{
"cabin": "ECONOMIC",
"stops": 0,
"origin": "GRU",
"airline": "AMERICAN AIRLINES",
"pricing": {
"smiles": {
"tax": 142.94,
"miles": 71000,
"money": 0
},
"clube_smiles": {
"tax": 142.94,
"miles": 67300,
"money": 0
},
"smiles_money": {
"tax": 142.94,
"miles": 3600,
"money": 1400
},
"smiles_money_club": {
"tax": 142.94,
"miles": 3300,
"money": 1280
}
},
"duration": "8h 30m",
"stops_text": "Direto",
"destination": "MIA",
"airline_code": "AA",
"arrival_time": "06:45",
"segment_type": "SEGMENT_1",
"flight_number": "AA 906",
"departure_time": "23:15",
"available_seats": 7
}
]
},
"status": "success"
}
}About the smiles.com.br 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.
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.
- 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
| Tier | Price | Credits/month | Rate limit |
|---|---|---|---|
| Free | $0/mo | 100 | 5 req/min |
| Hobby | $30/mo | 1,000 | 20 req/min |
| Developer | $100/mo | 5,000 | 250 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.