M2M Sentinel Market API
Sourced Base market data. Requires an API key or a settled x402 payment.
Sourced Base market data. Requires an API key or a settled x402 payment.
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-market-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: Market
description: Sourced Base market data. Requires an API key or a settled x402 payment.
paths:
/v1/gas/fees:
get:
tags:
- Market
operationId: getGasFees
summary: Observed Base gas price
responses:
'200':
description: Gas observation with provenance
content:
application/json:
schema:
$ref: '#/components/schemas/GasResponse'
'401':
$ref: '#/components/responses/Unauthorized'
'402':
$ref: '#/components/responses/PaymentRequired'
'429':
$ref: '#/components/responses/RateLimited'
'503':
$ref: '#/components/responses/DataSourceUnavailable'
/v1/dex/metrics:
get:
tags:
- Market
operationId: getDexMetrics
summary: Aggregate DEX liquidity and volume for tracked Base tokens
description: The `coverage` object states exactly which tokens were aggregated. This is not a whole-chain total.
responses:
'200':
description: Aggregate with coverage and provenance
content:
application/json:
schema:
$ref: '#/components/schemas/DexMetricsResponse'
'401':
$ref: '#/components/responses/Unauthorized'
'402':
$ref: '#/components/responses/PaymentRequired'
'429':
$ref: '#/components/responses/RateLimited'
'503':
$ref: '#/components/responses/DataSourceUnavailable'
/v1/token/price/{symbol}:
get:
tags:
- Market
operationId: getTokenPrice
summary: Liquidity-weighted Base token price
description: Median of the five deepest indexed pools, so a single manipulated pool cannot move the published price. Unknown symbols return 404 with the supported list; a price is never guessed.
parameters:
- name: symbol
in: path
required: true
schema:
type: string
default: USDC
example: USDC
enum:
- USDC
- WETH
- cbBTC
- AERO
- EURC
- VIRTUAL
- ETH
- DEGEN
- TOSHI
- USDT
- DAI
example: USDC
responses:
'200':
description: Priced token with provenance
content:
application/json:
schema:
$ref: '#/components/schemas/TokenPriceResponse'
'401':
$ref: '#/components/responses/Unauthorized'
'402':
$ref: '#/components/responses/PaymentRequired'
'404':
description: Symbol is not tracked
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
$ref: '#/components/responses/RateLimited'
'503':
$ref: '#/components/responses/DataSourceUnavailable'
/v1/whales/signals:
get:
tags:
- Market
operationId: getWhaleSignals
summary: Large ERC-20 transfers observed on Base
description: Sourced from eth_getLogs over a bounded recent block range and valued using live pool prices. ERC-20 Transfer events only.
responses:
'200':
description: Observed signals with the exact query window
content:
application/json:
schema:
$ref: '#/components/schemas/WhaleResponse'
'401':
$ref: '#/components/responses/Unauthorized'
'402':
$ref: '#/components/responses/PaymentRequired'
'429':
$ref: '#/components/responses/RateLimited'
'503':
$ref: '#/components/responses/DataSourceUnavailable'
components:
schemas:
TokenPriceResponse:
type: object
properties:
status:
type: string
token:
type: object
properties:
symbol:
type: string
name:
type: string
address:
type: string
decimals:
type: integer
priceUsd:
type: number
change24hPercent:
type:
- number
- 'null'
volume24hUsd:
type: integer
liquidityUsd:
type: integer
fdvUsd:
type:
- number
- 'null'
marketCapUsd:
type:
- number
- 'null'
pricedFrom:
type: object
properties:
method:
type: string
deepestPool:
type: object
priceSpreadPercent:
type: number
description: Spread across the pools used. A large spread indicates thin or manipulated liquidity.
poolsConsidered:
type: integer
provenance:
$ref: '#/components/schemas/Provenance'
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
DexMetricsResponse:
type: object
properties:
status:
type: string
metrics:
type: object
properties:
indexedPools:
type: integer
totalVolume24hUsd:
type: integer
totalLiquidityDepthUsd:
type: integer
topPairs:
type: array
items:
type: object
properties:
pair:
type: string
dex:
type: string
pairAddress:
type: string
liquidityUsd:
type: integer
volume24hUsd:
type: integer
priceUsd:
type: number
coverage:
type: object
properties:
description:
type: string
trackedTokens:
type: array
items:
type: string
sourcesQueried:
type: integer
sourcesSucceeded:
type: integer
degraded:
type: boolean
provenance:
$ref: '#/components/schemas/Provenance'
WhaleResponse:
type: object
properties:
status:
type: string
signals:
type: array
items:
type: object
properties:
txHash:
type: string
blockNumber:
type: integer
logIndex:
type: integer
tokenAddress:
type: string
tokenSymbol:
type: string
sender:
type: string
receiver:
type: string
amount:
type: number
amountUsd:
type: integer
priceUsdUsedForValuation:
type: number
query:
type: object
properties:
fromBlock:
type: integer
toBlock:
type: integer
blocksScanned:
type: integer
minimumUsd:
type: number
tokensQueried:
type: array
items:
type: string
tokensReadable:
type: array
items:
type: string
degraded:
type: boolean
provenance:
$ref: '#/components/schemas/Provenance'
X402PaymentRequired:
type: object
required:
- x402Version
- resource
- accepts
properties:
x402Version:
type: integer
const: 2
error:
type: string
resource:
type: object
required:
- url
properties:
url:
type: string
format: uri
description:
type: string
mimeType:
type: string
accepts:
type: array
minItems: 1
items:
type: object
required:
- scheme
- network
- amount
- asset
- payTo
- maxTimeoutSeconds
properties:
scheme:
type: string
const: exact
network:
type: string
const: eip155:8453
amount:
type: string
asset:
type: string
payTo:
type: string
maxTimeoutSeconds:
type: integer
extra:
type: object
extensions:
type: object
GasResponse:
type: object
properties:
status:
type: string
network:
type: string
gasPrice:
type: object
properties:
wei:
type: integer
gwei:
type: number
provenance:
$ref: '#/components/schemas/Provenance'
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'
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.
headers:
RetryAfter:
schema:
type: integer
description: Seconds to wait before retrying.
PaymentRequired:
schema:
type: string
format: byte
description: Base64-encoded JSON x402 v2 challenge.
responses:
PaymentRequired:
description: No credential supplied for a payable route, or the issuance-anchored 31-day credit allowance is exhausted
headers:
PAYMENT-REQUIRED:
$ref: '#/components/headers/PaymentRequired'
content:
application/json:
schema:
$ref: '#/components/schemas/X402PaymentRequired'
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'
DataSourceUnavailable:
description: The upstream data source is unavailable. No value is returned rather than an estimated one.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
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.