Discover/almosafer.com API
live

almosafer.com APIalmosafer.com

Search Almosafer flights, get fare calendars, and look up airport/airline info via 3 structured endpoints returning real-time pricing and itinerary data.

Endpoints
3
Updated
14d ago
Try it
Cabin class: Economy, Business, First
Number of adult passengers
Origin airport IATA code (e.g., RUH, DXB, JFK)
Number of infant passengers (under 2)
Sort results by: price, duration, stops
Filter by airline codes, comma-separated (e.g., SV,F3,XY)
Number of child passengers (2-11 years)
Price currency code (USD, SAR, EUR, etc.)
Maximum total price filter
Maximum number of stops (0 for nonstop)
Minimum total price filter
Destination airport IATA code (e.g., JED, CAI, LHR)
Return date in YYYY-MM-DD format. Omit for one-way search
Set to 'true' to show only nonstop flights
Departure date in YYYY-MM-DD format
Set to 'true' to show only refundable fares
api.parse.bot/scraper/775b2738-2d03-4e34-a269-8c51b572e0a2/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/775b2738-2d03-4e34-a269-8c51b572e0a2/search_flights?origin=RUH&destination=JED&departure_date=2026-05-10' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 3 totalclick to expand

Search for flights between airports with optional filtering by airline, stops, price, and more. Supports one-way and round-trip searches across all cabin classes. Returns flight itineraries sorted by the specified criteria.

Input
ParamTypeDescription
cabinstringCabin class: Economy, Business, First
adultsintegerNumber of adult passengers
originrequiredstringOrigin airport IATA code (e.g., RUH, DXB, JFK)
infantsintegerNumber of infant passengers (under 2)
sort_bystringSort results by: price, duration, stops
airlinesstringFilter by airline codes, comma-separated (e.g., SV,F3,XY)
childrenintegerNumber of child passengers (2-11 years)
currencystringPrice currency code (USD, SAR, EUR, etc.)
max_pricenumberMaximum total price filter
max_stopsintegerMaximum number of stops (0 for nonstop)
min_pricenumberMinimum total price filter
destinationrequiredstringDestination airport IATA code (e.g., JED, CAI, LHR)
return_datestringReturn date in YYYY-MM-DD format. Omit for one-way search
nonstop_onlystringSet to 'true' to show only nonstop flights
departure_daterequiredstringDeparture date in YYYY-MM-DD format
refundable_onlystringSet to 'true' to show only refundable fares
Response
{
  "type": "object",
  "fields": {
    "search": "object containing search parameters summary (origin, destination, departure_date, return_date, cabin, passengers, currency, trip_type)",
    "flights": "array of flight objects with id, airline, flight_codes, price, duration_minutes, total_stops, baggage, seats_available, has_fare_families",
    "total_results": "integer count of flights returned",
    "airlines_found": "array of unique airline IATA codes in results"
  },
  "sample": {
    "data": {
      "search": {
        "cabin": "Economy",
        "origin": "RUH",
        "currency": "USD",
        "trip_type": "oneway",
        "passengers": {
          "adults": 1,
          "infants": 0,
          "children": 0
        },
        "destination": "JED",
        "return_date": null,
        "departure_date": "2026-05-10"
      },
      "flights": [
        {
          "id": "3595bab7F3-223d15d4_F3_ONE",
          "path": [
            "F3-139"
          ],
          "cabin": "Economy",
          "price": {
            "tax": 0,
            "base": 106.39,
            "total": 106.39,
            "currency": "USD",
            "refundable": false,
            "cheapest_roundtrip_total": 0
          },
          "airline": "F3",
          "baggage": {
            "cabin": "7 KG",
            "checkin": "",
            "checkin_weight_kg": null
          },
          "direction": "",
          "total_stops": 0,
          "arrival_date": "",
          "flight_codes": [
            "F3-139"
          ],
          "total_layover": "",
          "departure_date": "",
          "seats_available": 36,
          "duration_minutes": 105,
          "has_fare_families": true,
          "distribution_channel": "DRT"
        }
      ],
      "total_results": 139,
      "airlines_found": [
        "SV",
        "XY",
        "EK",
        "F3"
      ]
    },
    "status": "success"
  }
}

About the almosafer.com API

The Almosafer API provides 3 endpoints for querying flight data from almosafer.com, covering one-way and round-trip itinerary search, date-range fare calendars, and IATA code lookups. The search_flights endpoint returns per-itinerary fields including price, duration, stop count, baggage allowance, and seat availability across Economy, Business, and First cabin classes in any supported currency.

Flight Search

The search_flights endpoint accepts a required origin and destination as IATA codes and a departure_date, with optional filters for cabin, airlines (comma-separated IATA codes), stops, and price range. Results are returned as an array of flight objects, each containing id, airline, flight_codes, price, duration_minutes, total_stops, baggage, seats_available, and a has_fare_flexibility flag. The sort_by parameter accepts price, duration, or stops. The airlines_found array in the response lets you see which carriers are present in the result set without scanning individual records.

