Welcome to LLMLayer API
LLMLayer adds web search capabilities to multiple LLMs. Our API lets you search the web using your preferred model - OpenAI models or LLMLayer’s own optimized models - without vendor lock-in.Key Features
Any Model
Use multiple models from top providers. Switch with one parameter.
90% Cost Savings
Pay $ 0.004 per search
Real-time Search
Get current web data with citations and sources.
Streaming Support
Stream responses for better user experience.
API Endpoints
LLMLayer provides the following endpoints:Answer API
/api/v2/answer - AI-powered answers with web searchAnswer Stream
/api/v2/answer_stream - Stream answers in real-timeWeb Search
/api/v2/web_search - Raw search resultsScraper
/api/v2/scrape - Extract page contentMap
/api/v2/map - Discover website URLsCrawl
/api/v2/crawl_stream - Multi-page crawlingYouTube Transcript
/api/v2/youtube_transcript - Extract video transcriptsPDF Content
/api/v2/get_pdf_content - Extract PDF textAuthentication
Authenticate using a Bearer token in your request headers:Get your API key at llmlayer.ai. Start with $2 - no subscription required.
Getting Started
- Get your API key from llmlayer.ai
- Install the SDK:
pip install llmlayer - Make your first search:
