AN API endpoint that returns all Launch objects or a single launch.

EXAMPLE - /launch/\<id\>/ or /launch/?mode=list&search=SpaceX

GET
Return a list of all Launch objects.

FILTERS
Fields - 'name', 'id(s)', 'lsp__id', 'lsp__name', 'serial_number', 'launcher_config__id',
'rocket__spacecraftflight__spacecraft__name', 'is_crewed', 'include_suborbital', 'spacecraft_config__ids',
'related', 'location__ids', 'lsp__ids', 'pad__ids', 'status__ids'

MODE
'normal', 'list', 'detailed'

EXAMPLE ?mode=list

SEARCH
Searches through the launch name, rocket name, launch agency, mission name & spacecraft name.

EXAMPLE - ?search=SpaceX

GET /2.2.0/launch/d2b9e5ed-5009-476f-8aee-4d84c43e7cec/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "d2b9e5ed-5009-476f-8aee-4d84c43e7cec",
    "url": "https://ll.thespacedevs.com/2.2.0/launch/d2b9e5ed-5009-476f-8aee-4d84c43e7cec/?format=api",
    "slug": "h-iia-202-hayabusa-2",
    "flightclub_url": null,
    "r_spacex_api_id": null,
    "name": "H-IIA 202 | Hayabusa-2",
    "status": {
        "id": 3,
        "name": "Launch Successful",
        "abbrev": "Success",
        "description": "The launch vehicle successfully inserted its payload(s) into the target orbit(s)."
    },
    "last_updated": "2023-06-14T03:53:09Z",
    "updates": [],
    "net": "2014-12-03T04:22:04Z",
    "net_precision": null,
    "window_end": "2014-12-03T04:22:04Z",
    "window_start": "2014-12-03T04:22:04Z",
    "probability": -1,
    "weather_concerns": null,
    "holdreason": "",
    "failreason": "",
    "hashtag": null,
    "launch_service_provider": {
        "id": 98,
        "url": "https://ll.thespacedevs.com/2.2.0/agencies/98/?format=api",
        "name": "Mitsubishi Heavy Industries",
        "featured": false,
        "type": "Commercial",
        "country_code": "JPN",
        "abbrev": "MHI",
        "description": "Mitsubishi Heavy Industries, Ltd. is a Japanese multinational engineering, electrical equipment and electronics company headquartered in Tokyo, Japan. MHI is one of the core companies of the Mitsubishi Group.\r\n\r\nMHI's products include aerospace components, air conditioners, aircraft, automotive components, forklift trucks, hydraulic equipment, machine tools, missiles, power generation equipment, printing machines, ships and space launch vehicles. Through its defense-related activities, it is the world's 23rd-largest defense contractor measured by 2011 defense revenues and the largest based in Japan.",
        "administrator": "President: Seiji Izumisawa",
        "founding_year": "1884",
        "launchers": "H-I, H-II, H-III",
        "spacecraft": "Kounotori | HTV",
        "launch_library_url": null,
        "total_launch_count": 50,
        "consecutive_successful_launches": 2,
        "successful_launches": 49,
        "failed_launches": 1,
        "pending_launches": 13,
        "consecutive_successful_landings": 0,
        "successful_landings": 0,
        "failed_landings": 0,
        "attempted_landings": 0,
        "info_url": "https://www.mhi.com/",
        "wiki_url": "http://en.wikipedia.org/wiki/Mitsubishi_Heavy_Industries",
        "logo_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/mitsubishi2520heavy2520industries_logo_20200117065724.png",
        "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/mitsubishi2520heavy2520industries_image_20200117065724.jpg",
        "nation_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/mitsubishi2520heavy2520industries_nation_20240112111043.jpg"
    },
    "rocket": {
        "id": 1805,
        "configuration": {
            "id": 32,
            "url": "https://ll.thespacedevs.com/2.2.0/config/launcher/32/?format=api",
            "name": "H-IIA",
            "active": true,
            "reusable": false,
            "description": "H-IIA (H2A) is an active expendable launch system operated by Mitsubishi Heavy Industries (MHI) for the Japan Aerospace Exploration Agency. The liquid-fueled H-IIA rockets have been used to launch satellites into geostationary orbit, to launch a lunar orbiting spacecraft, and to launch Akatsuki, which studied the planet Venus. Launches occur at the Tanegashima Space Center.",
            "family": "H-II",
            "full_name": "H-IIA 202",
            "manufacturer": {
                "id": 98,
                "url": "https://ll.thespacedevs.com/2.2.0/agencies/98/?format=api",
                "name": "Mitsubishi Heavy Industries",
                "featured": false,
                "type": "Commercial",
                "country_code": "JPN",
                "abbrev": "MHI",
                "description": "Mitsubishi Heavy Industries, Ltd. is a Japanese multinational engineering, electrical equipment and electronics company headquartered in Tokyo, Japan. MHI is one of the core companies of the Mitsubishi Group.\r\n\r\nMHI's products include aerospace components, air conditioners, aircraft, automotive components, forklift trucks, hydraulic equipment, machine tools, missiles, power generation equipment, printing machines, ships and space launch vehicles. Through its defense-related activities, it is the world's 23rd-largest defense contractor measured by 2011 defense revenues and the largest based in Japan.",
                "administrator": "President: Seiji Izumisawa",
                "founding_year": "1884",
                "launchers": "H-I, H-II, H-III",
                "spacecraft": "Kounotori | HTV",
                "launch_library_url": null,
                "total_launch_count": 50,
                "consecutive_successful_launches": 2,
                "successful_launches": 49,
                "failed_launches": 1,
                "pending_launches": 13,
                "consecutive_successful_landings": 0,
                "successful_landings": 0,
                "failed_landings": 0,
                "attempted_landings": 0,
                "info_url": "https://www.mhi.com/",
                "wiki_url": "http://en.wikipedia.org/wiki/Mitsubishi_Heavy_Industries",
                "logo_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/mitsubishi2520heavy2520industries_logo_20200117065724.png",
                "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/mitsubishi2520heavy2520industries_image_20200117065724.jpg",
                "nation_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/mitsubishi2520heavy2520industries_nation_20240112111043.jpg"
            },
            "program": [],
            "variant": "202",
            "alias": "",
            "min_stage": 2,
            "max_stage": 2,
            "length": 53.0,
            "diameter": 4.0,
            "maiden_flight": "2001-08-29",
            "launch_cost": "90000000",
            "launch_mass": 285,
            "leo_capacity": 10000,
            "gto_capacity": 4100,
            "to_thrust": 2260,
            "apogee": null,
            "vehicle_range": null,
            "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/h-iia_202_lifto_image_20240325123250.jpg",
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/H-IIA",
            "total_launch_count": 33,
            "consecutive_successful_launches": 33,
            "successful_launches": 33,
            "failed_launches": 0,
            "pending_launches": 2,
            "attempted_landings": 0,
            "successful_landings": 0,
            "failed_landings": 0,
            "consecutive_successful_landings": 0
        },
        "launcher_stage": [],
        "spacecraft_stage": null
    },
    "mission": {
        "id": 1216,
        "name": "Hayabusa-2",
        "description": "Hayabusa2 (Japanese: はやぶさ2, \"Peregrine falcon 2\") is an asteroid sample-return mission operated by the Japanese space agency, JAXA. It follows on from the Hayabusa mission which returned asteroid samples in June 2010.\r\n\r\nHayabusa2 carries multiple science payloads for remote sensing, sampling, and four small rovers that investigated the asteroid surface to inform the environmental and geological context of the samples collected.",
        "launch_designator": null,
        "type": "Robotic Exploration",
        "orbit": {
            "id": 6,
            "name": "Heliocentric N/A",
            "abbrev": "Helio-N/A"
        },
        "agencies": [],
        "info_urls": [],
        "vid_urls": []
    },
    "pad": {
        "id": 41,
        "url": "https://ll.thespacedevs.com/2.2.0/pad/41/?format=api",
        "agency_id": 37,
        "name": "Yoshinobu Launch Complex LP-1",
        "description": null,
        "info_url": null,
        "wiki_url": "https://en.wikipedia.org/wiki/Yoshinobu_Launch_Complex",
        "map_url": "https://www.google.com/maps?q=30.400813,130.977748",
        "latitude": "30.400813",
        "longitude": "130.977748",
        "location": {
            "id": 26,
            "url": "https://ll.thespacedevs.com/2.2.0/location/26/?format=api",
            "name": "Tanegashima Space Center, Japan",
            "country_code": "JPN",
            "description": "",
            "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/location_26_20200803142507.jpg",
            "timezone_name": "Asia/Tokyo",
            "total_launch_count": 90,
            "total_landing_count": 0
        },
        "country_code": "JPN",
        "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_41_20200803143551.jpg",
        "total_launch_count": 55,
        "orbital_launch_attempt_count": 55
    },
    "infoURLs": [],
    "vidURLs": [
        {
            "priority": 0,
            "source": null,
            "publisher": null,
            "title": "小惑星探査機「はやぶさ2」打ち上げ中継 |Asteroid Explorer \"Hayabusa2\" Launch Live Broadcast",
            "description": "H-IIAロケット26号機による小惑星探査機「はやぶさ2」打ち上げと衛星分離の模様を、種子島宇宙センターからライブ中継いたしました。 JAXA was broadcasted a live report of the Asteroid Explorer Hayabusa2’s launch by the H-II...",
            "feature_image": "https://i.ytimg.com/vi/-9TwlwZobc4/maxresdefault.jpg",
            "url": "https://www.youtube.com/watch?v=-9TwlwZobc4",
            "type": null,
            "language": null,
            "start_time": null,
            "end_time": null
        }
    ],
    "webcast_live": false,
    "timeline": [],
    "image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/h-iia_202_lifto_image_20240325123250.jpg",
    "infographic": null,
    "program": [],
    "orbital_launch_attempt_count": 5418,
    "location_launch_attempt_count": 61,
    "pad_launch_attempt_count": 33,
    "agency_launch_attempt_count": 23,
    "orbital_launch_attempt_count_year": 79,
    "location_launch_attempt_count_year": 4,
    "pad_launch_attempt_count_year": 4,
    "agency_launch_attempt_count_year": 4,
    "pad_turnaround": "P56DT23H6M4S",
    "mission_patches": [],
    "type": "detailed"
}