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/b8729e97-a4ab-4a34-ba6e-20ed4c00bf6c/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "b8729e97-a4ab-4a34-ba6e-20ed4c00bf6c",
    "url": "https://ll.thespacedevs.com/2.0.0/launch/b8729e97-a4ab-4a34-ba6e-20ed4c00bf6c/?format=api",
    "launch_library_id": 739,
    "slug": "zenit-2m-fobos-grunt-yinghuo-1",
    "name": "Zenit 2M | Fobos-Grunt & Yinghuo-1",
    "status": {
        "id": 4,
        "name": "Failure"
    },
    "net": "2011-11-08T20:16:03Z",
    "window_end": "2011-11-08T20:16:03Z",
    "window_start": "2011-11-08T20:16:03Z",
    "inhold": false,
    "tbdtime": false,
    "tbddate": false,
    "probability": null,
    "holdreason": "",
    "failreason": "",
    "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": 1561,
        "configuration": {
            "id": 89,
            "launch_library_id": 113,
            "url": "https://ll.thespacedevs.com/2.0.0/config/launcher/89/?format=api",
            "name": "Zenit 2M",
            "description": "",
            "family": "Zenith",
            "full_name": "Zenit 2M",
            "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": 1,
            "max_stage": 1,
            "length": 4.6,
            "diameter": 0.42,
            "maiden_flight": "2007-06-29",
            "launch_mass": 0,
            "leo_capacity": 0,
            "gto_capacity": 0,
            "to_thrust": 45,
            "apogee": 140,
            "vehicle_range": null,
            "image_url": null,
            "info_url": null,
            "wiki_url": null,
            "total_launch_count": 2,
            "consecutive_successful_launches": 0,
            "successful_launches": 1,
            "failed_launches": 1,
            "pending_launches": 0
        },
        "launcher_stage": [],
        "spacecraft_stage": null
    },
    "mission": null,
    "pad": {
        "id": 2,
        "url": "https://ll.thespacedevs.com/2.0.0/pad/2/?format=api",
        "agency_id": null,
        "name": "45/1",
        "info_url": null,
        "wiki_url": "",
        "map_url": "https://www.google.com/maps?q=45.943492,63.653014",
        "latitude": "45.943492",
        "longitude": "63.653014",
        "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_2_20200803143256.jpg",
        "total_launch_count": 46
    },
    "infoURLs": [],
    "vidURLs": [
        {
            "priority": 0,
            "title": "Пуск РКН Зенит с АМС Фобос-Грунт",
            "description": "9 ноября 2011 в 00.16 со стартового комплекса площадки 45 космодрома Байконур стартовыми расчетами предприятий ракетно-космической отрасли России и Украины п...",
            "feature_image": "https://i.ytimg.com/vi/rwJNJDHh38o/hqdefault.jpg",
            "url": "https://www.youtube.com/watch?v=rwJNJDHh38o"
        }
    ],
    "webcast_live": false,
    "image": null,
    "infographic": null,
    "program": [],
    "orbital_launch_attempt_count": 5174,
    "location_launch_attempt_count": 1374,
    "pad_launch_attempt_count": 43,
    "agency_launch_attempt_count": 209,
    "orbital_launch_attempt_count_year": 5174,
    "location_launch_attempt_count_year": 19,
    "pad_launch_attempt_count_year": 4,
    "agency_launch_attempt_count_year": 10
}