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

{
    "count": 7491,
    "next": null,
    "previous": "https://ll.thespacedevs.com/2.2.0/launch/?format=api&limit=10&offset=7480&ordering=-last_updated",
    "results": [
        {
            "id": "22b6ed8d-7083-4c57-8caf-0c5cc76161f8",
            "url": "https://ll.thespacedevs.com/2.2.0/launch/22b6ed8d-7083-4c57-8caf-0c5cc76161f8/?format=api",
            "slug": "zenit-2-gvm-tselina-2-2",
            "name": "Zenit-2 | GVM Tselina-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-14T03:30:56Z",
            "net": "1985-06-21T08:29:32Z",
            "window_end": "1985-06-21T08:29:32Z",
            "window_start": "1985-06-21T08:29:32Z",
            "net_precision": null,
            "probability": null,
            "weather_concerns": null,
            "holdreason": "",
            "failreason": null,
            "hashtag": null,
            "launch_service_provider": {
                "id": 66,
                "url": "https://ll.thespacedevs.com/2.2.0/agencies/66/?format=api",
                "name": "Soviet Space Program",
                "type": "Government"
            },
            "rocket": {
                "id": 5757,
                "configuration": {
                    "id": 455,
                    "url": "https://ll.thespacedevs.com/2.2.0/config/launcher/455/?format=api",
                    "name": "Zenit-2",
                    "family": "Zenith",
                    "full_name": "Zenit-2",
                    "variant": "2"
                }
            },
            "mission": {
                "id": 4136,
                "name": "GVM Tselina-2",
                "description": "Dynamic simulator of the Tselina-2 ELINT satellite",
                "launch_designator": null,
                "type": "Test Flight",
                "orbit": {
                    "id": 8,
                    "name": "Low Earth Orbit",
                    "abbrev": "LEO"
                },
                "agencies": [],
                "info_urls": [],
                "vid_urls": []
            },
            "pad": {
                "id": 2,
                "url": "https://ll.thespacedevs.com/2.2.0/pad/2/?format=api",
                "agency_id": null,
                "name": "45/1",
                "description": null,
                "info_url": null,
                "wiki_url": "",
                "map_url": "https://www.google.com/maps?q=45.943492,63.653014",
                "latitude": "45.943492",
                "longitude": "63.653014",
                "location": {
                    "id": 15,
                    "url": "https://ll.thespacedevs.com/2.2.0/location/15/?format=api",
                    "name": "Baikonur Cosmodrome, Republic of Kazakhstan",
                    "country_code": "KAZ",
                    "description": "The Baikonur Cosmodrome is a spaceport operated by Russia within Kazakhstan. Located in the Kazakh city of Baikonur, it is the largest operational space launch facility in terms of area. All Russian crewed spaceflights are launched from Baikonur.",
                    "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_15_20200803142517.jpg",
                    "timezone_name": "Asia/Qyzylorda",
                    "total_launch_count": 1555,
                    "total_landing_count": 0
                },
                "country_code": "KAZ",
                "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_2_20200803143256.jpg",
                "total_launch_count": 46,
                "orbital_launch_attempt_count": 46
            },
            "webcast_live": false,
            "image": null,
            "infographic": null,
            "program": [],
            "orbital_launch_attempt_count": 2958,
            "location_launch_attempt_count": 745,
            "pad_launch_attempt_count": 2,
            "agency_launch_attempt_count": 1900,
            "orbital_launch_attempt_count_year": 54,
            "location_launch_attempt_count_year": 18,
            "pad_launch_attempt_count_year": 2,
            "agency_launch_attempt_count_year": 44,
            "type": "normal"
        }
    ]
}