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/821d8bf0-bb65-4db6-bfcf-35429a24c8cc/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "821d8bf0-bb65-4db6-bfcf-35429a24c8cc",
    "url": "https://ll.thespacedevs.com/2.2.0/launch/821d8bf0-bb65-4db6-bfcf-35429a24c8cc/?format=api",
    "slug": "dnepr-aprizesat-2",
    "flightclub_url": null,
    "r_spacex_api_id": null,
    "name": "Dnepr | Aprizesat-2",
    "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-14T03:33:05Z",
    "updates": [],
    "net": "2004-06-29T06:30:06Z",
    "net_precision": null,
    "window_end": "2004-06-29T06:30:06Z",
    "window_start": "2004-06-29T06:30:06Z",
    "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": 7188,
        "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": 5577,
        "name": "Aprizesat-2",
        "description": "AprizeSat, is a constellation of small Low-Earth-Orbit satellites (64 satellites planned) to achieve a global communication system of data transmission and fixed and mobile asset tracking and monitoring (GMPCS).",
        "launch_designator": null,
        "type": "Communications",
        "orbit": {
            "id": 8,
            "name": "Low Earth Orbit",
            "abbrev": "LEO"
        },
        "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": 4664,
    "location_launch_attempt_count": 1225,
    "pad_launch_attempt_count": 4,
    "agency_launch_attempt_count": 4,
    "orbital_launch_attempt_count_year": 25,
    "location_launch_attempt_count_year": 10,
    "pad_launch_attempt_count_year": 1,
    "agency_launch_attempt_count_year": 1,
    "pad_turnaround": "P556DT13H30M6S",
    "mission_patches": [],
    "type": "detailed"
}