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/d20bd92e-bc02-4fc2-85e3-3ddb7bcae6bc/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
  "id": "d20bd92e-bc02-4fc2-85e3-3ddb7bcae6bc",
  "url": "https://lldev.thespacedevs.com/2.0.0/launch/d20bd92e-bc02-4fc2-85e3-3ddb7bcae6bc/?format=api",
  "launch_library_id": null,
  "slug": "m-v-haruka",
  "name": "M-V | Haruka",
  "status": {
    "id": 3,
    "name": "Success"
  },
  "net": "1997-02-12T04:50:00Z",
  "window_end": "1997-02-12T04:50:00Z",
  "window_start": "1997-02-12T04:50:00Z",
  "inhold": false,
  "tbdtime": false,
  "tbddate": false,
  "probability": null,
  "holdreason": "",
  "failreason": "",
  "hashtag": null,
  "launch_service_provider": {
    "id": 1009,
    "url": "https://lldev.thespacedevs.com/2.0.0/agencies/1009/?format=api",
    "name": "Institute of Space and Astronautical Science",
    "featured": false,
    "type": "Government",
    "country_code": "JPN",
    "abbrev": "ISAS",
    "description": "ISAS is a Japanese national research organization of astrophysics using rockets, astronomical satellites and interplanetary probes which played a major role in Japan's space development.",
    "administrator": null,
    "founding_year": null,
    "launchers": "Lambda",
    "spacecraft": "",
    "launch_library_url": null,
    "total_launch_count": 32,
    "consecutive_successful_launches": 1,
    "successful_launches": 24,
    "failed_launches": 8,
    "pending_launches": 0,
    "consecutive_successful_landings": 0,
    "successful_landings": 0,
    "failed_landings": 0,
    "attempted_landings": 0,
    "info_url": "https://en.wikipedia.org/wiki/Institute_of_Space_and_Astronautical_Science",
    "wiki_url": "https://en.wikipedia.org/wiki/Institute_of_Space_and_Astronautical_Science",
    "logo_url": null,
    "image_url": null,
    "nation_url": null
  },
  "rocket": {
    "id": 6766,
    "configuration": {
      "id": 334,
      "launch_library_id": null,
      "url": "https://lldev.thespacedevs.com/2.0.0/config/launcher/334/?format=api",
      "name": "M-V",
      "description": "The M-V rocket also called Mu-5 was a Japanese solid-fuel rocket designed to launch scientific satellites.",
      "family": "Mu",
      "full_name": "M-V",
      "manufacturer": {
        "id": 94,
        "url": "https://lldev.thespacedevs.com/2.0.0/agencies/94/?format=api",
        "name": "IHI Corporation",
        "featured": false,
        "type": "Commercial",
        "country_code": "JPN",
        "abbrev": "IHI",
        "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": "https://www.ihi.co.jp/index-e.html",
        "wiki_url": "https://en.wikipedia.org/wiki/IHI_Corporation",
        "logo_url": null,
        "image_url": null,
        "nation_url": null
      },
      "program": [],
      "variant": "V",
      "alias": "",
      "min_stage": 3,
      "max_stage": 4,
      "length": 30.8,
      "diameter": 2.5,
      "maiden_flight": "1997-02-12",
      "launch_mass": 137,
      "leo_capacity": 1800,
      "gto_capacity": null,
      "to_thrust": 3780,
      "apogee": null,
      "vehicle_range": null,
      "image_url": null,
      "info_url": "",
      "wiki_url": "https://en.wikipedia.org/wiki/M-V",
      "total_launch_count": 7,
      "consecutive_successful_launches": 4,
      "successful_launches": 6,
      "failed_launches": 1,
      "pending_launches": 0
    },
    "launcher_stage": [],
    "spacecraft_stage": null
  },
  "mission": {
    "id": 5156,
    "launch_library_id": null,
    "name": "Haruka",
    "description": "HALCA (Highly Advanced Laboratory for Communication and Astronomy), a.k.a. VSOP (Very Large Baseline Interferometry Space Observatory Programme) or Muses-B, is the first astronomical satellite dedicated to Very-Long Baseline Interferometry (VLBI). It was launched on its maiden flight by ISAS's M-5 [KM-V1] launch vehicle from Kagoshima Space Center on 12 February 1997.",
    "launch_designator": null,
    "type": "Astrophysics",
    "orbit": {
      "id": 0,
      "name": "Elliptical Orbit",
      "abbrev": "Elliptical"
    }
  },
  "pad": {
    "id": 47,
    "url": "https://lldev.thespacedevs.com/2.0.0/pad/47/?format=api",
    "agency_id": 37,
    "name": "Mu Center",
    "info_url": null,
    "wiki_url": "https://en.wikipedia.org/wiki/Uchinoura_Space_Center",
    "map_url": "https://www.google.com/maps?q=31.2509794,131.0821319",
    "latitude": "31.2509794",
    "longitude": "131.0821319",
    "location": {
      "id": 24,
      "url": "https://lldev.thespacedevs.com/2.0.0/location/24/?format=api",
      "name": "Uchinoura Space Center, Japan",
      "country_code": "JPN",
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_24_20200803142411.jpg",
      "total_launch_count": 43,
      "total_landing_count": 0
    },
    "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_47_20200803143524.jpg",
    "total_launch_count": 36
  },
  "infoURLs": [],
  "vidURLs": [],
  "webcast_live": false,
  "image": null,
  "infographic": null,
  "program": [],
  "orbital_launch_attempt_count": 4124,
  "location_launch_attempt_count": 29,
  "pad_launch_attempt_count": 24,
  "agency_launch_attempt_count": 29,
  "orbital_launch_attempt_count_year": 6,
  "location_launch_attempt_count_year": 1,
  "pad_launch_attempt_count_year": 1,
  "agency_launch_attempt_count_year": 1
}