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

{
    "id": 435,
    "url": "https://ll.thespacedevs.com/2.3.0/events/435/?format=api",
    "name": "Partial Lunar Eclipse",
    "info_urls": [
        {
            "priority": 10,
            "source": "blogs.nasa.gov",
            "title": "Longest Partial Lunar Eclipse in Centuries Coming as ‘Almost’ Total Lunar Eclipse – Watch the Skies",
            "description": "We have a rare opportunity to witness the longest partial lunar eclipse in nearly 600 years. If the weather permits, it will grace our sky on the night of Nov. 18 and early in the morning Nov. 19 across all of the United States.\n\nA lunar eclipse happens when the Sun, Earth, and Full Moon form a near...",
            "feature_image": null,
            "url": "https://blogs.nasa.gov/Watch_the_Skies/2021/11/18/longest-partial-lunar-eclipse-in-centuries-coming-as-almost-total-lunar-eclipse/",
            "type": {
                "id": 1,
                "name": "Official Page"
            },
            "language": {
                "id": 1,
                "name": "English",
                "code": "en"
            }
        }
    ],
    "vid_urls": [
        {
            "priority": 10,
            "source": "youtu.be",
            "publisher": null,
            "title": "Partial Lunar Eclipse | Griffith Observatory | November 18-19, 2021",
            "description": "This program is made possible in part by Griffith Observatory Foundation. Join in support of Griffith Observatory and its programs. Become a member: https://...",
            "feature_image": "https://i.ytimg.com/vi/U079_8l8SNM/maxresdefault.jpg",
            "url": "https://youtu.be/U079_8l8SNM",
            "type": {
                "id": 1,
                "name": "Official Webcast"
            },
            "language": {
                "id": 1,
                "name": "English",
                "code": "en"
            },
            "start_time": null,
            "end_time": null,
            "live": false
        }
    ],
    "image": {
        "id": 1191,
        "name": "[AUTO] Partial Lunar Eclipse - image",
        "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/partial_lunar_e_image_20211119070248.jpg",
        "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305191947.jpeg",
        "credit": null,
        "license": {
            "id": 1,
            "name": "Unknown",
            "priority": 9,
            "link": null
        },
        "single_use": true,
        "variants": []
    },
    "date": "2021-11-19T09:00:00Z",
    "slug": "partial-lunar-eclipse",
    "type": {
        "id": 11,
        "name": "Celestial Event"
    },
    "description": "A partial lunar eclipse will be visible throughout much of the globe where the Moon appears above the horizon during the eclipse, including North and South America, Eastern Asia, Australia, and the Pacific Region. North America will have the best location to see the entirety of the eclipse.",
    "webcast_live": false,
    "location": null,
    "date_precision": null,
    "response_mode": "detailed",
    "duration": null,
    "updates": [],
    "last_updated": "2024-03-05T17:26:39Z",
    "agencies": [],
    "launches": [],
    "expeditions": [],
    "spacestations": [],
    "program": [],
    "astronauts": []
}