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/37baae6b-ee62-40bd-bfe5-6e75979af6ca/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
  "id": "37baae6b-ee62-40bd-bfe5-6e75979af6ca",
  "url": "https://ll.thespacedevs.com/2.0.0/launch/37baae6b-ee62-40bd-bfe5-6e75979af6ca/?format=api",
  "launch_library_id": 538,
  "slug": "atlas-v-401-gps-iif-4-usa-242",
  "name": "Atlas V 401 | GPS IIF-4 (USA-242)",
  "status": {
    "id": 3,
    "name": "Success"
  },
  "net": "2013-05-15T21:38:00Z",
  "window_end": "2013-05-15T21:38:00Z",
  "window_start": "2013-05-15T21:38:00Z",
  "inhold": false,
  "tbdtime": false,
  "tbddate": false,
  "probability": null,
  "holdreason": "",
  "failreason": "",
  "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: Mark Peller",
    "founding_year": "2006",
    "launchers": "Atlas | Delta | Vulcan",
    "spacecraft": "",
    "launch_library_url": null,
    "total_launch_count": 175,
    "consecutive_successful_launches": 175,
    "successful_launches": 175,
    "failed_launches": 0,
    "pending_launches": 72,
    "consecutive_successful_landings": 0,
    "successful_landings": 0,
    "failed_landings": 0,
    "attempted_landings": 0,
    "info_url": "https://www.ulalaunch.com/",
    "wiki_url": "https://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": 1677,
    "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: Mark Peller",
        "founding_year": "2006",
        "launchers": "Atlas | Delta | Vulcan",
        "spacecraft": "",
        "launch_library_url": null,
        "total_launch_count": 175,
        "consecutive_successful_launches": 175,
        "successful_launches": 175,
        "failed_launches": 0,
        "pending_launches": 72,
        "consecutive_successful_landings": 0,
        "successful_landings": 0,
        "failed_landings": 0,
        "attempted_landings": 0,
        "info_url": "https://www.ulalaunch.com/",
        "wiki_url": "https://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": 36,
    "launch_library_id": 67,
    "name": "GPS IIF-4",
    "description": "GPS Block IIF, or GPS IIF is an interim class of GPS satellite, which will be used to keep the Navstar Global Positioning System operational until the GPS Block IIIA satellites become operational.",
    "launch_designator": null,
    "type": "Navigation",
    "orbit": {
      "id": 12,
      "name": "Medium Earth Orbit",
      "abbrev": "MEO"
    }
  },
  "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": 1132,
      "total_landing_count": 83
    },
    "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_29_20200803143528.jpg",
    "total_launch_count": 125
  },
  "infoURLs": [],
  "vidURLs": [
    {
      "priority": 0,
      "title": "Atlas V GPS IIF-4 Launch Highlights",
      "description": "A United Launch Alliance Atlas V rocket blasts off from Space Launch Complex-41 carrying the fourth Global Positioning System (GPS) IIF-4 satellite for the U.S. Air Force from Space Launch Complex-41....",
      "feature_image": "https://i.ytimg.com/vi/HyKnLMQC_Qk/maxresdefault.jpg",
      "url": "https://www.youtube.com/watch?v=HyKnLMQC_Qk"
    }
  ],
  "webcast_live": false,
  "image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/atlas_v_image_20201212013334.jpeg",
  "infographic": null,
  "program": [
    {
      "id": 29,
      "url": "https://ll.thespacedevs.com/2.0.0/program/29/?format=api",
      "name": "Global Positioning System",
      "description": "The Global Positioning System (GPS), originally Navstar GPS, is a satellite-based radio navigation system owned by the United States government and operated by the United States Space Force. It is one of the global navigation satellite systems (GNSS) that provide geolocation and time information to a GPS receiver anywhere on or near the Earth where there is an unobstructed line of sight to four or more GPS satellites.",
      "agencies": [
        {
          "id": 1041,
          "url": "https://ll.thespacedevs.com/2.0.0/agencies/1041/?format=api",
          "name": "United States Space Force",
          "type": "Government"
        }
      ],
      "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/global2520posi_program_20231229182501.png",
      "start_date": "1978-02-22T00:00:00Z",
      "end_date": null,
      "info_url": "https://www.gps.gov/",
      "wiki_url": "https://en.wikipedia.org/wiki/Global_Positioning_System"
    }
  ],
  "orbital_launch_attempt_count": 5292,
  "location_launch_attempt_count": 697,
  "pad_launch_attempt_count": 59,
  "agency_launch_attempt_count": 71,
  "orbital_launch_attempt_count_year": 24,
  "location_launch_attempt_count_year": 4,
  "pad_launch_attempt_count_year": 3,
  "agency_launch_attempt_count_year": 4
}