Fetches the Astronomy Picture of the Day for today, a specific date, a date range, or a random selection. Each entry includes the image or video URL, a title, and an explanatory write-up. Video entries also carry a thumbnail URL when requested.
You want today's astronomy picture, a specific date's, a date range, or a random set.
Asteroid approaches or Mars rover photos, which are separate operations.
0.1 credits / call
Set these inside the intent when you run it.
A single calendar date to fetch the picture for, in YYYY-MM-DD format.
A start and end date to fetch a span of daily entries, in YYYY-MM-DD format.
How many random astronomy pictures to return (1 to 100).
One or more astronomy picture entries, each with a title, explanation, media URL, and optional copyright attribution.
Run this sub-skill directly: pin it with operation and pass its inputs in the intent. (Omit operation and the Space & Science skill will route from your intent instead.)
curl -X POST "https://skill.askfaro.com/skills/space/run" \
-H "Authorization: Bearer $FARO_TOKEN" \
-H "Content-Type: application/json" \
-d '{"intent":{"operation":"apod","date":"1997-07-04","date_range":"2024-01-01 to 2024-01-07","count":"5"}}'Example requests