Modes

Levels of detail in the response - list, normal, detailed

Example - /events/?mode=list

Filters

Parameters - agency__ids, date__gt, date__gte, date__lt, date__lte, day, expedition__ids, id, last_updated__gte, last_updated__lte, launch__ids, month, program, program__ids, slug, spacestation__ids, type, type__ids, video_url, year

Example - /events/?type__ids=2,8

Fields searched - name

Example - /events/?search=Flyby

Ordering

Fields - date, last_updated

Example - /events/?ordering=-last_updated

Number of results

Use limit to control the number of objects in the response (max 100)

Example - /events/?limit=2

Format

Switch to JSON output - /events/?format=json

Help

Find all the FAQs and support links on the documentation homepage - lldev.thespacedevs.com/docs

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

{
  "id": 124,
  "url": "https://lldev.thespacedevs.com/2.3.0/events/124/?format=api",
  "name": "Emirates Mars Mission 'Hope' Mars Orbit Insertion",
  "info_urls": [],
  "vid_urls": [],
  "image": {
    "id": 1076,
    "name": "[AUTO] Emirates Mars Mission 'Hope' Mars Orbit Insertion - image",
    "image_url": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/emirates_mars_m_image_20200721105747.jpg",
    "thumbnail_url": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305191549.jpeg",
    "credit": null,
    "license": {
      "id": 1,
      "name": "Unknown",
      "priority": 9,
      "link": null
    },
    "single_use": true,
    "variants": []
  },
  "date": "2021-02-09T15:45:00Z",
  "slug": "emirates-mars-mission-hope-mars-orbit-insertion",
  "type": {
    "id": 16,
    "name": "Orbital Insertion"
  },
  "description": "The Emirates Mars Mission 'Hope' will enter an orbit around Mars after its six months interplanetary journey.",
  "webcast_live": false,
  "location": "Mars",
  "date_precision": null,
  "response_mode": "detailed",
  "duration": null,
  "updates": [],
  "last_updated": "2024-03-05T17:22:47Z",
  "agencies": [],
  "launches": [],
  "expeditions": [],
  "spacestations": [],
  "program": [],
  "astronauts": []
}