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/f07f6b32-5547-4c92-9ca7-4b4cb14f3cd0/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "f07f6b32-5547-4c92-9ca7-4b4cb14f3cd0",
    "url": "https://ll.thespacedevs.com/2.2.0/launch/f07f6b32-5547-4c92-9ca7-4b4cb14f3cd0/?format=api",
    "slug": "dnepr-terrasar-x",
    "flightclub_url": null,
    "r_spacex_api_id": null,
    "name": "Dnepr | TerraSAR-X",
    "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:04Z",
    "updates": [],
    "net": "2007-06-15T02:14:00Z",
    "net_precision": null,
    "window_end": "2007-06-15T02:14:00Z",
    "window_start": "2007-06-15T02:14:00Z",
    "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": 7319,
        "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": 5708,
        "name": "TerraSAR-X",
        "description": "German Earth observation 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": 4845,
    "location_launch_attempt_count": 1275,
    "pad_launch_attempt_count": 8,
    "agency_launch_attempt_count": 9,
    "orbital_launch_attempt_count_year": 28,
    "location_launch_attempt_count_year": 7,
    "pad_launch_attempt_count_year": 2,
    "agency_launch_attempt_count_year": 2,
    "pad_turnaround": "P58DT19H27M21S",
    "mission_patches": [],
    "type": "detailed"
}