Skip to content
scrapeatlas.Dashboard

Search

Try in Playground

Search issues and pull requests, repositories or users with type=issues, repositories or users. Use source qualifiers, type-specific sorting and caller-selected pagination.

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

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

Query parameters
8
cursorstringquery

One-based result page. Alternative to page.

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.

querystringrequiredquery

GitHub issue/PR search query, up to 500 characters.

min 1 chars · max 500 chars

Examplerepo:example/repo is:issue
sortenumquery

Search: issues use reactions/comments/created/updated; repositories use stars/forks/help-wanted-issues/updated; users use followers/repositories/joined. Repository lists use created/updated/pushed/full_name.

one of: reactions, comments, created, updated, stars, forks, help-wanted-issues, followers, repositories, joined

orderenumquery

Search ascending or descending order.

one of: asc, desc

typeenumquery

Resource type selected by this operation.

one of: issues, repositories, users

Response fields
97
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.idstring

Always included.

data.items.urlstringnullable

Always included.

Always included.

data.items.content.textstringnullable

Always included.

data.items.content.media_urlsstring[]nullable

Always included.

data.items.content.thumbnail_urlstringnullable

Always included.

data.items.content.duration_secondsnumbernullable

Always included.

Always included.

data.items.author.usernamestringnullable

Always included.

data.items.author.display_namestringnullable

Always included.

data.items.author.avatar_urlstringnullable

Always included.

data.items.author.verifiedbooleannullable

Always included.

Always included.

data.items.engagement.viewsintegernullable

Always included.

data.items.engagement.likesintegernullable

Always included.

data.items.engagement.commentsintegernullable

Always included.

data.items.engagement.sharesintegernullable

Always included.

data.items.engagement.savesintegernullable

Always included.

Always included.

data.items.flags.nsfwbooleannullable

Always included.

data.items.flags.spoilerbooleannullable

Always included.

data.items.flags.pinnedbooleannullable

Always included.

data.items.flags.deletedboolean

Always included.

data.items.published_atstringnullable

Always included.

data.items.extobjectoptional

Optional.

data.items.numberinteger

Always included.

≥ 0

data.items.titlestring

Always included.

data.items.bodystringnullable

Always included.

data.items.html_urlstring

Always included.

absolute HTTPS URL

data.items.stateenum

Always included.

one of: open, closed

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.

data.items.labelsstring | object[]

Always included.

data.items.commentsinteger

Always included.

≥ 0

data.items.created_atstring

Always included.

data.items.updated_atstring

Always included.

data.items.closed_atstringnullable

Always included.

Always included.

data.items.reactions.total_countinteger

Always included.

≥ 0

Always included.

data.items.post.idstring

Always included.

data.items.post.urlstringnullable

Always included.

Always included.

data.items.post.content.textstringnullable

Always included.

data.items.post.content.media_urlsstring[]nullable

Always included.

data.items.post.content.thumbnail_urlstringnullable

Always included.

data.items.post.content.duration_secondsnumbernullable

Always included.

Always included.

data.items.post.author.usernamestringnullable

Always included.

data.items.post.author.display_namestringnullable

Always included.

data.items.post.author.avatar_urlstringnullable

Always included.

data.items.post.author.verifiedbooleannullable

Always included.

Always included.

data.items.post.engagement.viewsintegernullable

Always included.

data.items.post.engagement.likesintegernullable

Always included.

data.items.post.engagement.commentsintegernullable

Always included.

data.items.post.engagement.sharesintegernullable

Always included.

data.items.post.engagement.savesintegernullable

Always included.

Always included.

data.items.post.flags.nsfwbooleannullable

Always included.

data.items.post.flags.spoilerbooleannullable

Always included.

data.items.post.flags.pinnedbooleannullable

Always included.

data.items.post.flags.deletedboolean

Always included.

data.items.post.published_atstringnullable

Always included.

data.items.post.extobjectoptional

Optional.

data.totalintegernullableoptional

Optional.

data.total_countinteger

Always included.

≥ 0

data.incomplete_resultsboolean

Always included.

data.next_cursorstringnullable

Always included.

data.droppedinteger

Always included.

≥ 0

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.