# SolMachina SMRI Token Risk Scorer

> SolMachina SMRI Token Risk Scorer is a paid API for AI agents from api.solmachina.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Scores a Solana SPL token mint address for risk using the SMRI framework, returning a numeric score, risk band, component scores, and an EXECUTE/REVIEW/REJECT decision

## Facts

- Endpoint: GET https://api.solmachina.com/v1/smri
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/solmachina-smri-token-risk-scorer-4cebea83
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_yv04E405upVZQoVXgw6oV

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 solmachina-smri-token-risk-scorer-4cebea83
```

Example prompt: Before I swap into this Solana token — mint address DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263 — can you get me the SMRI risk score and tell me whether SolMachina says to EXECUTE, REVIEW, or REJECT?

## When to prefer this

Use this endpoint when an AI agent needs a fast, structured, per-call risk decision on a Solana SPL token before executing a trade or DeFi action. It is ideal for autonomous agents that require a trust-first, source-cited risk layer with no account setup, paying only per call in USDC via x402. Prefer this over manual on-chain analysis or generic blockchain explorers when you need a machine-readable EXECUTE/REVIEW/REJECT signal with a composite SMRI score and component breakdown.

## Known failure modes

- Invalid or malformed Base58 mint address returns an error
- Unknown or very new token with insufficient on-chain data returns low confidence or 'unknown' fields
- Payment failure over x402 protocol results in 402 response with no score
- Network or API downtime returns 5xx error
- Token not found on Solana returns a not-found error

## How this service works

Before an AI agent executes on Solana, it asks SolMachina: risk + a decision (EXECUTE/REVIEW/REJECT) + an SMRI score + a signed receipt, paid per call over x402 in USDC. Trust-first — cites every source, says 'unknown' over guessing. No account, no API key.

## Output

Returns a JSON object containing the token mint address, an integer SMRI score, a risk band label, an smriBand label, component sub-scores for contract risk and holder concentration, an integer confidence value, and a signed receipt. The decision field (EXECUTE/REVIEW/REJECT) tells the agent whether to proceed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "mint"
 ],
 "properties": {
  "mint": {
   "type": "string",
   "description": "Base58 SPL token mint to score, e.g. DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263 (BONK)."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "mint": {
   "type": "string"
  },
  "smri": {
   "type": [
    "integer",
    "null"
   ],
   "maximum": 100,
   "minimum": 0
  },
  "riskBand": {
   "type": "string"
  },
  "smriBand": {
   "enum": [
    "unknown",
    "low-risk",
    "medium-risk",
    "high-risk"
   ],
   "type": "string"
  },
  "components": {
   "type": "object",
   "properties": {
    "contract": {
     "type": "object",
     "properties": {
      "note": {
       "type": "string"
      },
      "score": {
       "type": "integer",
       "maximum": 100,
       "minimum": 0
      },
      "weight": {
       "type": "number",
       "maximum": 1,
       "minimum": 0
      }
     }
    },
    "concentration": {
     "type": "object",
     "properties": {
      "note": {
       "type": "string"
      },
      "score": {
       "anyOf": [
        {
         "type": "integer",
         "maximum": 100,
         "minimum": 0
        },
        {
         "const": "unknown"
        }
       ]
      },
      "weight": {
       "type": "number",
       "maximum": 1,
       "minimum": 0
      }
     }
    }
   }
  },
  "confidence": {
   "type": "number",
   "maximum": 1,
   "minimum": 0,
   "description": "Fraction of intended components with available data; not a probability of safety."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/solmachina-smri-token-risk-scorer-4cebea83/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.solmachina.com](https://www.zero.xyz/host/api.solmachina.com/llms.txt)
