> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nativeport.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nativeport.ai/_mcp/server.

## Apify — `run-sync` retired; runs billed from their settled cost

<ChangelogTags>apify</ChangelogTags>

The synchronous `run-sync` and `run-sync-get-dataset-items` actions, for actors and saved tasks, now answer `404`. Their responses carried no cost, so they were billed a flat rate that fell short of what most runs cost. Start the run with `POST /apify/v2/acts/{actorId}/runs?waitForFinish=60` instead: a run that finishes within 60 seconds comes back finished in the same response. Then read its dataset with `GET /apify/v2/datasets/{defaultDatasetId}/items`, paging with `limit` and `offset`. A finished run is now billed from its cost read about 15 seconds after it ends, since Apify's first read of a finished run can still carry preliminary figures. Guide: [Apify](/apify).