Skip to main content
These commands get data from the web. Each one that fetches new data uses credits. To crawl a whole site, see olostep crawl. To scrape many URLs at once, see olostep batch. All of them print Markdown in a terminal and JSON with --json. See Output.

scrape

Scrape a single page. olostep scrape <url> runs olostep scrape create. See Scrape for the formats and options.

olostep scrape create

Scrape a page into Markdown, HTML or structured data.
Uses credits.
Shorthand: olostep scrape <url>. Arguments Flags Also accepts --json, --fields, --dry-run and --preview. See Global flags.

olostep scrape get

Show a previous scrape by its id.
Arguments Also accepts --json and --fields. See Global flags.
Search the web. olostep search "<query>" runs olostep search create. See Search.

olostep search create

Search the web.
Uses credits.
Shorthand: olostep search "<query>". Arguments Flags Also accepts --json, --fields, --dry-run and --preview. See Global flags.

olostep search get

Show a previous search by its id.
Arguments Also accepts --json and --fields. See Global flags.

map

List a website’s URLs. olostep map <url> runs olostep map create. See Maps.

olostep map create

Discover a website’s URLs.
Uses credits.
Shorthand: olostep map <url>. Arguments Flags Also accepts --json, --fields, --dry-run and --preview. See Global flags.

answer

Research a question on the web. olostep answer "<task>" runs olostep answer create. See Answers.

olostep answer create

Research a question or task on the web, and get an answer or JSON in the shape you ask for.
Uses credits.
Shorthand: olostep answer "<task>". Arguments Flags Also accepts --json, --fields, --dry-run and --preview. See Global flags.

olostep answer get

Show a previous answer by its id.
Arguments Also accepts --json and --fields. See Global flags.

extract

Pull structured data out of a page. olostep extract <url> runs olostep extract run. See LLM extraction.

olostep extract run

Extract structured data from a page with an instruction in plain words.
Uses credits.
Shorthand: olostep extract <url>. Arguments Flags Also accepts --json, --fields, --dry-run and --preview. See Global flags.

content

Read pages you already scraped or crawled, without scraping them again.

olostep content retrieve

Get the stored HTML, Markdown or JSON of a page you already scraped or crawled. The retrieve_id comes from scrape create, scrape get, crawl pages (the Retrieve ID column) or batch items. A scrape id such as scrape_abc123 works too.
Arguments Flags Also accepts --json and --fields. See Global flags.