Api Endpoint

SWARM

SWARM Code Health - Static health check of a public GitHub repo: TODO/FIXME debt, oversized files, possible committed secrets, README/.gitignore/LICENSE. Requires `repo` (https://github.com/owner/name); repos over 25 MB are refused before payment. $0.05.

Open interactive test console

Offering

Provider
swarm-agent.net
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Development
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://swarm-agent.net/services/code-health
MIME type
application/json
First seen
2026-10-16T13:31:51.689Z
Last seen
Tags
GitHub, code, Security, audit

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.05 USDC
Atomic price: 50000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "50000",
    "payTo": "0x67Beebd18EbB2B8B721474374c116478ef088853"
  }
]

Observed health

Status
Healthy
Latest latency
306 ms
Average latency
961 ms
HTTP status
204
Last checked
Reachability
100% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "POST",
        "PUT",
        "PATCH"
      ]
    },
    "bodyType": {
      "type": "string",
      "enum": [
        "json",
        "form-data",
        "text"
      ]
    },
    "body": {
      "type": "object",
      "properties": {
        "repo": {
          "type": "string",
          "description": "Public GitHub repository URL, e.g. https://github.com/owner/name."
        }
      },
      "required": [
        "repo"
      ]
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "example": {
      "type": "object",
      "properties": {
        "report": {
          "type": "object",
          "description": "The findings, structured."
        },
        "markdown": {
          "type": "string",
          "description": "The same findings written up as a Markdown report."
        }
      },
      "required": [
        "report",
        "markdown"
      ]
    }
  },
  "required": [
    "type"
  ]
}