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/e5df737b-ac37-4e09-80ae-001c592452d0/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "e5df737b-ac37-4e09-80ae-001c592452d0",
    "url": "https://ll.thespacedevs.com/2.2.0/launch/e5df737b-ac37-4e09-80ae-001c592452d0/?format=api",
    "slug": "pegasus-xl-8-x-cygnss",
    "flightclub_url": null,
    "r_spacex_api_id": null,
    "name": "Pegasus XL | 8 x CYGNSS",
    "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-14T04:09:26Z",
    "updates": [],
    "net": "2016-12-15T13:37:21Z",
    "net_precision": null,
    "window_end": "2016-12-15T14:21:00Z",
    "window_start": "2016-12-15T13:21:00Z",
    "probability": 0,
    "weather_concerns": null,
    "holdreason": "",
    "failreason": null,
    "hashtag": null,
    "launch_service_provider": {
        "id": 179,
        "url": "https://ll.thespacedevs.com/2.2.0/agencies/179/?format=api",
        "name": "Orbital ATK",
        "featured": false,
        "type": "Commercial",
        "country_code": "USA",
        "abbrev": "OA",
        "description": "Orbital ATK Inc. was an American aerospace manufacturer and defense industry company. It was formed in 2015 from the merger of Orbital Sciences Corporation and parts of Alliant Techsystems. Orbital ATK was purchased by Northrop Grumman in 2018.",
        "administrator": "President: David W. Thompson",
        "founding_year": "2015",
        "launchers": "Antares | Minotaur | Pegasus",
        "spacecraft": "",
        "launch_library_url": null,
        "total_launch_count": 6,
        "consecutive_successful_launches": 6,
        "successful_launches": 6,
        "failed_launches": 0,
        "pending_launches": 0,
        "consecutive_successful_landings": 0,
        "successful_landings": 0,
        "failed_landings": 0,
        "attempted_landings": 0,
        "info_url": "https://www.orbitalatk.com/",
        "wiki_url": "https://en.wikipedia.org/wiki/Orbital_ATK",
        "logo_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/orbital2520atk_logo_20190207032453.png",
        "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/orbital2520atk_image_20190207032453.jpeg",
        "nation_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/orbital2520atk_nation_20190207032453.jpeg"
    },
    "rocket": {
        "id": 1973,
        "configuration": {
            "id": 173,
            "url": "https://ll.thespacedevs.com/2.2.0/config/launcher/173/?format=api",
            "name": "Pegasus XL",
            "active": true,
            "reusable": false,
            "description": "The Pegasus is an air-launched rocket developed by Orbital Sciences Corporation (now part of Northrop Grumman Innovation Systems). Capable of carrying small payloads of up to 443 kilograms (977 lb) into low Earth orbit, the vehicle consists of three solid propellant stages and an optional monopropellant fourth stage. Pegasus is released from its carrier aircraft at approximately 40,000 ft (12,000 m), and its first stage has a wing and a tail to provide lift and attitude control while in the atmosphere.",
            "family": "Pegasus",
            "full_name": "Pegasus XL",
            "manufacturer": {
                "id": 100,
                "url": "https://ll.thespacedevs.com/2.2.0/agencies/100/?format=api",
                "name": "Orbital Sciences Corporation",
                "featured": false,
                "type": "Commercial",
                "country_code": "USA",
                "abbrev": "OSC",
                "description": null,
                "administrator": null,
                "founding_year": null,
                "launchers": "",
                "spacecraft": "",
                "launch_library_url": null,
                "total_launch_count": 72,
                "consecutive_successful_launches": 0,
                "successful_launches": 65,
                "failed_launches": 7,
                "pending_launches": 0,
                "consecutive_successful_landings": 0,
                "successful_landings": 0,
                "failed_landings": 0,
                "attempted_landings": 0,
                "info_url": "http://www.orbital.com/",
                "wiki_url": "http://en.wikipedia.org/wiki/Orbital_Sciences_Corporation",
                "logo_url": null,
                "image_url": null,
                "nation_url": null
            },
            "program": [],
            "variant": "",
            "alias": "",
            "min_stage": 0,
            "max_stage": 3,
            "length": 17.6,
            "diameter": 1.27,
            "maiden_flight": "1994-06-27",
            "launch_cost": "40000000",
            "launch_mass": 23,
            "leo_capacity": 443,
            "gto_capacity": 0,
            "to_thrust": 580,
            "apogee": 4000,
            "vehicle_range": null,
            "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/pegasus_xl_moun_image_20240307124328.jpeg",
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Pegasus_(rocket)",
            "total_launch_count": 31,
            "consecutive_successful_launches": 25,
            "successful_launches": 28,
            "failed_launches": 3,
            "pending_launches": 0,
            "attempted_landings": 0,
            "successful_landings": 0,
            "failed_landings": 0,
            "consecutive_successful_landings": 0
        },
        "launcher_stage": [],
        "spacecraft_stage": null
    },
    "mission": {
        "id": 168,
        "name": "8 x CYGNSS",
        "description": "CYGNSS or Cyclone Global Navigation Satellite System is a NASA developed system to improve hurricane forecasting. It is a constellation of 8 small observation satellites, 27.5 kg each, that will make accurate measurements of ocean surface winds in and near the eye of the storm throughout the lifecycle of tropical cyclones, typhoons & hurricanes.",
        "launch_designator": null,
        "type": "Earth Science",
        "orbit": {
            "id": 8,
            "name": "Low Earth Orbit",
            "abbrev": "LEO"
        },
        "agencies": [],
        "info_urls": [],
        "vid_urls": []
    },
    "pad": {
        "id": 84,
        "url": "https://ll.thespacedevs.com/2.2.0/pad/84/?format=api",
        "agency_id": null,
        "name": "Cape Canaveral",
        "description": null,
        "info_url": null,
        "wiki_url": "https://en.wikipedia.org/wiki/Cape_Canaveral",
        "map_url": "https://www.google.com/maps?q=28.455556,-80.527778",
        "latitude": "28.455556",
        "longitude": "-80.527778",
        "location": {
            "id": 20,
            "url": "https://ll.thespacedevs.com/2.2.0/location/20/?format=api",
            "name": "Air launch to orbit",
            "country_code": "???",
            "description": "",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_20_20200803142433.jpg",
            "timezone_name": "",
            "total_launch_count": 51,
            "total_landing_count": 0
        },
        "country_code": "USA",
        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_84_20200803143436.jpg",
        "total_launch_count": 7,
        "orbital_launch_attempt_count": 7
    },
    "infoURLs": [],
    "vidURLs": [
        {
            "priority": 0,
            "source": null,
            "publisher": null,
            "title": "Pegasus XL Rocket Launches with CYGNSS Spacecraft",
            "description": "The Orbital ATK Pegasus XL rocket launched from the company's L-1011 Stargazer airplane at 8:37 a.m. EST, carrying the CYGNSS spacecraft for launch.",
            "feature_image": "https://i.ytimg.com/vi/Bla3RsVia9A/maxresdefault.jpg",
            "url": "https://www.youtube.com/watch?v=Bla3RsVia9A",
            "type": null,
            "language": null,
            "start_time": null,
            "end_time": null
        },
        {
            "priority": 0,
            "source": null,
            "publisher": null,
            "title": "NASA Launches Satellite Constellation for Hurricane Tracking Mission",
            "description": "NASA successfully launched eight small satellites that will provide scientists with advanced technology to see inside tropical storms and hurricanes like nev...",
            "feature_image": "https://i.ytimg.com/vi/JKMUpi9IP3A/hqdefault.jpg",
            "url": "https://www.youtube.com/watch?v=JKMUpi9IP3A",
            "type": null,
            "language": null,
            "start_time": null,
            "end_time": null
        }
    ],
    "webcast_live": false,
    "timeline": [],
    "image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/pegasus_xl_moun_image_20240307124328.jpeg",
    "infographic": null,
    "program": [],
    "orbital_launch_attempt_count": 5610,
    "location_launch_attempt_count": 43,
    "pad_launch_attempt_count": 6,
    "agency_launch_attempt_count": 2,
    "orbital_launch_attempt_count_year": 81,
    "location_launch_attempt_count_year": 1,
    "pad_launch_attempt_count_year": 1,
    "agency_launch_attempt_count_year": 2,
    "pad_turnaround": "P4980DT1H37M24S",
    "mission_patches": [],
    "type": "detailed"
}