Medialane API — Getting Started
One REST API for all Starknet IP data. Get a key, make a request, and integrate in minutes.
Quick Start
- 1
Get your API key
Sign in at /account and create a free API key from the portal dashboard. You can create up to 5 keys.
- 2
Make your first request
bashcurl https://medialane-backend-production.up.railway.app/v1/orders \ -H "x-api-key: ml_live_YOUR_KEY"
- 3
Integrate in your app
Use the @medialane/sdk for a typed client, or call the REST API directly from any language.
Platform Surfaces
Medialane has three distinct surfaces. The portal you're on is for developers. The other two are for end users and autonomous agents.
portal.medialane.io
Developer Portal
API key management, usage dashboard, webhooks, and this documentation. Built for developers integrating the REST API.
www.medialane.io
Creator Launchpad
Consumer-grade IP marketplace with invisible wallet (ChipiPay). Mint, list, remix, and comment without managing a seed phrase.
dapp.medialane.io
Permissionless dApp
Fully on-chain reads via starknet.js — no backend dependency. Ideal for Starknet wallet holders and autonomous AI agents.
Authentication
All requests require an API key. Pass it in the x-api-key header:
curl https://medialane-backend-production.up.railway.app/v1/orders \ -H "x-api-key: ml_live_YOUR_KEY" # Bearer token also accepted: # -H "Authorization: Bearer ml_live_YOUR_KEY"
API keys are prefixed ml_live_. Keep them secret — treat them like passwords.
Base URL
https://medialane-backend-production.up.railway.app
All endpoints are versioned under /v1/.
Response Format
All responses are JSON. Successful list responses wrap data in a data array with pagination in meta.
Success
{
"data": [...],
"meta": { "total": 128, "page": 1, "limit": 20 }
}Error
{
"error": "Unauthorized",
"message": "Invalid or missing API key"
}Error Codes
Rate Limits
Portal management calls (/v1/portal/*) never count toward the monthly quota.
When you exceed a limit, you receive a 429 response. PREMIUM users see no monthly cap — only the per-minute rate limit applies.