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 - lldev.thespacedevs.com/docs

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

{
    "id": 20,
    "url": "https://lldev.thespacedevs.com/2.3.0/events/20/?format=api",
    "name": "Total Solar Eclipse",
    "info_urls": [
        {
            "priority": 10,
            "source": "www.nasa.gov",
            "title": "NASA Live",
            "description": "NASA launches, landings, and events. Watch live broadcasts from NASA Television and NASA's social media channels, and a schedule of upcoming live events including news briefings, launches and landings.",
            "feature_image": null,
            "url": "https://www.nasa.gov/nasalive",
            "type": {
                "id": 1,
                "name": "Official Page"
            },
            "language": {
                "id": 1,
                "name": "English",
                "code": "en"
            }
        }
    ],
    "vid_urls": [],
    "image": {
        "id": 951,
        "name": "[AUTO] Total Solar Eclipse - image",
        "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/total2520solar2520eclipse_image_20190702195513.jpg",
        "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305191220.jpeg",
        "credit": null,
        "license": {
            "id": 1,
            "name": "Unknown",
            "priority": 9,
            "link": null
        },
        "single_use": true,
        "variants": []
    },
    "date": "2019-07-02T20:15:00Z",
    "slug": "total-solar-eclipse-2",
    "type": {
        "id": 11,
        "name": "Celestial Event"
    },
    "description": "NASA has partnered with the Exploratorium in San Francisco to bring live views to people across the world of a total solar eclipse, occurring Tuesday, July 2, over South America.\r\n\r\nTotal solar eclipse live streams are available with no commentary (3:15-6 p.m. EDT), or with commentary (4-5 p.m. EDT) in English or Spanish.",
    "webcast_live": false,
    "location": "South America",
    "date_precision": null,
    "response_mode": "detailed",
    "duration": null,
    "updates": [],
    "last_updated": "2024-03-05T17:28:34Z",
    "agencies": [],
    "launches": [],
    "expeditions": [],
    "spacestations": [],
    "program": [],
    "astronauts": []
}