# Web3 Smart Contract Classifier

> Web3 Smart Contract Classifier is a paid API for AI agents from api.m2mcent.com, paid per call via x402, $0.222484/call, status unknown (last checked 2026-10-17).

Classifies whether a given text is related to a web3 smart contract (returns true/false)

## Facts

- Endpoint: POST https://api.m2mcent.com/web3-smart-contract-classifier-mcp-675/api/execute?utm_source=zero.xyz
- Price: $0.222484/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/web3-smart-contract-classifier-4f39aa47
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Sikcb69u5_uBvkf-jeEQ9

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 web3-smart-contract-classifier-4f39aa47 -d '<json body>'
```

Example prompt: Can you check if this text is describing a smart contract: 'This Solidity function transfers ERC-20 tokens between wallets when a condition is met on the Ethereum network'?

## When to prefer this

Use this endpoint when you need a lightweight, binary yes/no classification of whether text is related to web3 smart contracts, without needing detailed analysis or explanation. It is well-suited for routing, filtering, or tagging pipelines where speed and a simple boolean output are sufficient. Prefer it over heavier NLP models when you specifically need smart contract domain detection and want to minimize token context overhead.

## Known failure modes

- Missing required 'text' field returns validation error
- Empty string input may return false or an error
- Very long text inputs may be truncated or rejected
- Network/payment failure via x402 protocol results in no response
- Ambiguous text may yield incorrect classification due to model limitations

## How this service works

The premier global index of 1,069 monetized MCP nodes across 205 specialized subdomains. Gasless USDC runtime settlements via x402 V2 Spec on Base L2. Save 95% token context.

## Output

Returns a JSON object with a single boolean field indicating whether the input text is classified as related to a web3 smart contract (true) or not (false).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "text"
 ],
 "properties": {
  "text": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "boolean"
 ],
 "properties": {
  "boolean": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/web3-smart-contract-classifier-4f39aa47/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.m2mcent.com](https://www.zero.xyz/host/api.m2mcent.com/llms.txt)
