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/e6ca914b-9466-4227-a0a4-33d1a5ab39fd/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "e6ca914b-9466-4227-a0a4-33d1a5ab39fd",
    "url": "https://ll.thespacedevs.com/2.2.0/launch/e6ca914b-9466-4227-a0a4-33d1a5ab39fd/?format=api",
    "slug": "pslv-irs-p1",
    "flightclub_url": null,
    "r_spacex_api_id": null,
    "name": "PSLV | IRS-P1",
    "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:54:28Z",
    "updates": [],
    "net": "1993-09-20T05:12:00Z",
    "net_precision": null,
    "window_end": "1993-09-20T05:12:00Z",
    "window_start": "1993-09-20T05:12:00Z",
    "probability": null,
    "weather_concerns": null,
    "holdreason": "",
    "failreason": null,
    "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": 94,
        "consecutive_successful_launches": 16,
        "successful_launches": 81,
        "failed_launches": 13,
        "pending_launches": 19,
        "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": 6547,
        "configuration": {
            "id": 7,
            "url": "https://ll.thespacedevs.com/2.2.0/config/launcher/7/?format=api",
            "name": "PSLV",
            "active": true,
            "reusable": false,
            "description": "The Polar Satellite Launch Vehicle (PSLV) is an expendable medium-lift launch vehicle designed and operated by the Indian Space Research Organisation (ISRO). It was developed to allow India to launch its Indian Remote Sensing (IRS) satellites into sun-synchronous orbits, a service that was, until the advent of the PSLV in 1993, commercially available only from Russia. PSLV can also launch small size satellites into Geostationary Transfer Orbit (GTO).",
            "family": "PSLV",
            "full_name": "PSLV",
            "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": 94,
                "consecutive_successful_launches": 16,
                "successful_launches": 81,
                "failed_launches": 13,
                "pending_launches": 19,
                "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": 4,
            "max_stage": 4,
            "length": 44.0,
            "diameter": 2.8,
            "maiden_flight": "1993-09-20",
            "launch_cost": "21000000",
            "launch_mass": 295,
            "leo_capacity": 3800,
            "gto_capacity": 1200,
            "to_thrust": 4847,
            "apogee": null,
            "vehicle_range": null,
            "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/pslv_image_20190508083736.jpeg",
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Polar_Satellite_Launch_Vehicle?wprov=sfla1",
            "total_launch_count": 12,
            "consecutive_successful_launches": 8,
            "successful_launches": 10,
            "failed_launches": 2,
            "pending_launches": 2,
            "attempted_landings": 0,
            "successful_landings": 0,
            "failed_landings": 0,
            "consecutive_successful_landings": 0
        },
        "launcher_stage": [],
        "spacecraft_stage": null
    },
    "mission": {
        "id": 4937,
        "name": "IRS-P1",
        "description": "IRS-1E (Indian Remote Sensing Satellite) satellite was an experimental Indian earth observing satellite, which was derived from the engineering model of IRS-1A incorporating a Monocular Electro-Optical Stereo Scanner developed by DLR, Germany, and a LISS-I camera similar to that on IRS-1A.",
        "launch_designator": null,
        "type": "Earth Science",
        "orbit": {
            "id": 8,
            "name": "Low Earth Orbit",
            "abbrev": "LEO"
        },
        "agencies": [],
        "info_urls": [],
        "vid_urls": []
    },
    "pad": {
        "id": 50,
        "url": "https://ll.thespacedevs.com/2.2.0/pad/50/?format=api",
        "agency_id": 31,
        "name": "Satish Dhawan Space Centre First Launch Pad",
        "description": "India has two launch pads at the site. The First Launch Pad, operational since 1993, is used for Polar Satellite Launch Vehicle, Small Satellite Launch Vehicle and formerly used by Geosynchronous Satellite Launch Vehicle.",
        "info_url": null,
        "wiki_url": "https://en.wikipedia.org/wiki/Satish_Dhawan_Space_Centre_First_Launch_Pad",
        "map_url": "https://www.google.com/maps?q=13.733,80.235",
        "latitude": "13.733",
        "longitude": "80.235",
        "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": 98,
            "total_landing_count": 0
        },
        "country_code": "IND",
        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_50_20200803143457.jpg",
        "total_launch_count": 61,
        "orbital_launch_attempt_count": 60
    },
    "infoURLs": [],
    "vidURLs": [],
    "webcast_live": false,
    "timeline": [],
    "image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/pslv_image_20190508083736.jpeg",
    "infographic": null,
    "program": [],
    "orbital_launch_attempt_count": 3848,
    "location_launch_attempt_count": 8,
    "pad_launch_attempt_count": 1,
    "agency_launch_attempt_count": 8,
    "orbital_launch_attempt_count_year": 63,
    "location_launch_attempt_count_year": 1,
    "pad_launch_attempt_count_year": 1,
    "agency_launch_attempt_count_year": 1,
    "pad_turnaround": "P0D",
    "mission_patches": [],
    "type": "detailed"
}