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/00599d1e-047f-47f7-91db-065a1c8906ab/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "00599d1e-047f-47f7-91db-065a1c8906ab",
    "url": "https://ll.thespacedevs.com/2.2.0/launch/00599d1e-047f-47f7-91db-065a1c8906ab/?format=api",
    "slug": "kosmos-3m-sfera-12",
    "flightclub_url": null,
    "r_spacex_api_id": null,
    "name": "Kosmos-3M | Sfera 12",
    "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:27:39Z",
    "updates": [],
    "net": "1974-08-29T14:54:59Z",
    "net_precision": null,
    "window_end": "1974-08-29T14:54:59Z",
    "window_start": "1974-08-29T14:54:59Z",
    "probability": null,
    "weather_concerns": null,
    "holdreason": "",
    "failreason": null,
    "hashtag": null,
    "launch_service_provider": {
        "id": 66,
        "url": "https://ll.thespacedevs.com/2.2.0/agencies/66/?format=api",
        "name": "Soviet Space Program",
        "featured": false,
        "type": "Government",
        "country_code": "RUS",
        "abbrev": "CCCP",
        "description": "The Soviet space program, was the national space program of the Union of Soviet Socialist Republics (USSR) actived from 1930s until disintegration of the Soviet Union in 1991.\r\n\r\nThe Soviet Union's space program was mainly based on the cosmonautic exploration of space and the development of the expandable launch vehicles, which had been split between many design bureaus competing against each other. Over its 60-years of history, the Russian program was responsible for a number of pioneering feats and accomplishments in the human space flight, including the first intercontinental ballistic missile (R-7), first satellite (Sputnik 1), first animal in Earth orbit (the dog Laika on Sputnik 2), first human in space and Earth orbit (cosmonaut Yuri Gagarin on Vostok 1), first woman in space and Earth orbit (cosmonaut Valentina Tereshkova on Vostok 6), first spacewalk (cosmonaut Alexei Leonov on Voskhod 2), first Moon impact (Luna 2), first image of the far side of the Moon (Luna 3) and unmanned lunar soft landing (Luna 9), first space rover (Lunokhod 1), first sample of lunar soil automatically extracted and brought to Earth (Luna 16), and first space station (Salyut 1). Further notable records included the first interplanetary probes: Venera 1 and Mars 1 to fly by Venus and Mars, respectively, Venera 3 and Mars 2 to impact the respective planet surface, and Venera 7 and Mars 3 to make soft landings on these planets.",
        "administrator": null,
        "founding_year": "1931",
        "launchers": "",
        "spacecraft": "",
        "launch_library_url": null,
        "total_launch_count": 2453,
        "consecutive_successful_launches": 17,
        "successful_launches": 2285,
        "failed_launches": 168,
        "pending_launches": 0,
        "consecutive_successful_landings": 0,
        "successful_landings": 0,
        "failed_landings": 0,
        "attempted_landings": 0,
        "info_url": "",
        "wiki_url": "http://en.wikipedia.org/wiki/Soviet_space_program",
        "logo_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/soviet2520space2520program_logo_20191229081307.png",
        "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/soviet2520space2520program_image_20191229081306.jpeg",
        "nation_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/soviet2520space2520program_nation_20191229081307.png"
    },
    "rocket": {
        "id": 4503,
        "configuration": {
            "id": 102,
            "url": "https://ll.thespacedevs.com/2.2.0/config/launcher/102/?format=api",
            "name": "Kosmos-3M",
            "active": false,
            "reusable": false,
            "description": "N/A",
            "family": "Kosmos",
            "full_name": "Kosmos-3M (11K65M)",
            "manufacturer": {
                "id": 193,
                "url": "https://ll.thespacedevs.com/2.2.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": 139,
                "consecutive_successful_launches": 51,
                "successful_launches": 131,
                "failed_launches": 8,
                "pending_launches": 3,
                "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://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/russian2520space2520forces_logo_20200805185824.png",
                "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/russian2520space2520forces_image_20191210085547.png",
                "nation_url": "https://spacelaunchnow-prod-east.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_cost": null,
            "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,
            "attempted_landings": 0,
            "successful_landings": 0,
            "failed_landings": 0,
            "consecutive_successful_landings": 0
        },
        "launcher_stage": [],
        "spacecraft_stage": null
    },
    "mission": {
        "id": 2921,
        "name": "Sfera 12",
        "description": "The Sfera or Geoid series were the first soviet geodetic satellites to improve the accuracy of maps. The development of the satellites started in 1965 at NPO-PM.",
        "launch_designator": null,
        "type": "Earth Science",
        "orbit": {
            "id": 8,
            "name": "Low Earth Orbit",
            "abbrev": "LEO"
        },
        "agencies": [],
        "info_urls": [],
        "vid_urls": []
    },
    "pad": {
        "id": 167,
        "url": "https://ll.thespacedevs.com/2.2.0/pad/167/?format=api",
        "agency_id": null,
        "name": "132/2",
        "description": null,
        "info_url": null,
        "wiki_url": "https://en.wikipedia.org/wiki/Plesetsk_Cosmodrome",
        "map_url": "https://www.google.com/maps?q=62.883,40.869806",
        "latitude": "62.883",
        "longitude": "40.869806",
        "location": {
            "id": 6,
            "url": "https://ll.thespacedevs.com/2.2.0/location/6/?format=api",
            "name": "Plesetsk Cosmodrome, Russian Federation",
            "country_code": "RUS",
            "description": "",
            "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/location_6_20200803142434.jpg",
            "timezone_name": "Europe/Moscow",
            "total_launch_count": 1668,
            "total_landing_count": 0
        },
        "country_code": "RUS",
        "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_167_20200803143417.jpg",
        "total_launch_count": 172,
        "orbital_launch_attempt_count": 172
    },
    "infoURLs": [],
    "vidURLs": [],
    "webcast_live": false,
    "timeline": [],
    "image": null,
    "infographic": null,
    "program": [],
    "orbital_launch_attempt_count": 1603,
    "location_launch_attempt_count": 373,
    "pad_launch_attempt_count": 61,
    "agency_launch_attempt_count": 855,
    "orbital_launch_attempt_count_year": 74,
    "location_launch_attempt_count_year": 36,
    "pad_launch_attempt_count_year": 8,
    "agency_launch_attempt_count_year": 56,
    "pad_turnaround": "P69DT5H51M59S",
    "mission_patches": [],
    "type": "detailed"
}