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/01235b60-f0db-4a04-ba87-abf6ffbe204b/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "01235b60-f0db-4a04-ba87-abf6ffbe204b",
    "url": "https://ll.thespacedevs.com/2.0.0/launch/01235b60-f0db-4a04-ba87-abf6ffbe204b/?format=api",
    "launch_library_id": 819,
    "slug": "shavit-2-ofek-9",
    "name": "Shavit-2 | Ofek-9",
    "status": {
        "id": 3,
        "name": "Success"
    },
    "net": "2010-06-22T19:00:00Z",
    "window_end": "2010-06-22T19:00:00Z",
    "window_start": "2010-06-22T19:00:00Z",
    "inhold": false,
    "tbdtime": false,
    "tbddate": false,
    "probability": -1,
    "holdreason": "",
    "failreason": null,
    "hashtag": null,
    "launch_service_provider": {
        "id": 95,
        "url": "https://ll.thespacedevs.com/2.0.0/agencies/95/?format=api",
        "name": "Israel Aerospace Industries",
        "featured": false,
        "type": "Commercial",
        "country_code": "ISR",
        "abbrev": "IAI",
        "description": null,
        "administrator": null,
        "founding_year": null,
        "launchers": "",
        "spacecraft": "",
        "launch_library_url": null,
        "total_launch_count": 5,
        "consecutive_successful_launches": 5,
        "successful_launches": 5,
        "failed_launches": 0,
        "pending_launches": 0,
        "consecutive_successful_landings": 0,
        "successful_landings": 0,
        "failed_landings": 0,
        "attempted_landings": 0,
        "info_url": "http://www.iai.co.il/",
        "wiki_url": "http://en.wikipedia.org/wiki/Israel_Aerospace_Industries",
        "logo_url": null,
        "image_url": null,
        "nation_url": null
    },
    "rocket": {
        "id": 1469,
        "configuration": {
            "id": 110,
            "launch_library_id": 123,
            "url": "https://ll.thespacedevs.com/2.0.0/config/launcher/110/?format=api",
            "name": "Shavit-2",
            "description": "N/A",
            "family": "Shavit",
            "full_name": "Shavit-2",
            "manufacturer": {
                "id": 95,
                "url": "https://ll.thespacedevs.com/2.0.0/agencies/95/?format=api",
                "name": "Israel Aerospace Industries",
                "featured": false,
                "type": "Commercial",
                "country_code": "ISR",
                "abbrev": "IAI",
                "description": null,
                "administrator": null,
                "founding_year": null,
                "launchers": "",
                "spacecraft": "",
                "launch_library_url": null,
                "total_launch_count": 5,
                "consecutive_successful_launches": 5,
                "successful_launches": 5,
                "failed_launches": 0,
                "pending_launches": 0,
                "consecutive_successful_landings": 0,
                "successful_landings": 0,
                "failed_landings": 0,
                "attempted_landings": 0,
                "info_url": "http://www.iai.co.il/",
                "wiki_url": "http://en.wikipedia.org/wiki/Israel_Aerospace_Industries",
                "logo_url": null,
                "image_url": null,
                "nation_url": null
            },
            "program": [],
            "variant": "2",
            "alias": "",
            "min_stage": null,
            "max_stage": null,
            "length": null,
            "diameter": null,
            "maiden_flight": "1995-04-05",
            "launch_mass": null,
            "leo_capacity": null,
            "gto_capacity": null,
            "to_thrust": null,
            "apogee": null,
            "vehicle_range": null,
            "image_url": null,
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Shavit",
            "total_launch_count": 10,
            "consecutive_successful_launches": 6,
            "successful_launches": 8,
            "failed_launches": 2,
            "pending_launches": 0
        },
        "launcher_stage": [],
        "spacecraft_stage": null
    },
    "mission": null,
    "pad": {
        "id": 75,
        "url": "https://ll.thespacedevs.com/2.0.0/pad/75/?format=api",
        "agency_id": 95,
        "name": "Shavit Launch Pad",
        "info_url": null,
        "wiki_url": "https://en.wikipedia.org/wiki/Palmachim_Airbase",
        "map_url": "https://www.google.com/maps?q=31.884444,34.680278",
        "latitude": "31.884444",
        "longitude": "34.680278",
        "location": {
            "id": 4,
            "url": "https://ll.thespacedevs.com/2.0.0/location/4/?format=api",
            "name": "Palmachim Airbase, State of Israel",
            "country_code": "ISR",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_4_20200803142418.jpg",
            "total_launch_count": 12,
            "total_landing_count": 0
        },
        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_75_20200803143316.jpg",
        "total_launch_count": 12
    },
    "infoURLs": [],
    "vidURLs": [
        {
            "priority": 0,
            "title": "שיגור לווין אופק 9 Israel launched Ofek 9 spy satellite",
            "description": "שיגור לווין הביון \"אופק 9\" שהסתיים בהצלחה גורם לסיפוק רב בישראל. גורמי ביטחון מסבירים שמדובר בעליית מדרגה דרמטית ביכולת איסוף המודיעין הישראלי. צפו בשיגור וב...",
            "feature_image": "https://i.ytimg.com/vi/BNIPBe1h6NQ/hqdefault.jpg",
            "url": "https://www.youtube.com/watch?v=BNIPBe1h6NQ"
        }
    ],
    "webcast_live": false,
    "image": null,
    "infographic": null,
    "program": [],
    "orbital_launch_attempt_count": 5065,
    "location_launch_attempt_count": 8,
    "pad_launch_attempt_count": 8,
    "agency_launch_attempt_count": 1,
    "orbital_launch_attempt_count_year": 5065,
    "location_launch_attempt_count_year": 1,
    "pad_launch_attempt_count_year": 1,
    "agency_launch_attempt_count_year": 1
}