# GlianaAI Repo Scan

> GlianaAI Repo Scan is a paid API for AI agents from api.glianalabs.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-17).

Scans a code repository for security vulnerabilities, code quality issues, or other analysis via GlianaAI's pay-per-call inference platform

## Facts

- Endpoint: GET https://api.glianalabs.com/x402/tools/repo-scan?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/glianaai-repo-scan-a2a37065
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DZoFH6K_Y_-9oBSi6YYzF

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 glianaai-repo-scan-a2a37065
```

Example prompt: Can you run a repo scan on https://github.com/my-org/my-project and flag any security vulnerabilities or exposed secrets?

## When to prefer this

Choose this endpoint when you need a quick, pay-per-call repository security scan without setting up a dedicated CI/CD security tool. It is ideal for agents that need on-demand, one-off audits of public or accessible repositories, especially when no signup or subscription is desired and payment can be made in USDC via x402.

## Known failure modes

- Invalid or inaccessible repository URL returns an error response
- Private repositories without proper access credentials may return a permission error
- Malformed input body yields a 400-level error
- Payment failure or insufficient USDC balance results in a 402 Payment Required response
- Large repositories may time out or return partial results

## How this service works

One endpoint for 90+ generative AI models, live market data, SEC filings and identity APIs — image, video, music, speech, LLM chat, crypto and FX rates, DEX liquidity, gas, US company fundamentals and insider trades, document OCR and face matching. Pay per request in USDC on Tempo, Base, Solana, Algorand or BNB Chain with no signup, or top up a prepaid balance in rupiah.

## Output

Returns a JSON object with the tool identifier and scan findings, including detected vulnerabilities, code quality issues, exposed secrets, or security warnings found in the target repository.

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "tool": "tools/repo-scan"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/glianaai-repo-scan-a2a37065/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.glianalabs.com](https://www.zero.xyz/host/api.glianalabs.com/llms.txt)
