Create a key in the dashboard, under Connect. It starts with lss_live_. You can copy it again from there any time. Keep it secret. Your account comes with 50 free credits.
The examples on this page read the key from an environment variable, so it is not written in every command or saved in a file you share:
export LOCALSCREENSHOT_API_KEY="your key"
2Take a screenshot
Ask your AI
Add our MCP server to your AI tool, with your key in the Authorization header. Ask your AI (MCP) has the exact line for each tool. Then just ask:
Take a screenshot of wikipedia.org on an iPhone.
Your AI gets three tools: take_screenshot, list_countries and get_credits.
Or call the API
Send the page address to /v1/screenshot. The answer is the image itself. Your key goes in the Authorization header, never in the address.
3Add what you need
Every option is one parameter. A few to start with:
Option
What it does
device=iphone_15
Capture the page as a phone sees it.
full_page=true
Capture the whole page, not only the visible part.
block_cookie_banners=true
Remove most cookie banners before the picture.
country=DK
Load the page from a country. 227 to choose from.
format=pdf
Save the page as a PDF. Also png, jpeg, webp.
response=json
Get a link to the image and the page details instead of the image.