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

{
    "id": 680,
    "url": "https://ll.thespacedevs.com/2.3.0/events/680/?format=api",
    "name": "Total Lunar Eclipse",
    "info_urls": [
        {
            "priority": 10,
            "source": "moon.nasa.gov",
            "title": "What You Need to Know About the Lunar Eclipse –",
            "description": "On November 8 (depending on time zone), the Moon will pass into Earth’s shadow and turn red. Here’s what you need to know about the eclipse.",
            "feature_image": null,
            "url": "https://moon.nasa.gov/news/185/what-you-need-to-know-about-the-lunar-eclipse/",
            "type": null,
            "language": {
                "id": 1,
                "name": "English",
                "code": "en"
            }
        }
    ],
    "vid_urls": [
        {
            "priority": 10,
            "source": "www.youtube.com",
            "publisher": null,
            "title": "LIVE: Total Lunar Eclipse - November 7–8, 2022",
            "description": "Watch a recording of timeandate.com's live stream covering the total lunar eclipse on November 8, 2022, which was visible to residents of Asia, Australia, No...",
            "feature_image": "https://i.ytimg.com/vi/BjKUlaGmE2g/maxresdefault.jpg",
            "url": "https://www.youtube.com/watch?v=BjKUlaGmE2g",
            "type": null,
            "language": {
                "id": 1,
                "name": "English",
                "code": "en"
            },
            "start_time": null,
            "end_time": null,
            "live": false
        }
    ],
    "image": {
        "id": 1088,
        "name": "[AUTO] Total Lunar Eclipse - image",
        "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/total_lunar_ecl_image_20221108082109.jpeg",
        "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305191610.jpeg",
        "credit": null,
        "license": {
            "id": 1,
            "name": "Unknown",
            "priority": 9,
            "link": null
        },
        "single_use": true,
        "variants": []
    },
    "date": "2022-11-08T10:16:39Z",
    "slug": "total-lunar-eclipse-2",
    "type": {
        "id": 11,
        "name": "Celestial Event"
    },
    "description": "The southern limb of the Moon will pass through the center of the Earth's shadow, causing a total lunar eclipse. The eclipse is completely visible over the Pacific and most of North America. It is seen on the rising moon in Australia, Asia and in the far north-east of Europe, and on the setting moon in South America and eastern North America.",
    "webcast_live": false,
    "location": "Pacific & America",
    "date_precision": null,
    "response_mode": "detailed",
    "duration": null,
    "updates": [],
    "last_updated": "2024-03-05T17:25:53Z",
    "agencies": [],
    "launches": [],
    "expeditions": [],
    "spacestations": [],
    "program": [],
    "astronauts": []
}