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

{
    "response_mode": "detailed",
    "id": 7,
    "url": "https://lldev.thespacedevs.com/2.3.0/locations/7/?format=api",
    "name": "Sohae Satellite Launching Station,  Cholsan County, North Pyongan Province, Democratic People's Republic of Korea",
    "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": 53,
        "name": "North Korea",
        "alpha_2_code": "KP",
        "alpha_3_code": "PRK",
        "nationality_name": "North Korean",
        "nationality_name_composed": "North Korean"
    },
    "description": "Sohae Satellite Launching Station is a rocket launching site in Tongch'ang-ri, Cholsan County, North Pyongan Province, North Korea. The base is located among hills close to the northern border with China. The spaceport was built on the site of the village Pongdong-ri which was displaced during construction.",
    "image": {
        "id": 2216,
        "name": "Chollima-1 liftoff (Malligyong-1c)",
        "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/chollima-1_lift_image_20240919165247.jpeg",
        "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/chollima-1_lift_image_thumbnail_20240919165248.jpeg",
        "credit": "KCNA",
        "license": {
            "id": 1,
            "name": "Unknown",
            "priority": 9,
            "link": null
        },
        "single_use": false,
        "variants": []
    },
    "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_7_20200803142414.jpg",
    "longitude": 124.705,
    "latitude": 39.66,
    "timezone_name": "Asia/Pyongyang",
    "total_launch_count": 7,
    "total_landing_count": 0,
    "pads": [
        {
            "id": 208,
            "url": "https://lldev.thespacedevs.com/2.3.0/pads/208/?format=api",
            "active": true,
            "agencies": [],
            "name": "Malligyong-1 Pad",
            "image": {
                "id": 2216,
                "name": "Chollima-1 liftoff (Malligyong-1c)",
                "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/chollima-1_lift_image_20240919165247.jpeg",
                "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/chollima-1_lift_image_thumbnail_20240919165248.jpeg",
                "credit": "KCNA",
                "license": {
                    "id": 1,
                    "name": "Unknown",
                    "priority": 9,
                    "link": null
                },
                "single_use": false,
                "variants": []
            },
            "description": "",
            "info_url": null,
            "wiki_url": null,
            "map_url": "https://goo.gl/maps/DgkrTCHCsAcw1CWR7",
            "latitude": 39.652861,
            "longitude": 124.736639,
            "country": {
                "id": 53,
                "name": "North Korea",
                "alpha_2_code": "KP",
                "alpha_3_code": "PRK",
                "nationality_name": "North Korean",
                "nationality_name_composed": "North Korean"
            },
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_unknown_pad_prk_2023_20230601125308.jpg",
            "total_launch_count": 4,
            "orbital_launch_attempt_count": 4,
            "fastest_turnaround": "P84DT21H27M"
        },
        {
            "id": 74,
            "url": "https://lldev.thespacedevs.com/2.3.0/pads/74/?format=api",
            "active": true,
            "agencies": [
                {
                    "response_mode": "list",
                    "id": 40,
                    "url": "https://lldev.thespacedevs.com/2.3.0/agencies/40/?format=api",
                    "name": "Korean Committee of Space Technology",
                    "abbrev": "KCST",
                    "type": {
                        "id": 1,
                        "name": "Government"
                    }
                }
            ],
            "name": "Unha Launch Pad",
            "image": null,
            "description": null,
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Sohae_Satellite_Launching_Station",
            "map_url": "https://www.google.com/maps?q=39.660065,124.705366",
            "latitude": 39.660065,
            "longitude": 124.705366,
            "country": {
                "id": 53,
                "name": "North Korea",
                "alpha_2_code": "KP",
                "alpha_3_code": "PRK",
                "nationality_name": "North Korean",
                "nationality_name_composed": "North Korean"
            },
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_74_20200803143358.jpg",
            "total_launch_count": 3,
            "orbital_launch_attempt_count": 3,
            "fastest_turnaround": "P243DT2H10M51S"
        }
    ]
}