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/01a19467-3ab2-4323-a85c-b788b48475d8/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "01a19467-3ab2-4323-a85c-b788b48475d8",
    "url": "https://ll.thespacedevs.com/2.0.0/launch/01a19467-3ab2-4323-a85c-b788b48475d8/?format=api",
    "launch_library_id": null,
    "slug": "soyuz-u-yantar-4ks1m-5",
    "name": "Soyuz U | Yantar-4KS1M 5",
    "status": {
        "id": 3,
        "name": "Success"
    },
    "net": "1994-04-28T17:14:00Z",
    "window_end": "1994-04-28T17:14:00Z",
    "window_start": "1994-04-28T17:14:00Z",
    "inhold": false,
    "tbdtime": false,
    "tbddate": false,
    "probability": null,
    "holdreason": "",
    "failreason": null,
    "hashtag": null,
    "launch_service_provider": {
        "id": 63,
        "url": "https://ll.thespacedevs.com/2.0.0/agencies/63/?format=api",
        "name": "Russian Federal Space Agency (ROSCOSMOS)",
        "featured": true,
        "type": "Government",
        "country_code": "RUS",
        "abbrev": "RFSA",
        "description": "The Roscosmos State Corporation for Space Activities, commonly known as Roscosmos, is the governmental body responsible for the space science program of the Russian Federation and general aerospace research. Soyuz has many launch locations the Russian sites are Baikonur, Plesetsk and Vostochny however Ariane also purchases the vehicle and launches it from French Guiana.",
        "administrator": "Administrator: Yuri Borisov",
        "founding_year": "1992",
        "launchers": "Soyuz",
        "spacecraft": "Soyuz",
        "launch_library_url": null,
        "total_launch_count": 331,
        "consecutive_successful_launches": 55,
        "successful_launches": 320,
        "failed_launches": 11,
        "pending_launches": 10,
        "consecutive_successful_landings": 0,
        "successful_landings": 0,
        "failed_landings": 0,
        "attempted_landings": 0,
        "info_url": "http://en.roscosmos.ru/",
        "wiki_url": "http://en.wikipedia.org/wiki/Russian_Federal_Space_Agency",
        "logo_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/russian2520federal2520space2520agency25202528roscosmos2529_logo_20190207032459.png",
        "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/russian2520federal2520space2520agency25202528roscosmos2529_image_20190207032459.jpeg",
        "nation_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/russian2520federal2520space2520agency25202528roscosmos2529_nation_20230531052758.jpg"
    },
    "rocket": {
        "id": 6584,
        "configuration": {
            "id": 37,
            "launch_library_id": 35,
            "url": "https://ll.thespacedevs.com/2.0.0/config/launcher/37/?format=api",
            "name": "Soyuz U",
            "description": "",
            "family": "Soyuz",
            "full_name": "Soyuz U",
            "manufacturer": {
                "id": 63,
                "url": "https://ll.thespacedevs.com/2.0.0/agencies/63/?format=api",
                "name": "Russian Federal Space Agency (ROSCOSMOS)",
                "featured": true,
                "type": "Government",
                "country_code": "RUS",
                "abbrev": "RFSA",
                "description": "The Roscosmos State Corporation for Space Activities, commonly known as Roscosmos, is the governmental body responsible for the space science program of the Russian Federation and general aerospace research. Soyuz has many launch locations the Russian sites are Baikonur, Plesetsk and Vostochny however Ariane also purchases the vehicle and launches it from French Guiana.",
                "administrator": "Administrator: Yuri Borisov",
                "founding_year": "1992",
                "launchers": "Soyuz",
                "spacecraft": "Soyuz",
                "launch_library_url": null,
                "total_launch_count": 331,
                "consecutive_successful_launches": 55,
                "successful_launches": 320,
                "failed_launches": 11,
                "pending_launches": 10,
                "consecutive_successful_landings": 0,
                "successful_landings": 0,
                "failed_landings": 0,
                "attempted_landings": 0,
                "info_url": "http://en.roscosmos.ru/",
                "wiki_url": "http://en.wikipedia.org/wiki/Russian_Federal_Space_Agency",
                "logo_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/russian2520federal2520space2520agency25202528roscosmos2529_logo_20190207032459.png",
                "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/russian2520federal2520space2520agency25202528roscosmos2529_image_20190207032459.jpeg",
                "nation_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/russian2520federal2520space2520agency25202528roscosmos2529_nation_20230531052758.jpg"
            },
            "program": [],
            "variant": "",
            "alias": "",
            "min_stage": 2,
            "max_stage": 3,
            "length": 51.1,
            "diameter": 2.95,
            "maiden_flight": "1973-05-18",
            "launch_mass": 313,
            "leo_capacity": 6900,
            "gto_capacity": null,
            "to_thrust": null,
            "apogee": null,
            "vehicle_range": null,
            "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/soyuz2520u_image_20190222031023.jpeg",
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Soyuz-U",
            "total_launch_count": 714,
            "consecutive_successful_launches": 1,
            "successful_launches": 694,
            "failed_launches": 20,
            "pending_launches": 0
        },
        "launcher_stage": [],
        "spacecraft_stage": null
    },
    "mission": {
        "id": 4974,
        "launch_library_id": null,
        "name": "Yantar-4KS1M 5",
        "description": "The Neman or Yantar-4KS1M satellites were improved versions of the Terilen elctro-optical reconnaissance satellites. They were transmitting the data via Potok (Geizer) relay satellites.",
        "launch_designator": null,
        "type": "Government/Top Secret",
        "orbit": {
            "id": 8,
            "name": "Low Earth Orbit",
            "abbrev": "LEO"
        }
    },
    "pad": {
        "id": 20,
        "url": "https://ll.thespacedevs.com/2.0.0/pad/20/?format=api",
        "agency_id": null,
        "name": "31/6",
        "info_url": null,
        "wiki_url": "https://en.wikipedia.org/wiki/Baikonur_Cosmodrome_Site_31",
        "map_url": "https://www.google.com/maps?q=45.996034,63.564003",
        "latitude": "45.996034",
        "longitude": "63.564003",
        "location": {
            "id": 15,
            "url": "https://ll.thespacedevs.com/2.0.0/location/15/?format=api",
            "name": "Baikonur Cosmodrome, Republic of Kazakhstan",
            "country_code": "KAZ",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_15_20200803142517.jpg",
            "total_launch_count": 1555,
            "total_landing_count": 0
        },
        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_20_20200803143516.jpg",
        "total_launch_count": 422
    },
    "infoURLs": [],
    "vidURLs": [],
    "webcast_live": false,
    "image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/soyuz2520u_image_20190222031023.jpeg",
    "infographic": null,
    "program": [],
    "orbital_launch_attempt_count": 3894,
    "location_launch_attempt_count": 1028,
    "pad_launch_attempt_count": 317,
    "agency_launch_attempt_count": 35,
    "orbital_launch_attempt_count_year": 26,
    "location_launch_attempt_count_year": 9,
    "pad_launch_attempt_count_year": 1,
    "agency_launch_attempt_count_year": 5
}