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/02c372d4-3bb2-4de3-a676-4cd6cfec9728/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "02c372d4-3bb2-4de3-a676-4cd6cfec9728",
    "url": "https://ll.thespacedevs.com/2.2.0/launch/02c372d4-3bb2-4de3-a676-4cd6cfec9728/?format=api",
    "slug": "shavit-2-ofeq-4",
    "flightclub_url": null,
    "r_spacex_api_id": null,
    "name": "Shavit-2 | Ofeq-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:58:14Z",
    "updates": [],
    "net": "1998-01-22T12:56:00Z",
    "net_precision": null,
    "window_end": "1998-01-22T12:56:00Z",
    "window_start": "1998-01-22T12:56:00Z",
    "probability": null,
    "weather_concerns": null,
    "holdreason": "",
    "failreason": null,
    "hashtag": null,
    "launch_service_provider": {
        "id": 35,
        "url": "https://ll.thespacedevs.com/2.2.0/agencies/35/?format=api",
        "name": "Israeli Space Agency",
        "featured": false,
        "type": "Government",
        "country_code": "ISR",
        "abbrev": "ISA",
        "description": null,
        "administrator": null,
        "founding_year": null,
        "launchers": "",
        "spacecraft": "",
        "launch_library_url": null,
        "total_launch_count": 7,
        "consecutive_successful_launches": 1,
        "successful_launches": 5,
        "failed_launches": 2,
        "pending_launches": 0,
        "consecutive_successful_landings": 0,
        "successful_landings": 0,
        "failed_landings": 0,
        "attempted_landings": 0,
        "info_url": "https://www.gov.il/he/Departments/ministry_of_science_and_technology",
        "wiki_url": "http://en.wikipedia.org/wiki/Israeli_Space_Agency",
        "logo_url": null,
        "image_url": null,
        "nation_url": null
    },
    "rocket": {
        "id": 6834,
        "configuration": {
            "id": 110,
            "url": "https://ll.thespacedevs.com/2.2.0/config/launcher/110/?format=api",
            "name": "Shavit-2",
            "active": true,
            "reusable": false,
            "description": "N/A",
            "family": "Shavit",
            "full_name": "Shavit-2",
            "manufacturer": {
                "id": 95,
                "url": "https://ll.thespacedevs.com/2.2.0/agencies/95/?format=api",
                "name": "Israel Aerospace Industries",
                "featured": false,
                "type": "Commercial",
                "country_code": "ISR",
                "abbrev": "IAI",
                "description": null,
                "administrator": null,
                "founding_year": null,
                "launchers": "",
                "spacecraft": "",
                "launch_library_url": null,
                "total_launch_count": 5,
                "consecutive_successful_launches": 5,
                "successful_launches": 5,
                "failed_launches": 0,
                "pending_launches": 0,
                "consecutive_successful_landings": 0,
                "successful_landings": 0,
                "failed_landings": 0,
                "attempted_landings": 0,
                "info_url": "http://www.iai.co.il/",
                "wiki_url": "http://en.wikipedia.org/wiki/Israel_Aerospace_Industries",
                "logo_url": null,
                "image_url": null,
                "nation_url": null
            },
            "program": [],
            "variant": "2",
            "alias": "",
            "min_stage": null,
            "max_stage": null,
            "length": null,
            "diameter": null,
            "maiden_flight": "1995-04-05",
            "launch_cost": null,
            "launch_mass": null,
            "leo_capacity": null,
            "gto_capacity": null,
            "to_thrust": null,
            "apogee": null,
            "vehicle_range": null,
            "image_url": null,
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Shavit",
            "total_launch_count": 10,
            "consecutive_successful_launches": 6,
            "successful_launches": 8,
            "failed_launches": 2,
            "pending_launches": 0,
            "attempted_landings": 0,
            "successful_landings": 0,
            "failed_landings": 0,
            "consecutive_successful_landings": 0
        },
        "launcher_stage": [],
        "spacecraft_stage": null
    },
    "mission": {
        "id": 5224,
        "name": "Ofeq-4",
        "description": "Intended for surveillance of Israel's neighbours, the Ofeq series is unusual in having a retrograde orbit. This is due to the geographical location of Israel, which gives only an unobstructed launch path over the mediterranean sea. It is similar to the EROS-A civilian Earth observation satellite. Ofeq 4 (which was possibly the prototype EROS-A satellite) was lost in an launch failure in early 1998.",
        "launch_designator": null,
        "type": "Government/Top Secret",
        "orbit": {
            "id": 8,
            "name": "Low Earth Orbit",
            "abbrev": "LEO"
        },
        "agencies": [],
        "info_urls": [],
        "vid_urls": []
    },
    "pad": {
        "id": 75,
        "url": "https://ll.thespacedevs.com/2.2.0/pad/75/?format=api",
        "agency_id": 95,
        "name": "Shavit Launch Pad",
        "description": "",
        "info_url": null,
        "wiki_url": "https://en.wikipedia.org/wiki/Palmachim_Airbase",
        "map_url": "https://www.google.com/maps?q=31.884444,34.680278",
        "latitude": "31.884444",
        "longitude": "34.680278",
        "location": {
            "id": 4,
            "url": "https://ll.thespacedevs.com/2.2.0/location/4/?format=api",
            "name": "Palmachim Airbase, State of Israel",
            "country_code": "ISR",
            "description": "Palmachim Airbase is an Israeli Air Force (IAF) base and spaceport, which the IAF and the Israel Space Agency (ISA) operate jointly. It is located west of the city of Yavne on the Mediterranean coast, 12 km south of the Gush Dan metropolitan area with Tel Aviv, named after the Kibbutz Palmachim north of it.",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_4_20200803142418.jpg",
            "timezone_name": "Asia/Jerusalem",
            "total_launch_count": 12,
            "total_landing_count": 0
        },
        "country_code": "ISR",
        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_75_20200803143316.jpg",
        "total_launch_count": 12,
        "orbital_launch_attempt_count": 12
    },
    "infoURLs": [],
    "vidURLs": [],
    "webcast_live": false,
    "timeline": [],
    "image": null,
    "infographic": null,
    "program": [],
    "orbital_launch_attempt_count": 4210,
    "location_launch_attempt_count": 4,
    "pad_launch_attempt_count": 4,
    "agency_launch_attempt_count": 4,
    "orbital_launch_attempt_count_year": 3,
    "location_launch_attempt_count_year": 1,
    "pad_launch_attempt_count_year": 1,
    "agency_launch_attempt_count_year": 1,
    "pad_turnaround": "P1023DT1H40M",
    "mission_patches": [],
    "type": "detailed"
}