Api Endpoint

AGENTFORGE | AI Agent-as-a-Service

Smart contract security audit for developers and auditors: finds vulnerabilities, gas optimizations, and best-practice violations in Solidity, Rust, Move, or TypeScript code, with a diff review mode for proposed changes. Category: inference.

Open interactive test console

Offering

Provider
agentforge-taupe.vercel.app
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Security
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://agentforge-taupe.vercel.app/v1/code-review
MIME type
Not provided
First seen
2026-10-16T01:51:10.599Z
Last seen
Tags
code review, smart contract audit, solidity, vulnerability scan, gas optimization, AI, Crypto, Utility

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
Payment option 2
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": "0xFA6F352E71c44d217df04eCAD902C82B72D2378c"
  },
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "50000",
    "payTo": "0xFA6F352E71c44d217df04eCAD902C82B72D2378c"
  }
]

Observed health

Status
Healthy
Latest latency
132 ms
Average latency
272 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

{
  "additionalProperties": false,
  "properties": {
    "body": {
      "properties": {
        "code": {
          "description": "Source code to review",
          "maxLength": 50000,
          "minLength": 1,
          "type": "string"
        },
        "focus": {
          "default": "all",
          "enum": [
            "security",
            "gas_optimization",
            "best_practices",
            "all"
          ],
          "type": "string"
        },
        "language": {
          "default": "solidity",
          "enum": [
            "solidity",
            "rust",
            "move",
            "typescript"
          ],
          "type": "string"
        },
        "previousCode": {
          "description": "Previous version of code for diff review mode",
          "maxLength": 50000,
          "type": "string"
        }
      },
      "required": [
        "code"
      ],
      "type": "object"
    },
    "bodyType": {
      "enum": [
        "json",
        "form-data",
        "text"
      ],
      "type": "string"
    },
    "method": {
      "enum": [
        "POST"
      ],
      "type": "string"
    },
    "type": {
      "const": "http",
      "type": "string"
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "type": "object"
}

Output schema

{
  "properties": {
    "example": {
      "properties": {
        "gasOptimization": {
          "description": "Gas optimization report (when focus includes gas)",
          "type": "object"
        },
        "issues": {
          "items": {
            "properties": {
              "category": {
                "type": "string"
              },
              "description": {
                "type": "string"
              },
              "line": {
                "type": "number"
              },
              "severity": {
                "enum": [
                  "info",
                  "low",
                  "medium",
                  "high",
                  "critical"
                ],
                "type": "string"
              },
              "suggestion": {
                "type": "string"
              }
            },
            "type": "object"
          },
          "type": "array"
        },
        "metadata": {
          "properties": {
            "linesAnalyzed": {
              "type": "number"
            },
            "model": {
              "type": "string"
            },
            "processingTimeMs": {
              "type": "number"
            }
          },
          "type": "object"
        },
        "overallRisk": {
          "enum": [
            "low",
            "medium",
            "high",
            "critical"
          ],
          "type": "string"
        },
        "summary": {
          "type": "string"
        }
      },
      "required": [
        "overallRisk",
        "issues",
        "summary",
        "metadata"
      ],
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}