API access is gated by MDLN token balance. Top up credits with USDC. Hold more MDLN for bonus credits.
Connect Wallet & Get AccessTo provision an API key you need a minimum of 500 MDLN in your wallet. Your tokens stay in your wallet — this is a balance check, not a fee or a lock-up. Holding more MDLN increases the credits you receive per USDC deposit.
MDLN balance is read on-chain at deposit time. Get MDLN at medialane.io.
Credits are the billing unit. Top up by depositing USDC on Starknet from your dashboard. Credits never expire. Different endpoint categories consume different amounts per call.
402 Payment Required
When your credit balance reaches zero, the API returns 402 Payment Required with an X-Credits-Remaining: 0 header. AI agents can detect this response and trigger a USDC deposit autonomously. See the Agent Quickstart for a code example.
One API key. All endpoints. Assets, orders, minting, licensing, drops, credentials, comments, and real-time events.
API Reference@medialane/sdk — typed client with on-chain marketplace helpers. Framework-agnostic.
SDK DocsSubscribe to on-chain events. Signed POST payloads pushed to your endpoint the moment an event is indexed.
Webhook DocsManage API keys, view credit balance, deposit USDC, and inspect usage history from your account.
Go to DashboardBoth Medialane consumer apps are built entirely on the SDK and REST API — the same surface available to you.
medialane.io
Consumer-grade marketplace with invisible wallet (ChipiPay). Mint, list, remix, and comment without managing a seed phrase. Runs on the Collections, Minting, Orders, and Remix APIs.
dapp.medialane.io
Fully on-chain reads via starknet.js. No backend dependency for browsing — ideal for Starknet wallet holders. Uses Activities, Trade Intents, and Asset Metadata APIs for real-time state.