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/b3d4d5e7-b317-446c-9d08-d4e5cfa95a63/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "b3d4d5e7-b317-446c-9d08-d4e5cfa95a63",
    "url": "https://ll.thespacedevs.com/2.2.0/launch/b3d4d5e7-b317-446c-9d08-d4e5cfa95a63/?format=api",
    "slug": "scout-x-1-st-2",
    "flightclub_url": null,
    "r_spacex_api_id": null,
    "name": "Scout X-1 | ST-2",
    "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-06-14T04:18:09Z",
    "updates": [],
    "net": "1960-10-04T15:23:00Z",
    "net_precision": null,
    "window_end": "1960-10-04T15:23:00Z",
    "window_start": "1960-10-04T15:23:00Z",
    "probability": null,
    "weather_concerns": null,
    "holdreason": "",
    "failreason": null,
    "hashtag": null,
    "launch_service_provider": {
        "id": 44,
        "url": "https://ll.thespacedevs.com/2.2.0/agencies/44/?format=api",
        "name": "National Aeronautics and Space Administration",
        "featured": true,
        "type": "Government",
        "country_code": "USA",
        "abbrev": "NASA",
        "description": "The National Aeronautics and Space Administration is an independent agency of the executive branch of the United States federal government responsible for the civilian space program, as well as aeronautics and aerospace research. NASA have many launch facilities but most are inactive. The most commonly used pad will be LC-39B at Kennedy Space Center in Florida.",
        "administrator": "Acting Administrator:  James Free",
        "founding_year": "1958",
        "launchers": "Space Shuttle | SLS",
        "spacecraft": "Orion",
        "launch_library_url": null,
        "total_launch_count": 141,
        "consecutive_successful_launches": 11,
        "successful_launches": 121,
        "failed_launches": 20,
        "pending_launches": 6,
        "consecutive_successful_landings": 0,
        "successful_landings": 0,
        "failed_landings": 0,
        "attempted_landings": 0,
        "info_url": "http://www.nasa.gov",
        "wiki_url": "http://en.wikipedia.org/wiki/National_Aeronautics_and_Space_Administration",
        "logo_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/national2520aeronautics2520and2520space2520administration_logo_20190207032448.png",
        "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/national2520aeronautics2520and2520space2520administration_image_20190207032448.jpeg",
        "nation_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/national2520aeronautics2520and2520space2520administration_nation_20230803040809.jpg"
    },
    "rocket": {
        "id": 3081,
        "configuration": {
            "id": 185,
            "url": "https://ll.thespacedevs.com/2.2.0/config/launcher/185/?format=api",
            "name": "Scout X-1",
            "active": false,
            "reusable": false,
            "description": "Scout X-1 was an American expendable launch system and sounding rocket which was flown seven times between August 1960 and October 1961.",
            "family": "Scout",
            "full_name": "Scout X-1",
            "manufacturer": {
                "id": 44,
                "url": "https://ll.thespacedevs.com/2.2.0/agencies/44/?format=api",
                "name": "National Aeronautics and Space Administration",
                "featured": true,
                "type": "Government",
                "country_code": "USA",
                "abbrev": "NASA",
                "description": "The National Aeronautics and Space Administration is an independent agency of the executive branch of the United States federal government responsible for the civilian space program, as well as aeronautics and aerospace research. NASA have many launch facilities but most are inactive. The most commonly used pad will be LC-39B at Kennedy Space Center in Florida.",
                "administrator": "Acting Administrator:  James Free",
                "founding_year": "1958",
                "launchers": "Space Shuttle | SLS",
                "spacecraft": "Orion",
                "launch_library_url": null,
                "total_launch_count": 141,
                "consecutive_successful_launches": 11,
                "successful_launches": 121,
                "failed_launches": 20,
                "pending_launches": 6,
                "consecutive_successful_landings": 0,
                "successful_landings": 0,
                "failed_landings": 0,
                "attempted_landings": 0,
                "info_url": "http://www.nasa.gov",
                "wiki_url": "http://en.wikipedia.org/wiki/National_Aeronautics_and_Space_Administration",
                "logo_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/national2520aeronautics2520and2520space2520administration_logo_20190207032448.png",
                "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/national2520aeronautics2520and2520space2520administration_image_20190207032448.jpeg",
                "nation_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/national2520aeronautics2520and2520space2520administration_nation_20230803040809.jpg"
            },
            "program": [],
            "variant": "X-1",
            "alias": "",
            "min_stage": 4,
            "max_stage": 4,
            "length": 25.0,
            "diameter": 1.01,
            "maiden_flight": "1960-07-02",
            "launch_cost": "8910000",
            "launch_mass": 16,
            "leo_capacity": 59,
            "gto_capacity": null,
            "to_thrust": 471,
            "apogee": 185,
            "vehicle_range": null,
            "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/scout2520x-1_image_20190324192636.jpeg",
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Scout_X-1",
            "total_launch_count": 6,
            "consecutive_successful_launches": 1,
            "successful_launches": 3,
            "failed_launches": 3,
            "pending_launches": 0,
            "attempted_landings": 0,
            "successful_landings": 0,
            "failed_landings": 0,
            "consecutive_successful_landings": 0
        },
        "launcher_stage": [],
        "spacecraft_stage": null
    },
    "mission": {
        "id": 1503,
        "name": "ST-2",
        "description": "A radiation probe plasma mission.",
        "launch_designator": null,
        "type": "Earth Science",
        "orbit": {
            "id": 8,
            "name": "Low Earth Orbit",
            "abbrev": "LEO"
        },
        "agencies": [],
        "info_urls": [],
        "vid_urls": []
    },
    "pad": {
        "id": 94,
        "url": "https://ll.thespacedevs.com/2.2.0/pad/94/?format=api",
        "agency_id": 44,
        "name": "Launch Area 3",
        "description": null,
        "info_url": null,
        "wiki_url": "",
        "map_url": "https://www.google.com/maps?q=37.8495,-75.4725",
        "latitude": "37.8495",
        "longitude": "-75.4725",
        "location": {
            "id": 21,
            "url": "https://ll.thespacedevs.com/2.2.0/location/21/?format=api",
            "name": "Wallops Flight Facility, Virginia, USA",
            "country_code": "USA",
            "description": "Wallops Flight Facility is a rocket launch site on Wallops Island on the Eastern Shore of Virginia, United States, just east of the Delmarva Peninsula and north-northeast of Norfolk. The facility is operated by the Goddard Space Flight Center in Greenbelt, Maryland, and primarily serves to support science and exploration missions for NASA and other federal agencies. WFF includes an extensively instrumented range to support launches of more than a dozen types of sounding rockets; small expendable suborbital and orbital rockets; high-altitude balloon flights carrying scientific instruments for atmospheric and astronomical research; and, using its Research Airport, flight tests of aeronautical research aircraft, including uncrewed aerial vehicles.",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_21_20200803142423.jpg",
            "timezone_name": "America/New_York",
            "total_launch_count": 80,
            "total_landing_count": 0
        },
        "country_code": "USA",
        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_94_20200803143206.jpg",
        "total_launch_count": 13,
        "orbital_launch_attempt_count": 10
    },
    "infoURLs": [],
    "vidURLs": [],
    "webcast_live": false,
    "timeline": [],
    "image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/scout2520x-1_image_20190324192636.jpeg",
    "infographic": null,
    "program": [],
    "orbital_launch_attempt_count": 78,
    "location_launch_attempt_count": 6,
    "pad_launch_attempt_count": 1,
    "agency_launch_attempt_count": 14,
    "orbital_launch_attempt_count_year": 24,
    "location_launch_attempt_count_year": 2,
    "pad_launch_attempt_count_year": 1,
    "agency_launch_attempt_count_year": 4,
    "pad_turnaround": "P0D",
    "mission_patches": [],
    "type": "detailed"
}