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/0baae9ed-2c61-48b5-919a-d7d1d8c6fe73/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "0baae9ed-2c61-48b5-919a-d7d1d8c6fe73",
    "url": "https://ll.thespacedevs.com/2.0.0/launch/0baae9ed-2c61-48b5-919a-d7d1d8c6fe73/?format=api",
    "launch_library_id": null,
    "slug": "lambda-4s-ohsumi-3",
    "name": "Lambda 4S | Ohsumi 3",
    "status": {
        "id": 4,
        "name": "Failure"
    },
    "net": "1967-04-13T02:40:00Z",
    "window_end": "1967-04-13T02:40:00Z",
    "window_start": "1967-04-13T02:40:00Z",
    "inhold": false,
    "tbdtime": false,
    "tbddate": false,
    "probability": null,
    "holdreason": "",
    "failreason": "",
    "hashtag": null,
    "launch_service_provider": {
        "id": 1009,
        "url": "https://ll.thespacedevs.com/2.0.0/agencies/1009/?format=api",
        "name": "Institute of Space and Astronautical Science",
        "featured": false,
        "type": "Government",
        "country_code": "JPN",
        "abbrev": "ISAS",
        "description": "ISAS is a Japanese national research organization of astrophysics using rockets, astronomical satellites and interplanetary probes which played a major role in Japan's space development.",
        "administrator": null,
        "founding_year": null,
        "launchers": "Lambda",
        "spacecraft": "",
        "launch_library_url": null,
        "total_launch_count": 32,
        "consecutive_successful_launches": 1,
        "successful_launches": 24,
        "failed_launches": 8,
        "pending_launches": 0,
        "consecutive_successful_landings": 0,
        "successful_landings": 0,
        "failed_landings": 0,
        "attempted_landings": 0,
        "info_url": "https://en.wikipedia.org/wiki/Institute_of_Space_and_Astronautical_Science",
        "wiki_url": "https://en.wikipedia.org/wiki/Institute_of_Space_and_Astronautical_Science",
        "logo_url": null,
        "image_url": null,
        "nation_url": null
    },
    "rocket": {
        "id": 3643,
        "configuration": {
            "id": 333,
            "launch_library_id": null,
            "url": "https://ll.thespacedevs.com/2.0.0/config/launcher/333/?format=api",
            "name": "Lambda 4S",
            "description": "The Lambda was an experimental Japanese expendable carrier rocket",
            "family": "",
            "full_name": "Lambda 4S",
            "manufacturer": {
                "id": 1009,
                "url": "https://ll.thespacedevs.com/2.0.0/agencies/1009/?format=api",
                "name": "Institute of Space and Astronautical Science",
                "featured": false,
                "type": "Government",
                "country_code": "JPN",
                "abbrev": "ISAS",
                "description": "ISAS is a Japanese national research organization of astrophysics using rockets, astronomical satellites and interplanetary probes which played a major role in Japan's space development.",
                "administrator": null,
                "founding_year": null,
                "launchers": "Lambda",
                "spacecraft": "",
                "launch_library_url": null,
                "total_launch_count": 32,
                "consecutive_successful_launches": 1,
                "successful_launches": 24,
                "failed_launches": 8,
                "pending_launches": 0,
                "consecutive_successful_landings": 0,
                "successful_landings": 0,
                "failed_landings": 0,
                "attempted_landings": 0,
                "info_url": "https://en.wikipedia.org/wiki/Institute_of_Space_and_Astronautical_Science",
                "wiki_url": "https://en.wikipedia.org/wiki/Institute_of_Space_and_Astronautical_Science",
                "logo_url": null,
                "image_url": null,
                "nation_url": null
            },
            "program": [],
            "variant": "4S",
            "alias": "",
            "min_stage": 4,
            "max_stage": 4,
            "length": 16.5,
            "diameter": 0.74,
            "maiden_flight": "1966-09-26",
            "launch_mass": 9,
            "leo_capacity": 26,
            "gto_capacity": null,
            "to_thrust": null,
            "apogee": null,
            "vehicle_range": null,
            "image_url": null,
            "info_url": "",
            "wiki_url": "https://en.wikipedia.org/wiki/Lambda_4S",
            "total_launch_count": 5,
            "consecutive_successful_launches": 1,
            "successful_launches": 1,
            "failed_launches": 4,
            "pending_launches": 0
        },
        "launcher_stage": [],
        "spacecraft_stage": null
    },
    "mission": {
        "id": 2061,
        "launch_library_id": null,
        "name": "Ohsumi 3",
        "description": "Ohsumi was a series of five small satellites built to become the first Japanese satellite on orbit.",
        "launch_designator": null,
        "type": "Test Flight",
        "orbit": {
            "id": 8,
            "name": "Low Earth Orbit",
            "abbrev": "LEO"
        }
    },
    "pad": {
        "id": 43,
        "url": "https://ll.thespacedevs.com/2.0.0/pad/43/?format=api",
        "agency_id": null,
        "name": "KS Center",
        "info_url": null,
        "wiki_url": "https://en.wikipedia.org/wiki/Uchinoura_Space_Center",
        "map_url": "https://www.google.com/maps?q=31.2519752,131.0791609",
        "latitude": "31.2519752",
        "longitude": "131.0791609",
        "location": {
            "id": 24,
            "url": "https://ll.thespacedevs.com/2.0.0/location/24/?format=api",
            "name": "Uchinoura Space Center, Japan",
            "country_code": "JPN",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_24_20200803142411.jpg",
            "total_launch_count": 43,
            "total_landing_count": 0
        },
        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_43_20200803143309.jpg",
        "total_launch_count": 7
    },
    "infoURLs": [],
    "vidURLs": [],
    "webcast_live": false,
    "image": null,
    "infographic": null,
    "program": [],
    "orbital_launch_attempt_count": 685,
    "location_launch_attempt_count": 3,
    "pad_launch_attempt_count": 3,
    "agency_launch_attempt_count": 3,
    "orbital_launch_attempt_count_year": 37,
    "location_launch_attempt_count_year": 1,
    "pad_launch_attempt_count_year": 1,
    "agency_launch_attempt_count_year": 1
}