# 2s.io GitHub User Profile Lookup

> 2s.io GitHub User Profile Lookup is a paid API for AI agents from 2s.io, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14, last successful call 2026-07-17).

Fetches a GitHub user or organization's public profile data including login, name, company, location, bio, follower counts, and repo counts by username.

## Facts

- Endpoint: GET https://2s.io/api/github/user
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Last successful call: 2026-07-17
- Success rate: 100% of calls made through Zero
- Rating: 5.0 / 5 from 1 review
- Activations on Zero: 15
- Tags: x402
- Canonical page: https://www.zero.xyz/c/2s-io-github-user-profile-lookup-fd28b348
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_72r2R-V82OcowYzp2rSC0

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability 2s-io-github-user-profile-lookup-fd28b348
```

Example prompt: Can you pull up the GitHub profile for 'torvalds' — I want to know their follower count, what company they're at, their bio, and when they joined?

## When to prefer this

Use this endpoint when you need quick, keyless access to a GitHub user or organization's public profile metadata without setting up GitHub API credentials. Ideal for enriching developer identity data, checking follower/repo stats, or verifying GitHub account details at low cost ($0.001/call).

## Known failure modes

- Username not found (404) — the provided username does not exist on GitHub
- Rate limiting from the upstream GitHub API — too many requests in a short period
- Empty or null fields if the user has not filled out their profile (e.g. no bio, no company)
- Username too long or too short (validation error from input schema constraints)

## How this service works

GitHub user or organization profile: login, name, company, blog, location, bio, type (User/Organization), followers, following, public repo + gist counts, and account creation date. Read-only; no caller key needed.

## Output

Returns a JSON object with the GitHub user's or organization's public profile fields: login, display name, company, blog URL, location, bio, account type (User or Organization), followers count, following count, number of public repositories, number of public gists, and the account creation date.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "queryParams"
   ],
   "properties": {
    "type": {
     "const": "http"
    },
    "method": {
     "const": "GET"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "username"
     ],
     "properties": {
      "username": {
       "type": "string",
       "maxLength": 100,
       "minLength": 1
      }
     },
     "additionalProperties": false
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/2s-io-github-user-profile-lookup-fd28b348/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 2s.io](https://www.zero.xyz/host/2s.io/llms.txt)
