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/64ecf17b-09e4-42ab-aa54-8d87b989e365/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
  "id": "64ecf17b-09e4-42ab-aa54-8d87b989e365",
  "url": "https://ll.thespacedevs.com/2.0.0/launch/64ecf17b-09e4-42ab-aa54-8d87b989e365/?format=api",
  "launch_library_id": null,
  "slug": "thor-able-i-pioneer-2",
  "name": "Thor Able I | Pioneer 2",
  "status": {
    "id": 4,
    "name": "Failure"
  },
  "net": "1958-11-08T07:30:21Z",
  "window_end": "1958-11-08T07:30:21Z",
  "window_start": "1958-11-08T07:30:21Z",
  "inhold": false,
  "tbdtime": false,
  "tbddate": false,
  "probability": null,
  "holdreason": "",
  "failreason": null,
  "hashtag": null,
  "launch_service_provider": {
    "id": 271,
    "url": "https://ll.thespacedevs.com/2.0.0/agencies/271/?format=api",
    "name": "Army Ballistic Missile Agency",
    "featured": false,
    "type": "Government",
    "country_code": "USA",
    "abbrev": "ABMA",
    "description": "The Army Ballistic Missile Agency was formed to develop the U.S. Army's first large ballistic missile. The agency was established at Redstone Arsenal on 1 February 1956, and commanded by Major General John B. Medaris with Wernher von Braun as technical director.",
    "administrator": null,
    "founding_year": null,
    "launchers": "",
    "spacecraft": "",
    "launch_library_url": null,
    "total_launch_count": 12,
    "consecutive_successful_launches": 0,
    "successful_launches": 5,
    "failed_launches": 7,
    "pending_launches": 0,
    "consecutive_successful_landings": 0,
    "successful_landings": 0,
    "failed_landings": 0,
    "attempted_landings": 0,
    "info_url": null,
    "wiki_url": "https://en.wikipedia.org/wiki/Army_Ballistic_Missile_Agency",
    "logo_url": null,
    "image_url": null,
    "nation_url": null
  },
  "rocket": {
    "id": 3030,
    "configuration": {
      "id": 388,
      "launch_library_id": null,
      "url": "https://ll.thespacedevs.com/2.0.0/config/launcher/388/?format=api",
      "name": "Thor Able I",
      "description": "American orbital launch vehicle. Thor with Able stage derived from Vanguard second stage.",
      "family": "Thor",
      "full_name": "Thor Able I",
      "manufacturer": {
        "id": 153,
        "url": "https://ll.thespacedevs.com/2.0.0/agencies/153/?format=api",
        "name": "McDonnell Douglas",
        "featured": false,
        "type": "Commercial",
        "country_code": "USA",
        "abbrev": "MDC",
        "description": null,
        "administrator": null,
        "founding_year": null,
        "launchers": "",
        "spacecraft": "",
        "launch_library_url": null,
        "total_launch_count": 0,
        "consecutive_successful_launches": 0,
        "successful_launches": 0,
        "failed_launches": 0,
        "pending_launches": 0,
        "consecutive_successful_landings": 0,
        "successful_landings": 0,
        "failed_landings": 0,
        "attempted_landings": 0,
        "info_url": null,
        "wiki_url": "https://en.wikipedia.org/wiki/McDonnell_Douglas",
        "logo_url": null,
        "image_url": null,
        "nation_url": null
      },
      "program": [],
      "variant": "Able I",
      "alias": "",
      "min_stage": 2,
      "max_stage": 2,
      "length": 30.0,
      "diameter": 2.44,
      "maiden_flight": "1958-04-24",
      "launch_mass": 51,
      "leo_capacity": 120,
      "gto_capacity": null,
      "to_thrust": 667,
      "apogee": null,
      "vehicle_range": null,
      "image_url": null,
      "info_url": null,
      "wiki_url": "https://en.wikipedia.org/wiki/Thor-Able",
      "total_launch_count": 3,
      "consecutive_successful_launches": 0,
      "successful_launches": 1,
      "failed_launches": 2,
      "pending_launches": 0
    },
    "launcher_stage": [],
    "spacecraft_stage": null
  },
  "mission": {
    "id": 1452,
    "launch_library_id": null,
    "name": "Pioneer 2",
    "description": "The third pioneer orbiter, pioneer 2 intended to enter lunar orbit but failed to make orbit when the third stage failed to ignite.",
    "launch_designator": null,
    "type": "Lunar Exploration",
    "orbit": {
      "id": 11,
      "name": "Lunar Orbit",
      "abbrev": "LO"
    }
  },
  "pad": {
    "id": 14,
    "url": "https://ll.thespacedevs.com/2.0.0/pad/14/?format=api",
    "agency_id": null,
    "name": "Space Launch Complex 17A",
    "info_url": null,
    "wiki_url": "https://en.wikipedia.org/wiki/Cape_Canaveral_Space_Launch_Complex_17",
    "map_url": "https://www.google.com/maps?q=28.4472,-80.565",
    "latitude": "28.4472",
    "longitude": "-80.565",
    "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": 1128,
      "total_landing_count": 79
    },
    "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_14_20200803143451.jpg",
    "total_launch_count": 145
  },
  "infoURLs": [],
  "vidURLs": [],
  "webcast_live": false,
  "image": null,
  "infographic": null,
  "program": [],
  "orbital_launch_attempt_count": 28,
  "location_launch_attempt_count": 16,
  "pad_launch_attempt_count": 3,
  "agency_launch_attempt_count": 9,
  "orbital_launch_attempt_count_year": 25,
  "location_launch_attempt_count_year": 15,
  "pad_launch_attempt_count_year": 3,
  "agency_launch_attempt_count_year": 9
}