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/e08b33b0-8e29-4f03-8710-031223a550c8/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "e08b33b0-8e29-4f03-8710-031223a550c8",
    "url": "https://ll.thespacedevs.com/2.0.0/launch/e08b33b0-8e29-4f03-8710-031223a550c8/?format=api",
    "launch_library_id": null,
    "slug": "trailblazer-2-trailblazer-iib",
    "name": "Trailblazer 2 | Trailblazer IIb",
    "status": {
        "id": 3,
        "name": "Success"
    },
    "net": "1962-05-06T05:41:00Z",
    "window_end": "1962-05-06T05:41:00Z",
    "window_start": "1962-05-06T05:41:00Z",
    "inhold": false,
    "tbdtime": false,
    "tbddate": false,
    "probability": null,
    "holdreason": "",
    "failreason": null,
    "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": 3122,
        "configuration": {
            "id": 442,
            "launch_library_id": null,
            "url": "https://ll.thespacedevs.com/2.0.0/config/launcher/442/?format=api",
            "name": "Trailblazer 2",
            "description": "American test vehicle. NASA rocket designed for high-speed re-entry tests.",
            "family": "Trailblazer",
            "full_name": "Trailblazer 2",
            "manufacturer": {
                "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"
            },
            "program": [],
            "variant": "2",
            "alias": "",
            "min_stage": 4,
            "max_stage": 4,
            "length": 15.7,
            "diameter": 0.79,
            "maiden_flight": "1961-12-14",
            "launch_mass": 6,
            "leo_capacity": null,
            "gto_capacity": null,
            "to_thrust": 547,
            "apogee": null,
            "vehicle_range": null,
            "image_url": null,
            "info_url": "",
            "wiki_url": null,
            "total_launch_count": 3,
            "consecutive_successful_launches": 3,
            "successful_launches": 3,
            "failed_launches": 0,
            "pending_launches": 0
        },
        "launcher_stage": [],
        "spacecraft_stage": null
    },
    "mission": {
        "id": 1544,
        "launch_library_id": null,
        "name": "Trailblazer IIb",
        "description": "Atmospheric reentry research payloads",
        "launch_designator": null,
        "type": "Earth Science",
        "orbit": {
            "id": 15,
            "name": "Suborbital",
            "abbrev": "Sub"
        }
    },
    "pad": {
        "id": 177,
        "url": "https://ll.thespacedevs.com/2.0.0/pad/177/?format=api",
        "agency_id": null,
        "name": "Unknown Pad",
        "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.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_177_20200803143406.jpg",
        "total_launch_count": 8
    },
    "infoURLs": [],
    "vidURLs": [],
    "webcast_live": false,
    "image": null,
    "infographic": null,
    "program": [],
    "orbital_launch_attempt_count": null,
    "location_launch_attempt_count": 17,
    "pad_launch_attempt_count": 2,
    "agency_launch_attempt_count": 40,
    "orbital_launch_attempt_count_year": 0,
    "location_launch_attempt_count_year": 2,
    "pad_launch_attempt_count_year": 1,
    "agency_launch_attempt_count_year": 4
}