API endpoint that returns all Launch objects or a single launch.

EXAMPLE - /launch// 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'

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.0.0/launch/20d9789c-dfdf-46b5-a964-de5f031615a5/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "20d9789c-dfdf-46b5-a964-de5f031615a5",
    "url": "https://ll.thespacedevs.com/2.0.0/launch/20d9789c-dfdf-46b5-a964-de5f031615a5/?format=api",
    "launch_library_id": 2080,
    "slug": "launcherone-launch-demo-2",
    "name": "LauncherOne | Launch Demo 2",
    "status": {
        "id": 3,
        "name": "Success"
    },
    "net": "2021-01-17T19:38:51Z",
    "window_end": "2021-01-17T22:00:00Z",
    "window_start": "2021-01-17T18:00:00Z",
    "inhold": false,
    "tbdtime": false,
    "tbddate": false,
    "probability": -1,
    "holdreason": "",
    "failreason": "",
    "hashtag": null,
    "launch_service_provider": {
        "id": 199,
        "url": "https://ll.thespacedevs.com/2.0.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": 2736,
        "configuration": {
            "id": 141,
            "launch_library_id": 173,
            "url": "https://ll.thespacedevs.com/2.0.0/config/launcher/141/?format=api",
            "name": "LauncherOne",
            "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.0.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_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
        },
        "launcher_stage": [],
        "spacecraft_stage": null
    },
    "mission": {
        "id": 496,
        "launch_library_id": 643,
        "name": "Launch Demo 2 (VCLS ELaNa XX)",
        "description": "This is Virgin Orbit's second attempt to launch the LauncherOne rocket. It also carries cubesats which were contracted by NASA through Venture Class Launch Services contract.",
        "launch_designator": null,
        "type": "Dedicated Rideshare",
        "orbit": {
            "id": 13,
            "name": "Polar Orbit",
            "abbrev": "PO"
        }
    },
    "pad": {
        "id": 53,
        "url": "https://ll.thespacedevs.com/2.0.0/pad/53/?format=api",
        "agency_id": null,
        "name": "Mojave Air and Space Port",
        "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.0.0/location/20/?format=api",
            "name": "Air launch to orbit",
            "country_code": "???",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_20_20200803142433.jpg",
            "total_launch_count": 51,
            "total_landing_count": 0
        },
        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_53_20200803143612.jpg",
        "total_launch_count": 5
    },
    "infoURLs": [
        {
            "priority": 10,
            "title": "Live Flight Tracker - Real-Time Flight Tracker Map",
            "description": "The world’s most popular flight tracker. Track planes in real-time on our flight tracker map and get up-to-date flight status & airport information.",
            "feature_image": null,
            "url": "https://www.flightradar24.com/OBT01/26989797"
        }
    ],
    "vidURLs": [],
    "webcast_live": false,
    "image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/launcherone_image_20200101110016.jpeg",
    "infographic": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/infographic_images/launcherone252_infographic_20210114193003.png",
    "program": [],
    "orbital_launch_attempt_count": 6039,
    "location_launch_attempt_count": 46,
    "pad_launch_attempt_count": 2,
    "agency_launch_attempt_count": 2,
    "orbital_launch_attempt_count_year": 2,
    "location_launch_attempt_count_year": 1,
    "pad_launch_attempt_count_year": 1,
    "agency_launch_attempt_count_year": 1
}