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/18bb9891-5a76-4fd7-b232-4624994c98c1/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "18bb9891-5a76-4fd7-b232-4624994c98c1",
    "url": "https://ll.thespacedevs.com/2.2.0/launch/18bb9891-5a76-4fd7-b232-4624994c98c1/?format=api",
    "slug": "pegasus-xl-fast-on-orbit-rapid-recording-of-transi",
    "flightclub_url": null,
    "r_spacex_api_id": null,
    "name": "Pegasus XL | Fast On-orbit Rapid Recording of Transient Events (FORTE)",
    "status": {
        "id": 3,
        "name": "Launch Successful",
        "abbrev": "Success",
        "description": "The launch vehicle successfully inserted its payload(s) into the target orbit(s)."
    },
    "last_updated": "2024-06-15T13:46:58Z",
    "updates": [],
    "net": "1997-08-29T15:02:22Z",
    "net_precision": {
        "id": 0,
        "name": "Second",
        "abbrev": "SEC",
        "description": "The T-0 is accurate to the second."
    },
    "window_end": "1997-08-29T15:02:22Z",
    "window_start": "1997-08-29T15:02:22Z",
    "probability": null,
    "weather_concerns": null,
    "holdreason": "",
    "failreason": "",
    "hashtag": null,
    "launch_service_provider": {
        "id": 100,
        "url": "https://ll.thespacedevs.com/2.2.0/agencies/100/?format=api",
        "name": "Orbital Sciences Corporation",
        "featured": false,
        "type": "Commercial",
        "country_code": "USA",
        "abbrev": "OSC",
        "description": null,
        "administrator": null,
        "founding_year": null,
        "launchers": "",
        "spacecraft": "",
        "launch_library_url": null,
        "total_launch_count": 72,
        "consecutive_successful_launches": 0,
        "successful_launches": 65,
        "failed_launches": 7,
        "pending_launches": 0,
        "consecutive_successful_landings": 0,
        "successful_landings": 0,
        "failed_landings": 0,
        "attempted_landings": 0,
        "info_url": "http://www.orbital.com/",
        "wiki_url": "http://en.wikipedia.org/wiki/Orbital_Sciences_Corporation",
        "logo_url": null,
        "image_url": null,
        "nation_url": null
    },
    "rocket": {
        "id": 420,
        "configuration": {
            "id": 173,
            "url": "https://ll.thespacedevs.com/2.2.0/config/launcher/173/?format=api",
            "name": "Pegasus XL",
            "active": true,
            "reusable": false,
            "description": "The Pegasus is an air-launched rocket developed by Orbital Sciences Corporation (now part of Northrop Grumman Innovation Systems). Capable of carrying small payloads of up to 443 kilograms (977 lb) into low Earth orbit, the vehicle consists of three solid propellant stages and an optional monopropellant fourth stage. Pegasus is released from its carrier aircraft at approximately 40,000 ft (12,000 m), and its first stage has a wing and a tail to provide lift and attitude control while in the atmosphere.",
            "family": "Pegasus",
            "full_name": "Pegasus XL",
            "manufacturer": {
                "id": 100,
                "url": "https://ll.thespacedevs.com/2.2.0/agencies/100/?format=api",
                "name": "Orbital Sciences Corporation",
                "featured": false,
                "type": "Commercial",
                "country_code": "USA",
                "abbrev": "OSC",
                "description": null,
                "administrator": null,
                "founding_year": null,
                "launchers": "",
                "spacecraft": "",
                "launch_library_url": null,
                "total_launch_count": 72,
                "consecutive_successful_launches": 0,
                "successful_launches": 65,
                "failed_launches": 7,
                "pending_launches": 0,
                "consecutive_successful_landings": 0,
                "successful_landings": 0,
                "failed_landings": 0,
                "attempted_landings": 0,
                "info_url": "http://www.orbital.com/",
                "wiki_url": "http://en.wikipedia.org/wiki/Orbital_Sciences_Corporation",
                "logo_url": null,
                "image_url": null,
                "nation_url": null
            },
            "program": [],
            "variant": "",
            "alias": "",
            "min_stage": 0,
            "max_stage": 3,
            "length": 17.6,
            "diameter": 1.27,
            "maiden_flight": "1994-06-27",
            "launch_cost": "40000000",
            "launch_mass": 23,
            "leo_capacity": 443,
            "gto_capacity": 0,
            "to_thrust": 580,
            "apogee": 4000,
            "vehicle_range": null,
            "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/pegasus_xl_moun_image_20240307124328.jpeg",
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Pegasus_(rocket)",
            "total_launch_count": 31,
            "consecutive_successful_launches": 25,
            "successful_launches": 28,
            "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": null,
    "pad": {
        "id": 61,
        "url": "https://ll.thespacedevs.com/2.2.0/pad/61/?format=api",
        "agency_id": 161,
        "name": "Space Launch Complex 10E",
        "description": "Space Launch Complex 10, or Missile Launch Complex 10, is located on Vandenberg Space Force Base in Lompoc, California. It was built in 1958 to test ballistic missiles and developed into a space launching facility in 1963.",
        "info_url": null,
        "wiki_url": "https://en.wikipedia.org/wiki/Vandenberg_Space_Launch_Complex_10",
        "map_url": "https://www.google.com/maps?q=34.7626,-120.6213",
        "latitude": "34.7626",
        "longitude": "-120.6213",
        "location": {
            "id": 11,
            "url": "https://ll.thespacedevs.com/2.2.0/location/11/?format=api",
            "name": "Vandenberg SFB, CA, USA",
            "country_code": "USA",
            "description": "Vandenberg Space Force Base is a United States Space Force Base in Santa Barbara County, California. Established in 1941, Vandenberg Space Force Base is a space launch base, launching spacecraft from the Western Range, and also performs missile testing. The United States Space Force's Space Launch Delta 30 serves as the host delta for the base, equivalent to an Air Force air base wing. In addition to its military space launch mission, Vandenberg Space Force Base also hosts space launches for civil and commercial space entities, such as NASA and SpaceX.",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_11_20200803142416.jpg",
            "timezone_name": "America/Los_Angeles",
            "total_launch_count": 804,
            "total_landing_count": 26
        },
        "country_code": "USA",
        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_61_20200803143410.jpg",
        "total_launch_count": 1,
        "orbital_launch_attempt_count": 1
    },
    "infoURLs": [],
    "vidURLs": [],
    "webcast_live": false,
    "timeline": [],
    "image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/pegasus_xl_moun_image_20240307124328.jpeg",
    "infographic": null,
    "program": [],
    "orbital_launch_attempt_count": 4167,
    "location_launch_attempt_count": 576,
    "pad_launch_attempt_count": 1,
    "agency_launch_attempt_count": 18,
    "orbital_launch_attempt_count_year": 4167,
    "location_launch_attempt_count_year": 6,
    "pad_launch_attempt_count_year": 1,
    "agency_launch_attempt_count_year": 3,
    "pad_turnaround": "P0D",
    "mission_patches": [],
    "type": "detailed"
}