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/21778424-2b39-414a-9e88-3ef596592549/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "21778424-2b39-414a-9e88-3ef596592549",
    "url": "https://ll.thespacedevs.com/2.0.0/launch/21778424-2b39-414a-9e88-3ef596592549/?format=api",
    "launch_library_id": null,
    "slug": "minotaur-nrol-8",
    "name": "Minotaur | NROL-8",
    "status": {
        "id": 3,
        "name": "Success"
    },
    "net": "1998-10-03T10:04:49Z",
    "window_end": "1998-10-03T10:04:49Z",
    "window_start": "1998-10-03T10:04:49Z",
    "inhold": false,
    "tbdtime": false,
    "tbddate": false,
    "probability": null,
    "holdreason": "",
    "failreason": "",
    "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": 6880,
        "configuration": {
            "id": 82,
            "launch_library_id": 105,
            "url": "https://ll.thespacedevs.com/2.0.0/config/launcher/82/?format=api",
            "name": "Minotaur",
            "description": "",
            "family": "Minotaur",
            "full_name": "Minotaur C",
            "manufacturer": {
                "id": 179,
                "url": "https://ll.thespacedevs.com/2.0.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"
            },
            "program": [],
            "variant": "C",
            "alias": "",
            "min_stage": null,
            "max_stage": null,
            "length": null,
            "diameter": null,
            "maiden_flight": "1994-03-13",
            "launch_mass": null,
            "leo_capacity": null,
            "gto_capacity": null,
            "to_thrust": null,
            "apogee": null,
            "vehicle_range": null,
            "image_url": null,
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Minotaur-C",
            "total_launch_count": 4,
            "consecutive_successful_launches": 1,
            "successful_launches": 3,
            "failed_launches": 1,
            "pending_launches": 0
        },
        "launcher_stage": [],
        "spacecraft_stage": null
    },
    "mission": {
        "id": 5270,
        "launch_library_id": null,
        "name": "NROL-8 (STEX)",
        "description": "The STEX (Space Technology Experiments) satellite carried 29 new technologies intended to result in lower cost and higher performance spacecraft for future missions.",
        "launch_designator": null,
        "type": "Government/Top Secret",
        "orbit": {
            "id": 8,
            "name": "Low Earth Orbit",
            "abbrev": "LEO"
        }
    },
    "pad": {
        "id": 55,
        "url": "https://ll.thespacedevs.com/2.0.0/pad/55/?format=api",
        "agency_id": 161,
        "name": "Space Launch Complex 576E",
        "info_url": null,
        "wiki_url": "https://en.wikipedia.org/wiki/Vandenberg_Launch_Complex_576",
        "map_url": "https://www.google.com/maps?q=34.739444,-120.619167",
        "latitude": "34.739444",
        "longitude": "-120.619167",
        "location": {
            "id": 11,
            "url": "https://ll.thespacedevs.com/2.0.0/location/11/?format=api",
            "name": "Vandenberg SFB, CA, USA",
            "country_code": "USA",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_11_20200803142416.jpg",
            "total_launch_count": 808,
            "total_landing_count": 26
        },
        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_55_20200803143429.jpg",
        "total_launch_count": 9
    },
    "infoURLs": [],
    "vidURLs": [],
    "webcast_live": false,
    "image": null,
    "infographic": null,
    "program": [],
    "orbital_launch_attempt_count": 4267,
    "location_launch_attempt_count": 587,
    "pad_launch_attempt_count": 3,
    "agency_launch_attempt_count": 26,
    "orbital_launch_attempt_count_year": 60,
    "location_launch_attempt_count_year": 7,
    "pad_launch_attempt_count_year": 2,
    "agency_launch_attempt_count_year": 6
}