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

{
    "response_mode": "detailed",
    "id": 30,
    "url": "https://lldev.thespacedevs.com/2.3.0/locations/30/?format=api",
    "name": "Kapustin Yar, Russian Federation",
    "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": 5,
        "name": "Russia",
        "alpha_2_code": "RU",
        "alpha_3_code": "RUS",
        "nationality_name": "Russian",
        "nationality_name_composed": "Russo"
    },
    "description": "Kapustin Yar is a Russian military training area and a rocket launch complex in Astrakhan Oblast, about 100 km east of Volgograd. It was established by the Soviet Union on 13 May 1946. In the beginning, Kapustin Yar used technology, material, and scientific support gained from the defeat of Germany in World War II. Numerous launches of test rockets for the Russian military were carried out at the site, as well as satellite and sounding rocket launches.",
    "image": {
        "id": 2204,
        "name": "R-2A and R-5A geophysical rockets on the pad",
        "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/r-2a_and_r-5a_g_image_20240918155857.jpg",
        "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/r-2a_and_r-5a_g_image_thumbnail_20240918155857.jpeg",
        "credit": "Mil.ru",
        "license": {
            "id": 30,
            "name": "CC BY 4.0",
            "priority": 4,
            "link": "https://creativecommons.org/licenses/by/4.0/"
        },
        "single_use": true,
        "variants": []
    },
    "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_30_20200803142515.jpg",
    "longitude": 45.72,
    "latitude": 48.59,
    "timezone_name": "Europe/Volgograd",
    "total_launch_count": 101,
    "total_landing_count": 0,
    "pads": [
        {
            "id": 139,
            "url": "https://lldev.thespacedevs.com/2.3.0/pads/139/?format=api",
            "active": true,
            "agencies": [],
            "name": "86/1",
            "image": null,
            "description": null,
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Kapustin_Yar",
            "map_url": "https://www.google.com/maps?q=48.56935,46.293219",
            "latitude": 48.56935,
            "longitude": 46.293219,
            "country": {
                "id": 5,
                "name": "Russia",
                "alpha_2_code": "RU",
                "alpha_3_code": "RUS",
                "nationality_name": "Russian",
                "nationality_name_composed": "Russo"
            },
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_139_20200803143345.jpg",
            "total_launch_count": 26,
            "orbital_launch_attempt_count": 26,
            "fastest_turnaround": "P7DT1H56M"
        },
        {
            "id": 138,
            "url": "https://lldev.thespacedevs.com/2.3.0/pads/138/?format=api",
            "active": true,
            "agencies": [],
            "name": "107/2",
            "image": null,
            "description": null,
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Kapustin_Yar",
            "map_url": "https://www.google.com/maps?q=48.540716,46.296826",
            "latitude": 48.540716,
            "longitude": 46.296826,
            "country": {
                "id": 5,
                "name": "Russia",
                "alpha_2_code": "RU",
                "alpha_3_code": "RUS",
                "nationality_name": "Russian",
                "nationality_name_composed": "Russo"
            },
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_138_20200803143400.jpg",
            "total_launch_count": 4,
            "orbital_launch_attempt_count": 4,
            "fastest_turnaround": "P45DT1H1M5S"
        },
        {
            "id": 140,
            "url": "https://lldev.thespacedevs.com/2.3.0/pads/140/?format=api",
            "active": true,
            "agencies": [],
            "name": "86/4",
            "image": null,
            "description": null,
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Kapustin_Yar",
            "map_url": "https://www.google.com/maps?q=48.56935,46.293219",
            "latitude": 48.56935,
            "longitude": 46.293219,
            "country": {
                "id": 5,
                "name": "Russia",
                "alpha_2_code": "RU",
                "alpha_3_code": "RUS",
                "nationality_name": "Russian",
                "nationality_name_composed": "Russo"
            },
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_140_20200803143350.jpg",
            "total_launch_count": 24,
            "orbital_launch_attempt_count": 24,
            "fastest_turnaround": "P7DT6H13M3S"
        },
        {
            "id": 137,
            "url": "https://lldev.thespacedevs.com/2.3.0/pads/137/?format=api",
            "active": true,
            "agencies": [],
            "name": "107/1",
            "image": null,
            "description": null,
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Kapustin_Yar",
            "map_url": "https://www.google.com/maps?q=48.540716,46.296826",
            "latitude": 48.540716,
            "longitude": 46.296826,
            "country": {
                "id": 5,
                "name": "Russia",
                "alpha_2_code": "RU",
                "alpha_3_code": "RUS",
                "nationality_name": "Russian",
                "nationality_name_composed": "Russo"
            },
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_137_20200803143332.jpg",
            "total_launch_count": 20,
            "orbital_launch_attempt_count": 20,
            "fastest_turnaround": "P28DT21H50M"
        },
        {
            "id": 100,
            "url": "https://lldev.thespacedevs.com/2.3.0/pads/100/?format=api",
            "active": true,
            "agencies": [],
            "name": "Mayak-2",
            "image": null,
            "description": null,
            "info_url": null,
            "wiki_url": null,
            "map_url": "https://www.google.com/maps?q=48.569551,46.295814",
            "latitude": 48.569551,
            "longitude": 46.295814,
            "country": {
                "id": 5,
                "name": "Russia",
                "alpha_2_code": "RU",
                "alpha_3_code": "RUS",
                "nationality_name": "Russian",
                "nationality_name_composed": "Russo"
            },
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_100_20200803143212.jpg",
            "total_launch_count": 24,
            "orbital_launch_attempt_count": 24,
            "fastest_turnaround": "P5DT3H"
        },
        {
            "id": 136,
            "url": "https://lldev.thespacedevs.com/2.3.0/pads/136/?format=api",
            "active": true,
            "agencies": [],
            "name": "107",
            "image": null,
            "description": null,
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Kapustin_Yar",
            "map_url": "https://www.google.com/maps?q=48.540716,46.296826",
            "latitude": 48.540716,
            "longitude": 46.296826,
            "country": {
                "id": 5,
                "name": "Russia",
                "alpha_2_code": "RU",
                "alpha_3_code": "RUS",
                "nationality_name": "Russian",
                "nationality_name_composed": "Russo"
            },
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_136_20200803143342.jpg",
            "total_launch_count": 3,
            "orbital_launch_attempt_count": 3,
            "fastest_turnaround": "P3339DT10H6M46S"
        }
    ]
}