# MarPal Backend API & Sitetree (LLMs Sitemap) ## Overview This is the FastAPI backend serving MarPal's multi-agent system and dynamic landing pages. ## API Capabilities - [skill.md](https://app.marpal.co/skill.md): Refer to the primary frontend application's skill definition for full capability bounds. ## Markdown Endpoints (AEO) When crawling landing pages mapped to this backend (e.g., `lpage.website/p/`), append `?format=md` to any HTML route. The server will dynamically parse the HTML and return a clean, token-efficient Markdown representation of the landing page. - `GET /p/{slug}?format=md` - `GET /pages/{slug}?format=md` - Response Header `X-Token-Count`: An estimate of the body tag's token depth.