API endpoint that allows all Events to be viewed.

GET: Return a list of all Events

SEARCH EXAMPLE: /2.0.0/event/?search=Dragon Searches through name

GET /2.0.0/event/397/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
  "id": 397,
  "url": "https://lldev.thespacedevs.com/2.0.0/event/397/?format=api",
  "slug": "lucy-main-belt-asteroid-52246-donaldjohansen-flyby",
  "name": "Lucy Main Belt Asteroid (52246) Donaldjohansen Flyby",
  "type": {
    "id": 23,
    "name": "Flyby"
  },
  "description": "Flyby of the main belt asteroid (52246) Donaldjohansen asteroid by NASA's Lucy mission.",
  "location": "(52246) Donaldjohansen",
  "news_url": "http://lucy.swri.edu/timeline.html",
  "video_url": null,
  "feature_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/lucy_earth_flyb_image_20210930111825.jpg",
  "date": "2025-04-20T17:51:00Z",
  "launches": [],
  "expeditions": [],
  "spacestations": [],
  "program": []
}