Skills/Space & Science/Astronomy Picture of the Day

Astronomy Picture of the Day

0.1 credits / call

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.

Use when

You want today's astronomy picture, a specific date's, a date range, or a random set.

Not for

Asteroid approaches or Mars rover photos, which are separate operations.

Cost

0.1 credits / call

What it accepts

Set these inside the intent when you run it.

dateoptional

A single calendar date to fetch the picture for, in YYYY-MM-DD format.

date_rangeoptional

A start and end date to fetch a span of daily entries, in YYYY-MM-DD format.

countoptional

How many random astronomy pictures to return (1 to 100).

What you get back

One or more astronomy picture entries, each with a title, explanation, media URL, and optional copyright attribution.

Run it

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

  • Show me today's astronomy picture
  • What was the astronomy picture on July 4, 1997?
  • Give me 5 random space photos