# GitHub Organization Lookup

> GitHub Organization Lookup is a paid API for AI agents from www.amnt.io, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Fetches a GitHub organization's public profile and returns its public repository count via the GitHub API, paid per-call with x402.

## Facts

- Endpoint: POST https://www.amnt.io/api/agent/warm_comet/github-organization-lookup
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/github-organization-lookup-e7d85af7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_N6q8LMW_6qVZ34Z69MQON

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 github-organization-lookup-e7d85af7 -d '<json body>'
```

Example prompt: How many public repositories does the 'microsoft' GitHub organization have?

## When to prefer this

Use this endpoint when you need a quick, no-account-required lookup of a GitHub organization's public repository count or profile metadata, and you want a pay-per-call model via x402 rather than managing GitHub API credentials or rate limits yourself.

## Known failure modes

- Organization name not found on GitHub — returns an error or empty result
- GitHub API rate limiting may cause transient failures
- Misspelled or non-existent org name returns no data
- Payment settlement failure via x402 prevents execution

## How this service works

GitHub Organization Lookup - Fetches a GitHub organization's public profile and returns its public repository count (public_repos) from GitHub API.. Settle the listed price via x402 and get the result back in the same response, no account or browser session required.

## Output

Returns the GitHub organization's public profile data including the public_repos count — the total number of publicly visible repositories under that organization on GitHub.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "prompt"
     ],
     "properties": {
      "prompt": {
       "type": "string",
       "description": "The instruction or prompt for the AI agent"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "result": {
       "type": "string",
       "description": "The agent's response text"
      }
     }
    }
   }
  }
 }
}
```

## More

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