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/2e986328-5529-4a13-a4c6-44cdc0994c48/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "2e986328-5529-4a13-a4c6-44cdc0994c48",
    "url": "https://ll.thespacedevs.com/2.2.0/launch/2e986328-5529-4a13-a4c6-44cdc0994c48/?format=api",
    "slug": "dnepr-belka",
    "flightclub_url": null,
    "r_spacex_api_id": null,
    "name": "Dnepr | BelKA",
    "status": {
        "id": 4,
        "name": "Launch Failure",
        "abbrev": "Failure",
        "description": "Either the launch vehicle did not reach orbit, or the payload(s) failed to separate."
    },
    "last_updated": "2023-06-14T03:33:04Z",
    "updates": [],
    "net": "2006-07-26T19:43:05Z",
    "net_precision": null,
    "window_end": "2006-07-26T19:43:05Z",
    "window_start": "2006-07-26T19:43:05Z",
    "probability": null,
    "weather_concerns": null,
    "holdreason": "",
    "failreason": null,
    "hashtag": null,
    "launch_service_provider": {
        "id": 119,
        "url": "https://ll.thespacedevs.com/2.2.0/agencies/119/?format=api",
        "name": "ISC Kosmotras",
        "featured": false,
        "type": "Commercial",
        "country_code": "RUS",
        "abbrev": "ISCK",
        "description": null,
        "administrator": null,
        "founding_year": null,
        "launchers": "",
        "spacecraft": "",
        "launch_library_url": null,
        "total_launch_count": 22,
        "consecutive_successful_launches": 15,
        "successful_launches": 21,
        "failed_launches": 1,
        "pending_launches": 0,
        "consecutive_successful_landings": 0,
        "successful_landings": 0,
        "failed_landings": 0,
        "attempted_landings": 0,
        "info_url": "http://www.kosmotras.ru/",
        "wiki_url": "http://en.wikipedia.org/wiki/ISC_Kosmotras",
        "logo_url": null,
        "image_url": null,
        "nation_url": null
    },
    "rocket": {
        "id": 7277,
        "configuration": {
            "id": 31,
            "url": "https://ll.thespacedevs.com/2.2.0/config/launcher/31/?format=api",
            "name": "Dnepr",
            "active": false,
            "reusable": false,
            "description": "",
            "family": "",
            "full_name": "Dnepr 1",
            "manufacturer": {
                "id": 119,
                "url": "https://ll.thespacedevs.com/2.2.0/agencies/119/?format=api",
                "name": "ISC Kosmotras",
                "featured": false,
                "type": "Commercial",
                "country_code": "RUS",
                "abbrev": "ISCK",
                "description": null,
                "administrator": null,
                "founding_year": null,
                "launchers": "",
                "spacecraft": "",
                "launch_library_url": null,
                "total_launch_count": 22,
                "consecutive_successful_launches": 15,
                "successful_launches": 21,
                "failed_launches": 1,
                "pending_launches": 0,
                "consecutive_successful_landings": 0,
                "successful_landings": 0,
                "failed_landings": 0,
                "attempted_landings": 0,
                "info_url": "http://www.kosmotras.ru/",
                "wiki_url": "http://en.wikipedia.org/wiki/ISC_Kosmotras",
                "logo_url": null,
                "image_url": null,
                "nation_url": null
            },
            "program": [],
            "variant": "1",
            "alias": "",
            "min_stage": null,
            "max_stage": null,
            "length": null,
            "diameter": null,
            "maiden_flight": "1999-04-21",
            "launch_cost": null,
            "launch_mass": null,
            "leo_capacity": null,
            "gto_capacity": null,
            "to_thrust": null,
            "apogee": null,
            "vehicle_range": null,
            "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/dnepr-1_liftoff_image_20240411092543.jpeg",
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Dnepr-1",
            "total_launch_count": 22,
            "consecutive_successful_launches": 15,
            "successful_launches": 21,
            "failed_launches": 1,
            "pending_launches": 0,
            "attempted_landings": 0,
            "successful_landings": 0,
            "failed_landings": 0,
            "consecutive_successful_landings": 0
        },
        "launcher_stage": [],
        "spacecraft_stage": null
    },
    "mission": {
        "id": 5666,
        "name": "BelKA",
        "description": "BelKa 1 is a remote sensing satellite that utilizes the Victoria universal satellite bus. Developed by Rocket and Space Corporation Energiya, Russia, under a contract with TSNIIMASH-Export, Russia, for National Academy of Sciences of Republic of Belarus as the final customer of the satellite.",
        "launch_designator": null,
        "type": "Earth Science",
        "orbit": {
            "id": 17,
            "name": "Sun-Synchronous Orbit",
            "abbrev": "SSO"
        },
        "agencies": [],
        "info_urls": [],
        "vid_urls": []
    },
    "pad": {
        "id": 12,
        "url": "https://ll.thespacedevs.com/2.2.0/pad/12/?format=api",
        "agency_id": null,
        "name": "109/95",
        "description": null,
        "info_url": null,
        "wiki_url": "",
        "map_url": "https://www.google.com/maps?q=45.95112,63.497095",
        "latitude": "45.95112",
        "longitude": "63.497095",
        "location": {
            "id": 15,
            "url": "https://ll.thespacedevs.com/2.2.0/location/15/?format=api",
            "name": "Baikonur Cosmodrome, Republic of Kazakhstan",
            "country_code": "KAZ",
            "description": "The Baikonur Cosmodrome is a spaceport operated by Russia within Kazakhstan. Located in the Kazakh city of Baikonur, it is the largest operational space launch facility in terms of area. All Russian crewed spaceflights are launched from Baikonur.",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_15_20200803142517.jpg",
            "timezone_name": "Asia/Qyzylorda",
            "total_launch_count": 1555,
            "total_landing_count": 0
        },
        "country_code": "KAZ",
        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_12_20200803143322.jpg",
        "total_launch_count": 12,
        "orbital_launch_attempt_count": 12
    },
    "infoURLs": [],
    "vidURLs": [],
    "webcast_live": false,
    "timeline": [],
    "image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/dnepr-1_liftoff_image_20240411092543.jpeg",
    "infographic": null,
    "program": [],
    "orbital_launch_attempt_count": 4784,
    "location_launch_attempt_count": 1259,
    "pad_launch_attempt_count": 6,
    "agency_launch_attempt_count": 7,
    "orbital_launch_attempt_count_year": 34,
    "location_launch_attempt_count_year": 8,
    "pad_launch_attempt_count_year": 1,
    "agency_launch_attempt_count_year": 2,
    "pad_turnaround": "P336DT22H33M6S",
    "mission_patches": [],
    "type": "detailed"
}