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/83a08cb3-dac1-4aef-9ef6-3867fc36e96f/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "83a08cb3-dac1-4aef-9ef6-3867fc36e96f",
    "url": "https://ll.thespacedevs.com/2.2.0/launch/83a08cb3-dac1-4aef-9ef6-3867fc36e96f/?format=api",
    "slug": "shavit-ofeq-1",
    "flightclub_url": null,
    "r_spacex_api_id": null,
    "name": "Shavit | Ofeq-1",
    "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:58:14Z",
    "updates": [],
    "net": "1988-09-19T09:31:00Z",
    "net_precision": null,
    "window_end": "1988-09-19T09:31:00Z",
    "window_start": "1988-09-19T09:31: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": 6113,
        "configuration": {
            "id": 44,
            "url": "https://ll.thespacedevs.com/2.2.0/config/launcher/44/?format=api",
            "name": "Shavit",
            "active": true,
            "reusable": false,
            "description": "",
            "family": "Shavit",
            "full_name": "Shavit",
            "manufacturer": {
                "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
            },
            "program": [],
            "variant": "",
            "alias": "",
            "min_stage": null,
            "max_stage": null,
            "length": null,
            "diameter": null,
            "maiden_flight": "1988-09-19",
            "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": 2,
            "consecutive_successful_launches": 2,
            "successful_launches": 2,
            "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": {
        "id": 4503,
        "name": "Ofeq-1",
        "description": "First Israeli satellite",
        "launch_designator": null,
        "type": "Test Flight",
        "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": 3344,
    "location_launch_attempt_count": 1,
    "pad_launch_attempt_count": 1,
    "agency_launch_attempt_count": 1,
    "orbital_launch_attempt_count_year": 91,
    "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"
}