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/6e83e29a-17c1-4e9d-990d-1c9269a0aeb5/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "6e83e29a-17c1-4e9d-990d-1c9269a0aeb5",
    "url": "https://ll.thespacedevs.com/2.2.0/launch/6e83e29a-17c1-4e9d-990d-1c9269a0aeb5/?format=api",
    "slug": "pegasus-xl-haps-orbcomm-d2-d8",
    "flightclub_url": null,
    "r_spacex_api_id": null,
    "name": "Pegasus XL HAPS | Orbcomm-D2 - D8",
    "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-14T03:54:33Z",
    "updates": [],
    "net": "1999-12-04T18:53:00Z",
    "net_precision": null,
    "window_end": "1999-12-04T18:53:00Z",
    "window_start": "1999-12-04T18:53:00Z",
    "probability": -1,
    "weather_concerns": null,
    "holdreason": "",
    "failreason": null,
    "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": 447,
        "configuration": {
            "id": 118,
            "url": "https://ll.thespacedevs.com/2.2.0/config/launcher/118/?format=api",
            "name": "Pegasus XL HAPS",
            "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.\r\nThe HAPS variant adds a Hydrazine Auxiliary Propulsion System maneuvering stage.",
            "family": "Pegasus",
            "full_name": "Pegasus XL HAPS",
            "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": "HAPS",
            "alias": "",
            "min_stage": 0,
            "max_stage": 4,
            "length": 17.6,
            "diameter": 1.27,
            "maiden_flight": "1997-12-23",
            "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": 5,
            "consecutive_successful_launches": 5,
            "successful_launches": 5,
            "failed_launches": 0,
            "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": 52,
        "url": "https://ll.thespacedevs.com/2.2.0/pad/52/?format=api",
        "agency_id": null,
        "name": "Wallops Flight Facility",
        "description": null,
        "info_url": null,
        "wiki_url": "https://en.wikipedia.org/wiki/Wallops_Flight_Facility",
        "map_url": "https://www.google.com/maps?q=37.938611,-75.457222",
        "latitude": "37.938611",
        "longitude": "-75.457222",
        "location": {
            "id": 20,
            "url": "https://ll.thespacedevs.com/2.2.0/location/20/?format=api",
            "name": "Air launch to orbit",
            "country_code": "???",
            "description": "",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_20_20200803142433.jpg",
            "timezone_name": "",
            "total_launch_count": 51,
            "total_landing_count": 0
        },
        "country_code": "USA",
        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_52_20200803143305.jpg",
        "total_launch_count": 6,
        "orbital_launch_attempt_count": 6
    },
    "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": 4358,
    "location_launch_attempt_count": 27,
    "pad_launch_attempt_count": 6,
    "agency_launch_attempt_count": 31,
    "orbital_launch_attempt_count_year": 4358,
    "location_launch_attempt_count_year": 3,
    "pad_launch_attempt_count_year": 1,
    "agency_launch_attempt_count_year": 3,
    "pad_turnaround": "P437DT13H47M",
    "mission_patches": [],
    "type": "detailed"
}