Reddit Scraper

ENDPOINTS
GET/posts/by-url

Posts by URL

Find every Reddit post that shared an external URL: where, when, by whom, and how it scored.

QUERY PARAMS

Any external page URL.

Example: https://openai.com/index/chatgpt/

Opaque pagination cursor. Pass the next_cursor value from the previous page to get the next one. Omit for the first page.

Results per page.

Default: 25

Allowed values: 1-100

{
  "posts": [
    {
      "id": "1khg6v9",
      "title": "I stopped having 3 proper meals every day for around  16 months, and have not appetite for food. I feel sick looking or even smelling food. is anyone else going through something similar and how your dealing with it?",
      "link": "https://www.reddit.com/r/Health/comments/1khg6v9/i_stopped_having_3_proper_meals_every_day_for/",
      "type": "link",
      "text": null,
      "text_html": null,
      "external_link": "https://openai.com/index/chatgpt/",
      "domain": "openai.com",
      "created_at": "2025-05-08T03:10:01Z",
      "edited_at": null,
      "subreddit": {
        "name": "Health",
        "id": "2qh9z",
        "link": "https://www.reddit.com/r/Health/",
        "subscriber_count": 3612131,
        "type": "public"
      },
      "author": {
        "username": "Realistic_Park_4357",
        "id": "1kk0t6sp9m",
        "link": "https://www.reddit.com/user/Realistic_Park_4357/",
        "flair": null,
        "is_premium": false,
        "has_patreon_flair": false
      },
      "flair": null,
      "stats": {
        "score": 0,
        "upvote_ratio": 0.5,
        "comment_count": 0,
        "crosspost_count": 0,
        "view_count": null
      },
      "flags": {
        "is_self": false,
        "is_nsfw": false,
        "is_spoiler": false,
        "is_stickied": false,
        "is_pinned": false,
        "is_locked": false,
        "is_archived": true,
        "is_edited": false,
        "is_original_content": false,
        "is_contest_mode": false,
        "is_crosspost": false,
        "is_crosspostable": false,
        "is_meta": false,
        "is_media_only": false,
        "is_reddit_media": false,
        "is_robot_indexable": false,
        "is_score_hidden": false,
        "is_quarantined": false,
        "is_removed": true,
        "is_created_from_ads_ui": false,
        "allows_live_comments": false
      },
      "media": null,
      "poll": null,
      "crosspost_parent": null,
      "crosspost_parent_id": null,
      "thumbnail": null,
      "distinguished": null,
      "suggested_sort": null,
      "removed_by": "moderator",
      "category": null,
      "content_categories": [],
      "discussion_type": null,
      "treatment_tags": []
    },
    {
      "id": "1indlws",
      "title": "New media/Using AI for political analysis?",
      "link": "https://www.reddit.com/r/Republican/comments/1indlws/new_mediausing_ai_for_political_analysis/",
      "type": "link",
      "text": "[removed]",
      "text_html": "<!-- SC_OFF --><div class=\"md\"><p>[removed]</p>\n</div><!-- SC_ON -->",
      "external_link": "https://openai.com/index/chatgpt/",
      "domain": "openai.com",
      "created_at": "2025-02-12T00:06:00Z",
      "edited_at": null,
      "subreddit": {
        "name": "Republican",
        "id": "2qndt",
        "link": "https://www.reddit.com/r/Republican/",
        "subscriber_count": 229631,
        "type": "public"
      },
      "author": {
        "username": "Mteeee123",
        "id": "tqwlxf0q",
        "link": "https://www.reddit.com/user/Mteeee123/",
        "flair": null,
        "is_premium": false,
        "has_patreon_flair": false
      },
      "flair": {
        "text": "Discussion",
        "type": "text",
        "css_class": null,
        "template_id": "f9ef1a38-189a-11e2-bda2-12313d14a568",
        "background_color": "#1a1a1b",
        "text_color": "light",
        "emojis": []
      },
      "stats": {
        "score": 1,
        "upvote_ratio": 1.0,
        "comment_count": 0,
        "crosspost_count": 0,
        "view_count": null
      },
      "flags": {
        "is_self": false,
        "is_nsfw": false,
        "is_spoiler": false,
        "is_stickied": false,
        "is_pinned": false,
        "is_locked": false,
        "is_archived": true,
        "is_edited": false,
        "is_original_content": false,
        "is_contest_mode": false,
        "is_crosspost": false,
        "is_crosspostable": false,
        "is_meta": false,
        "is_media_only": false,
        "is_reddit_media": false,
        "is_robot_indexable": false,
        "is_score_hidden": false,
        "is_quarantined": false,
        "is_removed": true,
        "is_created_from_ads_ui": false,
        "allows_live_comments": false
      },
      "media": null,
      "poll": null,
      "crosspost_parent": null,
      "crosspost_parent_id": null,
      "thumbnail": null,
      "distinguished": null,
      "suggested_sort": "confidence",
      "removed_by": "reddit",
      "category": null,
      "content_categories": [],
      "discussion_type": null,
      "treatment_tags": []
    },
    {
      "id": "1h2v0c6",
      "title": "Best coding assistants for writing springboot and nodejs backend codes, please give me suggestions (paid work as well, I work as a dev and I’m allowed to use AI tools)",
      "link": "https://www.reddit.com/r/coding/comments/1h2v0c6/best_coding_assistants_for_writing_springboot_and/",
      "type": "link",
      "text": null,
      "text_html": null,
      "external_link": "https://openai.com/index/chatgpt/",
      "domain": "openai.com",
      "created_at": "2024-11-29T20:27:23Z",
      "edited_at": null,
      "subreddit": {
        "name": "coding",
        "id": "2rb2y",
        "link": "https://www.reddit.com/r/coding/",
        "subscriber_count": 646806,
        "type": "public"
      },
      "author": {
        "username": "makemoney_101",
        "id": "om51b61s",
        "link": "https://www.reddit.com/user/makemoney_101/",
        "flair": null,
        "is_premium": false,
        "has_patreon_flair": false
      },
      "flair": null,
      "stats": {
        "score": 0,
        "upvote_ratio": 0.29,
        "comment_count": 0,
        "crosspost_count": 0,
        "view_count": null
      },
      "flags": {
        "is_self": false,
        "is_nsfw": false,
        "is_spoiler": false,
        "is_stickied": false,
        "is_pinned": false,
        "is_locked": false,
        "is_archived": false,
        "is_edited": false,
        "is_original_content": false,
        "is_contest_mode": false,
        "is_crosspost": false,
        "is_crosspostable": false,
        "is_meta": false,
        "is_media_only": false,
        "is_reddit_media": false,
        "is_robot_indexable": true,
        "is_score_hidden": false,
        "is_quarantined": false,
        "is_removed": false,
        "is_created_from_ads_ui": false,
        "allows_live_comments": false
      },
      "media": null,
      "poll": null,
      "crosspost_parent": null,
      "crosspost_parent_id": null,
      "thumbnail": null,
      "distinguished": null,
      "suggested_sort": null,
      "removed_by": null,
      "category": null,
      "content_categories": [],
      "discussion_type": null,
      "treatment_tags": []
    },
    {
      "id": "1h2fsyd",
      "title": "We’ve been in a spectator democracy for many years, what’s the most likely next stage?",
      "link": "https://www.reddit.com/r/politics/comments/1h2fsyd/weve_been_in_a_spectator_democracy_for_many_years/",
      "type": "link",
      "text": "[removed]",
      "text_html": "<!-- SC_OFF --><div class=\"md\"><p>[removed]</p>\n</div><!-- SC_ON -->",
      "external_link": "https://openai.com/index/chatgpt/",
      "domain": "openai.com",
      "created_at": "2024-11-29T06:42:29Z",
      "edited_at": null,
      "subreddit": {
        "name": "politics",
        "id": "2cneq",
        "link": "https://www.reddit.com/r/politics/",
        "subscriber_count": 9270003,
        "type": "public"
      },
      "author": {
        "username": "cannabull89",
        "id": "ahi5j9eh",
        "link": "https://www.reddit.com/user/cannabull89/",
        "flair": null,
        "is_premium": false,
        "has_patreon_flair": false
      },
      "flair": {
        "text": "Disallowed Submission Type",
        "type": "richtext",
        "css_class": null,
        "template_id": null,
        "background_color": null,
        "text_color": null,
        "emojis": []
      },
      "stats": {
        "score": 1,
        "upvote_ratio": 1.0,
        "comment_count": 1,
        "crosspost_count": 0,
        "view_count": null
      },
      "flags": {
        "is_self": false,
        "is_nsfw": false,
        "is_spoiler": false,
        "is_stickied": false,
        "is_pinned": false,
        "is_locked": false,
        "is_archived": true,
        "is_edited": false,
        "is_original_content": false,
        "is_contest_mode": false,
        "is_crosspost": false,
        "is_crosspostable": false,
        "is_meta": false,
        "is_media_only": false,
        "is_reddit_media": false,
        "is_robot_indexable": false,
        "is_score_hidden": false,
        "is_quarantined": false,
        "is_removed": true,
        "is_created_from_ads_ui": false,
        "allows_live_comments": false
      },
      "media": null,
      "poll": null,
      "crosspost_parent": null,
      "crosspost_parent_id": null,
      "thumbnail": null,
      "distinguished": null,
      "suggested_sort": null,
      "removed_by": "moderator",
      "category": null,
      "content_categories": [],
      "discussion_type": null,
      "treatment_tags": []
    },
    {
      "id": "1do0lci",
      "title": "Try new powerful AI Tool",
      "link": "https://www.reddit.com/user/NoMycologist9214/comments/1do0lci/try_new_powerful_ai_tool/",
      "type": "link",
      "text": null,
      "text_html": null,
      "external_link": "https://openai.com/index/chatgpt/",
      "domain": "openai.com",
      "created_at": "2024-06-25T07:57:23Z",
      "edited_at": null,
      "subreddit": {
        "name": "u_NoMycologist9214",
        "id": "btgf8p",
        "link": "https://www.reddit.com/r/u_NoMycologist9214/",
        "subscriber_count": 0,
        "type": "user"
      },
      "author": {
        "username": "NoMycologist9214",
        "id": "137jgw5hkc",
        "link": "https://www.reddit.com/user/NoMycologist9214/",
        "flair": null,
        "is_premium": false,
        "has_patreon_flair": false
      },
      "flair": null,
      "stats": {
        "score": 1,
        "upvote_ratio": 1.0,
        "comment_count": 0,
        "crosspost_count": 0,
        "view_count": null
      },
      "flags": {
        "is_self": false,
        "is_nsfw": false,
        "is_spoiler": false,
        "is_stickied": false,
        "is_pinned": false,
        "is_locked": true,
        "is_archived": false,
        "is_edited": false,
        "is_original_content": false,
        "is_contest_mode": false,
        "is_crosspost": false,
        "is_crosspostable": false,
        "is_meta": false,
        "is_media_only": false,
        "is_reddit_media": false,
        "is_robot_indexable": true,
        "is_score_hidden": false,
        "is_quarantined": false,
        "is_removed": false,
        "is_created_from_ads_ui": true,
        "allows_live_comments": false
      },
      "media": {
        "type": "link",
        "images": [],
        "video": null,
        "embed": null,
        "preview": {
          "link": "https://external-preview.redd.it/2GgBgBA9sg6b_c7YwNl_7OzmRdzor1YZqKtxV_fxRyU.jpg?auto=webp&s=99705b11e76791af0a41b97a2458297fc7be3718",
          "width": 225,
          "height": 225
        }
      },
      "poll": null,
      "crosspost_parent": null,
      "crosspost_parent_id": null,
      "thumbnail": {
        "link": "https://b.thumbs.redditmedia.com/nEjSwlM2AbRQm7oAho1zYUK4F5LI9yGpTcCpnNj23DY.jpg",
        "width": 140,
        "height": 140
      },
      "distinguished": null,
      "suggested_sort": "qa",
      "removed_by": null,
      "category": null,
      "content_categories": [],
      "discussion_type": null,
      "treatment_tags": []
    },
    {
      "id": "1dnjtqa",
      "title": "View powerful AI Tool",
      "link": "https://www.reddit.com/user/staffer_05_stunts/comments/1dnjtqa/view_powerful_ai_tool/",
      "type": "link",
      "text": null,
      "text_html": null,
      "external_link": "https://openai.com/index/chatgpt/",
      "domain": "openai.com",
      "created_at": "2024-06-24T17:55:57Z",
      "edited_at": null,
      "subreddit": {
        "name": "u_staffer_05_stunts",
        "id": "btb198",
        "link": "https://www.reddit.com/r/u_staffer_05_stunts/",
        "subscriber_count": 0,
        "type": "user"
      },
      "author": {
        "username": "staffer_05_stunts",
        "id": "1364678tuo",
        "link": "https://www.reddit.com/user/staffer_05_stunts/",
        "flair": null,
        "is_premium": false,
        "has_patreon_flair": false
      },
      "flair": null,
      "stats": {
        "score": 1,
        "upvote_ratio": 1.0,
        "comment_count": 0,
        "crosspost_count": 0,
        "view_count": null
      },
      "flags": {
        "is_self": false,
        "is_nsfw": false,
        "is_spoiler": false,
        "is_stickied": false,
        "is_pinned": false,
        "is_locked": true,
        "is_archived": false,
        "is_edited": false,
        "is_original_content": false,
        "is_contest_mode": false,
        "is_crosspost": false,
        "is_crosspostable": false,
        "is_meta": false,
        "is_media_only": false,
        "is_reddit_media": false,
        "is_robot_indexable": true,
        "is_score_hidden": false,
        "is_quarantined": false,
        "is_removed": false,
        "is_created_from_ads_ui": true,
        "allows_live_comments": false
      },
      "media": {
        "type": "link",
        "images": [],
        "video": null,
        "embed": null,
        "preview": {
          "link": "https://external-preview.redd.it/2GgBgBA9sg6b_c7YwNl_7OzmRdzor1YZqKtxV_fxRyU.jpg?auto=webp&s=99705b11e76791af0a41b97a2458297fc7be3718",
          "width": 225,
          "height": 225
        }
      },
      "poll": null,
      "crosspost_parent": null,
      "crosspost_parent_id": null,
      "thumbnail": {
        "link": "https://b.thumbs.redditmedia.com/nEjSwlM2AbRQm7oAho1zYUK4F5LI9yGpTcCpnNj23DY.jpg",
        "width": 140,
        "height": 140
      },
      "distinguished": null,
      "suggested_sort": "qa",
      "removed_by": null,
      "category": null,
      "content_categories": [],
      "discussion_type": null,
      "treatment_tags": []
    },
    {
      "id": "1dnj6xn",
      "title": "Smart ai tools that has ever been created",
      "link": "https://www.reddit.com/user/Competitive_Ebb740/comments/1dnj6xn/smart_ai_tools_that_has_ever_been_created/",
      "type": "link",
      "text": null,
      "text_html": null,
      "external_link": "https://openai.com/index/chatgpt/",
      "domain": "openai.com",
      "created_at": "2024-06-24T17:29:05Z",
      "edited_at": null,
      "subreddit": {
        "name": "u_Competitive_Ebb740",
        "id": "btaa6q",
        "link": "https://www.reddit.com/r/u_Competitive_Ebb740/",
        "subscriber_count": 0,
        "type": "user"
      },
      "author": null,
      "flair": null,
      "stats": {
        "score": 1,
        "upvote_ratio": 1.0,
        "comment_count": 0,
        "crosspost_count": 0,
        "view_count": null
      },
      "flags": {
        "is_self": false,
        "is_nsfw": false,
        "is_spoiler": false,
        "is_stickied": false,
        "is_pinned": false,
        "is_locked": true,
        "is_archived": false,
        "is_edited": false,
        "is_original_content": false,
        "is_contest_mode": false,
        "is_crosspost": false,
        "is_crosspostable": false,
        "is_meta": false,
        "is_media_only": false,
        "is_reddit_media": false,
        "is_robot_indexable": true,
        "is_score_hidden": false,
        "is_quarantined": false,
        "is_removed": false,
        "is_created_from_ads_ui": true,
        "allows_live_comments": false
      },
      "media": {
        "type": "link",
        "images": [],
        "video": null,
        "embed": null,
        "preview": {
          "link": "https://external-preview.redd.it/2GgBgBA9sg6b_c7YwNl_7OzmRdzor1YZqKtxV_fxRyU.jpg?auto=webp&s=99705b11e76791af0a41b97a2458297fc7be3718",
          "width": 225,
          "height": 225
        }
      },
      "poll": null,
      "crosspost_parent": null,
      "crosspost_parent_id": null,
      "thumbnail": {
        "link": "https://b.thumbs.redditmedia.com/nEjSwlM2AbRQm7oAho1zYUK4F5LI9yGpTcCpnNj23DY.jpg",
        "width": 140,
        "height": 140
      },
      "distinguished": null,
      "suggested_sort": "qa",
      "removed_by": null,
      "category": null,
      "content_categories": [],
      "discussion_type": null,
      "treatment_tags": []
    },
    {
      "id": "1dnnv6j",
      "title": "Learn about the most powerful AI in the world - ChatGPT",
      "link": "https://www.reddit.com/user/poshest-quietus-0x/comments/1dnnv6j/learn_about_the_most_powerful_ai_in_the_world/",
      "type": "link",
      "text": null,
      "text_html": null,
      "external_link": "https://openai.com/index/chatgpt/",
      "domain": "openai.com",
      "created_at": "2024-06-24T20:42:49Z",
      "edited_at": null,
      "subreddit": {
        "name": "u_poshest-quietus-0x",
        "id": "btcbnr",
        "link": "https://www.reddit.com/r/u_poshest-quietus-0x/",
        "subscriber_count": 0,
        "type": "user"
      },
      "author": null,
      "flair": null,
      "stats": {
        "score": 0,
        "upvote_ratio": 0.18,
        "comment_count": 0,
        "crosspost_count": 0,
        "view_count": null
      },
      "flags": {
        "is_self": false,
        "is_nsfw": false,
        "is_spoiler": false,
        "is_stickied": false,
        "is_pinned": false,
        "is_locked": true,
        "is_archived": false,
        "is_edited": false,
        "is_original_content": false,
        "is_contest_mode": false,
        "is_crosspost": false,
        "is_crosspostable": false,
        "is_meta": false,
        "is_media_only": false,
        "is_reddit_media": false,
        "is_robot_indexable": true,
        "is_score_hidden": true,
        "is_quarantined": false,
        "is_removed": false,
        "is_created_from_ads_ui": true,
        "allows_live_comments": false
      },
      "media": {
        "type": "link",
        "images": [],
        "video": null,
        "embed": null,
        "preview": {
          "link": "https://external-preview.redd.it/2GgBgBA9sg6b_c7YwNl_7OzmRdzor1YZqKtxV_fxRyU.jpg?auto=webp&s=99705b11e76791af0a41b97a2458297fc7be3718",
          "width": 225,
          "height": 225
        }
      },
      "poll": null,
      "crosspost_parent": null,
      "crosspost_parent_id": null,
      "thumbnail": {
        "link": "https://b.thumbs.redditmedia.com/nEjSwlM2AbRQm7oAho1zYUK4F5LI9yGpTcCpnNj23DY.jpg",
        "width": 140,
        "height": 140
      },
      "distinguished": null,
      "suggested_sort": "qa",
      "removed_by": null,
      "category": null,
      "content_categories": [],
      "discussion_type": null,
      "treatment_tags": []
    },
    {
      "id": "1dmj9q6",
      "title": "ChatGPT is the smartest AI tool that has ever been created!",
      "link": "https://www.reddit.com/user/FreshApps/comments/1dmj9q6/chatgpt_is_the_smartest_ai_tool_that_has_ever/",
      "type": "link",
      "text": null,
      "text_html": null,
      "external_link": "https://openai.com/index/chatgpt/",
      "domain": "openai.com",
      "created_at": "2024-06-23T10:33:12Z",
      "edited_at": null,
      "subreddit": {
        "name": "u_FreshApps",
        "id": "bsybol",
        "link": "https://www.reddit.com/r/u_FreshApps/",
        "subscriber_count": 0,
        "type": "user"
      },
      "author": {
        "username": "FreshApps",
        "id": "pt9pyzxvv",
        "link": "https://www.reddit.com/user/FreshApps/",
        "flair": null,
        "is_premium": false,
        "has_patreon_flair": false
      },
      "flair": null,
      "stats": {
        "score": 1,
        "upvote_ratio": 1.0,
        "comment_count": 0,
        "crosspost_count": 0,
        "view_count": null
      },
      "flags": {
        "is_self": false,
        "is_nsfw": false,
        "is_spoiler": false,
        "is_stickied": false,
        "is_pinned": false,
        "is_locked": true,
        "is_archived": false,
        "is_edited": false,
        "is_original_content": false,
        "is_contest_mode": false,
        "is_crosspost": false,
        "is_crosspostable": false,
        "is_meta": false,
        "is_media_only": false,
        "is_reddit_media": false,
        "is_robot_indexable": true,
        "is_score_hidden": false,
        "is_quarantined": false,
        "is_removed": false,
        "is_created_from_ads_ui": true,
        "allows_live_comments": false
      },
      "media": {
        "type": "link",
        "images": [],
        "video": null,
        "embed": null,
        "preview": {
          "link": "https://external-preview.redd.it/2GgBgBA9sg6b_c7YwNl_7OzmRdzor1YZqKtxV_fxRyU.jpg?auto=webp&s=99705b11e76791af0a41b97a2458297fc7be3718",
          "width": 225,
          "height": 225
        }
      },
      "poll": null,
      "crosspost_parent": null,
      "crosspost_parent_id": null,
      "thumbnail": {
        "link": "https://b.thumbs.redditmedia.com/nEjSwlM2AbRQm7oAho1zYUK4F5LI9yGpTcCpnNj23DY.jpg",
        "width": 140,
        "height": 140
      },
      "distinguished": null,
      "suggested_sort": "qa",
      "removed_by": null,
      "category": null,
      "content_categories": [],
      "discussion_type": null,
      "treatment_tags": []
    },
    {
      "id": "1dmufwu",
      "title": "ChatGPT is a sibling model to InstructGPT, which is trained to follow an instruction in a prompt and provide a detailed response.",
      "link": "https://www.reddit.com/user/PranceGrowing/comments/1dmufwu/chatgpt_is_a_sibling_model_to_instructgpt_which/",
      "type": "link",
      "text": null,
      "text_html": null,
      "external_link": "https://openai.com/index/chatgpt/",
      "domain": "openai.com",
      "created_at": "2024-06-23T19:44:32Z",
      "edited_at": null,
      "subreddit": {
        "name": "u_PranceGrowing",
        "id": "bt28ju",
        "link": "https://www.reddit.com/r/u_PranceGrowing/",
        "subscriber_count": 0,
        "type": "user"
      },
      "author": {
        "username": "PranceGrowing",
        "id": "133sb9p3q8",
        "link": "https://www.reddit.com/user/PranceGrowing/",
        "flair": null,
        "is_premium": false,
        "has_patreon_flair": false
      },
      "flair": null,
      "stats": {
        "score": 0,
        "upvote_ratio": 0.14,
        "comment_count": 0,
        "crosspost_count": 0,
        "view_count": null
      },
      "flags": {
        "is_self": false,
        "is_nsfw": false,
        "is_spoiler": false,
        "is_stickied": false,
        "is_pinned": false,
        "is_locked": true,
        "is_archived": false,
        "is_edited": false,
        "is_original_content": false,
        "is_contest_mode": false,
        "is_crosspost": false,
        "is_crosspostable": false,
        "is_meta": false,
        "is_media_only": false,
        "is_reddit_media": false,
        "is_robot_indexable": true,
        "is_score_hidden": true,
        "is_quarantined": false,
        "is_removed": false,
        "is_created_from_ads_ui": true,
        "allows_live_comments": false
      },
      "media": {
        "type": "link",
        "images": [],
        "video": null,
        "embed": null,
        "preview": {
          "link": "https://external-preview.redd.it/2GgBgBA9sg6b_c7YwNl_7OzmRdzor1YZqKtxV_fxRyU.jpg?auto=webp&s=99705b11e76791af0a41b97a2458297fc7be3718",
          "width": 225,
          "height": 225
        }
      },
      "poll": null,
      "crosspost_parent": null,
      "crosspost_parent_id": null,
      "thumbnail": {
        "link": "https://b.thumbs.redditmedia.com/nEjSwlM2AbRQm7oAho1zYUK4F5LI9yGpTcCpnNj23DY.jpg",
        "width": 140,
        "height": 140
      },
      "distinguished": null,
      "suggested_sort": "qa",
      "removed_by": null,
      "category": null,
      "content_categories": [],
      "discussion_type": null,
      "treatment_tags": []
    }
  ],
  "next_cursor": null,
  "has_more": false,
  "url": "https://openai.com/index/chatgpt/"
}