Modes

Levels of detail in the response - normal, detailed

Example - /locations/?mode=detailed

Filters

Parameters - active, country_code, id, name, name__contains, total_landing_count, total_landing_count__gt, total_landing_count__gte, total_landing_count__lt, total_landing_count__lte, total_launch_count, total_launch_count__gt, total_launch_count__gte, total_launch_count__lt, total_launch_count__lte

Example - /locations/?country_code=NZL

Fields searched - country__alpha_3_code, name

Example - /locations/?search=Cape Canaveral

Ordering

Fields - total_landing_count, total_launch_count

Example - /locations/?ordering=-total_launch_count

Number of results

Use limit to control the number of objects in the response (max 100)

Example - /locations/?limit=2

Format

Switch to JSON output - /locations/?format=json

Help

Find all the FAQs and support links on the documentation homepage - lldev.thespacedevs.com/docs

GET /2.3.0/locations/10/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "response_mode": "detailed",
    "id": 10,
    "url": "https://lldev.thespacedevs.com/2.3.0/locations/10/?format=api",
    "name": "Rocket Lab Launch Complex 1, Mahia Peninsula, New Zealand",
    "celestial_body": {
        "response_mode": "normal",
        "id": 1,
        "name": "Earth",
        "type": {
            "id": 1,
            "name": "Planet"
        },
        "diameter": 12742000.0,
        "mass": 5.972168e+24,
        "gravity": 9.80655,
        "length_of_day": "1 00:00:00",
        "atmosphere": true,
        "image": {
            "id": 2040,
            "name": "Earth (Apollo 17)",
            "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/earth_2528apol_image_20240402194304.jpeg",
            "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/earth_2528apol_image_thumbnail_20240402194305.jpeg",
            "credit": "NASA",
            "license": {
                "id": 4,
                "name": "NASA Image and Media Guidelines",
                "priority": 0,
                "link": "https://www.nasa.gov/nasa-brand-center/images-and-media/"
            },
            "single_use": true,
            "variants": []
        },
        "description": "Earth is the third planet from the Sun and the only astronomical object known to harbor life.",
        "wiki_url": "https://en.wikipedia.org/wiki/Earth",
        "total_attempted_launches": 7129,
        "successful_launches": 6587,
        "failed_launches": 542,
        "total_attempted_landings": 1089,
        "successful_landings": 1046,
        "failed_landings": 43
    },
    "active": true,
    "country": {
        "id": 51,
        "name": "New Zealand",
        "alpha_2_code": "NZ",
        "alpha_3_code": "NZL",
        "nationality_name": "Kiwi",
        "nationality_name_composed": "Kiwi"
    },
    "description": "Rocket Lab Launch Complex 1 is a commercial spaceport located close to Ahuriri Point at the southern tip of Māhia Peninsula, on the east coast of New Zealand's North Island. It is owned and operated by private spaceflight company Rocket Lab and supports launches of the company's Electron rocket for small satellites. With the launch of Electron on 25 May 2017, it became the first private spaceport to host an orbital launch attempt, and the first site in New Zealand to host an orbital launch attempt. With the Electron launch of 21 January 2018, it became the first private spaceport to host a successful orbital launch.",
    "image": {
        "id": 2206,
        "name": "Rocket Lab Launch Complex 1",
        "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/rocket_lab_laun_image_20240918164228.jpg",
        "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/rocket_lab_laun_image_thumbnail_20240918164228.jpeg",
        "credit": "Rocket Lab",
        "license": {
            "id": 7,
            "name": "Rocket Lab Image Use Policy",
            "priority": 3,
            "link": "https://www.rocketlabusa.com/about/gallery/"
        },
        "single_use": true,
        "variants": []
    },
    "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_10_20200803142509.jpg",
    "longitude": 177.86586,
    "latitude": -39.26085,
    "timezone_name": "Pacific/Auckland",
    "total_launch_count": 57,
    "total_landing_count": 17,
    "pads": [
        {
            "id": 65,
            "url": "https://lldev.thespacedevs.com/2.3.0/pads/65/?format=api",
            "active": true,
            "agencies": [
                {
                    "response_mode": "list",
                    "id": 147,
                    "url": "https://lldev.thespacedevs.com/2.3.0/agencies/147/?format=api",
                    "name": "Rocket Lab",
                    "abbrev": "RL",
                    "type": {
                        "id": 3,
                        "name": "Commercial"
                    }
                }
            ],
            "name": "Rocket Lab Launch Complex 1A",
            "image": {
                "id": 1412,
                "name": "Electron on LC-1A (Return to Sender)",
                "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/electron25202_image_20201120015105.jpg",
                "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305192700.jpeg",
                "credit": "Rocket Lab",
                "license": {
                    "id": 7,
                    "name": "Rocket Lab Image Use Policy",
                    "priority": 3,
                    "link": "https://www.rocketlabusa.com/about/gallery/"
                },
                "single_use": false,
                "variants": []
            },
            "description": "",
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Rocket_Lab_Launch_Complex_1",
            "map_url": "https://www.google.com/maps?q=-39.262833,177.864469",
            "latitude": -39.262833,
            "longitude": 177.864469,
            "country": {
                "id": 51,
                "name": "New Zealand",
                "alpha_2_code": "NZ",
                "alpha_3_code": "NZL",
                "nationality_name": "Kiwi",
                "nationality_name_composed": "Kiwi"
            },
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_65_20200803143549.jpg",
            "total_launch_count": 29,
            "orbital_launch_attempt_count": 29,
            "fastest_turnaround": "P20DT22H23M54S"
        },
        {
            "id": 185,
            "url": "https://lldev.thespacedevs.com/2.3.0/pads/185/?format=api",
            "active": true,
            "agencies": [
                {
                    "response_mode": "list",
                    "id": 147,
                    "url": "https://lldev.thespacedevs.com/2.3.0/agencies/147/?format=api",
                    "name": "Rocket Lab",
                    "abbrev": "RL",
                    "type": {
                        "id": 3,
                        "name": "Commercial"
                    }
                }
            ],
            "name": "Rocket Lab Launch Complex 1B",
            "image": {
                "id": 1358,
                "name": "Electron on LC-1B (CAPSTONE)",
                "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/electron25202_image_20231125062347.jpeg",
                "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305192519.jpeg",
                "credit": "Rocket Lab",
                "license": {
                    "id": 7,
                    "name": "Rocket Lab Image Use Policy",
                    "priority": 3,
                    "link": "https://www.rocketlabusa.com/about/gallery/"
                },
                "single_use": false,
                "variants": []
            },
            "description": "",
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Rocket_Lab_Launch_Complex_1",
            "map_url": "https://www.google.com/maps?q=-39.262833,177.864469",
            "latitude": -39.262833,
            "longitude": 177.864469,
            "country": {
                "id": 51,
                "name": "New Zealand",
                "alpha_2_code": "NZ",
                "alpha_3_code": "NZL",
                "nationality_name": "Kiwi",
                "nationality_name_composed": "Kiwi"
            },
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_185_20200803143540.jpg",
            "total_launch_count": 28,
            "orbital_launch_attempt_count": 28,
            "fastest_turnaround": "P8DT20H39M"
        },
        {
            "id": 210,
            "url": "https://lldev.thespacedevs.com/2.3.0/pads/210/?format=api",
            "active": true,
            "agencies": [],
            "name": "Unknown Pad",
            "image": null,
            "description": null,
            "info_url": null,
            "wiki_url": null,
            "map_url": null,
            "latitude": -39.260881,
            "longitude": 177.865826,
            "country": {
                "id": 51,
                "name": "New Zealand",
                "alpha_2_code": "NZ",
                "alpha_3_code": "NZL",
                "nationality_name": "Kiwi",
                "nationality_name_composed": "Kiwi"
            },
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_210_20230819165718.jpg",
            "total_launch_count": 0,
            "orbital_launch_attempt_count": 0,
            "fastest_turnaround": null
        }
    ]
}