# SocialFetch GitHub Profile Lookup

> SocialFetch GitHub Profile Lookup is a paid API for AI agents from api.socialfetch.dev, paid per call via x402, $0.014/call, status unknown (last checked 2026-09-14).

Fetches public GitHub profile data for a given username or organization handle.

## Facts

- Endpoint: GET https://api.socialfetch.dev/v1/github/profiles/:handle
- Price: $0.014/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/socialfetch-github-profile-lookup-c82ec2b4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9KJ8dDCFXipF-C2ZO3qNl

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 socialfetch-github-profile-lookup-c82ec2b4
```

Example prompt: Can you pull up the GitHub profile for the user 'torvalds' and tell me their bio, follower count, and how many public repos they have?

## When to prefer this

Use this endpoint when you need to programmatically retrieve a GitHub user or organization's public profile data by handle, especially in agentic workflows that require developer identity enrichment, profile verification, or OSS contributor research — and when you want a pay-per-call model without managing GitHub API credentials.

## Known failure modes

- Handle not found — returns a 404 or error indicating the user does not exist on GitHub
- Handle too long or invalid format — schema validation rejects handles over 39 characters
- Rate limit or upstream GitHub API failure — service may return 5xx or timeout
- Payment failure — x402 payment not processed, request rejected before lookup

## How this service works

Get a GitHub profile for a user or organization.

## Output

Returns a structured GitHub profile object for the specified handle, including public metadata such as name, bio, follower/following counts, public repository count, account type (user vs. organization), avatar URL, and related profile fields.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "handle"
     ],
     "properties": {
      "handle": {
       "type": "string",
       "maxLength": 39,
       "minLength": 1,
       "description": "GitHub username to look up, with or without a leading @."
      }
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/socialfetch-github-profile-lookup-c82ec2b4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.socialfetch.dev](https://www.zero.xyz/host/api.socialfetch.dev/llms.txt)
