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

{
    "id": 256,
    "url": "https://ll.thespacedevs.com/2.3.0/events/256/?format=api",
    "name": "NASA Mars 2020 Ingenuity Fourth Flight",
    "info_urls": [
        {
            "priority": 10,
            "source": "mars.nasa.gov",
            "title": "Ingenuity Completes Its Fourth Flight - NASA",
            "description": "Ingenuity successfully completed its fourth flight today, and we couldn’t be happier.",
            "feature_image": null,
            "url": "https://mars.nasa.gov/technology/helicopter/status/297/ingenuity-completes-its-fourth-flight/",
            "type": null,
            "language": {
                "id": 1,
                "name": "English",
                "code": "en"
            }
        }
    ],
    "vid_urls": [],
    "image": {
        "id": 1137,
        "name": "Ingenuity on Mars",
        "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/nasa_mars_2020__image_20210409201945.jpeg",
        "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305191744.jpeg",
        "credit": "NASA/JPL-Caltech/ASU",
        "license": {
            "id": 3,
            "name": "JPL Image Use Policy",
            "priority": 1,
            "link": "https://www.jpl.nasa.gov/jpl-image-use-policy"
        },
        "single_use": false,
        "variants": []
    },
    "date": "2021-04-30T14:49:00Z",
    "slug": "nasa-mars-2020-ingenuity-fourth-flight",
    "type": {
        "id": 14,
        "name": "Test Flight"
    },
    "description": "Ingenuity successfully completed its fourth flight, climbing to an altitude of 16 feet (5 meters) before flying south approximately 436 feet (133 meters) and then back, for an 872-foot (266-meter) round trip. In total, it was in the air for 117 seconds.",
    "webcast_live": false,
    "location": "Wright Brothers Field, Jezero crater, Mars",
    "date_precision": null,
    "response_mode": "detailed",
    "duration": null,
    "updates": [],
    "last_updated": "2024-03-05T17:25:07Z",
    "agencies": [],
    "launches": [
        {
            "id": "c4db6995-f25f-4608-8eb9-ce95d5226af2",
            "url": "https://ll.thespacedevs.com/2.3.0/launches/c4db6995-f25f-4608-8eb9-ce95d5226af2/?format=api",
            "name": "Atlas V 541 | Mars 2020 (Perseverance rover & Ingenuity helicopter)",
            "response_mode": "list",
            "slug": "atlas-v-541-mars-2020-perseverance-rover-ingenuity",
            "launch_designator": "2020-052",
            "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:12:01Z",
            "net": "2020-07-30T11:50:00Z",
            "net_precision": null,
            "window_end": "2020-07-30T13:50:00Z",
            "window_start": "2020-07-30T11:50:00Z",
            "image": {
                "id": 1394,
                "name": "Atlas V 541 on the pad (Mars 2020/Perseverance rover & Ingenuity helicopter)",
                "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/atlas2520v252_image_20200729144937.jpg",
                "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305192627.jpeg",
                "credit": "United Launch Alliance",
                "license": {
                    "id": 10,
                    "name": "ULA Image Use Policy",
                    "priority": 3,
                    "link": "https://www.ulalaunch.com/terms-and-conditions"
                },
                "single_use": false,
                "variants": []
            },
            "infographic": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/infographic_images/atlas2520v252_infographic_20200806042150.png"
        }
    ],
    "expeditions": [],
    "spacestations": [],
    "program": [],
    "astronauts": []
}