# oassis > Web infrastructure for AI agents: Web Tools, Web Tasks and scheduled Agents. ## Access and credits 1 credit = $0.002. A basic single-format page costs 1 credit. MCP without a key has a one-time 100-credit trial for scrape and map only. Create a verified account at https://oassis.dev/signup for 1,000 welcome credits, then create an API key at https://oassis.dev/dashboard/billing. Use Authorization: Bearer oas_… for MCP or HTTP. Buy 2,500 / 10,000 / 25,000 credits for $5 / $20 / $50, once or monthly. Status, cancellation and discovery are free. Other operations consume credits according to their quoted cost; fractional credits are supported. x402 remains available independently. - **MCP:** 100 trial credits for scrape/map, once per trial identity. No account or key is needed for that trial. Other paid tools and further use require an API key and available credits. - **HTTP with an API key:** send Authorization: Bearer oas_... and use the same account credits as MCP. - **HTTP with x402:** paid Web Tools and Task starts accept USDC wallet payment without an account. An unpaid valid POST returns HTTP 402 and PAYMENT-REQUIRED. Pay and repeat the request; PAYMENT-RESPONSE carries the settlement receipt. - **Refunds:** eligible unused work is returned to account credits. Settled x402 payments cannot be automatically refunded on-chain. Research over x402 buys a fixed execution budget; account-key Research reserves a maximum and charges actual cost. - **Discovery and lifecycle:** reading documentation or a challenge, checking status and requesting cancellation do not create a new payment. Closing a browser session can settle outstanding browser time on the account. - **Credit packages:** the billing dashboard shows checkout availability for one-time or monthly packages. Create and verify an account before generating a key. ## Route structure - /web/v1: synchronous Web Tools, sessions and feedback. - /tasks/v1/scrape/batch and /tasks/v1/crawl: asynchronous extraction jobs. Starts return jobId; poll the corresponding GET /{id}. POST /{id}/cancel stops pending work. - /tasks/v1/research: one-shot research with sources. A 202 means accepted, not completed. Check status until completed, partial, failed or cancelled. - /agents/v1: recurring monitoring services. Currently free with an account API key, up to 10 active services per account; daily or weekly. No MCP tools. - Use only the definitive routes below. Older /v1, /agent/v1 and extraction under /web/v1 are not aliases. ## Web Tools ### GET /web/v1/scrape Discovery only: no execution and no charge. Without payment credentials the endpoint returns HTTP 402 with its description and a PAYMENT-REQUIRED challenge. Use /openapi.json or /llms.txt for HTTP 200 documentation. ### POST /web/v1/scrape Processes a page and returns every output you ask for in `formats` at once. A partial failure does not void the rest. HTTP supports the same Bearer API key and shared credits as MCP, or an independent x402 wallet payment. - Price: from $0.002 - MCP tool: `web_scrape` ### GET /web/v1/session Discovery only: no execution and no charge. Without payment credentials the endpoint returns HTTP 402 with its description and a PAYMENT-REQUIRED challenge. Use /openapi.json or /llms.txt for HTTP 200 documentation. ### POST /web/v1/session Opens a session and navigates. Same fields as /scrape; `formats` defaults to ["controls"]. Returns `sessionId`. HTTP supports the same Bearer API key and shared credits as MCP, or an independent x402 wallet payment. - Price: from $0.005 - MCP tool: `web_session_open` ### GET /web/v1/act Discovery only: no execution and no charge. Without payment credentials the endpoint returns HTTP 402 with its description and a PAYMENT-REQUIRED challenge. Use /openapi.json or /llms.txt for HTTP 200 documentation. ### POST /web/v1/act Runs actions against an open session and returns the outputs of the resulting state. The `ref`s from `controls` are what you act on. HTTP supports the same Bearer API key and shared credits as MCP, or an independent x402 wallet payment. - Price: $0.0005 per action, plus $0.004 per minute the session stays open past the first - MCP tool: `web_act` ### GET /web/v1/map Discovery only: no execution and no charge. Without payment credentials the endpoint returns HTTP 402 with its description and a PAYMENT-REQUIRED challenge. Use /openapi.json or /llms.txt for HTTP 200 documentation. ### POST /web/v1/map Every url of a site: its sitemap, plus the links on the page itself. HTTP supports the same Bearer API key and shared credits as MCP, or an independent x402 wallet payment. - Price: from $0.002 - MCP tool: `web_map` ### GET /web/v1/search Discovery only: no execution and no charge. Without payment credentials the endpoint returns HTTP 402 with its description and a PAYMENT-REQUIRED challenge. Use /openapi.json or /llms.txt for HTTP 200 documentation. ### POST /web/v1/search Search the web with Exa's index. A query instead of a url, for when you do not know where to look. HTTP supports the same Bearer API key and shared credits as MCP, or an independent x402 wallet payment. - Price: from $0.007 - MCP tool: `web_search_exa` ### POST /web/v1/session/{id}/close Stops the browser. Outstanding browser time is settled; there is no additional close fee. - MCP tool: `web_session_close` ### POST /web/v1/feedback Free; an API key is optional. - MCP tool: `web_feedback` ## Web Tasks ### GET /tasks/v1/research Describe Research Tasks and quote the execution budget ### POST /tasks/v1/research Answers a question by reading public pages, with sources, progress and cost. With an API key, HTTP reserves credits and settles actual cost. Without a key, x402 pays a fixed execution budget in limits.max_cost_usd. MCP start requires an API key and reserves credits, settling actual cost. With an API key, use the owning key for free status/cancel and send Idempotency-Key (required, maximum 100 characters). The x402 response returns access_token: send it as Task-Token for status/cancel. For x402 retries send the same Task-Token and Idempotency-Key (maximum 200 characters). A 202 confirms acceptance, not a completed result. - Price: limits.max_cost_usd (default $0.10) - MCP tool: `web_task_start` ### GET /tasks/v1/research/{id} Status, progress, operations, sources with the evidence used, limitations, the result when there is one, and billing: reserved, spent, released and settlement. - MCP tool: `web_task_status` ### POST /tasks/v1/research/{id}/cancel Stops new operations and returns the unused budget. An operation already running cannot always be stopped remotely: it is charged as it completes. Cancelling a finished task changes nothing. - MCP tool: `web_task_cancel` ### GET /tasks/v1/scrape/batch Discovery only: no execution and no charge. Without payment credentials the endpoint returns HTTP 402 with its description and a PAYMENT-REQUIRED challenge. Use /openapi.json or /llms.txt for HTTP 200 documentation. ### POST /tasks/v1/scrape/batch A batch of scrapes: queues one scrape per url you give it. Same fields as /scrape but with `urls` (2–50) and no `url`. Returns a `jobId`. It discovers nothing — for that, use /crawl. Returns a jobId for asynchronous work. A successful start is acceptance, not completion; poll the job status. Account credits can be refunded for unused work; x402 has no automatic on-chain refund. - Price: from $0.002 - MCP tool: `web_scrape_batch` ### GET /tasks/v1/crawl Discovery only: no execution and no charge. Without payment credentials the endpoint returns HTTP 402 with its description and a PAYMENT-REQUIRED challenge. Use /openapi.json or /llms.txt for HTTP 200 documentation. ### POST /tasks/v1/crawl Starts a crawl from `url`. Same fields as /scrape plus `limit` (pages, default 25, max 200), `maxDepth` (default 2) and the site filters. Returns a `jobId`. Returns a jobId for asynchronous work. A successful start is acceptance, not completion; poll the job status. Account credits can be refunded for unused work; x402 has no automatic on-chain refund. - Price: from $0.002 - MCP tool: `web_crawl` ### GET /tasks/v1/scrape/batch/{id} Free for the owner. Authenticate with the same account key or the wallet credentials used to create the job. - MCP tool: `web_batch_status` ### POST /tasks/v1/scrape/batch/{id}/cancel Stops pending work. With account credits, unused and failed reads are refunded; an in-flight page may finish and is billed normally. Settled x402 payments have no automatic on-chain refund. The result remains available to the owner. - MCP tool: `web_batch_status` ### GET /tasks/v1/crawl/{id} Free for the owner. Authenticate with the same account key or the wallet credentials used to create the job. - MCP tool: `web_crawl_status` ### POST /tasks/v1/crawl/{id}/cancel Stops pending work. With account credits, unused and failed reads are refunded; an in-flight page may finish and is billed normally. Settled x402 payments have no automatic on-chain refund. The result remains available to the owner. - MCP tool: `web_crawl_status` ## Scheduled Agents ### GET /agents/v1 List the available scheduled agents ### GET /agents/v1/{agent} Describe an agent and its parameters ### GET /agents/v1/services List my latest 100 configured services ### GET /agents/v1/services/{id} Read a service and its latest report ### POST /agents/v1/services/{id}/cancel Stops future runs and retains the latest report. Repeating cancellation is safe. A page read already in progress may finish. ### POST /agents/v1/price-watch Reads product pages on your schedule and reports price changes and drops. Free with an account API key; no credit debit. ### POST /agents/v1/web-watch Watches pages for changes and reports what was added or removed, optionally filtered by keyword. Free with an account API key; no credit debit. ### POST /agents/v1/competitor-monitor Watches a competitor's pricing, blog and changelog pages and reports what changed. Free with an account API key; no credit debit. ## Account ### GET /web/v1/account Read available and reserved account credits ## Ownership and retries - Extraction jobs and browser sessions: use the owning account key or the wallet credentials used at creation. Status and cancellation do not buy a new execution. - Research with an API key: Idempotency-Key is required for HTTP start (maximum 100 characters); use the owning key for status and cancellation. - Research with x402: retain access_token from the start response and send it as Task-Token on status/cancel. For retries use the same Task-Token, Idempotency-Key and request. Do not send literal {id} or {task_id}: replace it with the returned identifier. - Research may return a partial result when available evidence or execution limits prevent a complete answer. A successful start is not proof of completion. ## MCP Stateless JSON-RPC on POST https://oassis.dev/mcp. Use initialize, tools/list, then tools/call. GET /mcp describes access and the tool catalog; it does not execute a tool. Resources: oassis://llms.txt and oassis://openapi.json. Resource and prompt reads are discovery, not Web Tool executions. ## Links - Site: https://oassis.dev - Sign up: https://oassis.dev/signup - API keys and credits: https://oassis.dev/dashboard/billing - OpenAPI: https://oassis.dev/openapi.json - This file: https://oassis.dev/llms.txt