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/19/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "response_mode": "detailed",
    "id": 19,
    "url": "https://lldev.thespacedevs.com/2.3.0/locations/19/?format=api",
    "name": "Taiyuan Satellite Launch Center, People's Republic of China",
    "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": 6,
        "name": "China",
        "alpha_2_code": "CN",
        "alpha_3_code": "CHN",
        "nationality_name": "Chinese",
        "nationality_name_composed": "Sino"
    },
    "description": "The Taiyuan Satellite Launch Center is a People's Republic of China space and defense launch facility. It is situated in Kelan County, Xinzhou, Shanxi Province and is the second of four launch sites having been founded in March 1966 and coming into full operation in 1968.",
    "image": {
        "id": 1369,
        "name": "[AUTO] Long March 2D | 6 x Jilin-1, Qilu-2/3 & others - image",
        "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/long2520march_image_20230907134308.jpeg",
        "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305192538.jpeg",
        "credit": null,
        "license": {
            "id": 1,
            "name": "Unknown",
            "priority": 9,
            "link": null
        },
        "single_use": true,
        "variants": []
    },
    "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_19_20200803142421.jpg",
    "longitude": 111.608,
    "latitude": 38.8491,
    "timezone_name": "Asia/Shanghai",
    "total_launch_count": 139,
    "total_landing_count": 0,
    "pads": [
        {
            "id": 25,
            "url": "https://lldev.thespacedevs.com/2.3.0/pads/25/?format=api",
            "active": true,
            "agencies": [],
            "name": "Launch Complex 9",
            "image": {
                "id": 2125,
                "name": "CZ-4B liftoff from LC-9 (Gaofen-11-05)",
                "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/cz-4b_liftoff__image_20240719064703.jpeg",
                "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/cz-4b_liftoff__image_thumbnail_20240719064704.jpeg",
                "credit": "中国航天科技集团",
                "license": {
                    "id": 1,
                    "name": "Unknown",
                    "priority": 9,
                    "link": null
                },
                "single_use": false,
                "variants": []
            },
            "description": "",
            "info_url": null,
            "wiki_url": null,
            "map_url": "https://www.google.com/maps?q=38.863128,111.589567",
            "latitude": 38.863128,
            "longitude": 111.589567,
            "country": {
                "id": 6,
                "name": "China",
                "alpha_2_code": "CN",
                "alpha_3_code": "CHN",
                "nationality_name": "Chinese",
                "nationality_name_composed": "Sino"
            },
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_25_20200803143501.jpg",
            "total_launch_count": 76,
            "orbital_launch_attempt_count": 76,
            "fastest_turnaround": "P16DT20H3M"
        },
        {
            "id": 113,
            "url": "https://lldev.thespacedevs.com/2.3.0/pads/113/?format=api",
            "active": true,
            "agencies": [],
            "name": "Launch Complex 16",
            "image": null,
            "description": null,
            "info_url": null,
            "wiki_url": null,
            "map_url": "https://www.google.com/maps?q=38.868222,111.58024",
            "latitude": 38.868222,
            "longitude": 111.58024,
            "country": {
                "id": 6,
                "name": "China",
                "alpha_2_code": "CN",
                "alpha_3_code": "CHN",
                "nationality_name": "Chinese",
                "nationality_name_composed": "Sino"
            },
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_113_20200803143556.jpg",
            "total_launch_count": 15,
            "orbital_launch_attempt_count": 15,
            "fastest_turnaround": "P24DT2H17M"
        },
        {
            "id": 158,
            "url": "https://lldev.thespacedevs.com/2.3.0/pads/158/?format=api",
            "active": true,
            "agencies": [],
            "name": "Mobile Launcher Pad",
            "image": null,
            "description": null,
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Taiyuan_Satellite_Launch_Center",
            "map_url": "https://www.google.com/maps?q=38.890002,111.608129",
            "latitude": 38.890002,
            "longitude": 111.608129,
            "country": {
                "id": 6,
                "name": "China",
                "alpha_2_code": "CN",
                "alpha_3_code": "CHN",
                "nationality_name": "Chinese",
                "nationality_name_composed": "Sino"
            },
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_158_20200803143440.jpg",
            "total_launch_count": 2,
            "orbital_launch_attempt_count": 2,
            "fastest_turnaround": "P1022DT19H59M14S"
        },
        {
            "id": 33,
            "url": "https://lldev.thespacedevs.com/2.3.0/pads/33/?format=api",
            "active": true,
            "agencies": [],
            "name": "Launch Complex 7",
            "image": null,
            "description": null,
            "info_url": null,
            "wiki_url": null,
            "map_url": "https://www.google.com/maps?q=38.8489311,111.6079339",
            "latitude": 38.8489311,
            "longitude": 111.6079339,
            "country": {
                "id": 6,
                "name": "China",
                "alpha_2_code": "CN",
                "alpha_3_code": "CHN",
                "nationality_name": "Chinese",
                "nationality_name_composed": "Sino"
            },
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_33_20200803143335.jpg",
            "total_launch_count": 32,
            "orbital_launch_attempt_count": 32,
            "fastest_turnaround": "P22DT8H36M10S"
        },
        {
            "id": 142,
            "url": "https://lldev.thespacedevs.com/2.3.0/pads/142/?format=api",
            "active": true,
            "agencies": [],
            "name": "Kaituozhe Launch Pad",
            "image": null,
            "description": null,
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Taiyuan_Satellite_Launch_Center",
            "map_url": "https://www.google.com/maps?q=38.835756,111.606406",
            "latitude": 38.835756,
            "longitude": 111.606406,
            "country": {
                "id": 6,
                "name": "China",
                "alpha_2_code": "CN",
                "alpha_3_code": "CHN",
                "nationality_name": "Chinese",
                "nationality_name_composed": "Sino"
            },
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_142_20200803143244.jpg",
            "total_launch_count": 3,
            "orbital_launch_attempt_count": 3,
            "fastest_turnaround": "P366D"
        },
        {
            "id": 200,
            "url": "https://lldev.thespacedevs.com/2.3.0/pads/200/?format=api",
            "active": true,
            "agencies": [],
            "name": "Launch Complex 9A",
            "image": {
                "id": 2090,
                "name": "CZ-6C liftoff from LC-9A (Maiden Flight)",
                "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/cz-6c_liftoff__image_20240507065634.jpg",
                "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/cz-6c_liftoff__image_thumbnail_20240507065635.jpeg",
                "credit": "中国之声",
                "license": {
                    "id": 1,
                    "name": "Unknown",
                    "priority": 9,
                    "link": null
                },
                "single_use": false,
                "variants": []
            },
            "description": "",
            "info_url": null,
            "wiki_url": null,
            "map_url": "https://www.google.com/maps?q=38.8583,111.5802",
            "latitude": 38.8583,
            "longitude": 111.5802,
            "country": {
                "id": 6,
                "name": "China",
                "alpha_2_code": "CN",
                "alpha_3_code": "CHN",
                "nationality_name": "Chinese",
                "nationality_name_composed": "Sino"
            },
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_launch_complex_9a_20220330003717.jpg",
            "total_launch_count": 11,
            "orbital_launch_attempt_count": 11,
            "fastest_turnaround": "P32DT7H53M"
        },
        {
            "id": 60,
            "url": "https://lldev.thespacedevs.com/2.3.0/pads/60/?format=api",
            "active": true,
            "agencies": [],
            "name": "Unknown Pad",
            "image": null,
            "description": null,
            "info_url": null,
            "wiki_url": "",
            "map_url": "https://www.google.com/maps?q=38.849,111.608",
            "latitude": 38.849,
            "longitude": 111.608,
            "country": {
                "id": 6,
                "name": "China",
                "alpha_2_code": "CN",
                "alpha_3_code": "CHN",
                "nationality_name": "Chinese",
                "nationality_name_composed": "Sino"
            },
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_60_20200803143606.jpg",
            "total_launch_count": 0,
            "orbital_launch_attempt_count": 0,
            "fastest_turnaround": null
        }
    ]
}