Skip to main content
Scrape one web page and get its content as Markdown. One scrape uses credits from your account.
1

Get your API key

Sign in to the Olostep dashboard and copy an API key. If you do not have an account, create one.Set the key as an environment variable. Then the key stays out of your code.
2

Check your key

Get your credit balance. This request checks the key, and it is free.
If the key works, the response shows your balance in credits. A new account includes 500 credits to start. The cURL response looks like this (shortened):
Response (shortened)
If you get 401 or 402, see If it does not work.
3

Install a client

Install the client that you want to use. For cURL or PowerShell, skip this step.
The Python SDK needs Python 3.11 to 3.13. The Node.js SDK needs Node.js 18 or later. The CLI needs macOS or Linux and Node.js 20.19 or later. See Install the CLI for details.The CLI signs in with your Olostep account, not with the API key. If the installer changed your PATH, open a new terminal first. Then sign in:
4

Scrape a page

Send https://example.com to the Scrape endpoint and ask for Markdown. Use the same terminal in which you set the key.
To run the Python sample, save it as quickstart.py and run python quickstart.py. To run the Node.js sample, save it as quickstart.mjs and run node quickstart.mjs.
5

Read the result

cURL prints the raw JSON response. PowerShell, Python, and Node.js print the Markdown content. The CLI prints the result for your terminal.In the API response, the page content is in result.markdown_content:
API response (shortened)
Keep the id if you want to get this scrape again later with GET /v1/scrapes/{scrape_id}.

If it does not work

With cURL, add -i to the command to also see the HTTP status.

Next steps

Scrape options

Formats, parsers, structured JSON, and more.

Many URLs at once

Scrape a list of URLs in one batch job.

Crawl a website

Get the pages of a whole site.

Search the web

Find relevant links for a query.

Answers

Ask a question and get an answer with sources.

SDKs

Python and Node.js libraries.

AI agents

Give your AI agent web access with the Olostep MCP server.