Skip to content

Latest commit

 

History

History
94 lines (72 loc) · 2.71 KB

File metadata and controls

94 lines (72 loc) · 2.71 KB
title Introduction
description Complete reference for the ScrapeGraphAI REST API

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

Extract structured data from any website using AI Perform AI-powered web searches with structured results Convert web content to clean markdown Manage credits and submit feedback

SDKs & Integration

We provide official SDKs to help you integrate quickly:

Perfect for data science and backend applications Ideal for web applications and Node.js

AI Framework Integration

Use our services in your LLM workflows Build powerful search and QA systems

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](/api-reference/errors) for detailed information about error responses and how to handle them.

Support

Need help with the API? We're here to assist:

Get help from our community Contact our technical team