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

{
  "id": 395,
  "url": "https://lldev.thespacedevs.com/2.3.0/events/395/?format=api",
  "name": "Lucy Earth Flyby",
  "info_urls": [
    {
      "priority": 10,
      "source": "www.nasa.gov",
      "title": "NASA’s Lucy to Fly Past Thousands of Objects for Earth Gravity Assist",
      "description": "Mission engineers will track NASA’s Lucy spacecraft nonstop as it prepares to swoop near Earth on Oct. 16 to use this planet’s gravity to set itself on a course toward the Jupiter Trojan asteroids.  But  they also will be closely tracking something else: more than 47,000 satellites, debris, and othe...",
      "feature_image": null,
      "url": "https://www.nasa.gov/feature/goddard/2022/nasa-s-lucy-to-fly-past-thousands-of-objects-for-earth-gravity-assist",
      "type": {
        "id": 1,
        "name": "Official Page"
      },
      "language": {
        "id": 1,
        "name": "English",
        "code": "en"
      }
    }
  ],
  "vid_urls": [],
  "image": {
    "id": 1004,
    "name": "Lucy in space render",
    "image_url": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/lucy_earth_flyb_image_20210930111825.jpg",
    "thumbnail_url": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305191348.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": []
  },
  "date": "2022-10-16T10:55:00Z",
  "slug": "lucy-earth-flyby",
  "type": {
    "id": 23,
    "name": "Flyby"
  },
  "description": "First of three Earth flybys of NASA's Lucy mission to the Trojan asteroids.",
  "webcast_live": false,
  "location": "Earth",
  "date_precision": null,
  "response_mode": "detailed",
  "duration": null,
  "updates": [],
  "last_updated": "2024-03-05T17:27:11Z",
  "agencies": [],
  "launches": [],
  "expeditions": [],
  "spacestations": [],
  "program": [],
  "astronauts": []
}