Overview
You can now use also use the Olostep API endpoints with pay-per-use payments using stablecoin. These endpoints use the x402 payment protocol, enabling pay-per-use access with stablecoin payments. Each request requires a payment header for authentication and payment.Pay-Per-Use EndpointsAll endpoints listed below accept stablecoin payments via the x402 protocol. No subscription required - pay only for what you use.
Authentication
Include the payment header with your requests:Olostep API
Payment-Enabled Endpoints
POST /v1/maps
This endpoint allows users to get all the urls on a certain website. It can take up to 120 seconds for complex websites. For large websites, results are paginated using cursor-based pagination Price: $0.01 per request Network: base (USDC)POST /v1/scrapes
Initiate a web page scrape Price: $0.01 per request Network: base (USDC)POST /v1/crawls
Starts a new crawl. You receive aid to track the progress. The operation may take 1-10 mins depending upon the site and depth and pages parameters.
Price: Dynamic - calculated per request based on usage
This endpoint uses dynamic pricing. The actual cost is determined by your request parameters and will be shown in the 402 Payment Required response before processing.
POST /v1/answers
The AI will perform actions like searching and browsing web pages to find the answer to the provided task. Execution time is 3-30s depending upon complexity. For longer tasks, use the agent endpoint instead. Price: $0.05 per request Network: base (USDC)Standard Endpoints
These endpoints do not require payment:- GET
/v1/crawls/{crawl_id}- Fetches information about a specific crawl. - GET
/v1/batches/{batch_id}/items- Retrieves the list of items processed for a batch. You can then use theretrieve_idto get the content with the Retrieve Endpoint - GET
/v1/crawls/{crawl_id}/pages- Fetches the list of pages for a specific crawl. - GET
/v1/batches/{batch_id}- Retrieves the status and progress information about a batch. To retrieve the content for a batch, see here - GET
/v1/answers/{answer_id}- This endpoint retrieves a previously completed answer by its ID. - GET
/v1/scrapes/{scrape_id}- Can be used to retrieve response for a scrape. - GET
/v1/retrieve- Retrieve page content of processed batches and crawls urls.
How x402 Works
The payment flow is handled automatically by the x402 SDK:- Make Request - Send a request to the endpoint
- Payment Required - Server responds with payment requirements (402 status)
- Auto-Payment - SDK automatically creates and submits payment
- Get Response - Receive your API response
Getting Started
Install the x402 SDK for your language:Example Usage
Learn More
Powered by Orthogonal