Base Analytics Documents
Architecture, developer guides, Model Context Protocol (MCP) agent tools, and public REST APIs for tokenized stocks, multi-DEX routing, token launches, lending comparisons, and crypto vouchers.
Terminal Modules at a Glance
Coinbase Tokenized Stocks
24/7 equities on Base (NVDAc, AAPLc, TSLAc, COINc, GOOGLc, MSFTc, AMZNc). share backing, live reference pricing feeds, interactive charts, and instant in-app swap routing.
Explore stocksSmart DEX Routing
Aggregates Uniswap v3 (all fee tiers), Aerodrome volatile/stable, Slipstream concentrated liquidity, and 0x API fallback with industry-low 0.25% trading fees (and 0.25% creator revenue share on platform launches).
Open Swap terminal3-Mode Token Launchpad
Deploy vanity 0xB200... tokens, ERC-20 meme coins, or stock-paired memestocks (paired with NVDAc / AAPLc) with built-in creator revenue sharing and anti-snipe block guards.
Launch a tokenLend & Health Simulator
Compare supply & borrow yields across Morpho Blue, Aave v3, Euler, and Superform. Interactive simulator stress-tests collateral price drops and liquidation thresholds.
Compare lending yieldsBase Voucher Protocol
Onchain crypto gift cards. Split ETH, USDC, Tokenized Stocks, or Morpho Yield Vault shares into up to 50 cards with secure Card ID + Secret redemption and instant gifting.
Redeem or create vouchersModel Context Protocol (MCP)
Autonomous agent integration via /api/mcp. Prepares unsigned calldata for batch creations, redemptions, live status lookups, and creator batch indexing.
View MCP specsCompliance & Safety
Configurable product guardrails: Edge geo-gating, Exit-Only guarantee (withdrawals and repayments stay open), first-use risk modal, remote kill switch, and trademark collision protection.
View safety architectureModel Context Protocol (MCP)
Base Analytics exposes an official remote MCP server at https://baseanalytics.app/api/mcp. AI agents running in Claude Desktop, Cursor, OpenAI GPTs, or autonomous scripts can autonomously query vouchers, prepare unsigned batches, and manage crypto gift commerce on Base.
Registered MCP Tools
| Tool Name | Inputs | Description | Returns |
|---|---|---|---|
| voucher_prepare_create | total, cards (1-50), asset?, message?, creator? | Builds unsigned calldata and cryptographic card secrets for batch creation on Base. | calls[], cards[] |
| voucher_prepare_redeem | cardId ("12-3"), secret | Builds unsigned redeem calldata for Base MCP send_calls with amount preview. | calls[], preview |
| voucher_lookup_batch | batchId (number) | Live onchain batch metadata and card status (redeemed vs available). No secrets returned. | batchStatus, cards[] |
| voucher_list_by_creator | creator (0x address) | Indexes all batches created by a wallet with total unredeemed statistics. | batches[], totalUnredeemed |
Public REST API Endpoints
Coinbase Tokenized Stocks Feed
Fetches real-time prices, 24h trading volume, NAV, and reference market data for Coinbase tokenized equities on Base (NVDAc, AAPLc, TSLAc, COINc, GOOGLc, MSFTc, AMZNc).
| Name | Type | Required | Description |
|---|---|---|---|
| category | string | No | Filter category (e.g. 'all', 'crypto-related', 'other') |
| query | string | No | Case-insensitive ticker or symbol search |
| sort | string | No | Sort by 'volume' | 'gainers' | 'mcap' | 'nav' |
| limit | number | No | Items per page (default: 100) |
| page_token | string | No | Cursor for pagination |
| refresh | string | No | Set to '1' to bypass cache and force fresh data |
curl -X GET 'https://baseanalytics.app/api/stocks?sort=volume&limit=10'
{
"stocks": [
{
"symbol": "NVDAc",
"name": "NVIDIA Corp (Tokenized)",
"address": "0x1234...NVDA",
"priceUsd": 138.25,
"nav": 138.2,
"change24h": 3.42,
"volume24hUsd": 1850000,
"mcapUsd": 42000000,
"category": "other"
}
],
"total": 24,
"next_page_token": "10",
"has_more": true,
"timestamp": 1730000000000
}Compliance Guardrails & Exit-Only Architecture
These features are product safeguards pending formal legal counsel review, not legal advice. Base Analytics is a decentralized, non-custodial interface and never claims to be legally “compliant” or government-endorsed. Availability depends on your jurisdiction and the issuer's regulatory terms.
Users in restricted regions or under safety pauses can always withdraw collateral, repay loans, unstake assets and redeem existing gift vouchers. A safety pause still allows selling stock tokens; a restricted region allows no stock trades.
Visitor countries are detected server-side via edge network headers (x-vercel-ip-country). Client-supplied headers are never trusted. We transparently disclose that IP geolocation can be bypassed via VPNs and serves as an application-level product safeguard layer.
A centralized, typed configuration supported by Vercel Edge Config enables instant, zero-redeploy pausing of tokenized stock entry points (buys, borrows, launches, voucher creation) with safe local fallback.
Legal Documents & Policy Schedules
Verified Smart Contracts
Base Voucher Protocol
Custom Multi-Token VoucherMulti-asset crypto gift card protocol. Supports native ETH, USDC, Tokenized Stocks, and Yield Vault shares.
Daily Check-In
Custom Streak RegistryOnchain daily activity streak counter and registry for recording daily attendance on Base.
Booster Contract
Custom UtilityOnchain interactive engagement booster for recording active participation on Base.
GM / GN Social Contract
Custom SocialLightweight decentralized greeting contract capturing social provenance on Base.
Base L1 ↔ L2 Standard Bridge
Optimism PredeployOfficial canonical Base native asset bridge connecting Ethereum L1 and Base L2.
ERC-4337 EntryPoint v0.6
ERC-4337 v0.6Canonical account abstraction EntryPoint for smart wallets and paymasters.
Frequently Asked Questions
Ready to explore the Base Trading Terminal?
Experience real-time tokenized stocks, execute smart routing swaps with creator revenue sharing, or split crypto gift cards in one click.