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

EXAMPLE - /launch// 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'

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.0.0/launch/fd608f82-d496-454e-957e-6350ee9e1a41/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "fd608f82-d496-454e-957e-6350ee9e1a41",
    "url": "https://ll.thespacedevs.com/2.0.0/launch/fd608f82-d496-454e-957e-6350ee9e1a41/?format=api",
    "launch_library_id": 1148,
    "slug": "pegasus-xl-space-test-experiments-platform-1-step",
    "name": "Pegasus XL | Space Test Experiments Platform 1 (STEP-1)",
    "status": {
        "id": 4,
        "name": "Failure"
    },
    "net": "1994-06-27T21:15:00Z",
    "window_end": "1994-06-27T21:15:00Z",
    "window_start": "1994-06-27T21:15:00Z",
    "inhold": false,
    "tbdtime": false,
    "tbddate": false,
    "probability": -1,
    "holdreason": "",
    "failreason": "Flight termination after loss of vehicle control 35 seconds into flight",
    "hashtag": null,
    "launch_service_provider": {
        "id": 100,
        "url": "https://ll.thespacedevs.com/2.0.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
    },
    "rocket": {
        "id": 376,
        "configuration": {
            "id": 173,
            "launch_library_id": 8,
            "url": "https://ll.thespacedevs.com/2.0.0/config/launcher/173/?format=api",
            "name": "Pegasus XL",
            "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.0.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_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
        },
        "launcher_stage": [],
        "spacecraft_stage": null
    },
    "mission": null,
    "pad": {
        "id": 62,
        "url": "https://ll.thespacedevs.com/2.0.0/pad/62/?format=api",
        "agency_id": null,
        "name": "Vandenberg Space Force Base",
        "info_url": null,
        "wiki_url": "https://en.wikipedia.org/wiki/Vandenberg_Space_Force_Base",
        "map_url": "https://www.google.com/maps?q=34.732778,-120.568056",
        "latitude": "34.732778",
        "longitude": "-120.568056",
        "location": {
            "id": 20,
            "url": "https://ll.thespacedevs.com/2.0.0/location/20/?format=api",
            "name": "Air launch to orbit",
            "country_code": "???",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_20_20200803142433.jpg",
            "total_launch_count": 51,
            "total_landing_count": 0
        },
        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_62_20200803143441.jpg",
        "total_launch_count": 22
    },
    "infoURLs": [],
    "vidURLs": [],
    "webcast_live": false,
    "image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/pegasus_xl_moun_image_20240307124328.jpeg",
    "infographic": null,
    "program": [],
    "orbital_launch_attempt_count": 3906,
    "location_launch_attempt_count": 6,
    "pad_launch_attempt_count": 1,
    "agency_launch_attempt_count": 7,
    "orbital_launch_attempt_count_year": 3906,
    "location_launch_attempt_count_year": 2,
    "pad_launch_attempt_count_year": 1,
    "agency_launch_attempt_count_year": 3
}