Skip to main content
GET
/
posts
/
top
cURL
curl --request GET \
  --url https://api.substackapi.dev/posts/top \
  --header 'X-API-Key: <api-key>'
[
  {
    "slug": "my-post",
    "url": "https://example.substack.com/p/my-post",
    "title": "My Post",
    "description": "This is a description of my post",
    "excerpt": "This is an excerpt of my post",
    "body_html": "<p>This is the body of my post</p>",
    "reading_time_minutes": 5,
    "audio_url": "https://example.com/my-post.mp3",
    "date": "2025-03-20T15:30:00Z",
    "likes": 100,
    "paywall": false,
    "cover_image": {
      "original": "https://example.com/my-post.jpg",
      "og": "https://example.com/my-post.jpg",
      "small": "https://example.com/my-post.jpg",
      "medium": "https://example.com/my-post.jpg",
      "large": "https://example.com/my-post.jpg"
    },
    "cover_image_color_palette": {
      "vibrant": "rgb(0, 0, 0)",
      "light_vibrant": "rgb(0, 0, 0)",
      "dark_vibrant": "rgb(0, 0, 0)",
      "muted": "rgb(0, 0, 0)",
      "light_muted": "rgb(0, 0, 0)",
      "dark_muted": "rgb(0, 0, 0)"
    },
    "author": "John Doe",
    "author_image": {
      "original": "https://example.com/my-post.jpg",
      "small": "https://example.com/my-post.jpg",
      "medium": "https://example.com/my-post.jpg",
      "large": "https://example.com/my-post.jpg"
    }
  }
]

Authorizations

X-API-Key
string
header
required

Query Parameters

publication_url
string
required
limit
integer
default:10
Required range: 1 <= x <= 50
offset
integer
default:0
Required range: x >= 0

Response

slug
string
Example:
url
string
Example:
title
string
Example:
description
string
Example:
excerpt
string | null
Example:
body_html
string | null
Example:
reading_time_minutes
number | null
Example:
audio_url
string | null
Example:
date
string
Example:
likes
number
Example:
paywall
boolean
Example:
cover_image
object
cover_image_color_palette
object
author
string
Example:
author_image
object