Skip to main content
Glama

scrape

Extract content from any webpage as markdown, LLM-optimized text, plain text, or JSON. Automatically bypasses bot protection and handles JavaScript rendering for reliable data collection.

Instructions

Scrape a single URL and extract its content as markdown, LLM-optimized text, plain text, or full JSON. Automatically falls back to the webclaw cloud API when bot protection or JS rendering is detected.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
browserNoBrowser profile: "chrome" (default), "firefox", or "random"
exclude_selectorsNoCSS selectors to exclude from output
formatNoOutput format: "markdown" (default), "llm", "text", or "json"
include_selectorsNoCSS selectors to include (only extract matching elements)
only_main_contentNoIf true, extract only the main content (article/main element)
urlYesURL to scrape

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/0xMassi/webclaw'

If you have feedback or need assistance with the MCP directory API, please join our Discord server