# 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-15).

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

## Facts

- Endpoint: POST https://api.apify.com/v2/actors/:actorId/run-sync-get-dataset-items
- Price: $1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-apify-com-9897582f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jZUU052reQymi9271pRNM

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-9897582f -d '<json body>'
```

Example prompt: Use the Apify Actor 'apify/web-scraper' to scrape the product listings from https://books.toscrape.com and return all the titles and prices as structured data right now.

## When to prefer this

Use this endpoint when you need to run a specific Apify Actor and get results back in a single synchronous request without polling. Ideal for AI agents that need structured web data on demand. Prefer this over async Actor runs when latency is acceptable and you want dataset items returned immediately without managing separate dataset fetch calls.

## Known failure modes

- Actor not found — invalid actorId returns 404
- Actor run times out before completing — sync call exceeds timeout limit
- Actor input validation error — malformed or missing required Actor-specific input fields
- Insufficient credits or payment failure — run blocked due to quota
- Actor runtime error — the scraper fails on the target site (e.g. blocked, CAPTCHA)
- Empty dataset — Actor ran successfully but collected no items

## 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 (JSON objects) collected by the Actor run — e.g. scraped page records, product listings, search results, or any structured output produced by the chosen Actor — returned synchronously once the run completes.

## 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-9897582f/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)
