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/4ed1372f-e7fb-4cf9-bcaa-6d5eed8ec35d/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "4ed1372f-e7fb-4cf9-bcaa-6d5eed8ec35d",
    "url": "https://ll.thespacedevs.com/2.2.0/launch/4ed1372f-e7fb-4cf9-bcaa-6d5eed8ec35d/?format=api",
    "slug": "zenit-telstar-11n",
    "flightclub_url": null,
    "r_spacex_api_id": null,
    "name": "Zenit | Telstar 11N",
    "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:30:56Z",
    "updates": [],
    "net": "2009-02-26T18:29:55Z",
    "net_precision": null,
    "window_end": "2009-02-26T18:29:55Z",
    "window_start": "2009-02-26T18:29:55Z",
    "probability": null,
    "weather_concerns": null,
    "holdreason": "",
    "failreason": null,
    "hashtag": null,
    "launch_service_provider": {
        "id": 122,
        "url": "https://ll.thespacedevs.com/2.2.0/agencies/122/?format=api",
        "name": "Sea Launch",
        "featured": false,
        "type": "Commercial",
        "country_code": "RUS",
        "abbrev": "SL",
        "description": null,
        "administrator": null,
        "founding_year": null,
        "launchers": "",
        "spacecraft": "",
        "launch_library_url": null,
        "total_launch_count": 43,
        "consecutive_successful_launches": 3,
        "successful_launches": 40,
        "failed_launches": 3,
        "pending_launches": 0,
        "consecutive_successful_landings": 0,
        "successful_landings": 0,
        "failed_landings": 0,
        "attempted_landings": 0,
        "info_url": "http://www.sea-launch.com/",
        "wiki_url": "http://en.wikipedia.org/wiki/Sea_Launch",
        "logo_url": null,
        "image_url": null,
        "nation_url": null
    },
    "rocket": {
        "id": 7385,
        "configuration": {
            "id": 91,
            "url": "https://ll.thespacedevs.com/2.2.0/config/launcher/91/?format=api",
            "name": "Zenit",
            "active": false,
            "reusable": false,
            "description": "",
            "family": "Zenith",
            "full_name": "Zenit 3SLB",
            "manufacturer": {
                "id": 196,
                "url": "https://ll.thespacedevs.com/2.2.0/agencies/196/?format=api",
                "name": "Land Launch",
                "featured": false,
                "type": "Commercial",
                "country_code": "RUS",
                "abbrev": "LL",
                "description": null,
                "administrator": null,
                "founding_year": null,
                "launchers": "",
                "spacecraft": "",
                "launch_library_url": null,
                "total_launch_count": 0,
                "consecutive_successful_launches": 0,
                "successful_launches": 0,
                "failed_launches": 0,
                "pending_launches": 0,
                "consecutive_successful_landings": 0,
                "successful_landings": 0,
                "failed_landings": 0,
                "attempted_landings": 0,
                "info_url": "http://www.sea-launch.com/",
                "wiki_url": "https://en.wikipedia.org/wiki/Land_Launch",
                "logo_url": null,
                "image_url": null,
                "nation_url": null
            },
            "program": [],
            "variant": "3SLB",
            "alias": "",
            "min_stage": 1,
            "max_stage": 1,
            "length": 4.6,
            "diameter": 0.42,
            "maiden_flight": "2008-04-28",
            "launch_cost": null,
            "launch_mass": 0,
            "leo_capacity": 0,
            "gto_capacity": 0,
            "to_thrust": 45,
            "apogee": 140,
            "vehicle_range": null,
            "image_url": null,
            "info_url": null,
            "wiki_url": null,
            "total_launch_count": 6,
            "consecutive_successful_launches": 6,
            "successful_launches": 6,
            "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": 5774,
        "name": "Telstar 11N",
        "description": "American geostationary communications satellite",
        "launch_designator": null,
        "type": "Communications",
        "orbit": {
            "id": 1,
            "name": "Geostationary Orbit",
            "abbrev": "Direct-GEO"
        },
        "agencies": [],
        "info_urls": [],
        "vid_urls": []
    },
    "pad": {
        "id": 2,
        "url": "https://ll.thespacedevs.com/2.2.0/pad/2/?format=api",
        "agency_id": null,
        "name": "45/1",
        "description": null,
        "info_url": null,
        "wiki_url": "",
        "map_url": "https://www.google.com/maps?q=45.943492,63.653014",
        "latitude": "45.943492",
        "longitude": "63.653014",
        "location": {
            "id": 15,
            "url": "https://ll.thespacedevs.com/2.2.0/location/15/?format=api",
            "name": "Baikonur Cosmodrome, Republic of Kazakhstan",
            "country_code": "KAZ",
            "description": "The Baikonur Cosmodrome is a spaceport operated by Russia within Kazakhstan. Located in the Kazakh city of Baikonur, it is the largest operational space launch facility in terms of area. All Russian crewed spaceflights are launched from Baikonur.",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_15_20200803142517.jpg",
            "timezone_name": "Asia/Qyzylorda",
            "total_launch_count": 1555,
            "total_landing_count": 0
        },
        "country_code": "KAZ",
        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_2_20200803143256.jpg",
        "total_launch_count": 46,
        "orbital_launch_attempt_count": 46
    },
    "infoURLs": [],
    "vidURLs": [],
    "webcast_live": false,
    "timeline": [],
    "image": null,
    "infographic": null,
    "program": [],
    "orbital_launch_attempt_count": 4964,
    "location_launch_attempt_count": 1310,
    "pad_launch_attempt_count": 37,
    "agency_launch_attempt_count": 31,
    "orbital_launch_attempt_count_year": 10,
    "location_launch_attempt_count_year": 3,
    "pad_launch_attempt_count_year": 1,
    "agency_launch_attempt_count_year": 1,
    "pad_turnaround": "P304DT13H29M55S",
    "mission_patches": [],
    "type": "detailed"
}