Turn Any Website Into An API

This example shows how to turn any website into an API using Crawl4AI.

1. Your Request

2. Your Instant API & Data

curl -X POST http://localhost:8000/scrape -H "Content-Type: application/json" -d '{"url": "...", "query": "..."}'

# Or for LLM-based approach:
curl -X POST http://localhost:8000/scrape-with-llm -H "Content-Type: application/json" -d '{"url": "...", "query": "..."}'
{
  "success": true,
  "extracted_data": [
    {
      "title": "Example Book",
      "author": "John Doe",
      "description": "A great book..."
    }
  ]
}

Model Configuration

Configure and manage your AI model configurations

Add New Model

Saved Models

Saved API Requests

View and manage your previous API requests