Skip to main content
For websites with changing structures or one-off extraction needs, Olostep offers LLM-powered extraction. This approach:
  • Feeds the content to a Large Language Model
  • Instructs the model to parse and return only the specified data
  • Returns a clean JSON structure containing exactly what you need
  • Endpoint: POST https://api.olostep.com/v1/scrapes (auth: Authorization: Bearer <YOUR_API_KEY>)
  • Required: url_to_scrape, formats including "json", and llm_extract with a schema (JSON Schema, top level an object) or a prompt (plain-language instruction)
  • Returns: result.json_content (stringified JSON — parse it)
  • Sync or async: Sync — the result is in the response.
  • SDK / CLI: olostep extract <url> -i "<what to extract>" (optional --schema)
  • Use instead: the same sites at scale → Parsers (faster and cheaper)
You can either pass the schema or a prompt to the LLM.
The prompt is a natural language string that is passed to the LLM to extract the data. The LLM decides how to extract the data based on the prompt. You can use this when you don’t want to use a schema. Sample Response:
json_content is the stringified JSON content of the event. You can access it as a JSON object by parsing the string.