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/1b9d8671-af41-41c6-aa56-dd92e884196b/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "1b9d8671-af41-41c6-aa56-dd92e884196b",
    "url": "https://ll.thespacedevs.com/2.0.0/launch/1b9d8671-af41-41c6-aa56-dd92e884196b/?format=api",
    "launch_library_id": 233,
    "slug": "spark-ors-4",
    "name": "SPARK | ORS-4",
    "status": {
        "id": 4,
        "name": "Failure"
    },
    "net": "2015-11-04T03:45:00Z",
    "window_end": "2015-11-04T03:45:00Z",
    "window_start": "2015-11-04T03:45:00Z",
    "inhold": false,
    "tbdtime": false,
    "tbddate": false,
    "probability": -1,
    "holdreason": "",
    "failreason": "Vehicle lost attitude control around a minute into flight.",
    "hashtag": null,
    "launch_service_provider": {
        "id": 195,
        "url": "https://ll.thespacedevs.com/2.0.0/agencies/195/?format=api",
        "name": "Sandia National Laboratories",
        "featured": false,
        "type": "Government",
        "country_code": "USA",
        "abbrev": "SNL",
        "description": null,
        "administrator": null,
        "founding_year": null,
        "launchers": "",
        "spacecraft": "",
        "launch_library_url": null,
        "total_launch_count": 1,
        "consecutive_successful_launches": 0,
        "successful_launches": 0,
        "failed_launches": 1,
        "pending_launches": 0,
        "consecutive_successful_landings": 0,
        "successful_landings": 0,
        "failed_landings": 0,
        "attempted_landings": 0,
        "info_url": "http://www.sandia.gov/",
        "wiki_url": "https://en.wikipedia.org/wiki/Sandia_National_Laboratories",
        "logo_url": null,
        "image_url": null,
        "nation_url": null
    },
    "rocket": {
        "id": 1881,
        "configuration": {
            "id": 62,
            "launch_library_id": 64,
            "url": "https://ll.thespacedevs.com/2.0.0/config/launcher/62/?format=api",
            "name": "SPARK",
            "description": "",
            "family": "",
            "full_name": "SPARK",
            "manufacturer": {
                "id": 195,
                "url": "https://ll.thespacedevs.com/2.0.0/agencies/195/?format=api",
                "name": "Sandia National Laboratories",
                "featured": false,
                "type": "Government",
                "country_code": "USA",
                "abbrev": "SNL",
                "description": null,
                "administrator": null,
                "founding_year": null,
                "launchers": "",
                "spacecraft": "",
                "launch_library_url": null,
                "total_launch_count": 1,
                "consecutive_successful_launches": 0,
                "successful_launches": 0,
                "failed_launches": 1,
                "pending_launches": 0,
                "consecutive_successful_landings": 0,
                "successful_landings": 0,
                "failed_landings": 0,
                "attempted_landings": 0,
                "info_url": "http://www.sandia.gov/",
                "wiki_url": "https://en.wikipedia.org/wiki/Sandia_National_Laboratories",
                "logo_url": null,
                "image_url": null,
                "nation_url": null
            },
            "program": [],
            "variant": "",
            "alias": "",
            "min_stage": null,
            "max_stage": null,
            "length": null,
            "diameter": null,
            "maiden_flight": "2015-11-04",
            "launch_mass": null,
            "leo_capacity": null,
            "gto_capacity": null,
            "to_thrust": null,
            "apogee": null,
            "vehicle_range": null,
            "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/spark_image_20190222030915.jpeg",
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/SPARK_%28rocket%29",
            "total_launch_count": 1,
            "consecutive_successful_launches": 0,
            "successful_launches": 0,
            "failed_launches": 1,
            "pending_launches": 0
        },
        "launcher_stage": [],
        "spacecraft_stage": null
    },
    "mission": null,
    "pad": {
        "id": 63,
        "url": "https://ll.thespacedevs.com/2.0.0/pad/63/?format=api",
        "agency_id": 166,
        "name": "LP-41",
        "info_url": null,
        "wiki_url": "https://en.wikipedia.org/wiki/Pacific_Missile_Range_Facility",
        "map_url": "https://www.google.com/maps?q=21.982029,-159.759328",
        "latitude": "21.982029",
        "longitude": "-159.759328",
        "location": {
            "id": 1,
            "url": "https://ll.thespacedevs.com/2.0.0/location/1/?format=api",
            "name": "Pacific Missile Range Facility, Barking Sands, HI, USA",
            "country_code": "USA",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_1_20200803142427.jpg",
            "total_launch_count": 1,
            "total_landing_count": 0
        },
        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_63_20200803143308.jpg",
        "total_launch_count": 1
    },
    "infoURLs": [],
    "vidURLs": [
        {
            "priority": 0,
            "title": "Launch of Super Strypi rocket from Hawaii",
            "description": "November 3, 2015: Video and animation of the launch of the Super Strypi rocket from Hawaii. The rocket suffered a failure mid-flight, officials said. Full st...",
            "feature_image": "https://i.ytimg.com/vi/i30zxnUFdNE/maxresdefault.jpg",
            "url": "https://www.youtube.com/watch?v=i30zxnUFdNE"
        }
    ],
    "webcast_live": false,
    "image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/spark_image_20190222030915.jpeg",
    "infographic": null,
    "program": [],
    "orbital_launch_attempt_count": 5509,
    "location_launch_attempt_count": 1,
    "pad_launch_attempt_count": 1,
    "agency_launch_attempt_count": 1,
    "orbital_launch_attempt_count_year": 5509,
    "location_launch_attempt_count_year": 1,
    "pad_launch_attempt_count_year": 1,
    "agency_launch_attempt_count_year": 1
}