Skip to content
scrapeatlas.Dashboard

Comments

Try in Playground

One page of issue discussion comments, ordered by source creation time, with text, author, reaction count and timestamps.

GET/v1/github/issue/commentsx-api-key
x-api-keystringrequiredheader

Your ScrapeAtlas customer key. Create one on /account/ and set SCRAPEATLAS_API_KEY.

Query parameters
6
urlstringrequiredquery

Canonical HTTPS github.com URL of the user, repository or issue required by this route.

max 2048 chars

Examplehttps://github.com/example/repo/issues/1
cursorstringquery

One-based page cursor; activity cursors step backward by month.

pagestringquery

Native one-based API page, alternative to cursor.

limitstringquery

Page size 1–100, alternative to per_page.

per_pagestringquery

Native page size 1–100.

sincestringquery

Inclusive date/timestamp filter, or trending daily/weekly/monthly range.

Response fields
59
platformstringoptional

Optional.

endpointstringoptional

Optional.

successboolean

Whether retrieval returned usable data.

statusenum

success, partial, failed or challenged.

one of: success, partial

requestIdstring

Request correlation UUID.

sourceUrlstring

Public source URL.

absolute HTTPS URL

fetchedAtstring

UTC fetch time.

Completeness of this bounded response, not complete account enumeration.

coverage.sourceenum

Always included.

one of: public_api, public_html

coverage.completeboolean

Always included.

coverage.warningsstring[]

Always included.

Combined upstream attempts, decoded bytes and elapsed milliseconds.

accounting.upstreamRequestsinteger

Always included.

≥ 0

accounting.responseBytesinteger

Always included.

≥ 0

accounting.durationMsnumber

Always included.

≥ 0

Route-specific compatibility payload. See endpoint description and research coverage notes.

Always included.

up to 100 items

data.items.idinteger

Always included.

≥ 0

data.items.bodystring

Always included.

data.items.html_urlstring

Always included.

absolute HTTPS URL

data.items.created_atstring

Always included.

data.items.updated_atstring

Always included.

Always included.

data.items.user.idinteger

Always included.

≥ 0

data.items.user.loginstring

Always included.

data.items.user.node_idstring

Always included.

data.items.user.avatar_urlstring

Always included.

absolute HTTPS URL

data.items.user.html_urlstring

Always included.

absolute HTTPS URL

data.items.user.typestring

Always included.

data.items.user.site_adminboolean

Always included.

Always included.

data.items.reactions.total_countinteger

Always included.

≥ 0

Always included.

data.items.comment.idstring

Always included.

data.items.comment.urlstring

Always included.

absolute HTTPS URL

data.items.comment.parent_idstringnullable

Always included.

data.items.comment.post_idstring

Always included.

data.items.comment.textstring

Always included.

Always included.

data.items.comment.author.usernamestringnullable

Always included.

data.items.comment.author.display_namestringnullable

Always included.

data.items.comment.author.avatar_urlstringnullable

Always included.

data.items.comment.author.verifiedbooleannullable

Always included.

Always included.

data.items.comment.engagement.likesinteger

Always included.

≥ 0

data.items.comment.engagement.repliesintegernullable

Always included.

Always included.

data.items.comment.flags.deletedboolean

Always included.

data.items.comment.flags.pinnedbooleannullable

Always included.

data.items.comment.published_atstring

Always included.

data.items.comment.repliesJSON[]nullable

Always included.

data.items.comment.extobject

Always included.

data.next_cursorstringnullable

Always included.

data.droppedintegeroptional

Optional.

≥ 0

data.totalintegernullableoptional

Optional.

Always included.

pagination.next_cursorstringnullable

Always included.

pagination.has_moreboolean

Always included.

pagination.page_sizeintegeroptional

Optional.

≥ 0

HTTP 200 returns the success variant. Check status: partial means usable data with warnings, and failed or challenged requests carry a failure object described in Errors & responses.

Error codes
8
HTTPfailure.codeMeaning
400invalid_requestInvalid, duplicate or unsupported parameters.
401unauthorizedInvalid worker key.
404not_foundPublic source record unavailable; SocialFetch aliases return data.lookupStatus=not_found with HTTP 200.
429upstream_rate_limitedGitHub throttled retrieval.
502upstream_error upstream_challenged unsupported_pageSource retrieval failed or the source contract changed.
502unsafe_redirect response_too_large payload_too_complex request_limitA fixed safety or resource boundary was reached.
503busyAll worker slots are occupied.
504timeoutTotal deadline expired.