# OIX RepoDiligence License Evidence Endpoint

> OIX RepoDiligence License Evidence Endpoint is a paid API for AI agents from oix-autonomous-economy.fly.dev, paid per call via x402, $0.05/call, status down (last checked 2026-09-15).

Fetches open-source license evidence and diligence observations for a public GitHub repository, scored and settled via x402 on Base mainnet.

## Facts

- Endpoint: GET https://oix-autonomous-economy.fly.dev/api/x402/portfolio/repodiligence-license
- Price: $0.05/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/oix-repodiligence-license-evidence-endpoint-b860be7d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6yZ-MsLSuSOUMwoIV-Bz5

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 oix-repodiligence-license-evidence-endpoint-b860be7d
```

Example prompt: Pull the OIX RepoDiligence license evidence report for https://github.com/expressjs/express — show me up to 25 observations with a minimum evidence score of 50 so I can review the license risk before we adopt it.

## When to prefer this

Choose this endpoint when you need cryptographically-provable, scored license evidence for a specific public GitHub repository — especially for legal-operations, procurement, or compliance workflows that require a machine-readable audit trail settled on Base mainnet. Prefer it over generic license scanners when you need OIX evidence scoring and on-chain proof digests.

## Known failure modes

- Invalid or non-public target URL returns an error or empty observations
- minScore set too high returns zero observations even if records exist
- limit exceeding 25 is rejected by schema validation
- Payment not completed via x402 results in 402 Payment Required response
- Unreachable or rate-limited GitHub URLs may produce incomplete evidence

## How this service works

Package any earning logic as an autonomous asset. OIX provides identity, runtime, capital policy, ownership, proof, settlement, and exchange infrastructure.

## Output

Returns a structured JSON report including the asset name and market slug, cryptographic proof digests (report and source SHA-256 hashes), product offer details and settlement info, and a decision block listing scored evidence observations (URL, score, title, evidence object), total monitored records, and returned observation count — all conforming to oix.machine-report/v1 protocol.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "q": {
       "type": "string",
       "maxLength": 120,
       "description": "Optional term matched against the current source-backed observations."
      },
      "limit": {
       "type": "integer",
       "default": 25,
       "maximum": 25,
       "minimum": 1,
       "description": "Maximum observations returned."
      },
      "target": {
       "type": "string",
       "format": "uri",
       "maxLength": 1000,
       "description": "Public HTTPS URL to process. The declared sample target is used when omitted."
      },
      "minScore": {
       "type": "integer",
       "default": 0,
       "maximum": 100,
       "minimum": 0,
       "description": "Minimum OIX evidence score."
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "asset": {
   "name": "RepoDiligence License",
   "slug": "repodiligence-license",
   "market": "Open-source license evidence"
  },
  "proof": {
   "reportDigest": "sha256:…",
   "sourceDigest": "sha256:…"
  },
  "product": {
   "offer": "Public repository diligence report",
   "price": "0.05 USDC",
   "settlement": "x402 · Base mainnet"
  },
  "decision": {
   "buyer": "Legal-operations and procurement agents",
   "observations": [
    {
     "url": "https://docs.github.com/en/repositories/viewing-activity-and-data-for-your-repository/viewing-your-repositorys-releases-and-tags",
     "score": 90,
     "title": "Primary-source market signal",
     "evidence": {}
    }
   ],
   "monitoredRecords": 40,
   "returnedObservations": 25
  },
  "protocol": "oix.machine-report/v1"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/oix-repodiligence-license-evidence-endpoint-b860be7d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from oix-autonomous-economy.fly.dev](https://www.zero.xyz/host/oix-autonomous-economy.fly.dev/llms.txt)
