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/acdd0fab-b485-4c18-bb6f-c45cb62bdfd7/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "acdd0fab-b485-4c18-bb6f-c45cb62bdfd7",
    "url": "https://ll.thespacedevs.com/2.2.0/launch/acdd0fab-b485-4c18-bb6f-c45cb62bdfd7/?format=api",
    "slug": "atlas-v-411-solar-orbiter",
    "flightclub_url": null,
    "r_spacex_api_id": null,
    "name": "Atlas V 411 | Solar Orbiter",
    "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-14T17:42:26Z",
    "updates": [],
    "net": "2020-02-10T04:03:00Z",
    "net_precision": null,
    "window_end": "2020-02-10T06:03:00Z",
    "window_start": "2020-02-10T04:03:00Z",
    "probability": 90,
    "weather_concerns": null,
    "holdreason": "",
    "failreason": null,
    "hashtag": "#SolO",
    "launch_service_provider": {
        "id": 124,
        "url": "https://ll.thespacedevs.com/2.2.0/agencies/124/?format=api",
        "name": "United Launch Alliance",
        "featured": true,
        "type": "Commercial",
        "country_code": "USA",
        "abbrev": "ULA",
        "description": "United Launch Alliance (ULA) is a joint venture of Lockheed Martin Space Systems and Boeing Defense, Space & Security. ULA was formed in December 2006 by combining the teams at these companies which provide spacecraft launch services to the government of the United States. ULA launches from both coasts of the US. They launch their Atlas V vehicle from LC-41 in Cape Canaveral and LC-3E at Vandeberg. Their Delta IV launches from LC-37 at Cape Canaveral and LC-6 at Vandenberg.",
        "administrator": "CEO: Tory Bruno",
        "founding_year": "2006",
        "launchers": "Atlas | Delta IV | Vulcan",
        "spacecraft": "CST-100 Starliner",
        "launch_library_url": null,
        "total_launch_count": 161,
        "consecutive_successful_launches": 161,
        "successful_launches": 161,
        "failed_launches": 0,
        "pending_launches": 45,
        "consecutive_successful_landings": 0,
        "successful_landings": 0,
        "failed_landings": 0,
        "attempted_landings": 0,
        "info_url": "http://www.ulalaunch.com/",
        "wiki_url": "http://en.wikipedia.org/wiki/United_Launch_Alliance",
        "logo_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/united2520launch2520alliance_logo_20210412195953.png",
        "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/united_launch_a_image_20210412201210.png",
        "nation_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/united2520launch2520alliance_nation_20230531043703.jpg"
    },
    "rocket": {
        "id": 83,
        "configuration": {
            "id": 83,
            "url": "https://ll.thespacedevs.com/2.2.0/config/launcher/83/?format=api",
            "name": "Atlas V 411",
            "active": true,
            "reusable": false,
            "description": "Atlas V with 4m fairing, 1 SRB, 1 Centaur upper stage engine.",
            "family": "Atlas",
            "full_name": "Atlas V 411",
            "manufacturer": {
                "id": 124,
                "url": "https://ll.thespacedevs.com/2.2.0/agencies/124/?format=api",
                "name": "United Launch Alliance",
                "featured": true,
                "type": "Commercial",
                "country_code": "USA",
                "abbrev": "ULA",
                "description": "United Launch Alliance (ULA) is a joint venture of Lockheed Martin Space Systems and Boeing Defense, Space & Security. ULA was formed in December 2006 by combining the teams at these companies which provide spacecraft launch services to the government of the United States. ULA launches from both coasts of the US. They launch their Atlas V vehicle from LC-41 in Cape Canaveral and LC-3E at Vandeberg. Their Delta IV launches from LC-37 at Cape Canaveral and LC-6 at Vandenberg.",
                "administrator": "CEO: Tory Bruno",
                "founding_year": "2006",
                "launchers": "Atlas | Delta IV | Vulcan",
                "spacecraft": "CST-100 Starliner",
                "launch_library_url": null,
                "total_launch_count": 161,
                "consecutive_successful_launches": 161,
                "successful_launches": 161,
                "failed_launches": 0,
                "pending_launches": 45,
                "consecutive_successful_landings": 0,
                "successful_landings": 0,
                "failed_landings": 0,
                "attempted_landings": 0,
                "info_url": "http://www.ulalaunch.com/",
                "wiki_url": "http://en.wikipedia.org/wiki/United_Launch_Alliance",
                "logo_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/united2520launch2520alliance_logo_20210412195953.png",
                "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/united_launch_a_image_20210412201210.png",
                "nation_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/united2520launch2520alliance_nation_20230531043703.jpg"
            },
            "program": [],
            "variant": "411",
            "alias": "",
            "min_stage": 0,
            "max_stage": 2,
            "length": 58.3,
            "diameter": 3.8,
            "maiden_flight": "2006-04-20",
            "launch_cost": "115000000",
            "launch_mass": null,
            "leo_capacity": 8080,
            "gto_capacity": 5950,
            "to_thrust": null,
            "apogee": 40000,
            "vehicle_range": null,
            "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/atlas2520v2520411_image_20190224012306.jpeg",
            "info_url": "https://www.ulalaunch.com/rockets/atlas-v",
            "wiki_url": null,
            "total_launch_count": 6,
            "consecutive_successful_launches": 6,
            "successful_launches": 6,
            "failed_launches": 0,
            "pending_launches": 0,
            "attempted_landings": 0,
            "successful_landings": 0,
            "failed_landings": 0,
            "consecutive_successful_landings": 0
        },
        "launcher_stage": [],
        "spacecraft_stage": null
    },
    "mission": {
        "id": 740,
        "name": "Solar Orbiter",
        "description": "Solar Orbiter is a joint ESA/NASA mission dedicated to solar and heliospheric physics. It will be used to examine how the Sun creates and controls the heliosphere, the vast bubble of charged particles blown by the solar wind into the interstellar medium. The spacecraft will combine in situ and remote sensing observations to gain new information about the solar wind, the heliospheric magnetic field, solar energetic particles, transient interplanetary disturbances and the Sun's magnetic field.\n\nInstruments include:\n* Solar Wind Analyser (SWA)\n* Energetic Particle Detector (EPD)\n* Magnetometer (MAG)\n* Radio and Plasma Wave analyser (RPW)\n* Polarimetric and Helioseismic Imager (PHI)\n* Extreme Ultraviolet Imager (EUI)\n* Spectral Imaging of the Coronal Environment (SPICE)\n* Spectrometer Telescope for Imaging X-rays (STIX)\n* Coronagraph (Metis)\n\nWhile mission is not intended to get as close to the Sun as Parker Solar Probe, it's designed to coordinate observations and has different set of instruments. Main mission starts after one and only Earth flyby in November 2021, and lasts until Dec 2026 when it enters extended phase. During the mission, Solar Orbiter will get through numerous Venus gravity assists, and its trajectory will be highly inclined allowing direct observations of Sun's poles.",
        "launch_designator": null,
        "type": "Heliophysics",
        "orbit": {
            "id": 6,
            "name": "Heliocentric N/A",
            "abbrev": "Helio-N/A"
        },
        "agencies": [],
        "info_urls": [],
        "vid_urls": []
    },
    "pad": {
        "id": 29,
        "url": "https://ll.thespacedevs.com/2.2.0/pad/29/?format=api",
        "agency_id": null,
        "name": "Space Launch Complex 41",
        "description": null,
        "info_url": null,
        "wiki_url": "https://en.wikipedia.org/wiki/Cape_Canaveral_Air_Force_Station_Space_Launch_Complex_41",
        "map_url": "https://www.google.com/maps?q=28.58341025,-80.58303644",
        "latitude": "28.58341025",
        "longitude": "-80.58303644",
        "location": {
            "id": 12,
            "url": "https://ll.thespacedevs.com/2.2.0/location/12/?format=api",
            "name": "Cape Canaveral, FL, USA",
            "country_code": "USA",
            "description": "",
            "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/location_12_20200803142519.jpg",
            "timezone_name": "America/New_York",
            "total_launch_count": 952,
            "total_landing_count": 51
        },
        "country_code": "USA",
        "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_29_20200803143528.jpg",
        "total_launch_count": 111,
        "orbital_launch_attempt_count": 111
    },
    "infoURLs": [
        {
            "priority": 0,
            "source": null,
            "title": "Solar Orbiter",
            "description": "Solar Orbiter will address big questions in Solar System science to help us understand how our star creates and controls the giant bubble of plasma that surrounds the whole Solar System and influences the planets within it. It is an ESA mission with strong NASA participation.",
            "feature_image": null,
            "url": "https://www.esa.int/Science_Exploration/Space_Science/Solar_Orbiter",
            "type": null,
            "language": null
        }
    ],
    "vidURLs": [
        {
            "priority": 0,
            "source": null,
            "publisher": null,
            "title": "Solar Orbiter Launch to Spot the Sun",
            "description": "Get ready for liftoff to the Sun! 🚀 Solar Orbiter, a collaboration between European Space Agency and NASA, is launching Sunday, Feb. 9, to study the inner wo...",
            "feature_image": "https://i.ytimg.com/vi/-X-p5C4SLVo/maxresdefault.jpg",
            "url": "https://www.youtube.com/watch?v=-X-p5C4SLVo",
            "type": null,
            "language": null,
            "start_time": null,
            "end_time": null
        }
    ],
    "webcast_live": false,
    "timeline": [],
    "image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/atlas2520v2520411_image_20190224012306.jpeg",
    "infographic": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/atlas2520v252_infographic_20200204002947.png",
    "program": [],
    "orbital_launch_attempt_count": 5923,
    "location_launch_attempt_count": 794,
    "pad_launch_attempt_count": 95,
    "agency_launch_attempt_count": 138,
    "orbital_launch_attempt_count_year": 11,
    "location_launch_attempt_count_year": 3,
    "pad_launch_attempt_count_year": 1,
    "agency_launch_attempt_count_year": 1,
    "pad_turnaround": "P51DT16H26M17S",
    "mission_patches": [],
    "type": "detailed"
}