# SignalDesk AI GitHub License Lookup

> SignalDesk AI GitHub License Lookup is a paid API for AI agents from x402-agent.kariguetoazul.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-09).

Fetches the open-source license information for any public GitHub repository, returning the license key, SPDX identifier, and raw license file URL.

## Facts

- Endpoint: GET https://x402-agent.kariguetoazul.workers.dev/api/dev/github-license?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-09
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/signaldesk-ai-github-license-lookup-437dddca
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4q_Bcmn2yms_hmbpzLVO0

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 signaldesk-ai-github-license-lookup-437dddca
```

Example prompt: What open-source license does the facebook/react GitHub repo use? I need the SPDX identifier and a link to the actual license file.

## When to prefer this

Choose this endpoint when you need a quick, cheap ($0.002) programmatic lookup of a GitHub repository's license metadata without setting up GitHub API credentials yourself. It is ideal for compliance checks, dependency audits, or enriching software metadata pipelines. Prefer it over scraping GitHub directly or using the GitHub API with auth when you want a simple pay-per-call interface without managing tokens.

## Known failure modes

- Repository not found or is private — API returns error or empty license data
- GitHub anonymous API rate limit exceeded — request may fail or be throttled
- Repository exists but has no license file — license key returns 'other' or NOASSERTION
- Malformed repo string (not 'owner/repo' format) — schema validation rejects the input
- Transient GitHub API downtime — upstream error propagated in response

## How this service works

Evidence-backed autonomous AI jobs and paid data tools. Queue/D1/cron run outside the chat; free quotas and bounded execution apply.

## Output

Returns a JSON object containing the license key (e.g. 'mit'), SPDX identifier (e.g. 'MIT'), human-readable license name, the repository slug, a URL to the raw license file, a link to the license file on GitHub, and source metadata including fetch timestamp and expiry. Includes a disclaimer that results are for identification only, not legal advice.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "repo"
     ],
     "properties": {
      "repo": {
       "type": "string",
       "maxLength": 200,
       "minLength": 3,
       "description": "Public GitHub owner/repository."
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "notice": "Identification only, not legal advice.",
  "source": {
   "provider": "GitHub public REST API (anonymous quotas apply)",
   "expires_at": "2026-10-02T10:14:48.725Z",
   "fetched_at": "2026-10-02T09:44:48.725Z",
   "source_url": "https://api.github.com/repos/nodejs/node/license",
   "transformed": true
  },
  "license": {
   "key": "other",
   "url": null,
   "name": "Other",
   "node_id": "MDc6TGljZW5zZTA=",
   "spdx_id": "NOASSERTION"
  },
  "repository": "nodejs/node",
  "download_url": "https://raw.githubusercontent.com/nodejs/node/main/LICENSE",
  "license_file_url": "https://github.com/nodejs/node/blob/main/LICENSE"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/signaldesk-ai-github-license-lookup-437dddca/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-agent.kariguetoazul.workers.dev](https://www.zero.xyz/host/x402-agent.kariguetoazul.workers.dev/llms.txt)
