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 - ll.thespacedevs.com/docs

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

{
  "response_mode": "detailed",
  "id": 150,
  "url": "https://ll.thespacedevs.com/2.3.0/locations/150/?format=api",
  "name": "Alcântara Space Center, Federative Republic of Brazil",
  "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": 7651,
    "successful_launches": 7094,
    "failed_launches": 557,
    "total_attempted_landings": 1384,
    "successful_landings": 1335,
    "failed_landings": 49
  },
  "active": true,
  "country": {
    "id": 24,
    "name": "Brazil",
    "alpha_2_code": "BR",
    "alpha_3_code": "BRA",
    "nationality_name": "Brazilian",
    "nationality_name_composed": "Brazilian"
  },
  "description": "The Alcântara Space Center, formerly known as Alcântara Launch Center is a space center and launching facility of the Brazilian Space Agency in the city of Alcântara, located on Brazil's northern Atlantic coast, in the state of Maranhão.",
  "image": {
    "id": 2136,
    "name": "VLS Pad at the Alcântara Space Center",
    "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/vls_pad_at_the__image_20240808093113.jpeg",
    "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/vls_pad_at_the__image_thumbnail_20240808093114.jpeg",
    "credit": "AEB",
    "license": {
      "id": 27,
      "name": "CC BY-ND 3.0",
      "priority": 0,
      "link": "https://creativecommons.org/licenses/by-nd/3.0/deed.en"
    },
    "single_use": true,
    "variants": []
  },
  "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_150_20200803142405.jpg",
  "longitude": -44.4175,
  "latitude": -2.339444,
  "timezone_name": "America/Fortaleza",
  "total_launch_count": 4,
  "total_landing_count": 0,
  "pads": [
    {
      "id": 240,
      "url": "https://ll.thespacedevs.com/2.3.0/pads/240/?format=api",
      "active": true,
      "agencies": [
        {
          "response_mode": "list",
          "id": 1098,
          "url": "https://ll.thespacedevs.com/2.3.0/agencies/1098/?format=api",
          "name": "Innospace",
          "abbrev": "IS",
          "type": {
            "id": 5,
            "name": "Private"
          }
        }
      ],
      "name": "HANBIT Pad",
      "image": null,
      "description": "Launchpad of the HANBIT rockets developed by South Korean company Innospace.",
      "info_url": null,
      "wiki_url": "https://en.wikipedia.org/wiki/Alc%C3%A2ntara_Space_Center",
      "map_url": "https://www.google.com/maps?q=-2.31698,-44.36873",
      "latitude": -2.31698,
      "longitude": -44.36873,
      "country": {
        "id": 24,
        "name": "Brazil",
        "alpha_2_code": "BR",
        "alpha_3_code": "BRA",
        "nationality_name": "Brazilian",
        "nationality_name_composed": "Brazilian"
      },
      "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_hanbit_pad_20251021114902.jpg",
      "total_launch_count": 2,
      "orbital_launch_attempt_count": 1,
      "fastest_turnaround": "P1009DT7H21M"
    },
    {
      "id": 146,
      "url": "https://ll.thespacedevs.com/2.3.0/pads/146/?format=api",
      "active": true,
      "agencies": [],
      "name": "VLS Pad",
      "image": null,
      "description": null,
      "info_url": null,
      "wiki_url": "https://en.wikipedia.org/wiki/Alc%C3%A2ntara_Launch_Center",
      "map_url": "https://www.google.com/maps?q=-2.3177,-44.369984",
      "latitude": -2.3177,
      "longitude": -44.369984,
      "country": {
        "id": 24,
        "name": "Brazil",
        "alpha_2_code": "BR",
        "alpha_3_code": "BRA",
        "nationality_name": "Brazilian",
        "nationality_name_composed": "Brazilian"
      },
      "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_146_20200803143337.jpg",
      "total_launch_count": 2,
      "orbital_launch_attempt_count": 2,
      "fastest_turnaround": "P769DT6H"
    }
  ]
}