Base Analytics Documents, Developer Guides and Public API

Documentation portal for Base Analytics: Coinbase Tokenized Stocks (NVDAc, AAPLc, TSLAc, COINc), compliance and product safeguards (edge geo-gating, exit-only mode, and remote kill switch controls), smart DEX routing across Uniswap v3, Aerodrome, and 0x with creator revenue sharing, 3-mode token launchpad (B20 vanity, ERC-20 meme coins, stock-paired memestocks), lending comparisons across Morpho Blue and Aave v3 with Collateral Health Factor Simulator, and Base Voucher gift cards.

Documentation & Developer PortalBase Mainnet 8453

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.

Architecture & Features

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 stocks

Smart 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 terminal

3-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 token

Lend & 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 yields

Base 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 vouchers

Model 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 specs

Compliance & 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 architecture
Autonomous AI Integration

Model Context Protocol (MCP)

MCP v1.26

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.

Claude Code / CLI Setup
claude mcp add --transport http base-voucher https://baseanalytics.app/api/mcp
Cursor / Claude Desktop Config
{"mcpServers":{"baseVoucher":{"url":"https://baseanalytics.app/api/mcp"}}}

Registered MCP Tools

Tool NameInputsDescriptionReturns
voucher_prepare_createtotal, cards (1-50), asset?, message?, creator?Builds unsigned calldata and cryptographic card secrets for batch creation on Base.calls[], cards[]
voucher_prepare_redeemcardId ("12-3"), secretBuilds unsigned redeem calldata for Base MCP send_calls with amount preview.calls[], preview
voucher_lookup_batchbatchId (number)Live onchain batch metadata and card status (redeemed vs available). No secrets returned.batchStatus, cards[]
voucher_list_by_creatorcreator (0x address)Indexes all batches created by a wallet with total unredeemed statistics.batches[], totalUnredeemed
Developer Integration

Public REST API Endpoints

Base URL: https://baseanalytics.app
Available Endpoints (11)
GET/api/stocks

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).

Parameters
NameTypeRequiredDescription
categorystringNoFilter category (e.g. 'all', 'crypto-related', 'other')
querystringNoCase-insensitive ticker or symbol search
sortstringNoSort by 'volume' | 'gainers' | 'mcap' | 'nav'
limitnumberNoItems per page (default: 100)
page_tokenstringNoCursor for pagination
refreshstringNoSet to '1' to bypass cache and force fresh data
cURL Request Example
curl -X GET 'https://baseanalytics.app/api/stocks?sort=volume&limit=10'
Example Response (200 OK)
{
  "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
}
Product Safeguards & Legal Disclosures

Compliance Guardrails & Exit-Only Architecture

Product Safeguards
Regulatory Notice & Legal Review Disclaimer

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.

The Exit-Only Guarantee

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.

Server-Side Edge Geo-Gating

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.

Remote Safety Kill Switch

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.

Onchain Protocol

Verified Smart Contracts

Builder Code: bc_4uoh9iu2

Base Voucher Protocol

Custom Multi-Token Voucher

Multi-asset crypto gift card protocol. Supports native ETH, USDC, Tokenized Stocks, and Yield Vault shares.

0xc118afff969db6cd6d2de639e2c8ba1223768fce
Batch splitting (up to 50 cards)Keccak256 secret verificationOne card per wallet rate limit

Daily Check-In

Custom Streak Registry

Onchain daily activity streak counter and registry for recording daily attendance on Base.

0xABc7099C631E18640ea60b25116407aa17354FBb
Daily streak maintenanceAnti-abuse cooldowns

Booster Contract

Custom Utility

Onchain interactive engagement booster for recording active participation on Base.

0x0d1BE33F8B6a33BeEe7b3bb834DF6f8c168B2e46
Protocol engagement boostVerified onchain action

GM / GN Social Contract

Custom Social

Lightweight decentralized greeting contract capturing social provenance on Base.

0xdb4f873B33F448aeA8Bb2b3B7e3ab9561329608A
Decentralized GM / GN loggingSocial provenance

Base L1 ↔ L2 Standard Bridge

Optimism Predeploy

Official canonical Base native asset bridge connecting Ethereum L1 and Base L2.

0x4200000000000000000000000000000000000010
Canonical deposit & withdrawalNative gas efficiency

ERC-4337 EntryPoint v0.6

ERC-4337 v0.6

Canonical account abstraction EntryPoint for smart wallets and paymasters.

0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789
Bundled UserOperationsGas sponsorship execution

ERC-4337 EntryPoint v0.7

ERC-4337 v0.7

Upgraded account abstraction EntryPoint supporting latest paymaster standards.

0x0000000071727De22E5E9d8BAf0edAc6f37da032
Gas optimizationModular smart accounts
Knowledge Base

Frequently Asked Questions

16 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.