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/1b9d8671-af41-41c6-aa56-dd92e884196b/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "1b9d8671-af41-41c6-aa56-dd92e884196b",
    "url": "https://ll.thespacedevs.com/2.2.0/launch/1b9d8671-af41-41c6-aa56-dd92e884196b/?format=api",
    "slug": "spark-ors-4",
    "flightclub_url": null,
    "r_spacex_api_id": null,
    "name": "SPARK | ORS-4",
    "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-06-14T03:55:15Z",
    "updates": [],
    "net": "2015-11-04T03:45:00Z",
    "net_precision": null,
    "window_end": "2015-11-04T03:45:00Z",
    "window_start": "2015-11-04T03:45:00Z",
    "probability": -1,
    "weather_concerns": null,
    "holdreason": "",
    "failreason": "Vehicle lost attitude control around a minute into flight.",
    "hashtag": null,
    "launch_service_provider": {
        "id": 195,
        "url": "https://ll.thespacedevs.com/2.2.0/agencies/195/?format=api",
        "name": "Sandia National Laboratories",
        "featured": false,
        "type": "Government",
        "country_code": "USA",
        "abbrev": "SNL",
        "description": null,
        "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": "http://www.sandia.gov/",
        "wiki_url": "https://en.wikipedia.org/wiki/Sandia_National_Laboratories",
        "logo_url": null,
        "image_url": null,
        "nation_url": null
    },
    "rocket": {
        "id": 1881,
        "configuration": {
            "id": 62,
            "url": "https://ll.thespacedevs.com/2.2.0/config/launcher/62/?format=api",
            "name": "SPARK",
            "active": false,
            "reusable": false,
            "description": "",
            "family": "",
            "full_name": "SPARK",
            "manufacturer": {
                "id": 195,
                "url": "https://ll.thespacedevs.com/2.2.0/agencies/195/?format=api",
                "name": "Sandia National Laboratories",
                "featured": false,
                "type": "Government",
                "country_code": "USA",
                "abbrev": "SNL",
                "description": null,
                "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": "http://www.sandia.gov/",
                "wiki_url": "https://en.wikipedia.org/wiki/Sandia_National_Laboratories",
                "logo_url": null,
                "image_url": null,
                "nation_url": null
            },
            "program": [],
            "variant": "",
            "alias": "",
            "min_stage": null,
            "max_stage": null,
            "length": null,
            "diameter": null,
            "maiden_flight": "2015-11-04",
            "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/spark_image_20190222030915.jpeg",
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/SPARK_%28rocket%29",
            "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": null,
    "pad": {
        "id": 63,
        "url": "https://ll.thespacedevs.com/2.2.0/pad/63/?format=api",
        "agency_id": 166,
        "name": "LP-41",
        "description": null,
        "info_url": null,
        "wiki_url": "https://en.wikipedia.org/wiki/Pacific_Missile_Range_Facility",
        "map_url": "https://www.google.com/maps?q=21.982029,-159.759328",
        "latitude": "21.982029",
        "longitude": "-159.759328",
        "location": {
            "id": 1,
            "url": "https://ll.thespacedevs.com/2.2.0/location/1/?format=api",
            "name": "Pacific Missile Range Facility, Barking Sands, HI, USA",
            "country_code": "USA",
            "description": "The Pacific Missile Range Facility, Barking Sands is a U.S. naval facility and airport located five nautical miles (9 km) northwest of the central business district of Kekaha, in Kauai County, Hawaii, United States.",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_1_20200803142427.jpg",
            "timezone_name": "Pacific/Honolulu",
            "total_launch_count": 1,
            "total_landing_count": 0
        },
        "country_code": "USA",
        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_63_20200803143308.jpg",
        "total_launch_count": 1,
        "orbital_launch_attempt_count": 1
    },
    "infoURLs": [],
    "vidURLs": [
        {
            "priority": 0,
            "source": null,
            "publisher": null,
            "title": "Launch of Super Strypi rocket from Hawaii",
            "description": "November 3, 2015: Video and animation of the launch of the Super Strypi rocket from Hawaii. The rocket suffered a failure mid-flight, officials said. Full st...",
            "feature_image": "https://i.ytimg.com/vi/i30zxnUFdNE/maxresdefault.jpg",
            "url": "https://www.youtube.com/watch?v=i30zxnUFdNE",
            "type": null,
            "language": null,
            "start_time": null,
            "end_time": null
        }
    ],
    "webcast_live": false,
    "timeline": [],
    "image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/spark_image_20190222030915.jpeg",
    "infographic": null,
    "program": [],
    "orbital_launch_attempt_count": 5509,
    "location_launch_attempt_count": 1,
    "pad_launch_attempt_count": 1,
    "agency_launch_attempt_count": 1,
    "orbital_launch_attempt_count_year": 5509,
    "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"
}