List posts from any platform
posts_listDiscover posts from sitemaps, JSON lists, or Ghost API to identify URLs eligible for SEO snapshot, verdict, or cohort analysis. Filter by age or publish date.
Instructions
Discover posts via an XML sitemap (POSTS_SITEMAP_URL or the sitemap_url arg), a JSON override list (POSTS_LIST), or - if configured - the Ghost Admin API. Pass an explicit urls[] to skip discovery entirely.
Returns metadata: url, title, published_at, age_days, tags. Filter by minimum age or published-after date.
When to use: discover which URLs are eligible for snapshot / verdict / cohort analysis. Works with any CMS that exposes a sitemap.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| urls | No | Explicit list of post URLs to return directly, bypassing sitemap discovery. | |
| limit | No | ||
| since | No | ISO date - only return posts published after this date. | |
| sitemap_url | No | URL of an XML sitemap to enumerate posts. Overrides POSTS_SITEMAP_URL env var. Required if neither POSTS_SITEMAP_URL nor POSTS_LIST is set. | |
| min_age_days | No | Skip posts younger than this many days. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| posts | Yes |