Skip to main content

Get Your API Key

  1. Sign up at whizo.ai
  2. Navigate to your API Keys dashboard
  3. Create a new API key and copy it securely
Keep your API key secret and never expose it in client-side code or public repositories.

Make Your First Request

Scrape a Webpage

The simplest way to get started is to scrape content from a webpage:
curl -X POST "https://api.whizo.ai/v1/scrape" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://example.com",
    "options": {
      "format": "markdown"
    }
  }'

Response

{
  "success": true,
  "data": {
    "content": "# Example Domain\n\nThis domain is for use in illustrative examples...",
    "metadata": {
      "title": "Example Domain",
      "url": "https://example.com",
      "statusCode": 200,
      "extractedAt": "2024-01-15T10:30:00Z",
      "processingTime": 1200,
      "creditsUsed": 1
    }
  }
}

Advanced Features

JavaScript Rendering

For dynamic websites that require JavaScript:
curl -X POST "https://api.whizo.ai/v1/scrape" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://spa-example.com",
    "options": {
      "format": "markdown",
      "javascript": true,
      "waitTime": 3
    }
  }'

Next Steps