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/4a47e6e2-5545-4bac-ad84-21c8e73940b2/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "4a47e6e2-5545-4bac-ad84-21c8e73940b2",
    "url": "https://ll.thespacedevs.com/2.2.0/launch/4a47e6e2-5545-4bac-ad84-21c8e73940b2/?format=api",
    "slug": "launcherone-launch-demo",
    "flightclub_url": null,
    "r_spacex_api_id": null,
    "name": "LauncherOne | Launch Demo",
    "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": "2024-10-13T06:59:12Z",
    "updates": [],
    "net": "2020-05-25T19:50:00Z",
    "net_precision": null,
    "window_end": "2020-05-25T21:00:00Z",
    "window_start": "2020-05-25T17:00:00Z",
    "probability": -1,
    "weather_concerns": null,
    "holdreason": "",
    "failreason": "Shortly after release from the carrier plane and several seconds after first stage engine startup, the high-pressure LOX feeding line broke. This resulted in engine shutdown and subsequent flight termination.",
    "hashtag": null,
    "launch_service_provider": {
        "id": 199,
        "url": "https://ll.thespacedevs.com/2.2.0/agencies/199/?format=api",
        "name": "Virgin Orbit",
        "featured": false,
        "type": "Commercial",
        "country_code": "USA",
        "abbrev": "VO",
        "description": "Virgin Orbit is a company within the Virgin Group which plans to provide launch services for small satellites. The company was formed in 2017 to develop the air-launched LauncherOne rocket, launched from Cosmic Girl, which had previously been a project of Virgin Galactic. Based in Long Beach, California, Virgin Orbit has more than 300 employees led by president Dan Hart, a former vice president of government satellite systems at Boeing.\r\n\r\nVirgin Orbit focuses on small satellite launch, which is one of three capabilities being focused on by Virgin Galactic. These capabilities are: human spaceflight operations, small satellite launch, and advanced aerospace design, manufacturing, and test",
        "administrator": "President: Dan Hart",
        "founding_year": "2017",
        "launchers": "LauncherOne",
        "spacecraft": "",
        "launch_library_url": null,
        "total_launch_count": 6,
        "consecutive_successful_launches": 0,
        "successful_launches": 4,
        "failed_launches": 2,
        "pending_launches": 0,
        "consecutive_successful_landings": 0,
        "successful_landings": 0,
        "failed_landings": 0,
        "attempted_landings": 0,
        "info_url": "https://virginorbit.com/",
        "wiki_url": "https://en.wikipedia.org/wiki/Virgin_Orbit",
        "logo_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/virgin2520orbit_logo_20200101102856.png",
        "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/virgin2520orbit_image_20200101110056.jpeg",
        "nation_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/virgin2520orbit_nation_20200101103026.jpeg"
    },
    "rocket": {
        "id": 8,
        "configuration": {
            "id": 141,
            "url": "https://ll.thespacedevs.com/2.2.0/config/launcher/141/?format=api",
            "name": "LauncherOne",
            "active": false,
            "reusable": false,
            "description": "LauncherOne is a two stage orbital launch vehicle developed by Virgin Orbit since 2007. It is an air launch to orbit rocket, designed to launch \"smallsat\" payloads of 300 kilograms (660 lb) into a Sun-synchronous orbit, following air launch from a carrier aircraft at high altitude.",
            "family": "",
            "full_name": "LauncherOne",
            "manufacturer": {
                "id": 199,
                "url": "https://ll.thespacedevs.com/2.2.0/agencies/199/?format=api",
                "name": "Virgin Orbit",
                "featured": false,
                "type": "Commercial",
                "country_code": "USA",
                "abbrev": "VO",
                "description": "Virgin Orbit is a company within the Virgin Group which plans to provide launch services for small satellites. The company was formed in 2017 to develop the air-launched LauncherOne rocket, launched from Cosmic Girl, which had previously been a project of Virgin Galactic. Based in Long Beach, California, Virgin Orbit has more than 300 employees led by president Dan Hart, a former vice president of government satellite systems at Boeing.\r\n\r\nVirgin Orbit focuses on small satellite launch, which is one of three capabilities being focused on by Virgin Galactic. These capabilities are: human spaceflight operations, small satellite launch, and advanced aerospace design, manufacturing, and test",
                "administrator": "President: Dan Hart",
                "founding_year": "2017",
                "launchers": "LauncherOne",
                "spacecraft": "",
                "launch_library_url": null,
                "total_launch_count": 6,
                "consecutive_successful_launches": 0,
                "successful_launches": 4,
                "failed_launches": 2,
                "pending_launches": 0,
                "consecutive_successful_landings": 0,
                "successful_landings": 0,
                "failed_landings": 0,
                "attempted_landings": 0,
                "info_url": "https://virginorbit.com/",
                "wiki_url": "https://en.wikipedia.org/wiki/Virgin_Orbit",
                "logo_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/virgin2520orbit_logo_20200101102856.png",
                "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/virgin2520orbit_image_20200101110056.jpeg",
                "nation_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/virgin2520orbit_nation_20200101103026.jpeg"
            },
            "program": [],
            "variant": "One",
            "alias": "",
            "min_stage": 2,
            "max_stage": 2,
            "length": 16.0,
            "diameter": 1.6,
            "maiden_flight": "2020-05-25",
            "launch_cost": "12000000",
            "launch_mass": 30,
            "leo_capacity": 500,
            "gto_capacity": null,
            "to_thrust": 327,
            "apogee": null,
            "vehicle_range": null,
            "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/launcherone_image_20200101110016.jpeg",
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/LauncherOne",
            "total_launch_count": 6,
            "consecutive_successful_launches": 0,
            "successful_launches": 4,
            "failed_launches": 2,
            "pending_launches": 0,
            "attempted_landings": 0,
            "successful_landings": 0,
            "failed_landings": 0,
            "consecutive_successful_landings": 0
        },
        "launcher_stage": [],
        "spacecraft_stage": null
    },
    "mission": {
        "id": 679,
        "name": "Launch Demo",
        "description": "Payload-free test flight of the LauncherOne vehicle.",
        "launch_designator": null,
        "type": "Test Flight",
        "orbit": {
            "id": 8,
            "name": "Low Earth Orbit",
            "abbrev": "LEO"
        },
        "agencies": [],
        "info_urls": [],
        "vid_urls": []
    },
    "pad": {
        "id": 53,
        "url": "https://ll.thespacedevs.com/2.2.0/pad/53/?format=api",
        "agency_id": null,
        "name": "Mojave Air and Space Port",
        "description": null,
        "info_url": null,
        "wiki_url": "https://en.wikipedia.org/wiki/Mojave_Air_and_Space_Port",
        "map_url": "https://www.google.com/maps?q=35.059444,-118.151667",
        "latitude": "35.059444",
        "longitude": "-118.151667",
        "location": {
            "id": 20,
            "url": "https://ll.thespacedevs.com/2.2.0/location/20/?format=api",
            "name": "Air launch to orbit",
            "country_code": "???",
            "description": "",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_20_20200803142433.jpg",
            "timezone_name": "",
            "total_launch_count": 51,
            "total_landing_count": 0
        },
        "country_code": "USA",
        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_53_20200803143612.jpg",
        "total_launch_count": 5,
        "orbital_launch_attempt_count": 5
    },
    "infoURLs": [],
    "vidURLs": [],
    "webcast_live": false,
    "timeline": [],
    "image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/launcherone_image_20200101110016.jpeg",
    "infographic": null,
    "program": [],
    "orbital_launch_attempt_count": 5957,
    "location_launch_attempt_count": 45,
    "pad_launch_attempt_count": 1,
    "agency_launch_attempt_count": 1,
    "orbital_launch_attempt_count_year": 35,
    "location_launch_attempt_count_year": 1,
    "pad_launch_attempt_count_year": 1,
    "agency_launch_attempt_count_year": 1,
    "pad_turnaround": "P0D",
    "mission_patches": [],
    "type": "detailed"
}