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

{
  "response_mode": "detailed",
  "id": 173,
  "url": "https://lldev.thespacedevs.com/2.3.0/locations/173/?format=api",
  "name": "Mare Fecunditatis, Moon",
  "celestial_body": {
    "response_mode": "normal",
    "id": 2,
    "name": "Moon",
    "type": {
      "id": 2,
      "name": "Moon"
    },
    "diameter": 3474800.0,
    "mass": 7.342e+22,
    "gravity": 1.622,
    "length_of_day": "27 07:43:12",
    "atmosphere": false,
    "image": {
      "id": 2041,
      "name": "Moon (Apollo 11)",
      "image_url": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/moon_2528apoll_image_20240402195408.jpg",
      "thumbnail_url": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/moon_2528apoll_image_thumbnail_20240402195408.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": false,
      "variants": []
    },
    "description": "The Moon is Earth's only natural satellite.",
    "wiki_url": "https://en.wikipedia.org/wiki/Moon",
    "total_attempted_launches": 11,
    "successful_launches": 11,
    "failed_launches": 0,
    "total_attempted_landings": 17,
    "successful_landings": 14,
    "failed_landings": 3
  },
  "active": false,
  "country": null,
  "description": "Mare Fecunditatis is a lunar mare in the eastern half of the visible Moon. The mare has a maximum diameter of 840 km.",
  "image": {
    "id": 2164,
    "name": "Mare Fecunditatis",
    "image_url": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/mare_fecunditat_image_20240813075141.jpg",
    "thumbnail_url": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/mare_fecunditat_image_thumbnail_20240813075141.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": []
  },
  "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_luna_16_landing_site252c_mare_fecunditatis252c_moon_20240813034222.jpg",
  "longitude": 51.3,
  "latitude": -7.8,
  "timezone_name": "",
  "total_launch_count": 1,
  "total_landing_count": 0,
  "pads": [
    {
      "id": 229,
      "url": "https://lldev.thespacedevs.com/2.3.0/pads/229/?format=api",
      "active": false,
      "agencies": [
        {
          "response_mode": "list",
          "id": 66,
          "url": "https://lldev.thespacedevs.com/2.3.0/agencies/66/?format=api",
          "name": "Soviet Space Program",
          "abbrev": "CCCP",
          "type": {
            "id": 1,
            "name": "Government"
          }
        }
      ],
      "name": "Luna 16 landing site",
      "image": {
        "id": 2165,
        "name": "Luna 16 model",
        "image_url": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/luna_16_model_image_20240813075746.jpg",
        "thumbnail_url": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/luna_16_model_image_thumbnail_20240813075746.jpeg",
        "credit": "Bembmv",
        "license": {
          "id": 21,
          "name": "CC BY-SA 3.0",
          "priority": 4,
          "link": "https://creativecommons.org/licenses/by-sa/3.0/deed.en"
        },
        "single_use": false,
        "variants": []
      },
      "description": "Landing site of the successful Soviet lunar sample return mission Luna 16 on 20 September 1970.",
      "info_url": null,
      "wiki_url": "https://en.wikipedia.org/wiki/Luna_16",
      "map_url": null,
      "latitude": -0.5137,
      "longitude": 56.3638,
      "country": null,
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_luna_16_landing_site_20240813040420.jpg",
      "total_launch_count": 1,
      "orbital_launch_attempt_count": 1,
      "fastest_turnaround": null
    }
  ]
}