AlterLabAlterLab
PricingComparePlaygroundBlogDocsChangelog
    AlterLabAlterLab
    PricingComparePlaygroundBlogDocsChangelog
    IntroductionQuickstartInstallationYour First Request
    REST APIJob PollingAPI KeysSessions APINew
    OverviewPythonNode.js
    JavaScript RenderingOutput FormatsPDF & OCRCachingWebhooksJSON Schema FilteringWebSocket Real-TimeBring Your Own ProxyProAuthenticated ScrapingNewWeb CrawlingBatch ScrapingSchedulerChange DetectionCloud Storage ExportSpend LimitsOrganizations & TeamsAlerts & Notifications
    Structured ExtractionAIE-commerce ScrapingNews MonitoringPrice MonitoringMulti-Page CrawlingMonitoring DashboardAI Agent / MCPMCPData Pipeline to Cloud
    PricingRate LimitsError Codes
    From FirecrawlFrom ApifyFrom ScrapingBee / ScraperAPIFirecrawl v0 API ReferenceLegacy
    PlaygroundPricingStatus
    API Reference
    Auto-generated

    Scrape

    API reference for scrape endpoints.

    Auto-generated

    This page was generated from the OpenAPI spec. Runmake generate-docs to refresh after spec changes.

    POST /api/v1/scrape/js

    POST
    /api/v1/scrape/js

    Scrape (JS render mode) [DEPRECATED]

    Parameters

    NameTypeRequiredDescription
    urlstring
    Required
    Url
    methodstringOptionalMethodDefault: GET
    headersobjectOptionalheaders
    timeoutintegerOptionalTimeoutDefault: 90
    follow_redirectsbooleanOptionalFollow RedirectsDefault: True
    wait_forstringOptionalwait_for
    screenshotbooleanOptionalScreenshotDefault: False
    wait_untilstringOptionalWait UntilDefault: networkidle
    force_refreshbooleanOptionalForce RefreshDefault: False
    include_raw_htmlbooleanOptionalInclude Raw HtmlDefault: False

    Request Example

    Bash
    curl -X POST https://api.alterlab.io/api/v1/scrape/js \
      -H "X-API-Key: YOUR_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "url": "example_url",
        "method": "example_method",
        "timeout": 90,
        "follow_redirects": false
      }'

    Response Example

    JSON
    {
      "url": "example",
      "status_code": 0,
      "content": "example",
      "title": "example",
      "published_at": "example",
      "author": "example"
    }

    POST /api/v1/scrape/light

    POST
    /api/v1/scrape/light

    Scrape (light mode) [DEPRECATED]

    Parameters

    NameTypeRequiredDescription
    urlstring
    Required
    Url
    methodstringOptionalMethodDefault: GET
    headersobjectOptionalheaders
    timeoutintegerOptionalTimeoutDefault: 90
    follow_redirectsbooleanOptionalFollow RedirectsDefault: True
    force_refreshbooleanOptionalForce RefreshDefault: False
    include_raw_htmlbooleanOptionalInclude Raw HtmlDefault: False

    Request Example

    Bash
    curl -X POST https://api.alterlab.io/api/v1/scrape/light \
      -H "X-API-Key: YOUR_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "url": "example_url",
        "method": "example_method",
        "timeout": 90,
        "follow_redirects": false
      }'

    Response Example

    JSON
    {
      "url": "example",
      "status_code": 0,
      "content": "example",
      "title": "example",
      "published_at": "example",
      "author": "example"
    }

    POST /api/v1/scrape/ocr

    POST
    /api/v1/scrape/ocr

    Scrape (OCR mode) [DEPRECATED]

    Parameters

    NameTypeRequiredDescription
    urlstring
    Required
    Url
    languagestringOptionalLanguageDefault: eng
    force_refreshbooleanOptionalForce RefreshDefault: False

    Request Example

    Bash
    curl -X POST https://api.alterlab.io/api/v1/scrape/ocr \
      -H "X-API-Key: YOUR_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "url": "example_url",
        "language": "example_language",
        "force_refresh": false
      }'

    Response Example

    JSON
    {
      "url": "example",
      "status_code": 0,
      "content": "example",
      "title": "example",
      "published_at": "example",
      "author": "example"
    }

    POST /api/v1/scrape/pdf

    POST
    /api/v1/scrape/pdf

    Scrape (PDF mode) [DEPRECATED]

    Parameters

    NameTypeRequiredDescription
    urlstring
    Required
    Url
    formatstringOptionalFormatDefault: markdown
    force_refreshbooleanOptionalForce RefreshDefault: False

    Request Example

    Bash
    curl -X POST https://api.alterlab.io/api/v1/scrape/pdf \
      -H "X-API-Key: YOUR_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "url": "example_url",
        "format": "example_format",
        "force_refresh": false
      }'

    Response Example

    JSON
    {
      "url": "example",
      "status_code": 0,
      "content": "example",
      "title": "example",
      "published_at": "example",
      "author": "example"
    }
    Last updated: March 2026

    On this page