{"uid":"cap_4q_Bcmn2yms_hmbpzLVO0","slug":"signaldesk-ai-github-license-lookup-437dddca","name":"SignalDesk AI GitHub License Lookup","description":"Evidence-backed autonomous AI jobs and paid data tools. Queue/D1/cron run outside the chat; free quotas and bounded execution apply.","url":"https://x402-agent.kariguetoazul.workers.dev/api/dev/github-license?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","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"}}}}},"responseSchema":{"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"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Wmq1hJjBUbWwH7G34EawB","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches the open-source license information for any public GitHub repository, returning the license key, SPDX identifier, and raw license file URL.","exampleAgentPrompt":"What open-source license does the facebook/react GitHub repo use? I need the SPDX identifier and a link to the actual license file.","exampleUseCases":[{"title":"Dependency license compliance check","prompt":"Before I add this library to my project, can you check what license the expressjs/express GitHub repo uses? I need to know if it's permissive or copyleft."},{"title":"Open-source audit for legal review","prompt":"I need to verify the license on the huggingface/transformers GitHub repo — what's the SPDX identifier and where can I read the full license text?"},{"title":"Portfolio project license verification","prompt":"Can you look up the license for the vercel/next.js GitHub repository and tell me the license name and key so I know if I can use it commercially?"}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:42:05.580Z","isFirstParty":false,"canonicalSlug":"signaldesk-ai-github-license-lookup-437dddca"}