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/7cc15314-42f5-4342-9582-db68cf6793c6/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "7cc15314-42f5-4342-9582-db68cf6793c6",
    "url": "https://ll.thespacedevs.com/2.2.0/launch/7cc15314-42f5-4342-9582-db68cf6793c6/?format=api",
    "slug": "atlas-uhf-fo-f11",
    "flightclub_url": null,
    "r_spacex_api_id": null,
    "name": "Atlas | UHF F/O F11",
    "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-14T17:39:55Z",
    "updates": [],
    "net": "2003-12-18T02:30:00Z",
    "net_precision": null,
    "window_end": "2003-12-18T02:30:00Z",
    "window_start": "2003-12-18T02:30:00Z",
    "probability": null,
    "weather_concerns": null,
    "holdreason": "",
    "failreason": "",
    "hashtag": null,
    "launch_service_provider": {
        "id": 82,
        "url": "https://ll.thespacedevs.com/2.2.0/agencies/82/?format=api",
        "name": "Lockheed Martin",
        "featured": false,
        "type": "Commercial",
        "country_code": "USA",
        "abbrev": "LMT",
        "description": "Lockheed Martin's Space Division started in the production of missiles and later ICBM's in the 1950s. Their TITAN missile system was used for 12 Gemini spacecraft and the Voyager probes.  They have worked largely in collaboration with NASA on many of their probes, landers, and spacecraft, and hope to play a key role in NASA's return to the moon in 2024.",
        "administrator": null,
        "founding_year": "1953",
        "launchers": "Titan | Agena",
        "spacecraft": "Hubble | JUNO | InSight",
        "launch_library_url": null,
        "total_launch_count": 80,
        "consecutive_successful_launches": 38,
        "successful_launches": 77,
        "failed_launches": 3,
        "pending_launches": 0,
        "consecutive_successful_landings": 0,
        "successful_landings": 0,
        "failed_landings": 0,
        "attempted_landings": 0,
        "info_url": "http://www.lockheedmartin.com/",
        "wiki_url": "http://en.wikipedia.org/wiki/Lockheed_Martin",
        "logo_url": null,
        "image_url": null,
        "nation_url": null
    },
    "rocket": {
        "id": 7163,
        "configuration": {
            "id": 472,
            "url": "https://ll.thespacedevs.com/2.2.0/config/launcher/472/?format=api",
            "name": "Atlas IIIB",
            "active": false,
            "reusable": false,
            "description": "American orbital launch vehicle used between 2000 and 2005.",
            "family": "Atlas",
            "full_name": "Atlas IIIB",
            "manufacturer": {
                "id": 82,
                "url": "https://ll.thespacedevs.com/2.2.0/agencies/82/?format=api",
                "name": "Lockheed Martin",
                "featured": false,
                "type": "Commercial",
                "country_code": "USA",
                "abbrev": "LMT",
                "description": "Lockheed Martin's Space Division started in the production of missiles and later ICBM's in the 1950s. Their TITAN missile system was used for 12 Gemini spacecraft and the Voyager probes.  They have worked largely in collaboration with NASA on many of their probes, landers, and spacecraft, and hope to play a key role in NASA's return to the moon in 2024.",
                "administrator": null,
                "founding_year": "1953",
                "launchers": "Titan | Agena",
                "spacecraft": "Hubble | JUNO | InSight",
                "launch_library_url": null,
                "total_launch_count": 80,
                "consecutive_successful_launches": 38,
                "successful_launches": 77,
                "failed_launches": 3,
                "pending_launches": 0,
                "consecutive_successful_landings": 0,
                "successful_landings": 0,
                "failed_landings": 0,
                "attempted_landings": 0,
                "info_url": "http://www.lockheedmartin.com/",
                "wiki_url": "http://en.wikipedia.org/wiki/Lockheed_Martin",
                "logo_url": null,
                "image_url": null,
                "nation_url": null
            },
            "program": [],
            "variant": "IIIB",
            "alias": "",
            "min_stage": 2,
            "max_stage": 2,
            "length": 52.8,
            "diameter": 3.05,
            "maiden_flight": "2002-02-21",
            "launch_cost": null,
            "launch_mass": 213,
            "leo_capacity": 10218,
            "gto_capacity": 4498,
            "to_thrust": 4149,
            "apogee": null,
            "vehicle_range": null,
            "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/atlas_iiia_image_20210901074920.jpg",
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Atlas_III",
            "total_launch_count": 4,
            "consecutive_successful_launches": 4,
            "successful_launches": 4,
            "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": 5552,
        "name": "UHF F/O F11",
        "description": "Ultra-high frequency (UHF) satellite communications network.",
        "launch_designator": null,
        "type": "Communications",
        "orbit": {
            "id": 1,
            "name": "Geostationary Orbit",
            "abbrev": "Direct-GEO"
        },
        "agencies": [],
        "info_urls": [],
        "vid_urls": []
    },
    "pad": {
        "id": 122,
        "url": "https://ll.thespacedevs.com/2.2.0/pad/122/?format=api",
        "agency_id": 161,
        "name": "Launch Complex 36B",
        "description": null,
        "info_url": null,
        "wiki_url": "https://en.wikipedia.org/wiki/Cape_Canaveral_Launch_Complex_36",
        "map_url": "https://www.google.com/maps?q=28.4705556,-80.542194",
        "latitude": "28.4705556",
        "longitude": "-80.542194",
        "location": {
            "id": 12,
            "url": "https://ll.thespacedevs.com/2.2.0/location/12/?format=api",
            "name": "Cape Canaveral SFS, FL, USA",
            "country_code": "USA",
            "description": "Cape Canaveral Space Force Station (CCSFS) is an installation of the United States Space Force's Space Launch Delta 45, located on Cape Canaveral in Brevard County, Florida.",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_12_20200803142519.jpg",
            "timezone_name": "America/New_York",
            "total_launch_count": 1021,
            "total_landing_count": 64
        },
        "country_code": "USA",
        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_122_20200803143232.jpg",
        "total_launch_count": 76,
        "orbital_launch_attempt_count": 76
    },
    "infoURLs": [],
    "vidURLs": [],
    "webcast_live": false,
    "timeline": [],
    "image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/atlas_iiia_image_20210901074920.jpg",
    "infographic": null,
    "program": [],
    "orbital_launch_attempt_count": 4635,
    "location_launch_attempt_count": 617,
    "pad_launch_attempt_count": 73,
    "agency_launch_attempt_count": 70,
    "orbital_launch_attempt_count_year": 59,
    "location_launch_attempt_count_year": 13,
    "pad_launch_attempt_count_year": 2,
    "agency_launch_attempt_count_year": 5,
    "pad_turnaround": "P250DT1H42M59S",
    "mission_patches": [],
    "type": "detailed"
}