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

{
    "id": 202,
    "url": "https://ll.thespacedevs.com/2.3.0/events/202/?format=api",
    "name": "Total Solar Eclipse in South America",
    "info_urls": [
        {
            "priority": 10,
            "source": "en.wikipedia.org",
            "title": "Solar eclipse of December 14, 2020 - Wikipedia",
            "description": "A total solar eclipse took place on Monday, December 14, 2020, when the Moon passed between Earth and the Sun, thereby totally or partly obscuring the image of the Sun for a viewer on Earth. Totality occurred in a narrow path across Earth's surface across parts of the South Pacific Ocean, southern S...",
            "feature_image": null,
            "url": "https://en.wikipedia.org/wiki/Solar_eclipse_of_December_14,_2020",
            "type": null,
            "language": {
                "id": 1,
                "name": "English",
                "code": "en"
            }
        }
    ],
    "vid_urls": [],
    "image": {
        "id": 994,
        "name": "Total solar eclipse",
        "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/total_solar_ecl_image_20201206083620.jpeg",
        "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305191332.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": "2020-12-14T15:30:00Z",
    "slug": "total-solar-eclipse-in-south-america",
    "type": {
        "id": 11,
        "name": "Celestial Event"
    },
    "description": "Camera views of the total solar eclipse in South America will be broadcasted on NASA TV.",
    "webcast_live": false,
    "location": "South America",
    "date_precision": null,
    "response_mode": "detailed",
    "duration": null,
    "updates": [],
    "last_updated": "2024-03-05T17:24:17Z",
    "agencies": [],
    "launches": [],
    "expeditions": [],
    "spacestations": [],
    "program": [],
    "astronauts": []
}