Skip to main content

Setup

Put them in your environment or .env; Data APIs covers the other ways.

Notes

  • Auth is ‘Authorization: Bearer <key>’.
  • Scrapes, crawls, maps, searches and answers are stored for about 7 days by default.
  • Crawls and batches are asynchronous: start, poll the info endpoint, then fetch content with retrieve_id.
  • Olostep also has monitors, schedules, files and a credit top-up endpoint that charges a saved card; those are not in this entry.

Endpoints

Scrape a URL

  • A read over POST: it fetches a page and changes nothing in your account.
  • Results are kept for about 7 days unless storage says otherwise; read them again with scrapes.get.

Get a scrape result

Start a crawl

  • Starts a billed job: it only produces data and changes nothing else in your account.
  • .
  • Async: may take 1-10 minutes; poll crawls.get, then list pages with crawls.pages.

Get a crawl’s status

List a crawl’s pages

  • Page content is fetched with the retrieve endpoint and a page’s retrieve_id.

Map a site’s URLs

  • A read over POST: it lists URLs and changes nothing in your account.
  • Can take up to 120 seconds on complex sites; large sites are paginated with a cursor.

Search the web

  • A read over POST: it runs a search and changes nothing in your account.

Get an AI answer from the web

  • A read over POST: it answers a question and changes nothing in your account.
  • Takes 3-30 seconds; use Olostep’s agent feature for longer tasks.

Start a batch scrape

  • Starts a billed job: it only produces data and changes nothing else in your account.
  • .
  • Async: poll batches.get; per-item content is fetched with the retrieve endpoint.

Get a batch’s status

Retrieve a page’s content

Get the credit balance