Black FridayA full year of Eden for up to 50% off, until MondaySee the deal
Social data

Posts

Read one post by its link or Eden id, with full text and transcript, or search posts across seven platforms.

View as markdown

Read one post by link or by id, or search every post in Eden's index. Platforms: twitter (x works too), linkedin, instagram, tiktok, youtube, substack, and threads.

GET https://api.eden.so/v1/posts?url={link}
GET https://api.eden.so/v1/posts/{platform}/{id}
GET https://api.eden.so/v1/posts/search

Read a post by link

GET /v1/posts?url= takes a link to any post Eden can read: YouTube, Instagram, TikTok, X, LinkedIn, Threads, Substack, or Loom. It returns the full text, the transcript, stats, and the creator.

ParamRequiredWhat it is
urlYesThe full link to the post, starting with https://. URL-encode it.
curl -G "https://api.eden.so/v1/posts" \
  --data-urlencode "url=https://www.youtube.com/watch?v=Xyz123AbC45" \
  -H "Authorization: Bearer $EDEN_API_KEY"
{
  "ok": true,
  "post": {
    "id": "sample-post-0",
    "platform": "youtube",
    "url": "https://www.youtube.com/watch?v=sample0",
    "type": "video",
    "title": "How I write a week of posts in one hour",
    "text": "Here is the routine I use every Monday to write the whole week.",
    "text_truncated": false,
    "published_at": "2026-11-20T00:00:00.000Z",
    "duration_seconds": 540,
    "language": "en",
    "hashtags": ["writing", "creators"],
    "stats": {
      "views": 240000,
      "likes": 12400,
      "comments": 610,
      "shares": 900,
      "engagement_rate": 0.054,
      "outlier_score": 4.2,
      "creator_percentile": 99
    },
    "labels": {
      "topic": "Business and finance",
      "content_type": "Tutorial",
      "format": "talking head",
      "mood": "practical",
      "tags": ["writing", "content systems"],
      "summary": "A creator explains a simple weekly writing routine."
    },
    "transcript": {
      "text": "Most people think they need more time to write. You need a system. Here is mine. Step one, I keep every idea in one place...",
      "status": "available",
      "truncated": false,
      "source": "cache"
    },
    "slide_text": { "text": null, "status": "not-supported", "truncated": false },
    "on_screen_text": { "text": null, "status": "not-supported" },
    "creator": {
      "platform": "youtube",
      "username": "noravale",
      "display_name": "Nora Vale",
      "avatar_url": null,
      "profile_url": "https://www.youtube.com/@noravale",
      "followers": 182000
    }
  }
}

A link Eden has never seen can answer 202 with "status": "queued" and retry_after_seconds. Wait, then call again. A Loom link answers with only id (null), platform, url, and transcript.

Read a post by id

GET /v1/posts/{platform}/{id} returns the same post as above for a post Eden already has. The id is the id from any other answer (a search, a creator's posts, or a transcript's post_id).

curl "https://api.eden.so/v1/posts/youtube/sample-post-0" \
  -H "Authorization: Bearer $EDEN_API_KEY"

An id Eden doesn't have answers 404.

Post fields

FieldWhat it is
idEden's id for the post.
platformOne of the seven platforms.
urlThe post on its platform.
typeThe kind of post, like video, short, post, note, or article.
titleThe title, for posts that have one, like YouTube videos and Substack articles. Otherwise null.
textThe full caption or post text. text_truncated is true when a very long one was cut short.
published_atWhen it was posted, as an ISO date.
duration_secondsVideo length, when known.
languageLanguage code, like en, when known.
hashtagsHashtags in the post.
statsviews, likes, comments, shares, engagement_rate, outlier_score, creator_percentile. Any can be null.
labelsEden's labels: topic, content_type, format, mood, tags, and a one-line summary.
transcriptSpoken words. Same block as on Transcripts.
slide_textWords on an Instagram carousel's slides.
on_screen_textWords shown on screen in a reel or TikTok.
creatorplatform, username, display_name, avatar_url, profile_url, followers.

outlier_score is how the post did against the creator's own normal: 1 is a normal post, 4.2 did 4.2 times better. creator_percentile is where it ranks among that creator's posts (99 is their top 1%).

Search posts

GET /v1/posts/search searches every post in Eden's index. All params are optional. With no q, it returns the top posts for your filters.

ParamWhat it is
qWords to search for, like morning routine.
platformsA comma-separated list, like youtube,tiktok. Leave it out for all seven.
sinceHow far back: week, month, quarter, half, year, two_years, or all.
sortoutlier (did best against the creator's normal), recent, engagement, or views.
min_outlierOnly posts with at least this outlier_score, like 3.
limitHow many posts, from 1 to 25.
curl -G "https://api.eden.so/v1/posts/search" \
  --data-urlencode "q=morning routine" \
  -d "platforms=youtube,tiktok" -d "since=month" -d "sort=outlier" -d "limit=1" \
  -H "Authorization: Bearer $EDEN_API_KEY"
{
  "ok": true,
  "query": "morning routine",
  "posts": [
    {
      "id": "sample-post-0",
      "platform": "youtube",
      "url": "https://www.youtube.com/watch?v=sample0",
      "type": "video",
      "title": "How I write a week of posts in one hour",
      "text_preview": "A short walk through the exact steps, with real examples from this week.",
      "text_truncated": true,
      "published_at": "2026-11-20T00:00:00.000Z",
      "duration_seconds": 540,
      "language": "en",
      "thumbnail_url": "https://eden.so/images/sample/post-0.jpg",
      "stats": {
        "views": 240000,
        "likes": 12400,
        "comments": 610,
        "shares": 900,
        "engagement_rate": 0.054,
        "outlier_score": 4.2,
        "creator_percentile": 99
      },
      "labels": {
        "topic": "Business and finance",
        "content_type": "Tutorial",
        "format": "talking head",
        "mood": "practical",
        "tags": ["writing", "content systems"],
        "summary": "A creator explains a simple weekly writing routine."
      },
      "is_outlier": true,
      "creator": {
        "platform": "youtube",
        "username": "noravale",
        "display_name": "Nora Vale",
        "avatar_url": "https://eden.so/images/sample/nora-vale.jpg",
        "profile_url": "https://www.youtube.com/@noravale",
        "followers": 182000
      }
    }
  ]
}

Search results are shorter than a full post: text_preview instead of text, a thumbnail_url, and is_outlier when Eden has marked it. There is no transcript. Read one post by id to get it. query is null when you leave q out.

An empty posts list is free.

Errors

HTTPstatusWhen
202queuedEden is fetching a new link for the first time.
404not-foundNo post with that link or id.
422invalidA param is wrong, like sort=best or limit=100.
422unsupportedEden can't read this kind of link.

All errors are on the Errors page.