# Run any Apify Actor and wait (Apify)

Runs an Apify Actor with the JSON body as its input, waits for it to finish (up to 300 s, else 408) and returns the items of its default dataset. The body is whatever the Actor's input schema takes; read it with the Actor details endpoint.

- Id: `apify.actor.run_sync`
- Request: `POST https://api.apify.com/v2/actors/{actorId}/run-sync-get-dataset-items`
- Price: price unknown. Each Actor sets its own price (pay per event, or platform usage in compute units, proxies and storage), shown on its Apify Store page. It can't be known in advance for an arbitrary Actor.
- Price source: https://apify.com/pricing (checked 2026-11-27)
- Not callable on Kitepod's key yet: the provider's price for this endpoint is not known

## Path parameters

| Name | Type | Required | Notes |
| --- | --- | --- | --- |
| `actorId` | string | yes | Actor id, or owner~name. Example: `"compass~crawler-google-places"` |

## Query parameters

| Name | Type | Required | Notes |
| --- | --- | --- | --- |
| `timeout` | integer | no | Seconds |
| `memory` | integer | no | Megabytes, a power of 2 |
| `maxItems` | integer | no | Max items charged for pay-per-result Actors |
| `maxTotalChargeUsd` | number | no | Cap on the run's total charge |
| `build` | string | no |  |
| `format` | string | no | One of: json, jsonl, csv, html, xlsx, xml, rss |
| `clean` | boolean | no |  |
| `limit` | integer | no |  |
| `fields` | string | no | Comma-separated fields to keep |

## Call it

Over MCP (https://kitepod.com/mcp):

```text
catalog_search  {"query":"run any apify actor and wait"}
catalog_get     {"id":"apify.actor.run_sync"}
call            {"id":"apify.actor.run_sync","input":{"actorId":"compass~crawler-google-places","searchStringsArray":["coffee"],"locationQuery":"Austin, USA","maxCrawledPlacesPerSearch":5}}
```

Over REST:

```sh
curl -X POST "https://kitepod.com/v1/call/apify.actor.run_sync?actorId=compass%7Ecrawler-google-places" \
  -H "Authorization: Bearer $KITEPOD_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"searchStringsArray":["coffee"],"locationQuery":"Austin, USA","maxCrawledPlacesPerSearch":5}'
```

Path parameters (actorId) go in the query string over REST, and in `input` over MCP, under the same name.

## Example response

A real response from the provider, trimmed.

```json
[
  {
    "myValue": "some value",
    "myOtherValue": "some other value"
  }
]
```

Reference: [REST](https://kitepod.com/docs/rest.md) · [MCP](https://kitepod.com/docs/mcp.md)

[Apify](https://kitepod.com/tools/apify) · [All tools](https://kitepod.com/tools)

---

[Tools](https://kitepod.com/tools) · [Docs](https://kitepod.com/docs) · [Pricing](https://kitepod.com/pricing) · [List your API](https://kitepod.com/list-your-api) · [Sign up](https://kitepod.com/login) · [Terms](https://kitepod.com/terms) · [Privacy](https://kitepod.com/policy) · hello@kitepod.com
