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

{
    "id": 244,
    "url": "https://lldev.thespacedevs.com/2.3.0/events/244/?format=api",
    "name": "OSIRIS-Rex Departure from Asteroid Bennu",
    "info_urls": [],
    "vid_urls": [
        {
            "priority": 10,
            "source": "www.youtube.com",
            "publisher": null,
            "title": "OSIRIS-REx Departure: Farewell to Asteroid Bennu",
            "description": "Join us live at 4 p.m. EDT, Mon., May 10, as our OSIRIS-REx mission bids farewell to near-Earth asteroid Bennu. At 4:16 p.m., the spacecraft will fire its ma...",
            "feature_image": "https://i.ytimg.com/vi/otcgXyqbW-M/maxresdefault.jpg",
            "url": "https://www.youtube.com/watch?v=otcgXyqbW-M",
            "type": {
                "id": 1,
                "name": "Official Webcast"
            },
            "language": {
                "id": 1,
                "name": "English",
                "code": "en"
            },
            "start_time": null,
            "end_time": null,
            "live": false
        }
    ],
    "image": {
        "id": 1050,
        "name": "OSIRIS-Rex render during sample collection",
        "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/osiris-rex2520sample2520collection_image_20190729035954.jpg",
        "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305191504.jpeg",
        "credit": "NASA",
        "license": {
            "id": 4,
            "name": "NASA Image and Media Guidelines",
            "priority": 0,
            "link": "https://www.nasa.gov/nasa-brand-center/images-and-media/"
        },
        "single_use": false,
        "variants": []
    },
    "date": "2021-05-10T20:00:00Z",
    "slug": "osiris-rex-departure-from-asteroid-bennu",
    "type": {
        "id": 6,
        "name": "Spacecraft Event"
    },
    "description": "The departure of the OSIRIS-Rex spacecraft from asteroid Bennu will be livestreamed on NASA TV.",
    "webcast_live": false,
    "location": "Asteroid Bennu",
    "date_precision": null,
    "response_mode": "detailed",
    "duration": null,
    "updates": [],
    "last_updated": "2024-03-07T16:44:57Z",
    "agencies": [],
    "launches": [],
    "expeditions": [],
    "spacestations": [],
    "program": [],
    "astronauts": []
}