Modes

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

Example - /events/?mode=list

Filters

Parameters - agency__ids, date__gt, date__gt__lt, date__gte, date__lte, day, id, last_updated__gte, last_updated__lte, month, program, slug, 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 - ll.thespacedevs.com/docs

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

{
    "id": 567,
    "url": "https://ll.thespacedevs.com/2.3.0/events/567/?format=api",
    "name": "Total Lunar Eclipse",
    "info_urls": [
        {
            "priority": 10,
            "source": "eclipse.gsfc.nasa.gov",
            "title": "",
            "description": "",
            "feature_image": null,
            "url": "https://eclipse.gsfc.nasa.gov/LEplot/LEplot2001/LE2022May16T.pdf",
            "type": {
                "id": 1,
                "name": "Official Page"
            },
            "language": {
                "id": 1,
                "name": "English",
                "code": "en"
            }
        }
    ],
    "vid_urls": [
        {
            "priority": 10,
            "source": "www.youtube.com",
            "publisher": null,
            "title": "Watch a Total Lunar Eclipse (NASA Science Live)",
            "description": "Go outside with NASA and watch the total lunar eclipse! On the evening of May 15, Earth will pass between the Sun and the Moon, blocking sunlight and casting...",
            "feature_image": "https://i.ytimg.com/vi/vGIaEIICIcs/maxresdefault.jpg",
            "url": "https://www.youtube.com/watch?v=vGIaEIICIcs",
            "type": {
                "id": 1,
                "name": "Official Webcast"
            },
            "language": {
                "id": 1,
                "name": "English",
                "code": "en"
            },
            "start_time": null,
            "end_time": null,
            "live": false
        }
    ],
    "image": {
        "id": 1147,
        "name": "[AUTO] Total Lunar Eclipse - image",
        "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/total_lunar_ecl_image_20220512070406.jpg",
        "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305191806.jpeg",
        "credit": null,
        "license": {
            "id": 1,
            "name": "Unknown",
            "priority": 9,
            "link": null
        },
        "single_use": true,
        "variants": []
    },
    "date": "2022-05-16T04:11:28Z",
    "slug": "total-lunar-eclipse",
    "type": {
        "id": 11,
        "name": "Celestial Event"
    },
    "description": "NASA will broadcast live views of a total lunar eclipse, which will be entirely visible from the East coast of North America as well as all of Central and South America. Penumbral and umbral durations are 05h18m40s and 03h27m14s respectively.",
    "webcast_live": false,
    "location": "Central and South America, East coast of North America",
    "date_precision": null,
    "response_mode": "detailed",
    "duration": null,
    "updates": [],
    "last_updated": "2024-03-05T17:27:29Z",
    "agencies": [],
    "launches": [],
    "expeditions": [],
    "spacestations": [],
    "program": [],
    "astronauts": []
}