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/215ecfa3-d465-4e3e-a0d2-3312ffd4e35b/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "215ecfa3-d465-4e3e-a0d2-3312ffd4e35b",
    "url": "https://ll.thespacedevs.com/2.0.0/launch/215ecfa3-d465-4e3e-a0d2-3312ffd4e35b/?format=api",
    "launch_library_id": null,
    "slug": "little-joe-lj-1b",
    "name": "Little Joe | LJ-1B",
    "status": {
        "id": 3,
        "name": "Success"
    },
    "net": "1960-01-21T14:23:00Z",
    "window_end": "1960-01-21T14:23:00Z",
    "window_start": "1960-01-21T14:23:00Z",
    "inhold": false,
    "tbdtime": false,
    "tbddate": false,
    "probability": null,
    "holdreason": "",
    "failreason": "",
    "hashtag": null,
    "launch_service_provider": {
        "id": 44,
        "url": "https://ll.thespacedevs.com/2.0.0/agencies/44/?format=api",
        "name": "National Aeronautics and Space Administration",
        "featured": true,
        "type": "Government",
        "country_code": "USA",
        "abbrev": "NASA",
        "description": "The National Aeronautics and Space Administration is an independent agency of the executive branch of the United States federal government responsible for the civilian space program, as well as aeronautics and aerospace research. NASA have many launch facilities but most are inactive. The most commonly used pad will be LC-39B at Kennedy Space Center in Florida.",
        "administrator": "Acting Administrator:  James Free",
        "founding_year": "1958",
        "launchers": "Space Shuttle | SLS",
        "spacecraft": "Orion",
        "launch_library_url": null,
        "total_launch_count": 141,
        "consecutive_successful_launches": 11,
        "successful_launches": 121,
        "failed_launches": 20,
        "pending_launches": 6,
        "consecutive_successful_landings": 0,
        "successful_landings": 0,
        "failed_landings": 0,
        "attempted_landings": 0,
        "info_url": "http://www.nasa.gov",
        "wiki_url": "http://en.wikipedia.org/wiki/National_Aeronautics_and_Space_Administration",
        "logo_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/national2520aeronautics2520and2520space2520administration_logo_20190207032448.png",
        "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/national2520aeronautics2520and2520space2520administration_image_20190207032448.jpeg",
        "nation_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/national2520aeronautics2520and2520space2520administration_nation_20230803040809.jpg"
    },
    "rocket": {
        "id": 7433,
        "configuration": {
            "id": 473,
            "launch_library_id": null,
            "url": "https://ll.thespacedevs.com/2.0.0/config/launcher/473/?format=api",
            "name": "Little Joe",
            "description": "Little Joe was a solid-fueled booster rocket used by NASA for eight launches from 1959-1960 from Wallops Island, Virginia to test the launch escape system and heat shield for Project Mercury capsules.",
            "family": "Little Joe",
            "full_name": "Little Joe",
            "manufacturer": {
                "id": 999,
                "url": "https://ll.thespacedevs.com/2.0.0/agencies/999/?format=api",
                "name": "North American Aviation",
                "featured": false,
                "type": "Commercial",
                "country_code": "USA",
                "abbrev": "",
                "description": "North American Aviation (NAA) was a major American aerospace manufacturer, responsible for a number of historic aircraft, including the T-6 Texan trainer, the P-51 Mustang fighter, the B-25 Mitchell bomber, the F-86 Sabre jet fighter, the X-15 rocket plane, and the XB-70, as well as Apollo command and service module, the second stage of the Saturn V rocket, the Space Shuttle orbiter and the B-1 Lancer.",
                "administrator": null,
                "founding_year": "1928",
                "launchers": "North American X-15",
                "spacecraft": "",
                "launch_library_url": null,
                "total_launch_count": 0,
                "consecutive_successful_launches": 0,
                "successful_launches": 0,
                "failed_launches": 0,
                "pending_launches": 0,
                "consecutive_successful_landings": 0,
                "successful_landings": 0,
                "failed_landings": 0,
                "attempted_landings": 0,
                "info_url": null,
                "wiki_url": "https://en.wikipedia.org/wiki/North_American_Aviation",
                "logo_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/north2520american2520aviation_logo_20200711032022.png",
                "image_url": null,
                "nation_url": null
            },
            "program": [
                {
                    "id": 2,
                    "url": "https://ll.thespacedevs.com/2.0.0/program/2/?format=api",
                    "name": "Mercury",
                    "description": "Project Mercury was the first human spaceflight program of the United States, running from 1958 through 1963.",
                    "agencies": [
                        {
                            "id": 44,
                            "url": "https://ll.thespacedevs.com/2.0.0/agencies/44/?format=api",
                            "name": "National Aeronautics and Space Administration",
                            "type": "Government"
                        }
                    ],
                    "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/project2520mer_program_20200820194755.png",
                    "start_date": "1958-10-07T00:00:00Z",
                    "end_date": "1963-05-16T23:24:02Z",
                    "info_url": "https://www.nasa.gov/mission_pages/mercury/missions/program-toc.html",
                    "wiki_url": "https://en.wikipedia.org/wiki/Project_Mercury"
                }
            ],
            "variant": "",
            "alias": "",
            "min_stage": 1,
            "max_stage": 1,
            "length": 17.0,
            "diameter": null,
            "maiden_flight": "1959-08-21",
            "launch_mass": null,
            "leo_capacity": null,
            "gto_capacity": null,
            "to_thrust": null,
            "apogee": null,
            "vehicle_range": null,
            "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/little_joe_image_20210901081353.jpeg",
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Little_Joe_(rocket)",
            "total_launch_count": 8,
            "consecutive_successful_launches": 1,
            "successful_launches": 3,
            "failed_launches": 5,
            "pending_launches": 0
        },
        "launcher_stage": [],
        "spacecraft_stage": null
    },
    "mission": {
        "id": 5822,
        "launch_library_id": null,
        "name": "LJ-1B",
        "description": "The Little Joe 1B was a suborbital launch escape system test of the Mercury spacecraft, conducted as part of the U.S. Mercury program. The mission also carried a female rhesus monkey (Macaca mulatta) named Miss Sam in the Mercury spacecraft.",
        "launch_designator": null,
        "type": "Test Flight",
        "orbit": {
            "id": 15,
            "name": "Suborbital",
            "abbrev": "Sub"
        }
    },
    "pad": {
        "id": 195,
        "url": "https://ll.thespacedevs.com/2.0.0/pad/195/?format=api",
        "agency_id": 44,
        "name": "Launch Area 1",
        "info_url": null,
        "wiki_url": "https://en.wikipedia.org/wiki/Wallops_Flight_Facility",
        "map_url": "https://www.google.com/maps?q=37.938611,-75.457222",
        "latitude": "37.938611",
        "longitude": "-75.457222",
        "location": {
            "id": 21,
            "url": "https://ll.thespacedevs.com/2.0.0/location/21/?format=api",
            "name": "Wallops Flight Facility, Virginia, USA",
            "country_code": "USA",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_21_20200803142423.jpg",
            "total_launch_count": 80,
            "total_landing_count": 0
        },
        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_launch_area_1_20210901085625.jpg",
        "total_launch_count": 7
    },
    "infoURLs": [],
    "vidURLs": [],
    "webcast_live": false,
    "image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/little_joe_image_20210901081353.jpeg",
    "infographic": null,
    "program": [
        {
            "id": 2,
            "url": "https://ll.thespacedevs.com/2.0.0/program/2/?format=api",
            "name": "Mercury",
            "description": "Project Mercury was the first human spaceflight program of the United States, running from 1958 through 1963.",
            "agencies": [
                {
                    "id": 44,
                    "url": "https://ll.thespacedevs.com/2.0.0/agencies/44/?format=api",
                    "name": "National Aeronautics and Space Administration",
                    "type": "Government"
                }
            ],
            "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/project2520mer_program_20200820194755.png",
            "start_date": "1958-10-07T00:00:00Z",
            "end_date": "1963-05-16T23:24:02Z",
            "info_url": "https://www.nasa.gov/mission_pages/mercury/missions/program-toc.html",
            "wiki_url": "https://en.wikipedia.org/wiki/Project_Mercury"
        }
    ],
    "orbital_launch_attempt_count": null,
    "location_launch_attempt_count": 5,
    "pad_launch_attempt_count": 5,
    "agency_launch_attempt_count": 11,
    "orbital_launch_attempt_count_year": 0,
    "location_launch_attempt_count_year": 1,
    "pad_launch_attempt_count_year": 1,
    "agency_launch_attempt_count_year": 1
}