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

    Extract

    API reference for extract endpoints.

    Auto-generated

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

    POST /api/v1/extract

    POST
    /api/v1/extract

    Extract structured data from content

    Parameters

    NameTypeRequiredDescription
    contentstring
    Required
    Raw content to extract from (HTML, text, markdown, or base64-encoded PDF)
    content_type"html" | "text" | "markdown"OptionalType of the provided contentDefault: html
    extraction_schemaobjectOptionalextraction_schema
    extraction_profile"auto" | "product" | "article" | "job_posting" | "faq" | "recipe" | "event"Optionalextraction_profile
    extraction_promptstringOptionalextraction_prompt
    formatsstring[]OptionalOutput formats for content transformationDefault: ['json']
    source_urlstringOptionalsource_url
    evidencebooleanOptionalInclude field provenance/evidence for extracted fieldsDefault: False

    Request Example

    Bash
    curl -X POST https://api.alterlab.io/api/v1/extract \
      -H "X-API-Key: YOUR_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "content": "example_content",
        "content_type": "..."
      }'

    Response Example

    JSON
    {
      "extract_id": "example",
      "formats": {},
      "credits_used": 0,
      "model_used": "example",
      "extraction_method": "example",
      "content_size_chars": 0
    }
    Last updated: March 2026

    On this page