Fare Calendar

The get_fares_calendar endpoint returns the cheapest one-way price for each date in a specified range between an origin and destination. The range is defined by departure_from and departure_to in YYYY-MM-DD format; ranges wider than 7 days are automatically broken into multiple requests and merged. Each entry in the fares array includes departure_date, price, airline, currency, and source. A top-level cheapest object surfaces the lowest-priced fare in the range without requiring client-side iteration.

Airport and Airline Lookup

The get_airport_info endpoint resolves one or more IATA codes — airports and airlines can be mixed in a single comma-separated codes parameter. Airport objects return code, name, city, country, and country_code. Airline objects return code and name. This is useful for displaying human-readable labels when building UIs on top of the search or calendar endpoints, which return raw IATA codes throughout.

Common use cases
  • Build a flexible date tool that shows the cheapest flight for each day in a month using get_fares_calendar
  • Compare prices across airlines on a route by filtering search_flights with specific airlines codes
  • Display route summaries with full airport names by resolving IATA codes via get_airport_info
  • Find the shortest-duration itinerary on a route by setting sort_by=duration in search_flights
  • Monitor seat availability and prices on specific flights using seats_available from search results
  • Identify which carriers serve a given route by reading the airlines_found field from a flight search
  • Resolve a mixed list of airline and airport IATA codes to display names in a travel dashboard
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 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 Almosafer have an official public developer API?+
Almosafer does not publish a public developer API or developer documentation. This Parse API provides structured access to the flight search, fare calendar, and airport lookup data available on almosafer.com.
What does `search_flights` return beyond the ticket price?+
Each flight object includes duration_minutes, total_stops, flight_codes, baggage allowance details, seats_available (a count or flag), and has_fare_flexibility. The top-level response also contains airlines_found — the distinct set of airline codes that appear in the result set — and total_results for the unfiltered count.
How does the fare calendar handle wide date ranges?+
The source supports a maximum 7-day window per request. When you pass a departure_from/departure_to range wider than 7 days, the API automatically chunks the range into sequential 7-day windows, fetches each, and merges the results into a single fares array. The total_combinations field tells you how many distinct dates have fare data in the final merged response.
Does the API return hotel or car rental data from Almosafer?+
Not currently. The API covers flights only: itinerary search, date-range fare calendars, and IATA code lookups. You can fork it on Parse and revise it to add endpoints for hotel or car rental data from Almosafer.
Can I get historical fare data or price trend charts across multiple months?+
The get_fares_calendar endpoint returns current lowest fares for future dates in a given range; it does not expose historical pricing or past fare trends. You can fork this API on Parse and revise it to add a historical data endpoint if that data becomes accessible through the source.
Page content last updated . Spec covers 3 endpoints from almosafer.com.
Related APIs in TravelSee all →
culturetrip.com API
Discover travel inspiration and plan your next adventure by browsing curated travel articles, destination guides, and bookable trips organized by region and city. Search for specific destinations, compare trip dates and prices, and explore popular cities to find the perfect getaway.
sevenrooms.com API
Search for available restaurant tables across any SevenRooms venue, view venue details and open dates, and complete reservations all in one place. Whether you're planning ahead or booking last-minute, you can check real-time availability and secure your table at thousands of restaurants on the SevenRooms platform.
delta.com API
Look up Delta Airlines flight schedules, check real-time flight status, and retrieve detailed trip information to plan your travel. Find your nearest airport and access the data you need to monitor flights and make booking decisions.
customs.gov.mv API
Check import/export duties, tariff classifications, and exchange rates for Maldives customs compliance, plus track vessel movements, company registrations, and declaration statuses. Get real-time data directly from the official customs portal to streamline your trade and logistics operations.
comedymothership.com API
Browse upcoming Comedy Mothership shows across different rooms, check real-time ticket availability, and get detailed information about Kill Tony events and seating options. Find venue details, FAQs, and track specific performances to plan your comedy night.
burningman.org API
Access comprehensive Burning Man information including Black Rock City event schedules, ticketing details, themed activities, playa events, volunteering opportunities, and mutant vehicle listings. Search global Burning Man events, stay updated with news and stories, and find preparation resources all in one place.
breckenridge.com API
Check real-time snow conditions, weather forecasts, lift operations, and trail status at Breckenridge Ski Resort to plan your day on the mountain. View live mountain cameras and get up-to-the-minute updates on slopes, lifts, and weather before you head out.
united.com API
Search United Airlines flights, check real-time flight status, and view detailed seat maps to plan your perfect trip. Compare fare options and use airport autocomplete to quickly find your departure and arrival cities.