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/8e87b56f-70e3-4874-a09f-a0586d11280a/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "8e87b56f-70e3-4874-a09f-a0586d11280a",
    "url": "https://ll.thespacedevs.com/2.2.0/launch/8e87b56f-70e3-4874-a09f-a0586d11280a/?format=api",
    "slug": "os-m1-lingque-1b",
    "flightclub_url": null,
    "r_spacex_api_id": null,
    "name": "OS-M1 | Lingque-1B",
    "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-07-08T08:40:22Z",
    "updates": [],
    "net": "2019-03-27T09:39:00Z",
    "net_precision": null,
    "window_end": "2019-03-27T10:42:00Z",
    "window_start": "2019-03-27T09:31:00Z",
    "probability": -1,
    "weather_concerns": null,
    "holdreason": "",
    "failreason": "Rocket lost attitude control after first stage separation.",
    "hashtag": null,
    "launch_service_provider": {
        "id": 263,
        "url": "https://ll.thespacedevs.com/2.2.0/agencies/263/?format=api",
        "name": "OneSpace",
        "featured": false,
        "type": "Commercial",
        "country_code": "CHN",
        "abbrev": "OS",
        "description": "OneSpace is a Chinese private space launch group based in Beijing, subsidiaries in Chongqing, Shenzhen and Xi'an. OneSpace was founded in 2015.",
        "administrator": null,
        "founding_year": null,
        "launchers": "",
        "spacecraft": "",
        "launch_library_url": null,
        "total_launch_count": 1,
        "consecutive_successful_launches": 0,
        "successful_launches": 0,
        "failed_launches": 1,
        "pending_launches": 0,
        "consecutive_successful_landings": 0,
        "successful_landings": 0,
        "failed_landings": 0,
        "attempted_landings": 0,
        "info_url": null,
        "wiki_url": "https://en.wikipedia.org/wiki/OneSpace",
        "logo_url": null,
        "image_url": null,
        "nation_url": null
    },
    "rocket": {
        "id": 2193,
        "configuration": {
            "id": 177,
            "url": "https://ll.thespacedevs.com/2.2.0/config/launcher/177/?format=api",
            "name": "OS-M1",
            "active": false,
            "reusable": false,
            "description": "OS-M1 or just OS-M is a 4 stage solid fuel orbital rocket that is 19-meters long, 1.2 meters in diameter and weighs 21-tons. It is designed to lift about 112 kilograms into a 500 km sun-synchronous orbit.",
            "family": "",
            "full_name": "OS-M1",
            "manufacturer": {
                "id": 263,
                "url": "https://ll.thespacedevs.com/2.2.0/agencies/263/?format=api",
                "name": "OneSpace",
                "featured": false,
                "type": "Commercial",
                "country_code": "CHN",
                "abbrev": "OS",
                "description": "OneSpace is a Chinese private space launch group based in Beijing, subsidiaries in Chongqing, Shenzhen and Xi'an. OneSpace was founded in 2015.",
                "administrator": null,
                "founding_year": null,
                "launchers": "",
                "spacecraft": "",
                "launch_library_url": null,
                "total_launch_count": 1,
                "consecutive_successful_launches": 0,
                "successful_launches": 0,
                "failed_launches": 1,
                "pending_launches": 0,
                "consecutive_successful_landings": 0,
                "successful_landings": 0,
                "failed_landings": 0,
                "attempted_landings": 0,
                "info_url": null,
                "wiki_url": "https://en.wikipedia.org/wiki/OneSpace",
                "logo_url": null,
                "image_url": null,
                "nation_url": null
            },
            "program": [],
            "variant": "",
            "alias": "",
            "min_stage": 4,
            "max_stage": 4,
            "length": 19.0,
            "diameter": 1.2,
            "maiden_flight": "2019-03-27",
            "launch_cost": null,
            "launch_mass": 21,
            "leo_capacity": null,
            "gto_capacity": null,
            "to_thrust": null,
            "apogee": null,
            "vehicle_range": null,
            "image_url": null,
            "info_url": null,
            "wiki_url": null,
            "total_launch_count": 1,
            "consecutive_successful_launches": 0,
            "successful_launches": 0,
            "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": 971,
        "name": "Lingque-1B",
        "description": "This is the first flight of the OS-M1 rocket. It carries a remote sensing satellite developed by a ZeroG Lab.",
        "launch_designator": null,
        "type": "Earth Science",
        "orbit": {
            "id": 8,
            "name": "Low Earth Orbit",
            "abbrev": "LEO"
        },
        "agencies": [],
        "info_urls": [],
        "vid_urls": []
    },
    "pad": {
        "id": 21,
        "url": "https://ll.thespacedevs.com/2.2.0/pad/21/?format=api",
        "agency_id": null,
        "name": "Launch Area 95A",
        "description": "",
        "info_url": null,
        "wiki_url": "https://en.wikipedia.org/wiki/Jiuquan_Satellite_Launch_Center",
        "map_url": "https://www.google.com/maps?q=40.969117,100.343333",
        "latitude": "40.969117",
        "longitude": "100.343333",
        "location": {
            "id": 17,
            "url": "https://ll.thespacedevs.com/2.2.0/location/17/?format=api",
            "name": "Jiuquan Satellite Launch Center, People's Republic of China",
            "country_code": "CHN",
            "description": "Jiuquan Satellite Launch Center is a Chinese spaceport located between the Ejin, Alxa, Inner Mongolia and Hangtian Town, Jinta County, Jiuquan, Gansu Province. It is part of the Dongfeng Aerospace City (Base 10).",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_17_20200803142429.jpg",
            "timezone_name": "Asia/Shanghai",
            "total_launch_count": 248,
            "total_landing_count": 0
        },
        "country_code": "CHN",
        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_21_20200803143253.jpg",
        "total_launch_count": 59,
        "orbital_launch_attempt_count": 59
    },
    "infoURLs": [],
    "vidURLs": [
        {
            "priority": 0,
            "source": null,
            "publisher": null,
            "title": "Chinese rocket crashes back down to Earth seconds after taking off",
            "description": "A China-based private space company failed to send a satellite into space via its self-developed carrier rocket on Wednesday. After lifting off from Jiuquan ...",
            "feature_image": "https://i.ytimg.com/vi/cFml9UKO1SI/maxresdefault.jpg",
            "url": "https://www.youtube.com/watch?v=cFml9UKO1SI",
            "type": null,
            "language": null,
            "start_time": null,
            "end_time": null
        }
    ],
    "webcast_live": false,
    "timeline": [],
    "image": null,
    "infographic": null,
    "program": [],
    "orbital_launch_attempt_count": 5838,
    "location_launch_attempt_count": 115,
    "pad_launch_attempt_count": 10,
    "agency_launch_attempt_count": 1,
    "orbital_launch_attempt_count_year": 18,
    "location_launch_attempt_count_year": 2,
    "pad_launch_attempt_count_year": 2,
    "agency_launch_attempt_count_year": 1,
    "pad_turnaround": "P65DT3H56M40S",
    "mission_patches": [],
    "type": "detailed"
}