{"uid":"cap_jZUU052reQymi9271pRNM","slug":"api-apify-com-9897582f","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/actors/: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":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"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_quKGugbEjDh0rai6uj3oN","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) and returns the resulting dataset items in a single HTTP call","exampleAgentPrompt":"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.","exampleUseCases":null,"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:33:46.952Z","isFirstParty":false}