API endpoint that returns all Launch objects or a single launch.

EXAMPLE - /launch// 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'

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.0.0/launch/f59752ea-55e2-44b3-8bb4-024534d104ad/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "f59752ea-55e2-44b3-8bb4-024534d104ad",
    "url": "https://ll.thespacedevs.com/2.0.0/launch/f59752ea-55e2-44b3-8bb4-024534d104ad/?format=api",
    "launch_library_id": 526,
    "slug": "atlas-v-401-sbirs-geo-flight-2-usa-241-sbirs-geo-2",
    "name": "Atlas V 401 | SBIRS GEO Flight 2 (USA-241) (SBIRS GEO-2)",
    "status": {
        "id": 3,
        "name": "Success"
    },
    "net": "2013-03-19T21:21:00Z",
    "window_end": "2013-03-19T21:21:00Z",
    "window_start": "2013-03-19T21:21:00Z",
    "inhold": false,
    "tbdtime": false,
    "tbddate": false,
    "probability": -1,
    "holdreason": "",
    "failreason": null,
    "hashtag": null,
    "launch_service_provider": {
        "id": 124,
        "url": "https://ll.thespacedevs.com/2.0.0/agencies/124/?format=api",
        "name": "United Launch Alliance",
        "featured": true,
        "type": "Commercial",
        "country_code": "USA",
        "abbrev": "ULA",
        "description": "United Launch Alliance (ULA) is a joint venture of Lockheed Martin Space Systems and Boeing Defense, Space & Security. ULA was formed in December 2006 by combining the teams at these companies which provide spacecraft launch services to the government of the United States. ULA launches from both coasts of the US. They launch their Atlas V vehicle from LC-41 in Cape Canaveral and LC-3E at Vandeberg. Their Delta IV launches from LC-37 at Cape Canaveral and LC-6 at Vandenberg.",
        "administrator": "CEO: Tory Bruno",
        "founding_year": "2006",
        "launchers": "Atlas | Delta IV | Vulcan",
        "spacecraft": "CST-100 Starliner",
        "launch_library_url": null,
        "total_launch_count": 165,
        "consecutive_successful_launches": 165,
        "successful_launches": 165,
        "failed_launches": 0,
        "pending_launches": 44,
        "consecutive_successful_landings": 0,
        "successful_landings": 0,
        "failed_landings": 0,
        "attempted_landings": 0,
        "info_url": "http://www.ulalaunch.com/",
        "wiki_url": "http://en.wikipedia.org/wiki/United_Launch_Alliance",
        "logo_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/united2520launch2520alliance_logo_20210412195953.png",
        "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/united_launch_a_image_20210412201210.png",
        "nation_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/united2520launch2520alliance_nation_20230531043703.jpg"
    },
    "rocket": {
        "id": 1665,
        "configuration": {
            "id": 16,
            "launch_library_id": 26,
            "url": "https://ll.thespacedevs.com/2.0.0/config/launcher/16/?format=api",
            "name": "Atlas V 401",
            "description": "An Atlas V with a 4 meter diameter fairing, no boosters and a single centaur upper stage engine.",
            "family": "Atlas",
            "full_name": "Atlas V 401",
            "manufacturer": {
                "id": 124,
                "url": "https://ll.thespacedevs.com/2.0.0/agencies/124/?format=api",
                "name": "United Launch Alliance",
                "featured": true,
                "type": "Commercial",
                "country_code": "USA",
                "abbrev": "ULA",
                "description": "United Launch Alliance (ULA) is a joint venture of Lockheed Martin Space Systems and Boeing Defense, Space & Security. ULA was formed in December 2006 by combining the teams at these companies which provide spacecraft launch services to the government of the United States. ULA launches from both coasts of the US. They launch their Atlas V vehicle from LC-41 in Cape Canaveral and LC-3E at Vandeberg. Their Delta IV launches from LC-37 at Cape Canaveral and LC-6 at Vandenberg.",
                "administrator": "CEO: Tory Bruno",
                "founding_year": "2006",
                "launchers": "Atlas | Delta IV | Vulcan",
                "spacecraft": "CST-100 Starliner",
                "launch_library_url": null,
                "total_launch_count": 165,
                "consecutive_successful_launches": 165,
                "successful_launches": 165,
                "failed_launches": 0,
                "pending_launches": 44,
                "consecutive_successful_landings": 0,
                "successful_landings": 0,
                "failed_landings": 0,
                "attempted_landings": 0,
                "info_url": "http://www.ulalaunch.com/",
                "wiki_url": "http://en.wikipedia.org/wiki/United_Launch_Alliance",
                "logo_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/united2520launch2520alliance_logo_20210412195953.png",
                "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/united_launch_a_image_20210412201210.png",
                "nation_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/united2520launch2520alliance_nation_20230531043703.jpg"
            },
            "program": [],
            "variant": "401",
            "alias": "",
            "min_stage": 2,
            "max_stage": 2,
            "length": 58.3,
            "diameter": 3.8,
            "maiden_flight": "2002-08-21",
            "launch_mass": 590,
            "leo_capacity": 9050,
            "gto_capacity": 4950,
            "to_thrust": 3827,
            "apogee": 40000,
            "vehicle_range": null,
            "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/atlas_v_image_20201212013334.jpeg",
            "info_url": "https://www.ulalaunch.com/rockets/atlas-v",
            "wiki_url": "https://en.wikipedia.org/wiki/Atlas_V",
            "total_launch_count": 41,
            "consecutive_successful_launches": 41,
            "successful_launches": 41,
            "failed_launches": 0,
            "pending_launches": 0
        },
        "launcher_stage": [],
        "spacecraft_stage": null
    },
    "mission": {
        "id": 1,
        "launch_library_id": 29,
        "name": "SBIRS GEO Flight 2 (USA-241) (SBIRS GEO-2)",
        "description": "This geostationary satellite is tasked with providing capabilities for early missile warning and missile defense.",
        "launch_designator": null,
        "type": "Government/Top Secret",
        "orbit": {
            "id": 2,
            "name": "Geostationary Transfer Orbit",
            "abbrev": "GTO"
        }
    },
    "pad": {
        "id": 29,
        "url": "https://ll.thespacedevs.com/2.0.0/pad/29/?format=api",
        "agency_id": null,
        "name": "Space Launch Complex 41",
        "info_url": null,
        "wiki_url": "https://en.wikipedia.org/wiki/Cape_Canaveral_Air_Force_Station_Space_Launch_Complex_41",
        "map_url": "https://www.google.com/maps?q=28.58341025,-80.58303644",
        "latitude": "28.58341025",
        "longitude": "-80.58303644",
        "location": {
            "id": 12,
            "url": "https://ll.thespacedevs.com/2.0.0/location/12/?format=api",
            "name": "Cape Canaveral SFS, FL, USA",
            "country_code": "USA",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_12_20200803142519.jpg",
            "total_launch_count": 1022,
            "total_landing_count": 64
        },
        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_29_20200803143528.jpg",
        "total_launch_count": 115
    },
    "infoURLs": [],
    "vidURLs": [
        {
            "priority": 0,
            "title": "Atlas V SBIRS GEO-2 Launch Highlights",
            "description": "A United Launch Alliance Atlas V rocket blasts off from Space Launch Complex-41 at Cape Canaveral Air Force Station, Fla., carrying the second Space-Based In...",
            "feature_image": "https://i.ytimg.com/vi/6JAO1qxYMvg/maxresdefault.jpg",
            "url": "https://www.youtube.com/watch?v=6JAO1qxYMvg"
        }
    ],
    "webcast_live": false,
    "image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/atlas_v_image_20201212013334.jpeg",
    "infographic": null,
    "program": [],
    "orbital_launch_attempt_count": 5280,
    "location_launch_attempt_count": 696,
    "pad_launch_attempt_count": 58,
    "agency_launch_attempt_count": 70,
    "orbital_launch_attempt_count_year": 12,
    "location_launch_attempt_count_year": 3,
    "pad_launch_attempt_count_year": 2,
    "agency_launch_attempt_count_year": 3
}