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

{
    "id": 626,
    "url": "https://ll.thespacedevs.com/2.3.0/events/626/?format=api",
    "name": "NASA DART Impact",
    "info_urls": [
        {
            "priority": 10,
            "source": "www.nasa.gov",
            "title": "NASA Invites Media to Witness World’s First Planetary Defense Test",
            "description": "NASA’s Double Asteroid Redirection Test (DART), the world’s first mission to test technology for defending Earth against potential asteroid or comet hazards, will impact its target asteroid—which poses no threat to Earth—at 7:14 p.m. EDT on Monday, Sept. 26.",
            "feature_image": null,
            "url": "https://www.nasa.gov/press-release/nasa-invites-media-to-witness-world-s-first-planetary-defense-test",
            "type": {
                "id": 1,
                "name": "Official Page"
            },
            "language": {
                "id": 1,
                "name": "English",
                "code": "en"
            }
        }
    ],
    "vid_urls": [
        {
            "priority": 10,
            "source": "www.youtube.com",
            "publisher": null,
            "title": "DART's Impact with Asteroid Dimorphos (Official NASA Broadcast)",
            "description": "Countdown to impact as NASA’s Double Asteroid Redirection Test (DART) attempts humanity’s first-ever test of planetary defense! The DART spacecraft will inte...",
            "feature_image": "https://i.ytimg.com/vi/4RA8Tfa6Sck/maxresdefault.jpg",
            "url": "https://www.youtube.com/watch?v=4RA8Tfa6Sck",
            "type": {
                "id": 1,
                "name": "Official Webcast"
            },
            "language": {
                "id": 1,
                "name": "English",
                "code": "en"
            },
            "start_time": null,
            "end_time": null,
            "live": false
        }
    ],
    "image": {
        "id": 1150,
        "name": "Render Dart probe",
        "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/dart_pre-launch_image_20211116204913.jpeg",
        "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305191811.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": "2022-09-26T23:14:00Z",
    "slug": "nasa-dart-impact",
    "type": {
        "id": 6,
        "name": "Spacecraft Event"
    },
    "description": "NASA’s Double Asteroid Redirection Test (DART), the world’s first mission to test technology for defending Earth against potential asteroid or comet hazards, will impact its target asteroid to change its motion in a way that can be measured using ground-based telescopes.",
    "webcast_live": false,
    "location": null,
    "date_precision": null,
    "response_mode": "detailed",
    "duration": null,
    "updates": [],
    "last_updated": "2024-03-05T17:32:02Z",
    "agencies": [],
    "launches": [
        {
            "id": "c4b2f90e-3385-4cbe-a89f-fc5f57da1bfb",
            "url": "https://ll.thespacedevs.com/2.3.0/launches/c4b2f90e-3385-4cbe-a89f-fc5f57da1bfb/?format=api",
            "name": "Falcon 9 Block 5 | Double Asteroid Redirection Test (DART)",
            "response_mode": "list",
            "slug": "falcon-9-block-5-double-asteroid-redirection-test",
            "launch_designator": "2021-110",
            "status": {
                "id": 3,
                "name": "Launch Successful",
                "abbrev": "Success",
                "description": "The launch vehicle successfully inserted its payload(s) into the target orbit(s)."
            },
            "last_updated": "2024-03-05T18:13:40Z",
            "net": "2021-11-24T06:21:02Z",
            "net_precision": null,
            "window_end": "2021-11-24T06:21:02Z",
            "window_start": "2021-11-24T06:21:02Z",
            "image": {
                "id": 1507,
                "name": "[AUTO] Falcon 9 Block 5 | Double Asteroid Redirection Test (DART) - image",
                "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/falcon2520925_image_20211123182921.jpeg",
                "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305193002.jpeg",
                "credit": null,
                "license": {
                    "id": 1,
                    "name": "Unknown",
                    "priority": 9,
                    "link": null
                },
                "single_use": true,
                "variants": []
            },
            "infographic": null
        }
    ],
    "expeditions": [],
    "spacestations": [],
    "program": [],
    "astronauts": []
}