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.

SGAI-APIKEY: your-api-key-here

Keep your API key secure and never expose it in client-side code. Use environment variables to manage your keys safely.

Base URL

https://api.scrapegraphai.com/v1

Available Services

SDKs & Integration

We provide official SDKs to help you integrate quickly:

AI Framework Integration

Error Handling

Our API uses conventional HTTP response codes:

  • 200 - Success
  • 400 - Bad Request
  • 401 - Unauthorized
  • 429 - Too Many Requests
  • 500 - 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: