M2M Sentinel Onboarding API
Free-tier and paid key provisioning. No credential required.
Free-tier and paid key provisioning. No credential required.
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-onboarding-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: Onboarding
description: Free-tier and paid key provisioning. No credential required.
paths:
/v1/subscribe/free/challenge:
post:
tags:
- Onboarding
operationId: createFreeChallenge
summary: Request a wallet challenge for a free key
security: []
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- userWallet
properties:
userWallet:
type: string
pattern: ^0x[0-9a-fA-F]{40}$
examples:
- '0x6d6C398390cfb88f1CD42715B84906a0Bd6652aa'
responses:
'200':
description: Challenge issued
content:
application/json:
schema:
$ref: '#/components/schemas/IntentEnvelope'
'400':
$ref: '#/components/responses/BadRequest'
'429':
$ref: '#/components/responses/RateLimited'
'503':
$ref: '#/components/responses/ServiceUnavailable'
/v1/subscribe/free/claim:
post:
tags:
- Onboarding
operationId: claimFreeKey
summary: Exchange a signed challenge for a free key
description: Allocated once per wallet. The raw key is returned exactly once and is never recoverable afterwards.
security: []
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- intentId
- signature
properties:
intentId:
type: string
signature:
type: string
description: personal_sign signature over intent.messageToSign
responses:
'200':
description: Key issued
content:
application/json:
schema:
$ref: '#/components/schemas/IssuedKey'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'409':
description: A free key already exists for this wallet
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
$ref: '#/components/responses/RateLimited'
'503':
$ref: '#/components/responses/ServiceUnavailable'
/v1/subscribe/intents:
post:
tags:
- Onboarding
operationId: createPurchaseIntent
summary: Create a signable purchase intent with a frozen quote
description: The exact USDC amount (and, when a live ETH quote exists, the exact wei amount), duration and optional same-key renewal target are frozen into the message you sign. The intent is valid for 15 minutes. Renewals require the active same-tier paid key in x-api-key; changing tiers requires a new key.
security: []
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- tier
- userWallet
properties:
tier:
type: string
enum:
- STARTER
- GROWTH
- PRO
userWallet:
type: string
pattern: ^0x[0-9a-fA-F]{40}$
description: Must be the wallet that will send the payment.
durationDays:
type: integer
enum:
- 31
- 90
- 365
default: 31
renewExistingKey:
type: boolean
default: false
description: When true, present the active same-tier paid key in x-api-key. The key expiry is extended atomically and its raw secret does not change.
responses:
'200':
description: Intent created
content:
application/json:
schema:
$ref: '#/components/schemas/PurchaseIntent'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'429':
$ref: '#/components/responses/RateLimited'
'503':
$ref: '#/components/responses/ServiceUnavailable'
/v1/subscribe/crypto:
post:
tags:
- Onboarding
operationId: claimSubscription
summary: Claim a subscription key after on-chain payment
description: Requires 3 block confirmations and a credentialed RPC. The signer of the intent, the transaction sender and the payment sender must be the same wallet. A transaction hash can be redeemed exactly once.
security: []
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- intentId
- signature
- txHash
properties:
intentId:
type: string
signature:
type: string
txHash:
type: string
pattern: ^0x[0-9a-fA-F]{64}$
responses:
'200':
description: Payment verified and key provisioned
content:
application/json:
schema:
$ref: '#/components/schemas/IssuedKey'
'400':
description: Intent, amount, sender or finality check failed
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
$ref: '#/components/responses/RateLimited'
'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
PurchaseIntent:
allOf:
- $ref: '#/components/schemas/IntentEnvelope'
- type: object
properties:
payment:
type: object
properties:
payTo:
type: string
network:
type: string
priceUsd:
type: number
usdc:
type: object
properties:
address:
type: string
baseUnits:
type: string
decimals:
type: integer
nativeEth:
type:
- object
- 'null'
description: Null when no live ETH quote was available; settle in USDC instead.
Plan:
type: object
properties:
id:
type: string
label:
type: string
priceUsd:
type:
- number
- 'null'
monthlyCredits:
type:
- integer
- 'null'
description: Hard cap per issuance-anchored 31-day access cycle. Never null for a purchasable plan.
dailyCredits:
type:
- integer
- 'null'
burstPerMinute:
type:
- integer
- 'null'
sla:
type:
- string
- 'null'
purchasable:
type: boolean
description:
type: string
usdcBaseUnits:
type:
- string
- 'null'
IntentEnvelope:
type: object
properties:
status:
type: string
intent:
type: object
properties:
id:
type: string
tier:
type: string
userWallet:
type: string
durationDays:
type: integer
enum:
- 31
- 90
- 365
description: Present on paid purchase intents.
renewExistingKey:
type: boolean
description: Present on paid purchase intents; true when the payment extends the presented key.
expiresAt:
type: string
format: date-time
messageToSign:
type: string
next:
type: array
items:
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.
IssuedKey:
type: object
properties:
status:
type: string
message:
type: string
apiKey:
type: string
description: Returned exactly once for a new or recovered key. Storage uses a server-keyed HMAC-SHA-256 lookup index plus a separate randomly salted SHA-256 verifier; the plaintext key is not persisted. Paid keys can later be wallet-rotated; renewal keeps the current raw secret and omits this field.
tier:
type: string
plan:
$ref: '#/components/schemas/Plan'
expiresAt:
type: string
format: date-time
txHash:
type: string
renewed:
type: boolean
durationDays:
type: integer
enum:
- 31
- 90
- 365
responses:
BadRequest:
description: Malformed input
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
Unauthorized:
description: Missing or invalid credential, or a credential was supplied in the query string
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
RateLimited:
description: A plan burst limit or bounded public/intent retry limit was exceeded
headers:
Retry-After:
$ref: '#/components/headers/RetryAfter'
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'
headers:
RetryAfter:
schema:
type: integer
description: Seconds to wait before retrying.
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.