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/eb1f1ed0-a024-4eed-a53c-c7acdd547651/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "eb1f1ed0-a024-4eed-a53c-c7acdd547651",
    "url": "https://ll.thespacedevs.com/2.2.0/launch/eb1f1ed0-a024-4eed-a53c-c7acdd547651/?format=api",
    "slug": "nike-cajun-trailblazer-pellet",
    "flightclub_url": null,
    "r_spacex_api_id": null,
    "name": "Nike Cajun | Trailblazer Pellet",
    "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:29:49Z",
    "updates": [],
    "net": "1964-03-12T04:17:00Z",
    "net_precision": null,
    "window_end": "1964-03-12T04:17:00Z",
    "window_start": "1964-03-12T04:17:00Z",
    "probability": null,
    "weather_concerns": null,
    "holdreason": "",
    "failreason": null,
    "hashtag": null,
    "launch_service_provider": {
        "id": 44,
        "url": "https://ll.thespacedevs.com/2.2.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": 3261,
        "configuration": {
            "id": 342,
            "url": "https://ll.thespacedevs.com/2.2.0/config/launcher/342/?format=api",
            "name": "Nike Cajun",
            "active": false,
            "reusable": false,
            "description": "The Nike-Cajun was a two-stage sounding rocket built by combining a Nike base stage with a Cajun upper stage. It was launched 714 times between 1956 and 1976 and was the most frequently used sounding rocket of the western world.",
            "family": "",
            "full_name": "Nike Cajun",
            "manufacturer": {
                "id": 44,
                "url": "https://ll.thespacedevs.com/2.2.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"
            },
            "program": [],
            "variant": "",
            "alias": "",
            "min_stage": 2,
            "max_stage": 2,
            "length": 7.7,
            "diameter": 0.42,
            "maiden_flight": "1956-07-06",
            "launch_cost": null,
            "launch_mass": 0,
            "leo_capacity": null,
            "gto_capacity": null,
            "to_thrust": 246,
            "apogee": null,
            "vehicle_range": null,
            "image_url": null,
            "info_url": "",
            "wiki_url": "https://en.wikipedia.org/wiki/Nike-Cajun",
            "total_launch_count": 4,
            "consecutive_successful_launches": 4,
            "successful_launches": 4,
            "failed_launches": 0,
            "pending_launches": 0,
            "attempted_landings": 0,
            "successful_landings": 0,
            "failed_landings": 0,
            "consecutive_successful_landings": 0
        },
        "launcher_stage": [],
        "spacecraft_stage": null
    },
    "mission": {
        "id": 1683,
        "name": "Trailblazer Pellet",
        "description": "Test mission. Reached an apogee of 110 km.",
        "launch_designator": null,
        "type": "Test Flight",
        "orbit": {
            "id": 15,
            "name": "Suborbital",
            "abbrev": "Sub"
        },
        "agencies": [],
        "info_urls": [],
        "vid_urls": []
    },
    "pad": {
        "id": 177,
        "url": "https://ll.thespacedevs.com/2.2.0/pad/177/?format=api",
        "agency_id": null,
        "name": "Unknown Pad",
        "description": null,
        "info_url": null,
        "wiki_url": "https://en.wikipedia.org/wiki/Wallops_Flight_Facility",
        "map_url": "https://www.google.com/maps?q=37.9386111,-75.4594162",
        "latitude": "37.9386111",
        "longitude": "-75.4594162",
        "location": {
            "id": 21,
            "url": "https://ll.thespacedevs.com/2.2.0/location/21/?format=api",
            "name": "Wallops Flight Facility, Virginia, USA",
            "country_code": "USA",
            "description": "Wallops Flight Facility is a rocket launch site on Wallops Island on the Eastern Shore of Virginia, United States, just east of the Delmarva Peninsula and north-northeast of Norfolk. The facility is operated by the Goddard Space Flight Center in Greenbelt, Maryland, and primarily serves to support science and exploration missions for NASA and other federal agencies. WFF includes an extensively instrumented range to support launches of more than a dozen types of sounding rockets; small expendable suborbital and orbital rockets; high-altitude balloon flights carrying scientific instruments for atmospheric and astronomical research; and, using its Research Airport, flight tests of aeronautical research aircraft, including uncrewed aerial vehicles.",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_21_20200803142423.jpg",
            "timezone_name": "America/New_York",
            "total_launch_count": 80,
            "total_landing_count": 0
        },
        "country_code": "USA",
        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_177_20200803143406.jpg",
        "total_launch_count": 8,
        "orbital_launch_attempt_count": 0
    },
    "infoURLs": [],
    "vidURLs": [],
    "webcast_live": false,
    "timeline": [],
    "image": null,
    "infographic": null,
    "program": [],
    "orbital_launch_attempt_count": null,
    "location_launch_attempt_count": 21,
    "pad_launch_attempt_count": 3,
    "agency_launch_attempt_count": 51,
    "orbital_launch_attempt_count_year": 0,
    "location_launch_attempt_count_year": 1,
    "pad_launch_attempt_count_year": 1,
    "agency_launch_attempt_count_year": 2,
    "pad_turnaround": "P675DT22H36M",
    "mission_patches": [],
    "type": "detailed"
}