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=7490&ordering=-id
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "count": 7491,
    "next": null,
    "previous": "https://ll.thespacedevs.com/2.0.0/launch/?format=api&limit=10&offset=7480&ordering=-id",
    "results": [
        {
            "id": "000fbb81-80c8-4095-a811-aa561ce9ed3c",
            "url": "https://ll.thespacedevs.com/2.0.0/launch/000fbb81-80c8-4095-a811-aa561ce9ed3c/?format=api",
            "launch_library_id": 1547,
            "slug": "delta-iv-heavy-nrol-26-usa-202",
            "name": "Delta IV Heavy | NROL-26 (USA-202)",
            "status": {
                "id": 3,
                "name": "Success"
            },
            "net": "2009-01-18T02:47:00Z",
            "window_end": "2009-01-18T02:47:00Z",
            "window_start": "2009-01-18T02:47:00Z",
            "inhold": false,
            "tbdtime": false,
            "tbddate": false,
            "probability": 0,
            "holdreason": "",
            "failreason": "",
            "hashtag": null,
            "launch_service_provider": {
                "id": 124,
                "url": "https://ll.thespacedevs.com/2.0.0/agencies/124/?format=api",
                "name": "United Launch Alliance",
                "type": "Commercial"
            },
            "rocket": {
                "id": 1407,
                "configuration": {
                    "id": 21,
                    "launch_library_id": 21,
                    "url": "https://ll.thespacedevs.com/2.0.0/config/launcher/21/?format=api",
                    "name": "Delta IV Heavy",
                    "family": "Delta",
                    "full_name": "Delta IV Heavy",
                    "variant": "Heavy"
                }
            },
            "mission": {
                "id": 553,
                "launch_library_id": 704,
                "name": "NROL-26 (USA-202)",
                "description": "A military reconnaissance satellite, it's purpose is classified.",
                "launch_designator": null,
                "type": "Government/Top Secret",
                "orbit": {
                    "id": 2,
                    "name": "Geostationary Transfer Orbit",
                    "abbrev": "GTO"
                }
            },
            "pad": {
                "id": 38,
                "url": "https://ll.thespacedevs.com/2.0.0/pad/38/?format=api",
                "agency_id": null,
                "name": "Space Launch Complex 37B",
                "info_url": null,
                "wiki_url": "https://en.wikipedia.org/wiki/Cape_Canaveral_Air_Force_Station_Space_Launch_Complex_37",
                "map_url": "https://www.google.com/maps?q=28.5317,-80.56495",
                "latitude": "28.5317",
                "longitude": "-80.56495",
                "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": 1021,
                    "total_landing_count": 64
                },
                "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_38_20200803143515.jpg",
                "total_launch_count": 40
            },
            "webcast_live": false,
            "image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/delta_iv_heavy__image_20240313102319.jpg",
            "infographic": null,
            "program": []
        }
    ]
}