{"uid":"cap_26sG7ARGCiN6_wklzDkQi","slug":"api-apify-com-377fa050","name":"Apify Actor Run Sync + Get Dataset Items","description":"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.","url":"https://api.apify.com/v2/acts/:actorId/run-sync-get-dataset-items","method":"POST","headers":{},"bodySchema":{"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}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"1","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":1,"rating":{"score":"0.92","successRate":"1.00","reviews":1,"stars":"4.7","state":"rated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm__qsyrg_7e_mp01sW_JiCL","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"1","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Synchronously runs an Apify Actor (scraper/crawler/automation) by ID and returns the resulting dataset items in a single HTTP call","exampleAgentPrompt":"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.","exampleUseCases":null,"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":2,"lastUsedAt":"2026-07-28T14:23:18.018Z","lastSuccessfullyRanAt":"2026-07-28T14:23:18.018Z","lastHealthCheckAt":"2026-09-14T12:38:34.013Z","isFirstParty":false}