M2M Sentinel Demo API
Live no-wallet analysis of a fixed sample allowlist.
Live no-wallet analysis of a fixed sample allowlist.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/m2msentinel-com:m2msentinel-com-demo-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: M2M Sentinel — Base Contract Capability Checks Before You…
version: 2.2.0
summary: Can this Base contract be paused, frozen, upgraded, or self-destruct? Static bytecode evidence with proxy and EIP-7702 resolution, returned before your agent signs. Evidence for your policy, never a safety verdict.
description: 'Every protected response carries provenance. Contract analysis reports selected opcode and selector observations, common proxy resolution, evidence quality, and explicit limitations. It does not classify contracts as safe, malicious, or exploitable. When the engine cannot obtain evidence-grade data it returns `capabilityRating: "UNVERIFIED"`, or HTTP 503 `DATA_SOURCE_UNAVAILABLE`. No live value is estimated or defaulted.'
contact:
name: M2M Sentinel API
email: contact@m2msentinel.com
license:
name: Proprietary
url: https://m2msentinel.com/terms
termsOfService: https://m2msentinel.com/terms
servers:
- url: https://api.m2msentinel.com
description: Production High-Performance Gateway (Direct Edge)
- url: https://m2msentinel.com
description: Production Web & Fallback Gateway
security:
- ApiKeyHeader: []
- BearerAuth: []
- X402Payment: []
tags:
- name: Demo
description: Live no-wallet analysis of a fixed sample allowlist.
paths:
/v1/demo/audit/{address}:
get:
tags:
- Demo
operationId: demoAuditContract
summary: Run live capability analysis or tiered preview for any Base contract
description: Uses live Base RPC, proxy resolution, and bytecode capability analysis. For published allowlisted samples, returns full audit evidence. For arbitrary addresses, returns a tiered preview with high-level capability indicators and an upgrade prompt.
security: []
parameters:
- $ref: '#/components/parameters/Address'
responses:
'200':
description: Live sample analysis
content:
application/json:
schema:
$ref: '#/components/schemas/AuditResponse'
'400':
$ref: '#/components/responses/BadRequest'
'503':
$ref: '#/components/responses/ServiceUnavailable'
components:
schemas:
TransactionPreflightObservationBlock:
type: object
additionalProperties: false
required:
- status
- chainId
- network
- blockNumber
- blockHash
- blockTag
- trustLevel
- providerName
- agreement
- sampled
- retrievedAt
- originalRetrievalTime
properties:
status:
type: string
enum:
- PINNED
- UNVERIFIED
chainId:
type: integer
const: 8453
network:
type: string
const: eip155:8453
blockNumber:
oneOf:
- type: integer
minimum: 0
- type: string
pattern: ^[0-9]+$
- type: 'null'
blockHash:
type:
- string
- 'null'
pattern: ^0x[0-9a-f]{64}$
blockTag:
type:
- string
- 'null'
pattern: ^0x(?:0|[1-9a-f][0-9a-f]*)$
trustLevel:
type: string
enum:
- HIGH_TRUST_PRIMARY
- QUORUM_PUBLIC
- DEGRADED_LOW_TRUST
providerName:
type: string
agreement:
type:
- integer
- 'null'
sampled:
type:
- integer
- 'null'
retrievedAt:
type: string
format: date-time
originalRetrievalTime:
type: string
format: date-time
headProvider:
type: string
reason:
type: string
note:
type: string
Reproducibility:
type: object
description: Deterministic reproducibility metadata and cryptographic bytecode hashes for independent verification.
properties:
chainId:
type: integer
example: 8453
network:
type: string
example: eip155:8453
contractAddress:
type: string
runtimeBytecodeHash:
type:
- string
- 'null'
description: SHA-256 hash of the target contract deployed runtime bytecode.
isProxy:
type: boolean
implementationAddress:
type:
- string
- 'null'
implementationBytecodeHash:
type:
- string
- 'null'
description: SHA-256 hash of the implementation bytecode if target is a proxy.
rulesetVersion:
type: string
example: 2.2.0
engineVersion:
type: string
example: 2.2.0
evidenceGrade:
type: boolean
trustLevel:
type: string
retrievedAt:
type: string
format: date-time
Capability:
type: object
required:
- type
- confidence
- reachability
- evidence
properties:
type:
type: string
enum:
- DELEGATECALL
- SELFDESTRUCT
- MINT_SELECTOR
- PAUSE_SELECTOR
- FREEZE_SELECTOR
confidence:
type: string
enum:
- HIGH
- MEDIUM
- LOW
reachability:
type: string
const: NOT_ESTABLISHED
byteOffsetHex:
type: string
selectorHex:
type: string
snippetHex:
type: string
evidence:
type: string
ProxyResolution:
type: object
properties:
isProxy:
type: boolean
proxyType:
type: string
enum:
- NONE
- EIP1967_DIRECT
- EIP1822_UUPS
- ZEPPELINOS_LEGACY
- EIP1967_BEACON
- EIP1967_BEACON_UNRESOLVED
- EIP1167_MINIMAL_PROXY
- DELEGATECALL_PROXY_SUSPECTED
- CYCLE_DETECTED
- MAX_DEPTH_EXCEEDED
targetAddress:
type: string
beaconAddress:
type: string
confidence:
type: string
enum:
- HIGH
- MEDIUM
- LOW
resolutionPath:
type: array
items:
type: object
properties:
from:
type: string
to:
type: string
via:
type: string
warning:
type: string
note:
type: string
Verdict:
type: object
required:
- capabilityRating
- reachability
- evidenceGrade
- reason
- explanation
- executableCapabilities
properties:
capabilityRating:
type: string
enum:
- NO_SELECTED_CAPABILITIES_DETECTED
- REVIEW_RECOMMENDED
- MULTIPLE_FLAGS
- NOT_A_CONTRACT
- UNVERIFIED
reachability:
type: string
const: NOT_ESTABLISHED
evidenceGrade:
type: boolean
description: False when RPC trust or proxy resolution was insufficient to publish a capability label.
reason:
type: string
explanation:
type: string
executableCapabilities:
type: array
items:
type: string
Provenance:
type: object
description: Where a value came from and how old it is. Present on every data response.
properties:
source:
type: string
endpoint:
type: string
trustLevel:
type: string
enum:
- HIGH_TRUST_PRIMARY
- QUORUM_PUBLIC
- DEGRADED_LOW_TRUST
agreement:
type: integer
description: Providers that returned the selected result.
sampled:
type: integer
description: Providers that answered at all.
retrievedAt:
type: string
format: date-time
ageSeconds:
type: integer
network:
type: string
note:
type:
- string
- 'null'
Dissection:
type: object
properties:
isValidContract:
type: boolean
bytecodeSizeBytes:
type: integer
targetBytecodeHash:
type:
- string
- 'null'
description: Cryptographic SHA-256 hash of the analyzed bytecode
capabilities:
type: array
items:
$ref: '#/components/schemas/Capability'
detectedCapabilities:
type: array
items:
type: string
metadata:
type: object
properties:
disclaimer:
type: string
Error:
type: object
required:
- error
- message
properties:
error:
type: string
examples:
- UNAUTHORIZED
- PAYMENT_REQUIRED
- DATA_SOURCE_UNAVAILABLE
- RATE_LIMITED
- CREDITS_EXHAUSTED
- METHOD_NOT_ALLOWED
message:
type: string
reason:
type: string
source:
type: string
field:
type: string
operation:
type: string
observationBlock:
$ref: '#/components/schemas/TransactionPreflightObservationBlock'
reference:
type: string
description: Correlation id for a server-side error.
AuditResponse:
type: object
properties:
status:
type: string
payoutWallet:
type: string
audit:
type: object
required:
- address
- analysisKind
- notASafetyGuarantee
- reachability
- limitations
properties:
address:
type: string
analysisKind:
type: string
const: STATIC_BYTECODE_CAPABILITY_HEURISTIC
notASafetyGuarantee:
type: boolean
const: true
reachability:
type: string
const: NOT_ESTABLISHED
limitations:
type: array
items:
type: string
proxyResolution:
$ref: '#/components/schemas/ProxyResolution'
dissection:
$ref: '#/components/schemas/Dissection'
capabilityRating:
type: string
verdict:
$ref: '#/components/schemas/Verdict'
capabilityScore:
type:
- integer
- 'null'
minimum: 1
maximum: 100
scoreBreakdown:
type: array
items:
type: object
scoreMeaning:
type:
- string
- 'null'
evidenceGrade:
type: boolean
reproducibility:
$ref: '#/components/schemas/Reproducibility'
network:
type: string
provenance:
$ref: '#/components/schemas/Provenance'
responses:
BadRequest:
description: Malformed input
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
ServiceUnavailable:
description: A required dependency is unavailable; the request failed closed
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
parameters:
Address:
name: address
in: path
required: true
description: Base smart contract address (20-byte hexadecimal, checksummed or lowercase)
schema:
type: string
pattern: ^0x[0-9a-fA-F]{40}$
default: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'
example: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'
example: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'
examples:
usdc:
value: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'
securitySchemes:
ApiKeyHeader:
type: apiKey
in: header
name: x-api-key
description: Header only. Credentials supplied in a query string are rejected with HTTP 401 and must be rotated.
BearerAuth:
type: http
scheme: bearer
description: Alternative to x-api-key.
RapidApiBootstrap:
type: apiKey
in: header
name: x-m2m-rapidapi-bootstrap
description: Temporary operator token used only for GET /v1/operator/rapidapi-proxy-digest. RAPIDAPI_BOOTSTRAP_TOKEN must be at least 32 characters; remove it immediately after bootstrap. The comparison is performed on fixed-length SHA-256 digests in constant time.
RapidApiGateway:
type: apiKey
in: header
name: x-rapidapi-key
description: RapidAPI marketplace authentication. The gateway authenticates and meters the marketplace subscription; the origin additionally requires its configured private proxy-secret boundary.
X402Payment:
type: apiKey
in: header
name: PAYMENT-SIGNATURE
description: x402 v2 micro-payment. Call without a credential to receive HTTP 402 and a PAYMENT-REQUIRED challenge, settle it, then retry with this header.