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/faedc3f9-6bfb-44a7-8ab1-03a19753a980/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "faedc3f9-6bfb-44a7-8ab1-03a19753a980",
    "url": "https://ll.thespacedevs.com/2.0.0/launch/faedc3f9-6bfb-44a7-8ab1-03a19753a980/?format=api",
    "launch_library_id": null,
    "slug": "kosmos-3m-abrixas-megsat-0",
    "name": "Kosmos-3M | ABRIXAS & MegSat 0",
    "status": {
        "id": 3,
        "name": "Success"
    },
    "net": "1999-04-28T20:30:00Z",
    "window_end": "1999-04-28T20:30:00Z",
    "window_start": "1999-04-28T20:30:00Z",
    "inhold": false,
    "tbdtime": false,
    "tbddate": false,
    "probability": null,
    "holdreason": "",
    "failreason": null,
    "hashtag": null,
    "launch_service_provider": {
        "id": 154,
        "url": "https://ll.thespacedevs.com/2.0.0/agencies/154/?format=api",
        "name": "Production Corporation Polyot",
        "featured": false,
        "type": "Commercial",
        "country_code": "RUS",
        "abbrev": "NP",
        "description": null,
        "administrator": null,
        "founding_year": null,
        "launchers": "",
        "spacecraft": "",
        "launch_library_url": null,
        "total_launch_count": 57,
        "consecutive_successful_launches": 21,
        "successful_launches": 55,
        "failed_launches": 2,
        "pending_launches": 0,
        "consecutive_successful_landings": 0,
        "successful_landings": 0,
        "failed_landings": 0,
        "attempted_landings": 0,
        "info_url": "http://www.polyot.su/",
        "wiki_url": "https://en.wikipedia.org/wiki/Production_Corporation_Polyot",
        "logo_url": null,
        "image_url": null,
        "nation_url": null
    },
    "rocket": {
        "id": 6916,
        "configuration": {
            "id": 102,
            "launch_library_id": 122,
            "url": "https://ll.thespacedevs.com/2.0.0/config/launcher/102/?format=api",
            "name": "Kosmos-3M",
            "description": "N/A",
            "family": "Kosmos",
            "full_name": "Kosmos-3M (11K65M)",
            "manufacturer": {
                "id": 193,
                "url": "https://ll.thespacedevs.com/2.0.0/agencies/193/?format=api",
                "name": "Russian Space Forces",
                "featured": false,
                "type": "Government",
                "country_code": "RUS",
                "abbrev": "VKS",
                "description": "The Russian Space Forces are a branch of the Russian Aerospace Forces, that provides aerospace warning, air sovereignty, and protection for Russia. Having been reestablished following August 1, 2015 merger between the Russian Air Force and the Russian Aerospace Defence Forces after a 2011 dissolving of the branch. The Russian Space Forces were originally formed on August 10, 1992 and the creation of the Russian Armed Forces.",
                "administrator": "Commander: Aleksandr Golovko",
                "founding_year": "1992",
                "launchers": "",
                "spacecraft": "",
                "launch_library_url": null,
                "total_launch_count": 143,
                "consecutive_successful_launches": 55,
                "successful_launches": 135,
                "failed_launches": 8,
                "pending_launches": 2,
                "consecutive_successful_landings": 0,
                "successful_landings": 0,
                "failed_landings": 0,
                "attempted_landings": 0,
                "info_url": null,
                "wiki_url": "https://en.wikipedia.org/wiki/Russian_Aerospace_Forces",
                "logo_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/russian2520space2520forces_logo_20200805185824.png",
                "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/russian2520space2520forces_image_20191210085547.png",
                "nation_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/russian2520space2520forces_nation_20230805154528.png"
            },
            "program": [],
            "variant": "-3M",
            "alias": "",
            "min_stage": null,
            "max_stage": null,
            "length": null,
            "diameter": null,
            "maiden_flight": "1967-05-15",
            "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/Kosmos-3M",
            "total_launch_count": 445,
            "consecutive_successful_launches": 22,
            "successful_launches": 423,
            "failed_launches": 22,
            "pending_launches": 0
        },
        "launcher_stage": [],
        "spacecraft_stage": null
    },
    "mission": {
        "id": 5306,
        "launch_library_id": null,
        "name": "ABRIXAS & MegSat 0",
        "description": "The ABRIXAS (A Broadband Imaging X-Ray All-Sky Survey) small satellite (A BRoadband Imaging X-ray All-sky Survey Satellite) was designed to perform the first complete survey of the sky with an imaging telescope in the X-ray energy range from 0.5 to 10 keV. MegSat 0 was the first MegSat communications satellite.",
        "launch_designator": null,
        "type": "Communications",
        "orbit": {
            "id": 8,
            "name": "Low Earth Orbit",
            "abbrev": "LEO"
        }
    },
    "pad": {
        "id": 136,
        "url": "https://ll.thespacedevs.com/2.0.0/pad/136/?format=api",
        "agency_id": null,
        "name": "107",
        "info_url": null,
        "wiki_url": "https://en.wikipedia.org/wiki/Kapustin_Yar",
        "map_url": "https://www.google.com/maps?q=48.540716,46.296826",
        "latitude": "48.540716",
        "longitude": "46.296826",
        "location": {
            "id": 30,
            "url": "https://ll.thespacedevs.com/2.0.0/location/30/?format=api",
            "name": "Kapustin Yar, Russian Federation",
            "country_code": "RUS",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_30_20200803142515.jpg",
            "total_launch_count": 101,
            "total_landing_count": 0
        },
        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_136_20200803143342.jpg",
        "total_launch_count": 3
    },
    "infoURLs": [],
    "vidURLs": [],
    "webcast_live": false,
    "image": null,
    "infographic": null,
    "program": [],
    "orbital_launch_attempt_count": 4312,
    "location_launch_attempt_count": 100,
    "pad_launch_attempt_count": 2,
    "agency_launch_attempt_count": 32,
    "orbital_launch_attempt_count_year": 23,
    "location_launch_attempt_count_year": 1,
    "pad_launch_attempt_count_year": 1,
    "agency_launch_attempt_count_year": 1
}