# License Intel – List OSI-Approved SPDX Licenses

> License Intel – List OSI-Approved SPDX Licenses 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).

Returns the current list of OSI-approved SPDX licenses, with optional filtering by FSF-libre status or license ID prefix.

## Facts

- Endpoint: GET https://license-intel.x402tookit.com/osi-approved?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-list-osi-approved-spdx-licenses-b86385b6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PSemHkXN5LGxpbVLEUZNd

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-list-osi-approved-spdx-licenses-b86385b6
```

Example prompt: Can you list all current OSI-approved SPDX licenses that are also FSF-libre, starting with 'GPL', and give me up to 50 results?

## When to prefer this

Use this endpoint when you need a filterable, current list of OSI-approved SPDX license identifiers — especially when you want to narrow by FSF-libre status or a known license ID prefix (e.g. GPL, BSD, MIT). Prefer it over the search endpoint when you want to enumerate a category of licenses rather than find a specific one by name fragment.

## Known failure modes

- Invalid prefix format may return an empty list rather than an error
- fsfLibre parameter must be the string 'yes'; other values may be ignored or return unexpected results
- Limit outside 1–200 range may be rejected or clamped
- Upstream SPDX data unavailable may trigger degraded mode with partial results
- Network or payment failure returns no data

## How this service works

List current OSI-approved SPDX licenses, optionally only FSF-libre ones or those starting with a prefix.

## Output

A JSON object containing the list of matching licenses (each with licenseId, name, and fsfLibre flag), total count, SPDX list version, source URL, and attribution metadata. May also include a summary, disclaimer, and degraded-mode indicator if the upstream source is partially unavailable.

## 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": [],
     "properties": {
      "limit": {
       "type": "integer",
       "description": "Results 1 to 200 (default 100)"
      },
      "prefix": {
       "type": "string",
       "description": "Only ids starting with this, for example GPL or BSD"
      },
      "fsfLibre": {
       "type": "string",
       "description": "yes to keep only FSF-libre licenses"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "total": {
       "type": [
        "null",
        "number"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "licenses": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "object",
        "properties": {
         "name": {
          "type": [
           "null",
           "string"
          ]
         },
         "fsfLibre": {
          "type": [
           "boolean",
           "null"
          ]
         },
         "licenseId": {
          "type": [
           "null",
           "string"
          ]
         }
        }
       }
      },
      "sourceUrl": {
       "type": [
        "null",
        "string"
       ]
      },
      "disclaimer": {
       "type": [
        "null",
        "string"
       ]
      },
      "notChecked": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "st
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/license-intel-list-osi-approved-spdx-licenses-b86385b6/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)
