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/263e799b-e3a2-437b-9cb5-96d178645f61/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "263e799b-e3a2-437b-9cb5-96d178645f61",
    "url": "https://ll.thespacedevs.com/2.2.0/launch/263e799b-e3a2-437b-9cb5-96d178645f61/?format=api",
    "slug": "pegasus-xl-ionospheric-connection-explorer-icon",
    "flightclub_url": null,
    "r_spacex_api_id": null,
    "name": "Pegasus XL | Ionospheric Connection Explorer (ICON)",
    "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:27Z",
    "updates": [],
    "net": "2019-10-11T02:00:30Z",
    "net_precision": null,
    "window_end": "2019-10-11T02:55:00Z",
    "window_start": "2019-10-11T01:30:00Z",
    "probability": 70,
    "weather_concerns": null,
    "holdreason": "",
    "failreason": null,
    "hashtag": "#NASAICON",
    "launch_service_provider": {
        "id": 257,
        "url": "https://ll.thespacedevs.com/2.2.0/agencies/257/?format=api",
        "name": "Northrop Grumman Space Systems",
        "featured": true,
        "type": "Commercial",
        "country_code": "USA",
        "abbrev": "NGSS",
        "description": "Northrup Grumman Space Systems designs, builds and delivers space, defence and aviation-related systems to customers around the world. They aquired Orbital ATK in 2018 along with its launchers and ongoing missions.",
        "administrator": "CEO: Kathy Warden",
        "founding_year": "2015",
        "launchers": "Antares | Minotaur | Pegasus",
        "spacecraft": "Cygnus",
        "launch_library_url": null,
        "total_launch_count": 15,
        "consecutive_successful_launches": 15,
        "successful_launches": 15,
        "failed_launches": 0,
        "pending_launches": 4,
        "consecutive_successful_landings": 0,
        "successful_landings": 0,
        "failed_landings": 0,
        "attempted_landings": 0,
        "info_url": "http://www.northropgrumman.com/AboutUs/BusinessSectors/InnovationSystems/Pages/default.aspx",
        "wiki_url": "https://en.wikipedia.org/wiki/Northrop_Grumman#Innovation_Systems",
        "logo_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/northrop2520grumman2520innovation2520systems_logo_20190207032451.png",
        "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/northrop2520grumman2520innovation2520systems_image_20190207032451.jpeg",
        "nation_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/northrop2520grumman2520space2520systems_nation_20230624130158.jpg"
    },
    "rocket": {
        "id": 10,
        "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": 696,
        "name": "Ionospheric Connection Explorer (ICON)",
        "description": "Ionospheric Connection Explorer (ICON) is a NASA mission to study Earth's thermosphere and ionosphere and the connection between space weather and weather on our planet. Mission is planned to last for two years.",
        "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": [],
    "webcast_live": false,
    "timeline": [],
    "image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/pegasus_xl_moun_image_20240307124328.jpeg",
    "infographic": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/infographic_images/pegasus2520xl_infographic_20200806035709.png",
    "program": [],
    "orbital_launch_attempt_count": 5893,
    "location_launch_attempt_count": 44,
    "pad_launch_attempt_count": 7,
    "agency_launch_attempt_count": 3,
    "orbital_launch_attempt_count_year": 73,
    "location_launch_attempt_count_year": 1,
    "pad_launch_attempt_count_year": 1,
    "agency_launch_attempt_count_year": 2,
    "pad_turnaround": "P1029DT12H23M9S",
    "mission_patches": [],
    "type": "detailed"
}