<!-- twin of https://specstream.ai/migrate/apify -->
# Apify compatible: change baseUrl, keep your Actor calls

Compared on Nov 24, 2026. The page: https://specstream.ai/migrate/apify

SpecStream answers Apify's v2 API at `https://api.specstream.ai/apify` for `apify/rag-web-browser`, `apify/google-search-scraper`, and `apify/website-content-crawler` (flat start pages), in Apify's own JSON and pagination headers. Searches cost $1 per 1,000 ($0.001 a call on the fast tier; $5 per 1,000 on default Search API) and extracted pages cost $0.80 per 1,000 ($0.0008 a page, empty pages not charged). SpecStream is state of the art on the live web, setting a new bar in research, extraction and search. Across live extraction and scraping benchmarks it holds the top published score on TRACE Extract v6 (88.51% across 2,527 live URLs), search-provider-bench Extract (0.7812 macro fact recall), scrapingbench (40 of 40 tasks), Scrapinghub (0.971 F1), and WCXB (0.914 F1). On WideSearch it scores 64.0 item F1 on all 200 tasks (7.00% Avg@4 success rate, 57.32% Avg@4 item F1), 66.7% on Seal-0, 71.26% on Seal-Hard, 60.7% on FinSearchComp Global T3, 90.78% on FRAMES, 84.9% on cloro FreshQA, and 99 on SimpleQA Verified ([benchmarks](https://specstream.ai/benchmarks)).

Point `apify-client` (Python or JavaScript) at `https://api.specstream.ai/apify` in place of `https://api.apify.com`, send your SpecStream key as the Bearer token or `token` parameter, and keep your `run-sync-get-dataset-items` and `dataset().listItems()` code as written.

[Get an API key](https://specstream.ai/signup?src=alternatives-migrate-apify&utm_source=alternatives-md&utm_campaign=migrate-apify&returnTo=%2Fworkspace%2Fsearch%3Froute%3Dapify) New accounts get $10 of credit, no card. It covers 10,000 fast searches or 12,500 extracted pages.

## Apify v2 to SpecStream, route by route and field by field

| | SpecStream (`/apify/v2`) | Apify (`api.apify.com`) |
|---|---|---|
| Base address | `https://api.specstream.ai/apify` (`apify-client` appends `/v2` automatically, so calls hit `/apify/v2/acts/...`, `/apify/v2/actors/...`, `/apify/v2/actor-runs/...`, and `/apify/v2/datasets/...`) | `https://api.apify.com` with `/v2/acts/...` and `/v2/actors/...` |
| Authentication | Your SpecStream API key as `Authorization: Bearer <key>` or `?token=<key>` | Your Apify API token as `Authorization: Bearer <token>` or `?token=<token>` |
| Actors answered | `apify/rag-web-browser` (web search with page passages or single URL read), `apify/google-search-scraper` (`queries`, `resultsPerPage`, `maxPagesPerQuery`, `countryCode`, `searchLanguage`), and `apify/website-content-crawler` (`maxCrawlDepth: 0` or `maxCrawlPages <= len(startUrls)`) | Store Actors priced separately by each author, compute units, and proxy usage |
| Sync and async run endpoints | `POST /apify/v2/acts/<actor>/run-sync-get-dataset-items`, plus `POST /apify/v2/actors/<actor>/runs`, `GET /apify/v2/actor-runs/<id>`, `GET /apify/v2/actor-runs/<id>/log`, and `GET /apify/v2/datasets/<id>/items` with `X-Apify-Pagination-*` headers | Same v2 endpoints with Actor container cold starts and queue waits |
| Pricing | $1 per 1,000 fast searches ($0.001 a call of up to 10 results; $5 per 1,000 on default Search API) and $0.80 per 1,000 extracted pages ($0.0008 a page). Empty pages are not charged. Top-up credit never expires | Monthly platform plans ($0 Free, $39 Starter, $199 Scale, $999 Business) plus per-Actor event fees or compute units ($0.13 to $0.20 per CU) and residential proxy charges |
| Benchmarks | TRACE Extract v6 88.51%, scrapingbench 40 of 40, Scrapinghub 0.971 F1, WCXB 0.914 F1, WideSearch 64.0 item F1 (200 tasks), Seal-0 66.7%, SimpleQA Verified 99 ([benchmarks](https://specstream.ai/benchmarks)) | Depends on which third-party Actor you pick; no unified search or extraction benchmark |
| Before you pay | $10 of credit on sign-up, no card (10,000 fast searches or 12,500 extracted pages) | $5 monthly free credit on the Free plan |
| Structured web datasets and MCP | Same key also unlocks native `GET /v1/web-search`, `POST /v1/extract`, Deep Search structured rows, and remote MCP at `https://api.specstream.ai/mcp` | Separate Actor integrations and per-Actor MCP wrappers |

## What changes and what stays when you move from Apify

### Keep apify-client and swap one environment variable or baseUrl

Both the official JavaScript client (`apify-client`) and the Python client (`apify-client`) read `APIFY_API_BASE_URL` or take a base URL argument. Set `https://api.specstream.ai/apify` and pass your SpecStream key as the token. `actor('apify/rag-web-browser').call(...)`, `dataset(run.defaultDatasetId).listItems()`, and `run-sync-get-dataset-items` return Apify's exact JSON shapes and `X-Apify-Pagination-*` headers.

There is no Actor container cold start. Starting a run returns `status: SUCCEEDED` immediately, and the live search or page extraction runs and bills only when you read the dataset items.

### Supported Actors and when to call SpecStream's native API

The drop-in route answers the three Actors AI and search pipelines rely on most: `apify/rag-web-browser` (search query with passages or single URL read), `apify/google-search-scraper` (structured `organicResults[]` with `countryCode` and `searchLanguage`), and `apify/website-content-crawler` for flat start URL lists (`maxCrawlDepth: 0` or `maxCrawlPages` equal to the count of `startUrls`). Any other Actor ID returns `404` with Apify's `record-not-found` error shape.

When you need multi-page crawling, batch extraction of up to 20 URLs per call, or structured multi-site research rows with source URL and read time on every value, use the same SpecStream key on `POST /v1/extract` ($0.80 per 1,000 pages), `GET /v1/web-search` ($1 per 1,000 fast, $5 per 1,000 default), or [Deep Search](https://specstream.ai/deep-search).

### One flat rate card with no compute units or proxy surprises

Instead of combining platform subscriptions, compute units, memory multipliers, and proxy bandwidth, every search on `/apify/v2` bills at $1 per 1,000 searches of up to 10 results ($0.001 a call) and every extracted page bills at $0.80 per 1,000 pages ($0.0008 a page). Pages that return no text are not charged, and a busy call answers `429` with `Retry-After` and charges nothing.

## 3-line swap from Apify to SpecStream

1. Create an API key in the workspace. New accounts get $10 of credit, no card (10,000 fast searches or 12,500 extracted pages).

2. Swap the base URL in curl (`POST /apify/v2/acts/apify~rag-web-browser/run-sync-get-dataset-items`):

```
# Before (Apify)
curl -X POST "https://api.apify.com/v2/acts/apify~rag-web-browser/run-sync-get-dataset-items" \
  -H "Authorization: Bearer $APIFY_TOKEN" -H "Content-Type: application/json" \
  -d '{"query": "open source vector databases", "maxResults": 3}'

# After (SpecStream: $1 per 1,000 fast searches)
curl -X POST "https://api.specstream.ai/apify/v2/acts/apify~rag-web-browser/run-sync-get-dataset-items" \
  -H "Authorization: Bearer $SPECSTREAM_API_KEY" -H "Content-Type: application/json" \
  -d '{"query": "open source vector databases", "maxResults": 3}'
```

3. In Python (`apify-client` or `requests`):

```
# Before
from apify_client import ApifyClient
client = ApifyClient(token=os.environ["APIFY_TOKEN"])

# After (change api_url and token)
from apify_client import ApifyClient
client = ApifyClient(token=os.environ["SPECSTREAM_API_KEY"], api_url="https://api.specstream.ai/apify")
run = client.actor("apify/rag-web-browser").call(run_input={"query": "open source vector databases", "maxResults": 5})
items = client.dataset(run["defaultDatasetId"]).list_items().items
```

4. In TypeScript (`apify-client`):

```
// Before
import { ApifyClient } from "apify-client";
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });

// After (change baseUrl and token)
import { ApifyClient } from "apify-client";
const client = new ApifyClient({ token: process.env.SPECSTREAM_API_KEY, baseUrl: "https://api.specstream.ai/apify" });
const run = await client.actor("apify/rag-web-browser").call({ query: "open source vector databases", maxResults: 5 });
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

5. Over MCP (works directly in Claude, Cursor, VS Code, and ChatGPT):

```
// MCP client config (Claude, Cursor, VS Code, ChatGPT, Windsurf)
{
  "mcpServers": {
    "specstream": {
      "url": "https://api.specstream.ai/mcp",
      "headers": { "Authorization": "Bearer YOUR_SPECSTREAM_API_KEY" }
    }
  }
}
// Tools: search_web({"q": "open source vector databases"}) and read_pages({"urls": ["https://example.com/pricing"]})
```

See also our full [Apify alternative](https://specstream.ai/alternatives/apify) breakdown and live [URL to Markdown extractor](https://specstream.ai/tools/website-to-markdown).

## Apify migration questions

### Which Apify Actors work on https://api.specstream.ai/apify?

SpecStream answers `apify/rag-web-browser`, `apify/google-search-scraper`, and `apify/website-content-crawler` (with `maxCrawlDepth: 0` or `maxCrawlPages` up to the number of `startUrls`). Both `/v2/acts/...` and `/v2/actors/...` paths are supported, along with `run-sync-get-dataset-items` and `datasets/<id>/items`.

### Does the official apify-client SDK work in Node and Python?

Yes. Set `baseUrl: 'https://api.specstream.ai/apify'` in JavaScript/TypeScript or `api_url='https://api.specstream.ai/apify'` in Python (or export `APIFY_API_BASE_URL=https://api.specstream.ai/apify`), and pass your SpecStream API key as the token. Pagination headers (`X-Apify-Pagination-Total`, `Offset`, `Limit`, `Count`, `Desc`) match Apify's contract.

### How much does each Actor call cost on SpecStream?

Search runs (`apify/rag-web-browser` with a query and `apify/google-search-scraper`) bill at the fast Search API rate: $1 per 1,000 calls of up to 10 results ($0.001 a call). Page reads (`apify/website-content-crawler` start URLs and `apify/rag-web-browser` URL reads) bill at the Extract API rate: $0.80 per 1,000 pages ($0.0008 a page), and pages with no text are not charged.

### How does billing work for dataset reads?

Starting a run creates a lightweight run ID at zero cost. SpecStream runs and bills the search or page extraction when you read the dataset items (or in one step when you call `run-sync-get-dataset-items`).

### What if I also use custom Store scrapers for sites like LinkedIn or Google Maps?

Keep your Apify token only for third-party Store Actors you still need, or use SpecStream [Deep Search](https://specstream.ai/deep-search) with the same API key to describe structured lists in plain words and get verified rows with source URL and read time on every value.

## Sources

Endpoint shapes are verified directly against SpecStream's `/apify/v2` route implementation (`finder/search_dialects/apify.py`) and Apify's published documentation.

- [SpecStream pricing](https://specstream.ai/pricing), read Nov 24, 2026
- [SpecStream for agents](https://specstream.ai/agents.md), read Nov 24, 2026
- [SpecStream benchmarks](https://specstream.ai/benchmarks), read Nov 24, 2026
- [Apify pricing](https://apify.com/pricing), read Nov 10, 2026
- [Apify RAG Web Browser](https://apify.com/apify/rag-web-browser), read Nov 10, 2026
- [Apify API v2 reference](https://docs.apify.com/api/v2), read Nov 13, 2026
