# License Intel – SPDX License Search

> License Intel – SPDX License Search is a paid API for AI agents from license-intel.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-29).

Search the SPDX license list by name or ID fragment (e.g. 'gpl', 'creative commons') with OSI-approval and deprecation flags.

## Facts

- Endpoint: GET https://license-intel.x402tookit.com/license-search?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/license-intel-spdx-license-search-01a24223
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1VbmEE-chH3ZR_C5GAp9m

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 license-intel-spdx-license-search-01a24223
```

Example prompt: Search the SPDX license list for anything matching 'creative commons' and show me up to 10 results — only OSI-approved ones, no deprecated IDs.

## When to prefer this

Use this endpoint when you need to discover or enumerate SPDX licenses by a partial name or ID string, especially when filtering for OSI-approved licenses. Prefer this over the full-list endpoint when you have a keyword and want ranked/filtered matches rather than the complete catalog.

## Known failure modes

- Query too short (under 2 chars) or too long (over 40 chars) returns a validation error
- No licenses match the fragment — returns empty results array with totalMatches 0
- osiOnly or includeDeprecated values other than 'yes' may be ignored or cause errors
- SPDX upstream unavailable — may return degraded=true with partial or no results
- limit outside 1–50 range may be rejected or clamped

## How this service works

Search the SPDX license list by name or id fragment, such as gpl or creative commons, with OSI and deprecated flags.

## Output

Returns a list of matching SPDX license records (up to the requested limit), each with the license name, SPDX ID, OSI-approved flag, FSF-libre flag, and deprecated flag, plus total match count, the SPDX list version used, source URL, and summary/verdict text.

## 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"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "query"
     ],
     "properties": {
      "limit": {
       "type": "integer",
       "description": "Results 1 to 50 (default 15)"
      },
      "query": {
       "type": "string",
       "description": "Part of a license name or id, 2 to 40 characters"
      },
      "osiOnly": {
       "type": "string",
       "description": "yes to show only OSI-approved licenses"
      },
      "includeDeprecated": {
       "type": "string",
       "description": "yes to include deprecated ids (default no)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "query": {
       "type": [
        "null",
        "string"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "results": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "object",
        "properties": {
         "name": {
          "type": [
           "null",
           "string"
          ]
         },
         "fsfLibre": {
          "type": [
           "boolean",
           "null"
          ]
         },
         "licenseId": {
          "type": [
           "null",
           "string"
          ]
         },
         "deprecated": {
          "type": [
           "boolean",
           "null"
          ]
         },
         "osiApproved": {
          "type": [
           "boolean",
           "null"
          ]
         }
        }
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {
  
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/license-intel-spdx-license-search-01a24223/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from license-intel.x402tookit.com](https://www.zero.xyz/host/license-intel.x402tookit.com/llms.txt)
