GitHub
GitHub users' public profiles with their linked social accounts and profile README, the repositories a user starred and when, a user's recent public activity and the issues and pull requests they commented on, and a search for accounts by the name on the profile.
Call these actions with your String API key; see Authentication. Every call answers with the envelope described in Responses & errors, whose data holds the rows below.
- Site:
github - Version:
1.0.0 - Reads from:
github.com
| Action | Description | Listed price |
|---|---|---|
profile | Read GitHub users' public profiles: name, bio, company, location, website, public email, X username, follower and repository counts, account age, the social accounts linked on the profile (LinkedIn, Mastodon, Bluesky and others, each with its service), and the profile README. Up to 25 users per call. | Billed per request at your plan's rates |
starred | List the repositories a GitHub user starred, most recent first, with when they starred each: the repository's name, owner, description, website, language, topics, license, star and fork counts and last push. 100 stars per page, up to 50 pages. | Billed per request at your plan's rates |
activity | Read a GitHub user's public activity: their activity feed for the last 90 days (issue and pull request comments with their text, issues they opened with their text, pull requests they opened or merged, releases with their notes, pushes with their branch and head commit, stars, forks, new branches and repositories) and, further back, the issues and pull requests anywhere on GitHub they commented on, with title, state and who opened each. | Billed per request at your plan's rates |
user-search | Find GitHub accounts by the name on their profile, matched as a phrase, optionally only those whose location contains a place. Each row is one account's login, id, link, avatar and rank; the profile action reads the rest. Up to 100 accounts. | Billed per request at your plan's rates |
profile
Read GitHub users' public profiles: name, bio, company, location, website, public email, X username, follower and repository counts, account age, the social accounts linked on the profile (LinkedIn, Mastodon, Bluesky and others, each with its service), and the profile README. Up to 25 users per call.
POST https://request.usestring.ai/v1/integrations/github/profileInput
Unknown fields are rejected.
| Field | Type | Description |
|---|---|---|
items | string[] | Required. GitHub logins, @logins or profile URLs such as https://github.com/torvalds. 1 to 25 entries. |
Output
data is an array of rows, one per result. Each row has:
| Field | Type | Description |
|---|---|---|
login | string | The account's login, as GitHub capitalises it. |
id | integer | GitHub's numeric account id, which survives a login change. |
url | string | The profile on github.com. |
type | string | User or Organization. |
name | string | null | The display name on the profile. |
bio | string | null | — |
company | string | null | The company field as the user typed it, such as @github. |
location | string | null | The location field as the user typed it. |
blog | string | null | The website field as the user typed it, often without a scheme. |
email | string | null | The email the user chose to show on their profile; null when they show none. |
twitterUsername | string | null | The X (Twitter) username field. |
hireable | boolean | null | True when the user marked themselves available for hire. |
avatarUrl | string | — |
followers | integer | — |
following | integer | — |
publicRepos | integer | — |
publicGists | integer | — |
createdAt | string | When the account was created, ISO 8601 in UTC. |
updatedAt | string | When the profile last changed, ISO 8601 in UTC. |
socialAccounts | object[] | The social accounts the user linked on their profile, in their order, deduped by URL. |
socialAccounts[].service | string | GitHub's name for the service, such as twitter, linkedin, mastodon, bluesky, youtube or generic. |
socialAccounts[].url | string | — |
readme | string | null | The profile README as Markdown: README.md of the user's <login>/<login> repository; null when there is none. |
readmeUrl | string | null | The profile README on github.com. |
Example
curl https://request.usestring.ai/v1/integrations/github/profile \
-H "Authorization: Bearer $STRING_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"items": ["simonw"]
}'data starts with these rows:
[
{
"login": "simonw",
"id": 9599,
"url": "https://github.com/simonw",
"type": "User",
"name": "Simon Willison",
"bio": null,
"company": "Datasette",
"location": "Half Moon Bay, California",
"blog": "https://simonwillison.net/",
"email": null,
"twitterUsername": "simonw",
"hireable": null,
"avatarUrl": "https://avatars.githubusercontent.com/u/9599?v=4",
"followers": 17788,
"following": 141,
"publicRepos": 1000,
"publicGists": 335,
"createdAt": "2008-05-07T17:22:14Z",
"updatedAt": "2026-10-27T17:59:04Z",
"socialAccounts": [
{
"service": "twitter",
"url": "https://twitter.com/simonw"
},
{
"service": "mastodon",
"url": "https://fedi.simonwillison.net/@simon"
},
{
"service": "bluesky",
"url": "https://bsky.app/profile/simonwillison.net"
}
],
"readme": "Currently working on [Datasette](https://datasette.io/), [LLM](https://llm.datasette.io/) and associated projects. Read [my blog](https://simonwillison.net/), subscribe to [my newsletter](https://simonw.substack.com/), follow me <a href=\"ht…",
"readmeUrl": "https://github.com/simonw/simonw/blob/main/README.md"
}
]Requests and billing
- Requests: 3–6 Web Access requests per entry in
items. - Billing:
passthrough. Each request the action makes bills at its own rate on your plan; there is no separate charge for the action. See Pricing.
starred
List the repositories a GitHub user starred, most recent first, with when they starred each: the repository's name, owner, description, website, language, topics, license, star and fork counts and last push. 100 stars per page, up to 50 pages.
POST https://request.usestring.ai/v1/integrations/github/starredInput
Unknown fields are rejected.
| Field | Type | Description |
|---|---|---|
user | string | Required. A GitHub login, @login or profile URL. At least 1 character. |
pages | integer | How many pages of 100 stars to read, newest first, 1 to 50. Defaults to 1. From 1 to 50. |
Output
data is an array of rows, one per result. Each row has:
| Field | Type | Description |
|---|---|---|
starredAt | string | When the user starred it, ISO 8601 in UTC. |
fullName | string | owner/name. |
owner | string | The owning user's or organization's login. |
name | string | — |
url | string | The repository on github.com. |
description | string | null | — |
homepage | string | null | The website the repository names. |
language | string | null | Its main language, as GitHub detects it. |
topics | string[] | The topics its owner tagged it with. |
license | string | null | The SPDX id of its license, such as MIT. |
stars | integer | Its star count. |
forks | integer | — |
isFork | boolean | — |
isArchived | boolean | — |
createdAt | string | When the repository was created, ISO 8601 in UTC. |
pushedAt | string | null | Its last push, ISO 8601 in UTC. |
Example
curl https://request.usestring.ai/v1/integrations/github/starred \
-H "Authorization: Bearer $STRING_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"user": "simonw",
"pages": 2
}'data starts with these rows:
[
{
"starredAt": "2026-11-14T16:47:04Z",
"fullName": "lexifina/global-law",
"owner": "lexifina",
"name": "global-law",
"url": "https://github.com/lexifina/global-law",
"description": "The world's law in git: any provision, any country, any date, and the law that wrote each word.",
"homepage": "https://lexifina.com",
"language": "HTML",
"topics": ["git", "law", "legal-tech", "legislation", "mcp", "open-data"],
"license": null,
"stars": 2002,
"forks": 188,
"isFork": false,
"isArchived": false,
"createdAt": "2026-10-28T13:34:16Z",
"pushedAt": "2026-11-14T20:52:21Z"
}
]Requests and billing
- Requests: 1–2 Web Access requests per result page.
- Billing:
passthrough. Each request the action makes bills at its own rate on your plan; there is no separate charge for the action. See Pricing.
activity
Read a GitHub user's public activity: their activity feed for the last 90 days (issue and pull request comments with their text, issues they opened with their text, pull requests they opened or merged, releases with their notes, pushes with their branch and head commit, stars, forks, new branches and repositories) and, further back, the issues and pull requests anywhere on GitHub they commented on, with title, state and who opened each.
POST https://request.usestring.ai/v1/integrations/github/activityInput
Unknown fields are rejected.
| Field | Type | Description |
|---|---|---|
user | string | Required. A GitHub login, @login or profile URL. At least 1 character. |
eventPages | integer | Pages of 100 public events to read, newest first, 1 to 3. GitHub keeps 90 days and 300 events. Defaults to 1. From 1 to 3. |
commentPages | integer | Pages of 100 issues and pull requests the user commented on to read, most recently updated first, 1 to 10. Defaults to 1. From 1 to 10. |
Output
data is an array of rows, one per result. Each row has:
| Field | Type | Description |
|---|---|---|
source | string | event for an entry in the user's public activity feed; commented for an issue or pull request the user commented on, found through search. |
id | string | The event's id, or the issue's or pull request's numeric id. |
type | string | The event type, such as PushEvent, IssueCommentEvent, PullRequestEvent, IssuesEvent, WatchEvent, CreateEvent or ReleaseEvent; issue or pull_request for a commented row. |
action | string | null | What the event did, such as opened, closed or created. |
createdAt | string | When the event happened, or when the issue or pull request was opened, ISO 8601 in UTC. |
updatedAt | string | null | When a commented issue or pull request last changed, ISO 8601 in UTC. |
repo | string | The repository, owner/name. |
url | string | The comment, issue, pull request, release, commit or repository on github.com. |
title | string | null | The issue, pull request or release title; null for a pull request event, whose payload GitHub no longer fills. |
body | string | null | The user's own text: their comment or review, the issue they opened, or their release notes. |
ref | string | null | The branch or tag a push, create or delete event names. |
state | string | null | open or closed, for a commented issue or pull request. |
issueOwner | string | null | Who opened a commented issue or pull request. |
Example
curl https://request.usestring.ai/v1/integrations/github/activity \
-H "Authorization: Bearer $STRING_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"user": "simonw",
"eventPages": 1,
"commentPages": 1
}'data starts with these rows:
[
{
"source": "event",
"id": "27166071739",
"type": "PushEvent",
"action": null,
"createdAt": "2026-11-12T22:53:44Z",
"updatedAt": null,
"repo": "simonw/llm-gemini",
"url": "https://github.com/simonw/llm-gemini/commit/5ad52aff16dfb285ad00b2ef44102b77b2cd7751",
"title": null,
"body": null,
"ref": "main",
"state": null,
"issueOwner": null
},
{
"source": "event",
"id": "27166034915",
"type": "CreateEvent",
"action": null,
"createdAt": "2026-11-13T17:33:04Z",
"updatedAt": null,
"repo": "simonw/llm-apple-foundation",
"url": "https://github.com/simonw/llm-apple-foundation",
"title": null,
"body": null,
"ref": "image-attachments",
"state": null,
"issueOwner": null
},
{
"source": "event",
"id": "20137322053",
"type": "PullRequestEvent",
"action": "merged",
"createdAt": "2026-11-14T20:13:53Z",
"updatedAt": null,
"repo": "simonw/datasette-lite",
"url": "https://github.com/simonw/datasette-lite/pull/97",
"title": null,
"body": null,
"ref": null,
"state": null,
"issueOwner": null
}
]Requests and billing
- Requests: 2–26 Web Access requests per call.
- Billing:
passthrough. Each request the action makes bills at its own rate on your plan; there is no separate charge for the action. See Pricing.
user-search
Find GitHub accounts by the name on their profile, matched as a phrase, optionally only those whose location contains a place. Each row is one account's login, id, link, avatar and rank; the profile action reads the rest. Up to 100 accounts.
POST https://request.usestring.ai/v1/integrations/github/user-searchInput
Unknown fields are rejected.
| Field | Type | Description |
|---|---|---|
name | string | Required. The person's name as it would appear on their profile, such as Simon Willison. Matched as a phrase against profile names. At least 1 character. At most 100 characters. |
location | string | Only accounts whose location field contains this, such as London. At most 100 characters. |
limit | integer | The most accounts to return, 1 to 100. Defaults to 30. From 1 to 100. |
Output
data is an array of rows, one per result. Each row has:
| Field | Type | Description |
|---|---|---|
login | string | — |
id | integer | GitHub's numeric account id. |
url | string | The profile on github.com. |
type | string | User or Organization. |
avatarUrl | string | — |
score | number | GitHub's relevance score for the match. |
position | integer | The account's place in GitHub's ranking, from 1. |
Example
curl https://request.usestring.ai/v1/integrations/github/user-search \
-H "Authorization: Bearer $STRING_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Simon Willison",
"limit": 10
}'data starts with these rows:
[
{
"login": "simonw",
"id": 9599,
"url": "https://github.com/simonw",
"type": "User",
"avatarUrl": "https://avatars.githubusercontent.com/u/9599?v=4",
"score": 1,
"position": 1
}
]Requests and billing
- Requests: 1–2 Web Access requests per call.
- Billing:
passthrough. Each request the action makes bills at its own rate on your plan; there is no separate charge for the action. See Pricing.
Letterboxd
Letterboxd members: profile with bio, location, website and social links, favorite films and counts; every diary entry with watched date, rating, like and rewatch; recent reviews and lists with their text and publish time; the public watchlist; and member search by name or username.
Substack
Substack writers and publications: a writer's public profile with bio, typed outbound links (X and others), the publications they write and the newsletters they publicly subscribe to; a publication's newest posts; and a writer's public activity feed of posts, restacks and notes.