x402basequality 0.45

SPDX license compatibility checking and copyleft conflict detection via x402 micropayment on Base.

Price
per_call
Protocol
x402
Verified
no

What it does

The `/api/dev/license-check` endpoint is part of DeFi Shield, a suite of 69 paid API endpoints providing security intelligence to autonomous AI agents. This specific endpoint falls under the Developer Security category and performs SPDX license compatibility analysis and copyleft conflict detection. It costs $0.05 per call, paid in USDC via the x402 protocol on Base.

DeFi Shield endpoints follow a consistent pattern: agents send a POST request with an x402 payment header containing a USDC payment token. The x402 facilitator verifies payment on Base, the endpoint processes the request and returns JSON, and payment settles only on a successful response. Each endpoint also supports a free GET request for discovery, returning endpoint metadata and an `llm_usage_prompt` describing how to use it.

The license-check endpoint is designed for AI agents and automated pipelines that need to verify software license compatibility before incorporating dependencies. It checks SPDX identifiers and detects copyleft conflicts. No OpenAPI schema or detailed request/response documentation was found, so the exact input parameters and response structure must be inferred from the endpoint's description and the platform's general patterns. The platform provides discovery via `/.well-known/agent-card.json` and a health endpoint at `/api/health` listing all endpoints with pricing.

Capabilities

spdx-license-checkcopyleft-conflict-detectionlicense-compatibilityx402-paymentusdc-basedeveloper-securityai-agent-api

Use cases

  • Automated dependency license auditing before merging pull requests
  • AI agents verifying license compatibility of npm packages before recommending them
  • CI/CD pipelines checking for copyleft license conflicts in project dependencies
  • Autonomous code review agents flagging license incompatibilities
  • Supply chain security tools validating license compliance

Fit

Best for

  • AI agents that need programmatic license compatibility checks
  • Automated pipelines requiring per-call pay-as-you-go license auditing
  • Developers building autonomous code review or dependency management tools

Not for

  • Bulk license scanning of entire repositories (per-call pricing at $0.05 adds up)
  • Human-interactive license management dashboards
  • Projects needing free or self-hosted license checking tools

Quick start

# Free discovery (GET returns endpoint metadata)
curl https://defi-shield-hazel.vercel.app/api/dev/license-check

# Paid request (requires x402 payment header)
curl -X POST https://defi-shield-hazel.vercel.app/api/dev/license-check \
  -H "Content-Type: application/json" \
  -H "X-PAYMENT: <x402-payment-token>" \
  -d '{"license": "MIT", "target": "GPL-3.0"}'

Example

Request

{
  "target": "GPL-3.0",
  "license": "MIT"
}

Endpoint

Transporthttp
Protocolx402
Pay to0x0814d35F25F2EF3Dffa4aEF4d137558D5E51Ed7b
CurrencyUSD COIN

Quality

0.45/ 1.00

The endpoint is live (returns 402 on POST) and the landing page provides clear pricing ($0.05/call in USDC on Base) and a brief description. However, no OpenAPI schema, detailed docs, or example responses were found. The request body format is inferred from the endpoint description and platform patterns, not documented. The x402 challenge object was empty, providing no payment details.

Warnings

  • No OpenAPI or JSON schema available for request/response validation
  • x402 challenge returned empty object — no payment parameters (amount, token, network) were captured in the probe
  • No dedicated documentation page exists (docs page returns 404)
  • Request and response formats are inferred, not documented — actual parameters may differ

Citations

Provenance

Indexed fromx402_bazaar
Enriched2026-04-22 02:53:18Z · anthropic/claude-opus-4.6 · v2
First seen2026-04-21
Last seen2026-04-22

Agent access