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/ac4c0c44-1925-4636-99b5-8c3b33d6c62a/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
  "id": "ac4c0c44-1925-4636-99b5-8c3b33d6c62a",
  "url": "https://ll.thespacedevs.com/2.2.0/launch/ac4c0c44-1925-4636-99b5-8c3b33d6c62a/?format=api",
  "slug": "project-pilot-nots-2",
  "flightclub_url": null,
  "r_spacex_api_id": null,
  "name": "Project Pilot | NOTS 2",
  "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-14T04:25:21Z",
  "updates": [],
  "net": "1958-08-12T00:00:00Z",
  "net_precision": null,
  "window_end": "1958-08-12T00:00:00Z",
  "window_start": "1958-08-12T00:00:00Z",
  "probability": null,
  "weather_concerns": null,
  "holdreason": "",
  "failreason": null,
  "hashtag": null,
  "launch_service_provider": {
    "id": 166,
    "url": "https://ll.thespacedevs.com/2.2.0/agencies/166/?format=api",
    "name": "US Navy",
    "featured": false,
    "type": "Government",
    "country_code": "USA",
    "abbrev": "USN",
    "description": "The Navy was competed with the Army to put the first American satellite into orbit. Their first two Vanguard missions failed, with the second being a highly publicized failure, as it exploded on the launchpad. They went on to put 3 satellites into orbit but did not beat the Army to be the first. Their work in space continues today largely on military satellites.",
    "administrator": null,
    "founding_year": "1963",
    "launchers": "",
    "spacecraft": "Vanguard 1-3 | Parker Solar Probe",
    "launch_library_url": null,
    "total_launch_count": 18,
    "consecutive_successful_launches": 0,
    "successful_launches": 3,
    "failed_launches": 15,
    "pending_launches": 0,
    "consecutive_successful_landings": 0,
    "successful_landings": 0,
    "failed_landings": 0,
    "attempted_landings": 0,
    "info_url": "https://www.navy.mil",
    "wiki_url": "https://en.wikipedia.org/wiki/US_Navy",
    "logo_url": null,
    "image_url": null,
    "nation_url": null
  },
  "rocket": {
    "id": 3018,
    "configuration": {
      "id": 344,
      "url": "https://ll.thespacedevs.com/2.2.0/config/launcher/344/?format=api",
      "name": "Project Pilot",
      "active": false,
      "reusable": false,
      "description": "The NOTS-EV-1 Pilot, also known as NOTSNIK was an expendable launch system and anti-satellite weapon developed by the United States Navy's United States Naval Ordnance Test Station (NOTS).",
      "family": "",
      "full_name": "Project Pilot",
      "manufacturer": {
        "id": 166,
        "url": "https://ll.thespacedevs.com/2.2.0/agencies/166/?format=api",
        "name": "US Navy",
        "featured": false,
        "type": "Government",
        "country_code": "USA",
        "abbrev": "USN",
        "description": "The Navy was competed with the Army to put the first American satellite into orbit. Their first two Vanguard missions failed, with the second being a highly publicized failure, as it exploded on the launchpad. They went on to put 3 satellites into orbit but did not beat the Army to be the first. Their work in space continues today largely on military satellites.",
        "administrator": null,
        "founding_year": "1963",
        "launchers": "",
        "spacecraft": "Vanguard 1-3 | Parker Solar Probe",
        "launch_library_url": null,
        "total_launch_count": 18,
        "consecutive_successful_launches": 0,
        "successful_launches": 3,
        "failed_launches": 15,
        "pending_launches": 0,
        "consecutive_successful_landings": 0,
        "successful_landings": 0,
        "failed_landings": 0,
        "attempted_landings": 0,
        "info_url": "https://www.navy.mil",
        "wiki_url": "https://en.wikipedia.org/wiki/US_Navy",
        "logo_url": null,
        "image_url": null,
        "nation_url": null
      },
      "program": [],
      "variant": "",
      "alias": "",
      "min_stage": 5,
      "max_stage": 5,
      "length": 4.4,
      "diameter": 0.76,
      "maiden_flight": "1958-07-04",
      "launch_cost": null,
      "launch_mass": 0,
      "leo_capacity": 1,
      "gto_capacity": null,
      "to_thrust": 125,
      "apogee": null,
      "vehicle_range": null,
      "image_url": null,
      "info_url": "",
      "wiki_url": "https://en.wikipedia.org/wiki/NOTS-EV-1_Pilot",
      "total_launch_count": 6,
      "consecutive_successful_launches": 0,
      "successful_launches": 0,
      "failed_launches": 6,
      "pending_launches": 0,
      "attempted_landings": 0,
      "successful_landings": 0,
      "failed_landings": 0,
      "consecutive_successful_landings": 0
    },
    "launcher_stage": [],
    "spacecraft_stage": null
  },
  "mission": {
    "id": 1440,
    "name": "NOTS 2",
    "description": "The project pilot payloads were small cylindrical satellites. These missions intended to be the first to launch a satellite from an aircraft. They had only a single instrument, a very primitive infrared line scanning device to make IR images of the ground.",
    "launch_designator": null,
    "type": "Government/Top Secret",
    "orbit": {
      "id": 8,
      "name": "Low Earth Orbit",
      "abbrev": "LEO"
    },
    "agencies": [],
    "info_urls": [],
    "vid_urls": []
  },
  "pad": {
    "id": 145,
    "url": "https://ll.thespacedevs.com/2.2.0/pad/145/?format=api",
    "agency_id": null,
    "name": "Naval Air Weapons Station China Lake",
    "description": null,
    "info_url": null,
    "wiki_url": "https://en.wikipedia.org/wiki/Naval_Air_Weapons_Station_China_Lake",
    "map_url": "https://www.google.com/maps?q=35.6855556,-117.6941384",
    "latitude": "35.6855556",
    "longitude": "-117.6941384",
    "location": {
      "id": 144,
      "url": "https://ll.thespacedevs.com/2.2.0/location/144/?format=api",
      "name": "Air launch to Suborbital flight",
      "country_code": "???",
      "description": "",
      "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_144_20200803142439.jpg",
      "timezone_name": "",
      "total_launch_count": 86,
      "total_landing_count": 0
    },
    "country_code": "USA",
    "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_145_20200803143330.jpg",
    "total_launch_count": 6,
    "orbital_launch_attempt_count": 6
  },
  "infoURLs": [],
  "vidURLs": [],
  "webcast_live": false,
  "timeline": [],
  "image": null,
  "infographic": null,
  "program": [],
  "orbital_launch_attempt_count": 16,
  "location_launch_attempt_count": 2,
  "pad_launch_attempt_count": 2,
  "agency_launch_attempt_count": 8,
  "orbital_launch_attempt_count_year": 13,
  "location_launch_attempt_count_year": 2,
  "pad_launch_attempt_count_year": 2,
  "agency_launch_attempt_count_year": 7,
  "pad_turnaround": "P18D",
  "mission_patches": [],
  "type": "detailed"
}