{
  "x402Version": 2,
  "id": 27178,
  "slug": "27178",
  "resource": "https://api.remix.live/mcp/x402-http/do_audit",
  "description": "Complete AI-powered smart contract security audit - analyzes code against checklist and provides detailed findings with severity levels. PRICING (based on model): DeepSeek: $0.15 USDC, Sonnet: $0.25 USDC, Fable: $0.70 USDC. Payment must match selected model.",
  "type": "http",
  "resourceType": "MCP Tool",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x4CF33cCB14B43D76b4f672C3feDe297d1d763ace",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "250000",
      "amountUsd": 0.25,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "checklist": "# Security Audit Checklist Report\n\n**Contract**: MyToken.sol\n\n## Summary\n\n- **ERC20::Token Mechanics** 🔴 `high`\n  - Inherits ERC20 and defines mint function\n\n...",
            "model": "Sonnet",
            "sources": {
              "MyToken.sol": {
                "content": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\ncontract MyToken {\n    string public name = \"MyToken\";\n    mapping(address => uint256) public balances;\n\n    function mint(address to, uint256 amount) public {\n        balances[to] += amount;\n    }\n}"
              }
            }
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "findingsCount": 5,
            "markdown": "# Complete Security Audit Report\n\n**Contract**: MyToken.sol\n\n## Executive Summary\n\n...\n\n## Findings\n\n### High Severity\n\n...",
            "model": "openrouter/auto-beta",
            "severity": {
              "critical": 0,
              "high": 2,
              "informational": 0,
              "low": 1,
              "medium": 2
            },
            "success": true,
            "tokensUsed": 5678
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "checklist": {
                    "description": "Audit checklist in markdown format (from get_audit_checklist endpoint or custom checklist)",
                    "type": "string"
                  },
                  "model": {
                    "description": "AI model to use for analysis (Required). DeepSeek ($0.15): fast and cost-effective. Sonnet ($0.25): high quality. Fable ($0.70): premium quality. Payment amount must match selected model.",
                    "enum": [
                      "DeepSeek",
                      "Sonnet",
                      "Fable"
                    ],
                    "type": "string"
                  },
                  "sources": {
                    "additionalProperties": {
                      "properties": {
                        "content": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "content"
                      ],
                      "type": "object"
                    },
                    "description": "Map of filename to source code. Required. At least one contract file must be provided.",
                    "type": "object"
                  }
                },
                "required": [
                  "sources",
                  "checklist",
                  "model"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST",
                  "PUT",
                  "PATCH"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "api.remix.live",
  "lastUpdated": "2026-10-13T16:02:03.801Z",
  "quality": {
    "calls30d": 33,
    "uniquePayers30d": 4,
    "lastCalledAt": "2026-10-13T16:02:03.57Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "checklist": "# Security Audit Checklist Report\n\n**Contract**: MyToken.sol\n\n## Summary\n\n- **ERC20::Token Mechanics** 🔴 `high`\n  - Inherits ERC20 and defines mint function\n\n...",
              "model": "Sonnet",
              "sources": {
                "MyToken.sol": {
                  "content": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\ncontract MyToken {\n    string public name = \"MyToken\";\n    mapping(address => uint256) public balances;\n\n    function mint(address to, uint256 amount) public {\n        balances[to] += amount;\n    }\n}"
                }
              }
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "findingsCount": 5,
              "markdown": "# Complete Security Audit Report\n\n**Contract**: MyToken.sol\n\n## Executive Summary\n\n...\n\n## Findings\n\n### High Severity\n\n...",
              "model": "openrouter/auto-beta",
              "severity": {
                "critical": 0,
                "high": 2,
                "informational": 0,
                "low": 1,
                "medium": 2
              },
              "success": true,
              "tokensUsed": 5678
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "checklist": {
                      "description": "Audit checklist in markdown format (from get_audit_checklist endpoint or custom checklist)",
                      "type": "string"
                    },
                    "model": {
                      "description": "AI model to use for analysis (Required). DeepSeek ($0.15): fast and cost-effective. Sonnet ($0.25): high quality. Fable ($0.70): premium quality. Payment amount must match selected model.",
                      "enum": [
                        "DeepSeek",
                        "Sonnet",
                        "Fable"
                      ],
                      "type": "string"
                    },
                    "sources": {
                      "additionalProperties": {
                        "properties": {
                          "content": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "content"
                        ],
                        "type": "object"
                      },
                      "description": "Map of filename to source code. Required. At least one contract file must be provided.",
                      "type": "object"
                    }
                  },
                  "required": [
                    "sources",
                    "checklist",
                    "model"
                  ],
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST",
                    "PUT",
                    "PATCH"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.remix.live",
    "manifest_name": "api.remix.live",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}