# LLMLAYER API Documentation ## Docs - [Answer API](https://docs.llmlayer.ai/answer.md): Generate web-grounded answers with /answer and real-time SSE with /answer_stream. - [Answer API - Web-enhanced AI responses](https://docs.llmlayer.ai/api-reference/endpoint/answer.md): Search the web and generate AI-powered answers using your chosen LLM model. Supports multiple search queries, custom prompts, and structured JSON output. - [Crawl API - Multi-page website crawler with streaming](https://docs.llmlayer.ai/api-reference/endpoint/crawl.md): Crawl multiple pages from a website with depth control. Streams results as pages are scraped. Returns markdown content per page. Billed per successfully scraped page ($0.001/page). - [Map API - Discover URLs on a website](https://docs.llmlayer.ai/api-reference/endpoint/map.md): Firecrawl-style URL discovery. Maps all URLs on a website with lightweight titles (no content extraction). Useful for site exploration before crawling. - [Scraper API - Multi-format content extraction](https://docs.llmlayer.ai/api-reference/endpoint/scrape.md): Extract content from any URL in multiple formats simultaneously: markdown, HTML, or screenshot (base64). - [PDF Content API - Extract text from PDFs](https://docs.llmlayer.ai/api-reference/endpoint/scrape-pdf.md): Extract text content from PDF documents. 15-second timeout with proper 504 handling. - [Answer API - Stream responses in real-time](https://docs.llmlayer.ai/api-reference/endpoint/stream-answer.md): Stream search results and AI responses in real-time using Server-Sent Events (SSE). Does not support JSON structured output. - [Web Search API - Raw search results](https://docs.llmlayer.ai/api-reference/endpoint/web-search.md): Search the web across multiple content types (general, news, shopping, videos, images, scholar) without AI processing. Returns raw search results. - [YouTube Transcript API - Extract video transcripts](https://docs.llmlayer.ai/api-reference/endpoint/youtube-transcript.md): Extract transcripts from YouTube videos with optional language selection. Returns transcript plus video metadata (title, author, views, likes, date). - [Overview](https://docs.llmlayer.ai/api-reference/introduction.md): Add web search capabilities to any LLM with a single API - [Crawl API](https://docs.llmlayer.ai/crawl.md): Crawl multiple pages from a website automatically. Extract content in Markdown with depth control and real-time streaming. - [Introduction](https://docs.llmlayer.ai/introduction.md): The Web API for AI Agents - Search, scrape, answer, crawl, map and extract content with multiple LLMs - [Map API](https://docs.llmlayer.ai/map.md): Discover all URLs on a website. Map entire site structures, find all pages, and build comprehensive URL lists before crawling or scraping. - [Rate Limits](https://docs.llmlayer.ai/rate-limits.md): LLMLayer uses tiered rate limiting based on your total credit purchases. - [Scraper API](https://docs.llmlayer.ai/scrape.md): Extract content from any website in multiple formats - markdown, HTML, or screenshot. Get clean, structured data from web pages automatically. - [Web Search API](https://docs.llmlayer.ai/web-search.md): Search the web programmatically. Get real-time results from general web, news, images, videos, shopping, and academic sources with location and time filters. - [YouTube Transcript API](https://docs.llmlayer.ai/youtube-transcript.md): Extract transcripts from any public YouTube video in available languages. ## OpenAPI Specs - [openapi](https://docs.llmlayer.ai/api-reference/openapi.json) ## Optional - [Community](https://discord.gg/EqQF4cjTq5)