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

{
    "id": 251,
    "url": "https://lldev.thespacedevs.com/2.3.0/events/251/?format=api",
    "name": "NASA Mars 2020 Ingenuity Second Flight",
    "info_urls": [
        {
            "priority": 10,
            "source": "mars.nasa.gov",
            "title": "We're Getting Ready for Ingenuity’s Second Flight - NASA",
            "description": "With the first flight of Ingenuity a success, we’re looking toward our second taking place on April 22, which is the 18th of the 30 sols (Martian days) of our flight test window.",
            "feature_image": null,
            "url": "https://mars.nasa.gov/technology/helicopter/status/294/were-getting-ready-for-ingenuitys-second-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-22T09:30:00Z",
    "slug": "nasa-mars-2020-ingenuity-second-flight",
    "type": {
        "id": 14,
        "name": "Test Flight"
    },
    "description": "For its second flight, the Ingenuity helicopter will climb to 16 feet (5 meters) and, after hovering briefly, it will go into a slight tilt and move sideways for 7 feet (2 meters). Then Ingenuity will come to a stop, hover in place, and make turns to point its color camera in different directions before heading back to the center of the airfield to land.",
    "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:33Z",
    "agencies": [],
    "launches": [],
    "expeditions": [],
    "spacestations": [],
    "program": [],
    "astronauts": []
}