Extract

Parse and structure page content using schema-driven extraction instructions.

POST /extract

Extracts content according to a prompt and optional output schema.

POST /extract
{
  "url": "https://example.com/docs",
  "prompt": "Extract key headings and section links.",
  "formats": ["json", "markdown"]
}
200
{
  "success": true,
  "id": "extract-uuid",
  "status": "completed",
  "result": {
    "headings": ["Product", "Quickstart", "FAQ"],
    "links": ["/api", "/pricing"]
  }
}

GET /extract/{id}

Fetches extracted payload by job id.

curl https://fireflare-api.oladapo.workers.dev/extract/extract-uuid

This site uses Just the Docs, a documentation theme for Jekyll.