# GitHub Issue Comments API (https://www.socialcrawl.dev/platforms/github/issue-comments) > Returns comments under `data.items[]` — each entry includes `id`, `user.login`, `body`, `reactions.total_count`, and `created_at`. Pass either an `/issues/N` or `/pull/N` URL; both resolve to the same comment thread on GitHub's API. Comments are returned in ascending `created_at` order (GitHub does not support re-sorting a single issue's comments). TL;DR: `GET /v1/github/issue/comments` costs 1 credit per call and returns SocialCrawl's unified JSON schema. Single x-api-key auth, 100 free credits on signup. ## Parameters | Parameter | Required | Description | | --- | --- | --- | | `url` | yes | GitHub HTML URL of the issue or PR. | | `since` | no | Only comments updated at or after this ISO 8601 timestamp. | | `per_page` | no | Comments per page (1–100). Defaults to 30. | | `page` | no | 1-indexed page number. | ## Code example ```bash curl "https://www.socialcrawl.dev/v1/github/issue/comments?url=https%3A%2F%2Fgithub.com%2Ffacebook%2Freact%2Fissues%2F27522" \ -H "x-api-key: sc_YOUR_API_KEY" ``` ## FAQ ### How do I get comments on a GitHub issue with an API? Send a GET request to /v1/github/issue/comments with the issue or pull request URL in the url parameter. SocialCrawl returns every comment on that thread — author, body markdown, reactions, and creation and update timestamps. ### Does it return comments on pull requests too? Yes. Pass a pull request URL and you get the PR's conversation comments back, the same way an issue URL returns issue comments. Both resolve through this single endpoint since GitHub shares the comment model across them. ### What fields does each comment include? Comment author, body as markdown, reaction counts (thumbs up, heart, and the rest), creation timestamp, last-edited timestamp, and the author's association with the repo (owner, member, contributor, or none). ### Can I feed issue threads into sentiment analysis? Yes. The comments come back as clean markdown with author and reaction data, so they drop into a sentiment or summarisation pipeline. Combine with the issue endpoint for the original post and the top-issues endpoint for an AI verdict. ### How much does the GitHub Issue Comments API cost? Each request costs 1 credit on the standard tier, regardless of how many comments come back. New accounts get 100 free credits with no credit card required — enough to pull around 100 full comment threads before you pay. See the full GitHub API: https://www.socialcrawl.dev/platforms/github ## Pricing - Standard endpoints: 1 credit per call - Advanced endpoints: 5 credits per call - Premium endpoints: 10 credits per call - 100 free credits on signup, no credit card required. Cached responses cost 0 credits. Credit packs never expire. - Full pricing: https://www.socialcrawl.dev/pricing ## Explore with AI Questions this API answers, phrased for an AI assistant: - How to get all comments on a GitHub issue with an API - What does the SocialCrawl GitHub Issue Comments API return?