Find, use and rotate your API key
Your lobstr.io API key is under API & MCP in the app. Send it as a Bearer token to the API v2, as a Token to the API v1, or to the MCP server.
One key for everything: the API v2 (operations), the API v1 (batches) and the MCP server.
Find your API key
- Open API & MCP
In the app, click API & MCP under Developers in the sidebar.
- Copy your key
Click Copy next to your API key.
Send it with every call
In the Authorization header, as a Bearer token:
curl https://api.lobstr.io/v2/balance \ -H "Authorization: Bearer $LOBSTR_API_KEY"
This call is free: it answers your credits left and your plan. The API v1, which runs batches from code, takes the same key as Authorization: Token <key>. Every route is in the API docs.
Keep it secret
Your key spends your credits. Keep it on your server, never in a web page's code or a public repository.
If it leaks, click Rotate on the API & MCP page: a new key replaces it, and the old one stops working right away. Update your scripts, integrations and saved export links with the new one.