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

EXAMPLE - /launch/[id]/ 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', 'is_crewed', 'include_suborbital', 'spacecraft_config__ids', 'related', 'location__ids', 'lsp__ids', 'pad__ids', 'status__ids'

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.2.0/launch/5408eda7-a3cc-48d2-9a62-e77a3cf86bc1/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
  "id": "5408eda7-a3cc-48d2-9a62-e77a3cf86bc1",
  "url": "https://ll.thespacedevs.com/2.2.0/launch/5408eda7-a3cc-48d2-9a62-e77a3cf86bc1/?format=api",
  "slug": "thor-able-i-able-i-pioneer",
  "flightclub_url": null,
  "r_spacex_api_id": null,
  "name": "Thor Able I | Able I (Pioneer)",
  "status": {
    "id": 4,
    "name": "Launch Failure",
    "abbrev": "Failure",
    "description": "Either the launch vehicle did not reach orbit, or the payload(s) failed to separate."
  },
  "last_updated": "2023-06-14T17:40:20Z",
  "updates": [],
  "net": "1958-08-17T12:18:00Z",
  "net_precision": null,
  "window_end": "1958-08-17T12:18:00Z",
  "window_start": "1958-08-17T12:18:00Z",
  "probability": null,
  "weather_concerns": null,
  "holdreason": "",
  "failreason": null,
  "hashtag": null,
  "launch_service_provider": {
    "id": 271,
    "url": "https://ll.thespacedevs.com/2.2.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": 3019,
    "configuration": {
      "id": 388,
      "url": "https://ll.thespacedevs.com/2.2.0/config/launcher/388/?format=api",
      "name": "Thor Able I",
      "active": false,
      "reusable": false,
      "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.2.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_cost": "8900000",
      "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,
      "attempted_landings": 0,
      "successful_landings": 0,
      "failed_landings": 0,
      "consecutive_successful_landings": 0
    },
    "launcher_stage": [],
    "spacecraft_stage": null
  },
  "mission": {
    "id": 1441,
    "name": "Able I (Pioneer)",
    "description": "The first pioneer orbiter, pioneer 0 was a lunar orbiter intended to enter a lunar orbit for observation. However, the mission failed 77 seconds into launch.",
    "launch_designator": null,
    "type": "Lunar Exploration",
    "orbit": {
      "id": 11,
      "name": "Lunar Orbit",
      "abbrev": "LO"
    },
    "agencies": [],
    "info_urls": [],
    "vid_urls": []
  },
  "pad": {
    "id": 14,
    "url": "https://ll.thespacedevs.com/2.2.0/pad/14/?format=api",
    "agency_id": null,
    "name": "Space Launch Complex 17A",
    "description": "",
    "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.2.0/location/12/?format=api",
      "name": "Cape Canaveral SFS, FL, USA",
      "country_code": "USA",
      "description": "Cape Canaveral Space Force Station (CCSFS) is an installation of the United States Space Force's Space Launch Delta 45, located on Cape Canaveral in Brevard County, Florida.",
      "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_12_20200803142519.jpg",
      "timezone_name": "America/New_York",
      "total_launch_count": 1128,
      "total_landing_count": 77
    },
    "country_code": "USA",
    "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_14_20200803143451.jpg",
    "total_launch_count": 145,
    "orbital_launch_attempt_count": 145
  },
  "infoURLs": [],
  "vidURLs": [],
  "webcast_live": false,
  "timeline": [],
  "image": null,
  "infographic": null,
  "program": [],
  "orbital_launch_attempt_count": 17,
  "location_launch_attempt_count": 11,
  "pad_launch_attempt_count": 1,
  "agency_launch_attempt_count": 5,
  "orbital_launch_attempt_count_year": 14,
  "location_launch_attempt_count_year": 10,
  "pad_launch_attempt_count_year": 1,
  "agency_launch_attempt_count_year": 5,
  "pad_turnaround": "P0D",
  "mission_patches": [],
  "type": "detailed"
}