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/?format=api&offset=540
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
  "count": 541,
  "next": null,
  "previous": "https://lldev.thespacedevs.com/2.0.0/launch/?format=api&limit=10&offset=530",
  "results": [
    {
      "id": "99875c7b-400c-40e2-b16c-bb9b2a02a0d8",
      "url": "https://lldev.thespacedevs.com/2.0.0/launch/99875c7b-400c-40e2-b16c-bb9b2a02a0d8/?format=api",
      "launch_library_id": null,
      "slug": "falcon-9-block-5-vast-1",
      "name": "Falcon 9 Block 5 | Vast-1",
      "status": {
        "id": 2,
        "name": "TBD"
      },
      "net": "2027-07-31T00:00:00Z",
      "window_end": "2027-07-31T00:00:00Z",
      "window_start": "2027-07-31T00:00:00Z",
      "inhold": false,
      "tbdtime": true,
      "tbddate": true,
      "probability": null,
      "holdreason": "",
      "failreason": "",
      "hashtag": null,
      "launch_service_provider": {
        "id": 121,
        "url": "https://lldev.thespacedevs.com/2.0.0/agencies/121/?format=api",
        "name": "SpaceX",
        "type": "Commercial"
      },
      "rocket": {
        "id": 7852,
        "configuration": {
          "id": 164,
          "launch_library_id": 188,
          "url": "https://lldev.thespacedevs.com/2.0.0/config/launcher/164/?format=api",
          "name": "Falcon 9",
          "family": "Falcon",
          "full_name": "Falcon 9 Block 5",
          "variant": "Block 5"
        }
      },
      "mission": {
        "id": 6359,
        "launch_library_id": null,
        "name": "Vast-1",
        "description": "First crewed mission of VAST Space's future commercial space station Haven-1. The crew of four will remain in orbit for 10 days.\r\n\r\nThe crew will include ESA/CNES astronaut Arnaud Prost, as well as potentially ESA/UKSA astronaut John McFall.",
        "launch_designator": null,
        "type": "Human Exploration",
        "orbit": {
          "id": 8,
          "name": "Low Earth Orbit",
          "abbrev": "LEO"
        }
      },
      "pad": {
        "id": 80,
        "url": "https://lldev.thespacedevs.com/2.0.0/pad/80/?format=api",
        "agency_id": 121,
        "name": "Space Launch Complex 40",
        "info_url": null,
        "wiki_url": "https://en.wikipedia.org/wiki/Cape_Canaveral_Air_Force_Station_Space_Launch_Complex_40",
        "map_url": "https://www.google.com/maps?q=28.56194122,-80.57735736",
        "latitude": "28.56194122",
        "longitude": "-80.57735736",
        "location": {
          "id": 12,
          "url": "https://lldev.thespacedevs.com/2.0.0/location/12/?format=api",
          "name": "Cape Canaveral SFS, FL, USA",
          "country_code": "USA",
          "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_12_20200803142519.jpg",
          "total_launch_count": 1124,
          "total_landing_count": 76
        },
        "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_80_20200803143323.jpg",
        "total_launch_count": 396
      },
      "webcast_live": false,
      "image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/falcon_9_image_20230807133459.jpeg",
      "infographic": null,
      "program": []
    }
  ]
}