{"uid":"cap_W9u59wyVKMCyXqBCrFZ_o","slug":"license-intel-spdx-deprecated-check-517c3377","name":"License Intel – SPDX Deprecated Check","description":"Check a list of license ids against SPDX: current, deprecated or unknown, with the modern GNU -only / -or-later form.","url":"https://license-intel.x402tookit.com/deprecated-check?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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":["ids"],"properties":{"ids":{"type":"string","description":"License ids separated by commas, up to 50, for example GPL-2.0,MIT,Apache-2.0"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":["null","string"]},"source":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"results":{"type":["array","null"],"items":{"type":"object","properties":{"id":{"type":["null","string"]},"status":{"type":["null","string"]},"suggested":{"type":["null","string"]},"canonicalId":{"type":["null","string"]}}}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"sourceUrl":{"type":["null","string"]},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"attribution":{"type":["null","string"]},"listVersion":{"type":["null","string"]},"unknownCount":{"type":["null","number"]},"deprecatedCount":{"type":["null","number"]}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_x4y8qtIa4wDB9LruQgxQq","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Check up to 50 SPDX license IDs to determine whether each is current, deprecated, or unknown, and get suggested modern GNU -only/-or-later equivalents.","exampleAgentPrompt":"Check whether these license IDs are current, deprecated, or unknown according to SPDX: GPL-2.0, LGPL-2.1, MIT, Apache-2.0, and Classpath-exception-2.0 — and if any are deprecated, tell me the suggested modern replacement.","exampleUseCases":[{"title":"Pre-release license audit for OSS package","prompt":"Before I publish my library, can you check all the licenses I'm using — GPL-2.0, LGPL-2.1, MIT, Apache-2.0, and BSD-2-Clause — and tell me if any are deprecated in the SPDX list and what the modern versions are?"},{"title":"CI pipeline license compliance gate","prompt":"I need to validate this set of license IDs from our dependency scanner against SPDX to catch any deprecated or unknown ones before merging: GPL-3.0, AGPL-3.0, MIT, ISC, CC-BY-4.0, and Zlib."},{"title":"Modernizing legacy GNU license references","prompt":"Our codebase uses old GNU license identifiers like GPL-2.0 and LGPL-2.1 — can you check if those are deprecated in SPDX and tell me the correct modern -only or -or-later forms I should switch to?"}],"resultDescription":"Returns a per-ID breakdown with deprecation status (current, deprecated, or unknown), canonical SPDX ID, and suggested modern replacement (e.g. GPL-2.0-only or GPL-2.0-or-later) for each queried license. Also provides an overall verdict, summary, deprecated count, unknown count, SPDX list version and date, source URL, and any IDs that could not be checked.","failureModes":["More than 50 IDs submitted — excess IDs may appear in notChecked array","Malformed or empty ids parameter — likely returns an error or empty results","SPDX list temporarily unavailable — degraded flag set to true with partial or no results","Network timeout or upstream API outage — service may return error response"],"whenToPreferThis":"Use this endpoint when you need to batch-validate a known list of SPDX license identifiers for deprecation status and want modern GNU replacement suggestions. Prefer it over the single-ID lookup endpoint when processing multiple licenses at once (up to 50), and over the expression validator when working with individual flat IDs rather than compound SPDX expressions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T00:30:43.823Z","isFirstParty":false,"canonicalSlug":"license-intel-spdx-deprecated-check-517c3377"}