Overview
The ScrapeGraphAI API provides powerful endpoints for AI-powered web scraping and content extraction. Our RESTful API allows you to extract structured data from any website, perform AI-powered web searches, and convert web pages to clean markdown.Authentication
All API requests require authentication using an API key. You can get your API key from the dashboard.Keep your API key secure and never expose it in client-side code. Use environment variables to manage your keys safely.
Base URL
Available Services
SmartScraper
Extract structured data from any website using AI
SearchScraper
Perform AI-powered web searches with structured results
Markdownify
Convert web content to clean markdown
User
Manage credits and submit feedback
SDKs & Integration
We provide official SDKs to help you integrate quickly:Python SDK
Perfect for data science and backend applications
JavaScript SDK
Ideal for web applications and Node.js
AI Framework Integration
LangChain
Use our services in your LLM workflows
LlamaIndex
Build powerful search and QA systems
Error Handling
Our API uses conventional HTTP response codes:200- Success400- Bad Request401- Unauthorized429- Too Many Requests500- Server Error
Check our error handling guide for detailed information about error responses and how to handle them.
Support
Need help with the API? We’re here to assist:Discord Community
Get help from our community
Email Support
Contact our technical team