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/01235b60-f0db-4a04-ba87-abf6ffbe204b/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "01235b60-f0db-4a04-ba87-abf6ffbe204b",
    "url": "https://ll.thespacedevs.com/2.2.0/launch/01235b60-f0db-4a04-ba87-abf6ffbe204b/?format=api",
    "slug": "shavit-2-ofek-9",
    "flightclub_url": null,
    "r_spacex_api_id": null,
    "name": "Shavit-2 | Ofek-9",
    "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:15Z",
    "updates": [],
    "net": "2010-06-22T19:00:00Z",
    "net_precision": null,
    "window_end": "2010-06-22T19:00:00Z",
    "window_start": "2010-06-22T19:00:00Z",
    "probability": -1,
    "weather_concerns": null,
    "holdreason": "",
    "failreason": null,
    "hashtag": null,
    "launch_service_provider": {
        "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
    },
    "rocket": {
        "id": 1469,
        "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": null,
    "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": [
        {
            "priority": 0,
            "source": null,
            "publisher": null,
            "title": "שיגור לווין אופק 9 Israel launched Ofek 9 spy satellite",
            "description": "שיגור לווין הביון \"אופק 9\" שהסתיים בהצלחה גורם לסיפוק רב בישראל. גורמי ביטחון מסבירים שמדובר בעליית מדרגה דרמטית ביכולת איסוף המודיעין הישראלי. צפו בשיגור וב...",
            "feature_image": "https://i.ytimg.com/vi/BNIPBe1h6NQ/hqdefault.jpg",
            "url": "https://www.youtube.com/watch?v=BNIPBe1h6NQ",
            "type": null,
            "language": null,
            "start_time": null,
            "end_time": null
        }
    ],
    "webcast_live": false,
    "timeline": [],
    "image": null,
    "infographic": null,
    "program": [],
    "orbital_launch_attempt_count": 5065,
    "location_launch_attempt_count": 8,
    "pad_launch_attempt_count": 8,
    "agency_launch_attempt_count": 1,
    "orbital_launch_attempt_count_year": 5065,
    "location_launch_attempt_count_year": 1,
    "pad_launch_attempt_count_year": 1,
    "agency_launch_attempt_count_year": 1,
    "pad_turnaround": "P1107DT19H20M",
    "mission_patches": [],
    "type": "detailed"
}