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/25161436-122b-46bc-86fb-b72d33c29378/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "25161436-122b-46bc-86fb-b72d33c29378",
    "url": "https://ll.thespacedevs.com/2.2.0/launch/25161436-122b-46bc-86fb-b72d33c29378/?format=api",
    "slug": "atlas-iias-echostar-iii",
    "flightclub_url": null,
    "r_spacex_api_id": null,
    "name": "Atlas IIAS | Echostar III",
    "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": "1997-10-05T21:01:01Z",
    "net_precision": null,
    "window_end": "1997-10-05T21:01:01Z",
    "window_start": "1997-10-05T21:01:01Z",
    "probability": null,
    "weather_concerns": null,
    "holdreason": "",
    "failreason": null,
    "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": 6809,
        "configuration": {
            "id": 255,
            "url": "https://ll.thespacedevs.com/2.2.0/config/launcher/255/?format=api",
            "name": "Atlas IIAS",
            "active": false,
            "reusable": false,
            "description": "Atlas II was a member of the Atlas family of launch vehicles, which evolved from the successful Atlas missile program of the 1950s. It was designed to launch payloads into low earth orbit, geosynchronous transfer orbit or geosynchronous orbit. Sixty-three launches of the Atlas II, IIA and IIAS models were carried out between 1991 and 2004; all sixty-three launches were successes, making the Atlas II the most reliable launch system in history.",
            "family": "Atlas",
            "full_name": "Atlas IIAS",
            "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": "IIAS",
            "alias": "",
            "min_stage": 3,
            "max_stage": 3,
            "length": 47.54,
            "diameter": 3.04,
            "maiden_flight": "1993-12-16",
            "launch_cost": null,
            "launch_mass": 204,
            "leo_capacity": 6580,
            "gto_capacity": 2810,
            "to_thrust": 4391,
            "apogee": null,
            "vehicle_range": null,
            "image_url": null,
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Atlas_II",
            "total_launch_count": 30,
            "consecutive_successful_launches": 30,
            "successful_launches": 30,
            "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": 5199,
        "name": "Echostar III",
        "description": "EchoStar 3 was originaly ordered as DBSC 1 by DBSC (Direct Broadcast Satellite Corporation) which merged with a subsidiary of EchoStar in late 1995. The merger was approved by the FCC in August 1996. EchoStar is only authorized to operate 11 transponders from 61.5°W but was granted in Mar 1998 a special authorization to use the full frequency space at that location.",
        "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": 1023,
            "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": null,
    "infographic": null,
    "program": [],
    "orbital_launch_attempt_count": 4179,
    "location_launch_attempt_count": 534,
    "pad_launch_attempt_count": 61,
    "agency_launch_attempt_count": 28,
    "orbital_launch_attempt_count_year": 61,
    "location_launch_attempt_count_year": 11,
    "pad_launch_attempt_count_year": 4,
    "agency_launch_attempt_count_year": 6,
    "pad_turnaround": "P69DT19H46M",
    "mission_patches": [],
    "type": "detailed"
}