# Apify Actor Run Sync + Get Dataset Items

> Apify Actor Run Sync + Get Dataset Items is a paid API for AI agents from api.apify.com, paid per call via x402, $1/call, status unknown (last checked 2026-09-14, last successful call 2026-07-28).

Synchronously runs an Apify Actor (scraper/crawler/automation) by ID and returns the resulting dataset items in a single HTTP call

## Facts

- Endpoint: POST https://api.apify.com/v2/acts/:actorId/run-sync-get-dataset-items
- Price: $1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Last successful call: 2026-07-28
- Success rate: 100% of calls made through Zero
- Rating: 4.7 / 5 from 1 review
- Activations on Zero: 2
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-apify-com-377fa050
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_26sG7ARGCiN6_wklzDkQi

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability api-apify-com-377fa050 -d '<json body>'
```

Example prompt: Use the Apify apify/web-scraper Actor to extract the top 20 product listings from https://books.toscrape.com — give me the title, price, and availability for each item as structured data.

## When to prefer this

Use this endpoint when you need a single synchronous call that both triggers an Apify Actor and returns its dataset output — ideal for agents that want to avoid multi-step polling (run → wait → fetch dataset). Best when the Actor run is expected to complete within the sync timeout window. Choose over async endpoints when latency is acceptable and simplicity of integration is preferred.

## Known failure modes

- Actor not found (invalid actorId) — 404 error
- Actor run times out before completion — timeout error or empty dataset
- Invalid input parameters for the specific Actor — 400 validation error
- Actor run fails due to target website blocking or anti-bot measures — empty dataset or Actor error status
- Insufficient memory or compute quota — Actor aborted
- Payment/authentication failure — 402 or 401 error

## How this service works

Apify Store is the largest marketplace of tools for AI agents. Extract data from any website and automate your workflows with thousands of scrapers, crawlers, and automation tools called Actors.

## Output

An array of structured dataset items produced by the Actor run — typically JSON records containing scraped fields (e.g. URLs, titles, prices, text) depending on which Actor was executed. The response is returned synchronously once the run completes, without needing to poll a separate dataset endpoint.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "description": "Actor input JSON. Each Actor on Apify Store defines its own input schema. Browse and inspect schemas at https://apify.com/store (Actor detail pages can be rendered in markdown by appending .md to their URL), or call the Apify API to fetch the schema for a specific Actor.",
     "additionalProperties": true
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-apify-com-377fa050/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.apify.com](https://www.zero.xyz/host/api.apify.com/llms.txt)
