API access is gated by MDLN token balance. Top up credits with USDC. Hold more MDLN for bonus credits.
Connect Wallet & Get AccessProvisioning an API key is open to any connected wallet — no minimum balance, no gate. Holding MDLN is optional and only boosts the credits you receive per USDC deposit. Your tokens stay in your wallet — it's a balance check, never a fee or a lock-up.
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.
starknet.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.