Skip to content
scrapeatlas.Dashboard

Trending

Try in Playground

Discover trending repositories or developers with type=repositories or developers, programming language and daily, weekly or monthly periods.

GET/v1/github/trendingx-api-key
x-api-keystringrequiredheader

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

Query parameters
5
languagestringquery

Programming language filter for trending.

min 1 chars · max 80 chars

sinceenumquery

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

one of: daily, weekly, monthly

spoken_language_codestringquery

Optional spoken language filter for trending repositories.

spokenLanguageCodestringquery

Alias for spoken_language_code.

typeenumquery

Resource type selected by this operation.

one of: repositories, developers

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

sinceenum

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

one of: daily, weekly, monthly

languagestringnullable

Programming language filter for trending.

spoken_language_codestringnullable

Optional spoken language filter for trending repositories.

Always included.

up to 100 items

repositories.rankinteger

Always included.

≥ 0

repositories.ownerstring

Always included.

repositories.repostring

Always included.

repositories.full_namestring

Always included.

repositories.urlstring

Always included.

absolute HTTPS URL

repositories.descriptionstringnullable

Always included.

repositories.languagestringnullable

Always included.

repositories.language_colorstringnullable

Always included.

repositories.stars_countintegernullable

Always included.

repositories.forks_countintegernullable

Always included.

repositories.stars_todayintegernullable

Always included.

repositories.stars_today_textstringnullable

Always included.

Always included.

repositories.built_by.usernamestring

Always included.

repositories.built_by.avatar_urlstringnullable

Always included.

repositories.starsInPeriodintegernullableoptional

Optional.

repositories.periodenumoptional

Optional.

one of: daily, weekly, monthly

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

data.sinceenum

Always included.

one of: daily, weekly, monthly

data.languagestringnullable

Always included.

data.spokenLanguageCodestringnullable

Always included.

Always included.

up to 100 items

data.repositories.rankinteger

Always included.

≥ 0

data.repositories.ownerstring

Always included.

data.repositories.repostring

Always included.

data.repositories.urlstring

Always included.

absolute HTTPS URL

data.repositories.descriptionstringnullable

Always included.

data.repositories.languagestringnullable

Always included.

data.repositories.starsInPeriodintegernullableoptional

Optional.

data.repositories.periodenumoptional

Optional.

one of: daily, weekly, monthly

data.repositories.fullNamestring

Always included.

data.repositories.languageColorstringnullable

Always included.

data.repositories.starsCountintegernullable

Always included.

data.repositories.forksCountintegernullable

Always included.

data.repositories.starsTodayintegernullable

Always included.

data.repositories.starsTodayTextstringnullable

Always included.

Always included.

data.repositories.builtBy.usernamestring

Always included.

data.repositories.builtBy.avatarUrlstringnullable

Always included.

data.totalResultsinteger

Always included.

≥ 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.