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/c2306f3a-e7e6-4d6f-9cc2-159c593fee9d/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "c2306f3a-e7e6-4d6f-9cc2-159c593fee9d",
    "url": "https://ll.thespacedevs.com/2.0.0/launch/c2306f3a-e7e6-4d6f-9cc2-159c593fee9d/?format=api",
    "launch_library_id": 1511,
    "slug": "titan-iiie-viking-2",
    "name": "Titan IIIE | Viking 2",
    "status": {
        "id": 3,
        "name": "Success"
    },
    "net": "1975-09-09T18:39:00Z",
    "window_end": "1975-09-09T18:39:00Z",
    "window_start": "1975-09-09T18:39:00Z",
    "inhold": false,
    "tbdtime": false,
    "tbddate": false,
    "probability": -1,
    "holdreason": "",
    "failreason": null,
    "hashtag": null,
    "launch_service_provider": {
        "id": 82,
        "url": "https://ll.thespacedevs.com/2.0.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": 254,
        "configuration": {
            "id": 148,
            "launch_library_id": 176,
            "url": "https://ll.thespacedevs.com/2.0.0/config/launcher/148/?format=api",
            "name": "Titan III",
            "description": "",
            "family": "Titan",
            "full_name": "Titan IIIE",
            "manufacturer": {
                "id": 82,
                "url": "https://ll.thespacedevs.com/2.0.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": "E",
            "alias": "",
            "min_stage": 3,
            "max_stage": 4,
            "length": 48.8,
            "diameter": 3.05,
            "maiden_flight": "1974-02-11",
            "launch_mass": 632,
            "leo_capacity": 15400,
            "gto_capacity": null,
            "to_thrust": 12991,
            "apogee": null,
            "vehicle_range": null,
            "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/titan2520iii_image_20190222030055.jpeg",
            "info_url": "https://archive.org/embed/gov.dod.dimoc.20693",
            "wiki_url": "https://en.wikipedia.org/wiki/Titan_IIIE",
            "total_launch_count": 7,
            "consecutive_successful_launches": 6,
            "successful_launches": 6,
            "failed_launches": 1,
            "pending_launches": 0
        },
        "launcher_stage": [],
        "spacecraft_stage": null
    },
    "mission": {
        "id": 523,
        "launch_library_id": 676,
        "name": "Viking 2",
        "description": "The Viking 2 mission was part of the American Viking program to Mars, and consisted of an orbiter and a lander essentially identical to that of the Viking 1 mission. The Viking 2 lander operated on the surface for 1316 days, or 1281 sols, and was turned off on April 11, 1980 when its batteries failed. The orbiter worked until July 25, 1978, returning almost 16,000 images in 706 orbits around Mars.",
        "launch_designator": null,
        "type": "Planetary Science",
        "orbit": {
            "id": 6,
            "name": "Heliocentric N/A",
            "abbrev": "Helio-N/A"
        }
    },
    "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": 1024,
            "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": [],
    "webcast_live": false,
    "image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/titan2520iii_image_20190222030055.jpeg",
    "infographic": null,
    "program": [
        {
            "id": 36,
            "url": "https://ll.thespacedevs.com/2.0.0/program/36/?format=api",
            "name": "NASA Large Strategic Science Missions",
            "description": "NASA's large strategic science missions or large strategic missions, formerly known as Flagship missions or Flagship-class missions, are the costliest and most capable NASA science spacecraft. Flagship missions exist within all four divisions of NASA's Science Mission Directorate (SMD): the astrophysics, Earth science, heliophysics and planetary science divisions.",
            "agencies": [
                {
                    "id": 44,
                    "url": "https://ll.thespacedevs.com/2.0.0/agencies/44/?format=api",
                    "name": "National Aeronautics and Space Administration",
                    "type": "Government"
                }
            ],
            "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/nasa2520large_program_20240205122003.jpeg",
            "start_date": "1975-08-22T00:00:00Z",
            "end_date": null,
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Large_strategic_science_missions"
        }
    ],
    "orbital_launch_attempt_count": 1738,
    "location_launch_attempt_count": 299,
    "pad_launch_attempt_count": 14,
    "agency_launch_attempt_count": 4,
    "orbital_launch_attempt_count_year": 87,
    "location_launch_attempt_count_year": 10,
    "pad_launch_attempt_count_year": 2,
    "agency_launch_attempt_count_year": 2
}