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/798a8166-e7ce-4700-b930-f1a91bfd9a96/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "798a8166-e7ce-4700-b930-f1a91bfd9a96",
    "url": "https://ll.thespacedevs.com/2.2.0/launch/798a8166-e7ce-4700-b930-f1a91bfd9a96/?format=api",
    "slug": "m-v-hayabusa",
    "flightclub_url": null,
    "r_spacex_api_id": null,
    "name": "M-V | Hayabusa",
    "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-07-07T13:27:53Z",
    "updates": [],
    "net": "2003-05-09T04:29:25Z",
    "net_precision": null,
    "window_end": "2003-05-09T04:29:25Z",
    "window_start": "2003-05-09T04:29:25Z",
    "probability": null,
    "weather_concerns": null,
    "holdreason": "",
    "failreason": "",
    "hashtag": null,
    "launch_service_provider": {
        "id": 1009,
        "url": "https://ll.thespacedevs.com/2.2.0/agencies/1009/?format=api",
        "name": "Institute of Space and Astronautical Science",
        "featured": false,
        "type": "Government",
        "country_code": "JPN",
        "abbrev": "ISAS",
        "description": "ISAS is a Japanese national research organization of astrophysics using rockets, astronomical satellites and interplanetary probes which played a major role in Japan's space development.",
        "administrator": null,
        "founding_year": null,
        "launchers": "Lambda",
        "spacecraft": "",
        "launch_library_url": null,
        "total_launch_count": 32,
        "consecutive_successful_launches": 1,
        "successful_launches": 24,
        "failed_launches": 8,
        "pending_launches": 0,
        "consecutive_successful_landings": 0,
        "successful_landings": 0,
        "failed_landings": 0,
        "attempted_landings": 0,
        "info_url": "https://en.wikipedia.org/wiki/Institute_of_Space_and_Astronautical_Science",
        "wiki_url": "https://en.wikipedia.org/wiki/Institute_of_Space_and_Astronautical_Science",
        "logo_url": null,
        "image_url": null,
        "nation_url": null
    },
    "rocket": {
        "id": 7131,
        "configuration": {
            "id": 334,
            "url": "https://ll.thespacedevs.com/2.2.0/config/launcher/334/?format=api",
            "name": "M-V",
            "active": false,
            "reusable": false,
            "description": "The M-V rocket also called Mu-5 was a Japanese solid-fuel rocket designed to launch scientific satellites.",
            "family": "Mu",
            "full_name": "M-V",
            "manufacturer": {
                "id": 94,
                "url": "https://ll.thespacedevs.com/2.2.0/agencies/94/?format=api",
                "name": "IHI Corporation",
                "featured": false,
                "type": "Commercial",
                "country_code": "JPN",
                "abbrev": "IHI",
                "description": null,
                "administrator": null,
                "founding_year": null,
                "launchers": "",
                "spacecraft": "",
                "launch_library_url": null,
                "total_launch_count": 0,
                "consecutive_successful_launches": 0,
                "successful_launches": 0,
                "failed_launches": 0,
                "pending_launches": 0,
                "consecutive_successful_landings": 0,
                "successful_landings": 0,
                "failed_landings": 0,
                "attempted_landings": 0,
                "info_url": "http://www.ihi.co.jp/index-e.html",
                "wiki_url": "http://en.wikipedia.org/wiki/IHI_Corporation",
                "logo_url": null,
                "image_url": null,
                "nation_url": null
            },
            "program": [],
            "variant": "V",
            "alias": "",
            "min_stage": 3,
            "max_stage": 4,
            "length": 30.8,
            "diameter": 2.5,
            "maiden_flight": "1997-02-12",
            "launch_cost": null,
            "launch_mass": 137,
            "leo_capacity": 1800,
            "gto_capacity": null,
            "to_thrust": 3780,
            "apogee": null,
            "vehicle_range": null,
            "image_url": null,
            "info_url": "",
            "wiki_url": "https://en.wikipedia.org/wiki/M-V",
            "total_launch_count": 7,
            "consecutive_successful_launches": 4,
            "successful_launches": 6,
            "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": 5520,
        "name": "Hayabusa",
        "description": "MUSES-C (renamed Hayabusa after launch) is a sample return mission to the asteroid. Its primary goal is to acquire and verify technology which is necessary to retrieve samples from a small body in the solar system and to bring back them to the earth.",
        "launch_designator": null,
        "type": "Astrophysics",
        "orbit": {
            "id": 21,
            "name": "Asteroid",
            "abbrev": "Asteroid"
        },
        "agencies": [],
        "info_urls": [],
        "vid_urls": []
    },
    "pad": {
        "id": 47,
        "url": "https://ll.thespacedevs.com/2.2.0/pad/47/?format=api",
        "agency_id": 37,
        "name": "Mu Center",
        "description": null,
        "info_url": null,
        "wiki_url": "https://en.wikipedia.org/wiki/Uchinoura_Space_Center",
        "map_url": "https://www.google.com/maps?q=31.2509794,131.0821319",
        "latitude": "31.2509794",
        "longitude": "131.0821319",
        "location": {
            "id": 24,
            "url": "https://ll.thespacedevs.com/2.2.0/location/24/?format=api",
            "name": "Uchinoura Space Center, Japan",
            "country_code": "JPN",
            "description": "The Uchinoura Space Center is a space launch facility in the Japanese town of Kimotsuki, Kagoshima Prefecture. All of Japan's scientific satellites were launched from Uchinoura prior to the M-V launch vehicles being decommissioned in 2006. It continues to be used for suborbital launches, stratospheric balloons and has also been used for the Epsilon orbital launch vehicle. Additionally, the center has antennas for communication with interplanetary space probes.",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_24_20200803142411.jpg",
            "timezone_name": "Asia/Tokyo",
            "total_launch_count": 43,
            "total_landing_count": 0
        },
        "country_code": "JPN",
        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_47_20200803143524.jpg",
        "total_launch_count": 36,
        "orbital_launch_attempt_count": 36
    },
    "infoURLs": [],
    "vidURLs": [],
    "webcast_live": false,
    "timeline": [],
    "image": null,
    "infographic": null,
    "program": [],
    "orbital_launch_attempt_count": 4595,
    "location_launch_attempt_count": 32,
    "pad_launch_attempt_count": 27,
    "agency_launch_attempt_count": 32,
    "orbital_launch_attempt_count_year": 19,
    "location_launch_attempt_count_year": 1,
    "pad_launch_attempt_count_year": 1,
    "agency_launch_attempt_count_year": 1,
    "pad_turnaround": "P1184DT2H59M25S",
    "mission_patches": [],
    "type": "detailed"
}