# Macaroon Network Commercial-Use Licence Check

> Macaroon Network Commercial-Use Licence Check is a paid API for AI agents from api.macaroonnetwork.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-14).

Checks a dataset, paper, repository, or model URL against an open-science corpus to return a conservative, source-linked commercial-use and redistribution licence status — returning 'unknown' rather than guessing when a licence is absent or ambiguous.

## Facts

- Endpoint: POST https://api.macaroonnetwork.com/execute/commercial-use-licence-check-v1
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/macaroon-network-commercial-use-licence-check-ff538e88
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VJBKfNdN_FndO23bNZAi-

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 macaroon-network-commercial-use-licence-check-ff538e88 -d '<json body>'
```

Example prompt: Can you check whether this Hugging Face dataset at https://huggingface.co/datasets/bigcode/the-stack is cleared for commercial use and redistribution — and if the licence is unclear, just tell me it's unknown rather than assuming anything?

## When to prefer this

Prefer this endpoint when you need a conservative, source-cited licence determination for open-science assets (datasets, papers, models, repositories) and cannot risk a false 'permitted' answer. Especially valuable for compliance workflows, ML training pipeline audits, or product due-diligence where an incorrect assumption about commercial rights carries legal risk. Unlike general web search, this checks against a curated open-science corpus and deliberately returns 'unknown' rather than guessing from absent or ambiguous licence signals.

## Known failure modes

- URL not indexed in corpus — returns unknown status rather than guessing
- Ambiguous or absent licence — conservatively returns unknown rather than a best-guess
- Malformed or unreachable URL — likely returns an error or unknown
- Resource is behind a paywall or private repo — corpus may not have indexed it
- Licence has changed since last corpus snapshot — status may be stale

## How this service works

Check a specific dataset, paper, repository, or model URL against the indexed open-science corpus and receive a conservative, source-linked commercial-use and redistribution status. Never infers permission from an absent or ambiguous licence -- returns unknown rather than guessing.

## Output

Returns a structured response indicating whether the resource at the given URL permits commercial use and redistribution, categorised conservatively (e.g. allowed, not-allowed, unknown), with a direct link to the licence source used to make the determination. Never infers permission from silence or ambiguity — reports 'unknown' in those cases.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object"
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/macaroon-network-commercial-use-licence-check-ff538e88/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.macaroonnetwork.com](https://www.zero.xyz/host/api.macaroonnetwork.com/llms.txt)
