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/6ce720ab-52bc-408b-acc3-3b630336ff93/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "6ce720ab-52bc-408b-acc3-3b630336ff93",
    "url": "https://ll.thespacedevs.com/2.2.0/launch/6ce720ab-52bc-408b-acc3-3b630336ff93/?format=api",
    "slug": "gslv-insat-4c",
    "flightclub_url": null,
    "r_spacex_api_id": null,
    "name": "GSLV | INSAT-4C",
    "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:08:54Z",
    "updates": [],
    "net": "2006-07-10T12:08:00Z",
    "net_precision": null,
    "window_end": "2006-07-10T12:08:00Z",
    "window_start": "2006-07-10T12:08:00Z",
    "probability": -1,
    "weather_concerns": null,
    "holdreason": "",
    "failreason": "The primary cause for the failure was the sudden loss of thrust in one out of the four liquid propellant strap-on stages (S4) immediately after lift-off at 0.2 sec. Rocket's self destruct was engaged over the Bay of Bengal.",
    "hashtag": null,
    "launch_service_provider": {
        "id": 31,
        "url": "https://ll.thespacedevs.com/2.2.0/agencies/31/?format=api",
        "name": "Indian Space Research Organization",
        "featured": true,
        "type": "Government",
        "country_code": "IND",
        "abbrev": "ISRO",
        "description": "The Indian Space Research Organisation (ISRO) is the space agency of the Government of India headquartered in the city of Bangalore. Its vision is to \"harness space technology for national development while pursuing space science research and planetary exploration.\"",
        "administrator": "Chairman: V. Narayanan",
        "founding_year": "1969",
        "launchers": "PSLV | GSLV",
        "spacecraft": "Gaganyaan",
        "launch_library_url": null,
        "total_launch_count": 95,
        "consecutive_successful_launches": 0,
        "successful_launches": 81,
        "failed_launches": 14,
        "pending_launches": 18,
        "consecutive_successful_landings": 0,
        "successful_landings": 0,
        "failed_landings": 0,
        "attempted_landings": 0,
        "info_url": "https://www.isro.gov.in/",
        "wiki_url": "http://en.wikipedia.org/wiki/Indian_Space_Research_Organization",
        "logo_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/indian2520space2520research2520organization_logo_20190215225409.png",
        "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/indian2520space2520research2520organization_image_20190215225409.jpeg",
        "nation_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/indian2520space2520research2520organization_nation_20230624125733.jpg"
    },
    "rocket": {
        "id": 524,
        "configuration": {
            "id": 5,
            "url": "https://ll.thespacedevs.com/2.2.0/config/launcher/5/?format=api",
            "name": "GSLV",
            "active": true,
            "reusable": false,
            "description": "GSLVGeosynchronous Satellite Launch Vehicle abbreviated as GSLV, is an expendable launch system operated by the Indian Space Research Organisation (ISRO).",
            "family": "GSLV",
            "full_name": "GSLV",
            "manufacturer": {
                "id": 31,
                "url": "https://ll.thespacedevs.com/2.2.0/agencies/31/?format=api",
                "name": "Indian Space Research Organization",
                "featured": true,
                "type": "Government",
                "country_code": "IND",
                "abbrev": "ISRO",
                "description": "The Indian Space Research Organisation (ISRO) is the space agency of the Government of India headquartered in the city of Bangalore. Its vision is to \"harness space technology for national development while pursuing space science research and planetary exploration.\"",
                "administrator": "Chairman: V. Narayanan",
                "founding_year": "1969",
                "launchers": "PSLV | GSLV",
                "spacecraft": "Gaganyaan",
                "launch_library_url": null,
                "total_launch_count": 95,
                "consecutive_successful_launches": 0,
                "successful_launches": 81,
                "failed_launches": 14,
                "pending_launches": 18,
                "consecutive_successful_landings": 0,
                "successful_landings": 0,
                "failed_landings": 0,
                "attempted_landings": 0,
                "info_url": "https://www.isro.gov.in/",
                "wiki_url": "http://en.wikipedia.org/wiki/Indian_Space_Research_Organization",
                "logo_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/indian2520space2520research2520organization_logo_20190215225409.png",
                "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/indian2520space2520research2520organization_image_20190215225409.jpeg",
                "nation_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/indian2520space2520research2520organization_nation_20230624125733.jpg"
            },
            "program": [],
            "variant": "",
            "alias": "",
            "min_stage": 3,
            "max_stage": 3,
            "length": 49.13,
            "diameter": 2.8,
            "maiden_flight": "2001-04-18",
            "launch_cost": "47000000",
            "launch_mass": 414,
            "leo_capacity": 5000,
            "gto_capacity": 2500,
            "to_thrust": 4860,
            "apogee": null,
            "vehicle_range": null,
            "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/gslv_image_20190604000621.jpg",
            "info_url": null,
            "wiki_url": "http://en.wikipedia.org/wiki/GSLV",
            "total_launch_count": 6,
            "consecutive_successful_launches": 0,
            "successful_launches": 2,
            "failed_launches": 4,
            "pending_launches": 0,
            "attempted_landings": 0,
            "successful_landings": 0,
            "failed_landings": 0,
            "consecutive_successful_landings": 0
        },
        "launcher_stage": [],
        "spacecraft_stage": null
    },
    "mission": null,
    "pad": {
        "id": 82,
        "url": "https://ll.thespacedevs.com/2.2.0/pad/82/?format=api",
        "agency_id": 31,
        "name": "Satish Dhawan Space Centre Second Launch Pad",
        "description": "The second launch pad was built between 1999 and 2003.  It became functional in 2005 and has since been used for various rockets. This launch pad supports missions by PSLV, GSLV, LVM3 rockets and is even envisioned for India's future crewed spaceflight.",
        "info_url": null,
        "wiki_url": "https://en.wikipedia.org/wiki/Satish_Dhawan_Space_Centre_Second_Launch_Pad",
        "map_url": "https://www.google.com/maps?q=13.7199,80.2304",
        "latitude": "13.7199",
        "longitude": "80.2304",
        "location": {
            "id": 14,
            "url": "https://ll.thespacedevs.com/2.2.0/location/14/?format=api",
            "name": "Satish Dhawan Space Centre, India",
            "country_code": "IND",
            "description": "Satish Dhawan Space Centre – SDSC (formerly Sriharikota Range – SHAR),[1] is the primary spaceport of the Indian Space Research Organisation (ISRO), located in Sriharikota, Andhra Pradesh.",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_14_20200803142403.jpg",
            "timezone_name": "Asia/Kolkata",
            "total_launch_count": 99,
            "total_landing_count": 0
        },
        "country_code": "IND",
        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_82_20200803143602.jpg",
        "total_launch_count": 29,
        "orbital_launch_attempt_count": 28
    },
    "infoURLs": [],
    "vidURLs": [],
    "webcast_live": false,
    "timeline": [],
    "image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/gslv_image_20190604000621.jpg",
    "infographic": null,
    "program": [],
    "orbital_launch_attempt_count": 4781,
    "location_launch_attempt_count": 21,
    "pad_launch_attempt_count": 2,
    "agency_launch_attempt_count": 21,
    "orbital_launch_attempt_count_year": 4781,
    "location_launch_attempt_count_year": 1,
    "pad_launch_attempt_count_year": 1,
    "agency_launch_attempt_count_year": 1,
    "pad_turnaround": "P431DT7H23M",
    "mission_patches": [],
    "type": "detailed"
}