Api Endpoint

Magneta Contract Risk

Smart contract security and token risk check before you trade, approve, bridge or integrate: deterministic 0-100 risk score for any deployed contract on 20 EVM chains. Flags rug-pull levers (owner mint, blacklist, pause, adjustable fees, upgradeable proxy, ownership not renounced), SELFDESTRUCT/DELEGATECALL, verified source and aderyn static analysis. Read-only. Errors (400 bad input, 422 not a contract, 502/504 upstream failure) are not charged.

Open interactive test console

Offering

Provider
x402.magneta.finance
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Blockchain And Crypto
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://x402.magneta.finance/v1/risk/:chainId/:address
MIME type
Not provided
First seen
2026-10-16T01:59:13.392Z
Last seen
Tags
smart-contract-risk, contract-risk, rug-check, token-security, due-diligence

Payment pricing

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

Payment option 1
0.01 USDC
Atomic price: 10000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.01 USDC
Atomic price: 10000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "10000",
    "payTo": "0xc7c84858Bb060367d69c6f28b0F8333960c9821e"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "10000",
    "payTo": "8chhny9NZmA51mEhtwa8qCJo6BcwgZNgdwDME7XKPi72"
  }
]

Observed health

Status
Reachable
Latest latency
51 ms
Average latency
63 ms
HTTP status
400
Last checked
Reachability
100% over 15 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": {
    "method": {
      "enum": [
        "GET"
      ],
      "type": "string"
    },
    "pathParams": {
      "properties": {
        "address": {
          "description": "Contract address",
          "pattern": "^0x[0-9a-fA-F]{40}$",
          "type": "string"
        },
        "chainId": {
          "description": "EVM chain id (decimal string)",
          "enum": [
            "1",
            "10",
            "56",
            "100",
            "130",
            "137",
            "146",
            "480",
            "5000",
            "8453",
            "42161",
            "42220",
            "43114",
            "59144",
            "81457",
            "84532",
            "421614",
            "534352",
            "11155111",
            "11155420"
          ],
          "type": "string"
        }
      },
      "required": [
        "chainId",
        "address"
      ],
      "type": "object"
    },
    "queryParams": {
      "properties": {},
      "type": "object"
    },
    "type": {
      "const": "http",
      "type": "string"
    }
  },
  "required": [
    "type",
    "method"
  ],
  "type": "object"
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET"
          ],
          "type": "string"
        },
        "pathParams": {
          "properties": {
            "address": {
              "description": "Contract address",
              "pattern": "^0x[0-9a-fA-F]{40}$",
              "type": "string"
            },
            "chainId": {
              "description": "EVM chain id (decimal string)",
              "enum": [
                "1",
                "10",
                "56",
                "100",
                "130",
                "137",
                "146",
                "480",
                "5000",
                "8453",
                "42161",
                "42220",
                "43114",
                "59144",
                "81457",
                "84532",
                "421614",
                "534352",
                "11155111",
                "11155420"
              ],
              "type": "string"
            }
          },
          "required": [
            "chainId",
            "address"
          ],
          "type": "object"
        },
        "queryParams": {
          "properties": {},
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "address": {
              "description": "Contract address analysed",
              "type": "string"
            },
            "aderyn": {
              "description": "aderyn static-analysis summary when verified source exists",
              "type": "object"
            },
            "analyzedAt": {
              "format": "date-time",
              "type": "string"
            },
            "blockscout": {
              "description": "Source verification from Blockscout",
              "type": "object"
            },
            "bytecodeSize": {
              "description": "Runtime bytecode size in bytes",
              "type": "integer"
            },
            "chainId": {
              "description": "EVM chain id",
              "type": "integer"
            },
            "erc20": {
              "properties": {
                "decimals": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "isLikelyErc20": {
                  "type": "boolean"
                },
                "name": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "owner": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "ownerRenounced": {
                  "type": [
                    "boolean",
                    "null"
                  ]
                },
                "paused": {
                  "type": [
                    "boolean",
                    "null"
                  ]
                },
                "symbol": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "totalSupply": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "type": "object"
            },
            "flags": {
              "description": "Rubric flags, e.g. upgradeable-proxy, owner-not-renounced, mint-function",
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "isContract": {
              "type": "boolean"
            },
            "level": {
              "enum": [
                "low",
                "medium",
                "high",
                "critical"
              ],
              "type": "string"
            },
            "notes": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "opcodes": {
              "properties": {
                "delegatecall": {
                  "type": "boolean"
                },
                "selfdestruct": {
                  "type": "boolean"
                }
              },
              "type": "object"
            },
            "proxy": {
              "description": "Detected proxy pattern (EIP-1967, EIP-1822, EIP-1167, zeppelinos) or null",
              "properties": {
                "admin": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "beacon": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "implementation": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "type": {
                  "type": "string"
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "score": {
              "description": "Risk score, higher is riskier",
              "maximum": 100,
              "minimum": 0,
              "type": "integer"
            },
            "selectors": {
              "description": "Risky function selectors found in the bytecode (mint, blacklist, pause, fees, upgrade)",
              "properties": {
                "found": {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                }
              },
              "type": "object"
            },
            "sourcify": {
              "description": "Source verification from Sourcify (fallback)",
              "type": "object"
            }
          },
          "required": [
            "chainId",
            "address",
            "analyzedAt",
            "isContract",
            "score",
            "level",
            "flags"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}