{
  "data": {
    "id": "YPyW5y9bdygWtaIz2",
    "actId": "W4DPN9n35ZDlXJCcB",
    "userId": "tnBVjt3CXmcUrEE3L",
    "startedAt": "2026-11-20T07:42:11.170Z",
    "finishedAt": "2026-11-20T07:42:48.279Z",
    "status": "SUCCEEDED",
    "meta": {
      "origin": "CLI"
    },
    "stats": {
      "durationMillis": 36962,
      "runTimeSecs": 36.962,
      "computeUnits": 0.04106888888888889,
      "imageSizeBytes": 3160508416
    },
    "options": {
      "useCache": true,
      "betaPackages": false,
      "memoryMbytes": 4096,
      "diskMbytes": 8192
    },
    "createdByOrganizationMemberUserId": "F2Aeb3gE2syjqz9xC",
    "exitCode": 0,
    "inputSchema": "{\n  \"title\": \"Google AI Mode Scraper input\",\n  \"description\": \"Choose the prompts, countries and language. Each prompt is asked in Google AI Mode (udm=50) and returns one record per prompt and country.\",\n  \"type\": \"object\",\n  \"schemaVersion\": 1,\n  \"properties\": {\n    \"prompts\": {\n      \"title\": \"Prompts\",\n      \"type\": \"array\",\n      \"description\": \"Questions or search prompts to ask Google AI Mode. Each prompt is asked once per selected country.\",\n      \"editor\": \"stringList\",\n      \"items\": {\n        \"type\": \"string\"\n      },\n      \"minItems\": 1,\n      \"prefill\": [\n        \"best running shoes for flat feet\"\n      ]\n    },\n    \"countries\": {\n      \"title\": \"Countries\",\n      \"type\": \"array\",\n      \"description\": \"Countries whose Google market (gl) the answers should reflect. Select one or more; each prompt is asked once per country.\",\n      \"editor\": \"select\",\n      \"items\": {\n        \"type\": \"string\",\n        \"enum\": [\n          \"us\",\n          \"uk\",\n          \"ca\",\n          \"au\",\n          \"de\",\n          \"fr\",\n          \"es\",\n          \"it\",\n          \"br\",\n          \"mx\",\n          \"in\",\n          \"jp\",\n          \"kr\",\n          \"nl\",\n          \"be\",\n          \"at\",\n          \"ch\",\n          \"se\",\n          \"no\",\n          \"dk\",\n          \"fi\",\n          \"pl\",\n          \"cz\",\n          \"pt\",\n          \"ie\",\n          \"nz\",\n          \"za\",\n          \"sg\",\n          \"hk\",\n          \"tw\",\n          \"ph\",\n          \"th\",\n          \"id\",\n          \"my\",\n          \"vn\",\n          \"ar\",\n          \"cl\",\n          \"co\",\n          \"pe\",\n          \"tr\",\n          \"ru\",\n          \"ua\",\n          \"il\",\n          \"ae\",\n          \"sa\",\n          \"eg\",\n          \"ng\",\n          \"ke\"\n        ],\n        \"enumTitles\": [\n          \"United States\",\n          \"United Kingdom\",\n          \"Canada\",\n          \"Australia\",\n          \"Germany\",\n          \"France\",\n          \"Spain\",\n          \"Italy\",\n          \"Brazil\",\n          \"Mexico\",\n          \"India\",\n          \"Japan\",\n          \"South Korea\",\n          \"Netherlands\",\n          \"Belgium\",\n          \"Austria\",\n          \"Switzerland\",\n          \"Sweden\",\n          \"Norway\",\n          \"Denmark\",\n          \"Finland\",\n          \"Poland\",\n          \"Czech Republic\",\n          \"Portugal\",\n          \"Ireland\",\n          \"New Zealand\",\n          \"South Africa\",\n          \"Singapore\",\n          \"Hong Kong\",\n          \"Taiwan\",\n          \"Philippines\",\n          \"Thailand\",\n          \"Indonesia\",\n          \"Malaysia\",\n          \"Vietnam\",\n          \"Argentina\",\n          \"Chile\",\n          \"Colombia\",\n          \"Peru\",\n          \"Turkey\",\n          \"Russia\",\n          \"Ukraine\",\n          \"Israel\",\n          \"United Arab Emirates\",\n          \"Saudi Arabia\",\n          \"Egypt\",\n          \"Nigeria\",\n          \"Kenya\"\n        ]\n      },\n      \"uniqueItems\": true,\n      \"minItems\": 1,\n      \"default\": [\n        \"us\"\n      ],\n      \"prefill\": [\n        \"us\"\n      ]\n    },\n    \"languageCode\": {\n      \"title\": \"Language\",\n      \"type\": \"string\",\n      \"description\": \"Language of the Google interface and of the AI Mode answer (hl). Pick the language your prompts are written in.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"en\",\n        \"es\",\n        \"fr\",\n        \"de\",\n        \"it\",\n        \"pt\",\n        \"nl\",\n        \"pl\",\n        \"tr\",\n        \"ru\",\n        \"uk\",\n        \"ar\",\n        \"he\",\n        \"fa\",\n        \"hi\",\n        \"bn\",\n        \"ta\",\n        \"te\",\n        \"mr\",\n        \"gu\",\n        \"kn\",\n        \"ml\",\n        \"pa\",\n        \"ur\",\n        \"id\",\n        \"ms\",\n        \"th\",\n        \"vi\",\n        \"fil\",\n        \"zh-CN\",\n        \"zh-TW\",\n        \"ja\",\n        \"ko\",\n        \"sv\",\n        \"no\",\n        \"da\",\n        \"fi\",\n        \"cs\",\n        \"sk\",\n        \"hu\",\n        \"ro\",\n        \"bg\",\n        \"el\",\n        \"hr\",\n        \"sr\",\n        \"sl\",\n        \"lt\",\n        \"lv\",\n        \"et\",\n        \"ca\",\n        \"eu\",\n        \"gl\",\n        \"af\",\n        \"sw\"\n      ],\n      \"enumTitles\": [\n        \"English\",\n        \"Spanish\",\n        \"French\",\n        \"German\",\n        \"Italian\",\n        \"Portuguese\",\n        \"Dutch\",\n        \"Polish\",\n        \"Turkish\",\n        \"Russian\",\n        \"Ukrainian\",\n        \"Arabic\",\n        \"Hebrew\",\n        \"Persian\",\n        \"Hindi\",\n        \"Bengali\",\n        \"Tamil\",\n        \"Telugu\",\n        \"Marathi\",\n        \"Gujarati\",\n        \"Kannada\",\n        \"Malayalam\",\n        \"Punjabi\",\n        \"Urdu\",\n        \"Indonesian\",\n        \"Malay\",\n        \"Thai\",\n        \"Vietnamese\",\n        \"Filipino\",\n        \"Chinese (Simplified)\",\n        \"Chinese (Traditional)\",\n        \"Japanese\",\n        \"Korean\",\n        \"Swedish\",\n        \"Norwegian\",\n        \"Danish\",\n        \"Finnish\",\n        \"Czech\",\n        \"Slovak\",\n        \"Hungarian\",\n        \"Romanian\",\n        \"Bulgarian\",\n        \"Greek\",\n        \"Croatian\",\n        \"Serbian\",\n        \"Slovenian\",\n        \"Lithuanian\",\n        \"Latvian\",\n        \"Estonian\",\n        \"Catalan\",\n        \"Basque\",\n        \"Galician\",\n        \"Afrikaans\",\n        \"Swahili\"\n      ],\n      \"default\": \"en\",\n      \"prefill\": \"en\"\n    },\n    \"brands\": {\n      \"title\": \"Brands to track\",\n      \"type\": \"array\",\n      \"description\": \"Optional brand names. For each one the actor reports whether the AI Mode answer mentions it, how many times, where it first appears and whether it is cited as a source.\",\n      \"editor\": \"stringList\",\n      \"items\": {\n        \"type\": \"string\"\n      },\n      \"default\": [],\n      \"prefill\": []\n    },\n    \"domains\": {\n      \"title\": \"Domains to track\",\n      \"type\": \"array\",\n      \"description\": \"Optional website domains (for example example.com). For each one the actor reports whether the answer mentions it and whether it appears among the cited sources.\",\n      \"editor\": \"stringList\",\n      \"items\": {\n        \"type\": \"string\"\n      },\n      \"default\": [],\n      \"prefill\": []\n    },\n    \"includeProductCards\": {\n      \"title\": \"Include product cards\",\n      \"type\": \"boolean\",\n      \"description\": \"Extract the product cards Google shows inside the answer (name, price, merchant, rating, review count and key specs).\",\n      \"default\": true,\n      \"prefill\": true\n    },\n    \"includePlaceCards\": {\n      \"title\": \"Include place cards\",\n      \"type\": \"boolean\",\n      \"description\": \"Extract local place cards when Google shows them in the answer.\",\n      \"default\": true,\n      \"prefill\": true\n    },\n    \"includeFollowUpQuestions\": {\n      \"title\": \"Include follow-up questions\",\n      \"type\": \"boolean\",\n      \"description\": \"Extract the follow-up questions Google suggests below the answer.\",\n      \"default\": true,\n      \"prefill\": true\n    },\n    \"includeMarkdown\": {\n      \"title\": \"Include markdown answer\",\n      \"type\": \"boolean\",\n      \"description\": \"Also save the answer as markdown, keeping headings, lists, tables and inline citation markers.\",\n      \"default\": true,\n      \"prefill\": true\n    },\n    \"maxItems\": {\n      \"title\": \"Maximum records\",\n      \"type\": \"integer\",\n      \"description\": \"Stop after this many answers. Each prompt and country pair produces one answer.\",\n      \"minimum\": 1,\n      \"maximum\": 1000,\n      \"default\": 100,\n      \"prefill\": 1\n    }\n  },\n  \"required\": [\n    \"prompts\"\n  ]\n}",
    "readme": "# Google AI Mode Answer & Citation Scraper\n\nAsk Google AI Mode (`udm=50`) a list of prompts in one or more countries, in any supported language, and get one structured record per prompt and country. Every record contains the full answer as clean plain text and as markdown, every cited source with its position, the inline citation groups Google shows, product cards, local place cards, follow-up questions, and brand/domain visibility scores.\n\nNo Google account, cookies, API key or proxy setup is required.\n\n## What it returns\n\n| Field | What it is |\n|---|---|\n| `prompt`, `countryCode`, `country`, `languageCode` | The exact prompt and market that produced the answer. |\n| `status` | `OK`, `NO_ANSWER` or `BLOCKED`. |\n| `aiModeUrl` | The AI Mode URL that produced the answer. |\n| `answerText` | The complete answer as clean plain text. |\n| `answerMarkdown` | The same answer as markdown, keeping section headings, bold text, bullet lists, tables and inline citation markers. |\n| `answerLength`, `answerWordCount` | Size of the answer. |\n| `textBlocks` | The answer split into typed blocks (paragraph, heading, list_item, table). |\n| `tables` | Comparison tables as `headers` + `rows`. |\n| `sources` | Every cited source: `position`, `title`, `siteName`, `domain`, publisher `url`, `snippet`, `faviconUrl`, and the `citationGroups` that cite it. Google redirect links are resolved to the publisher URL; when a redirect cannot be resolved the original link is kept with `urlType: unresolvedGoto`. |\n| `citationGroups` | The inline citation chips (for example `RunRepeat +5`) with their character `position` in the answer, the publisher, the number of additional sources and the sources behind each one. |\n| `products` | Product cards Google embeds in the answer: name, price, currency, merchant, rating, review count, \"Best For\", \"Support Tech\", \"Key Specs\", \"Expert Take\" and \"Buyer Feedback\" when present. |\n| `places` | Local place cards when Google shows them: name, category, rating, review count, price range, open/closed status, address, description, website, directions link, Google place ID and coordinates. |\n| `followUpQuestions`, `followUpPrompt` | The follow-up directions Google suggests at the end of the answer. |\n| `brandVisibility` | For each brand you supply: mentioned yes/no, mention count, first mention position, cited-as-source yes/no and the source positions that cite it. |\n| `domainVisibility` | The same scoring for domains. |\n| `grounded` | `true` when the answer shows at least one source card. Some answers come back without any sources; the record is still returned, with `grounded: false`. |\n| `responseTimestamp`, `scrapedAt` | When the answer was captured. |\n\n## Input\n\n| Input | Default | Description |\n|---|---|---|\n| `prompts` | – (required) | One or more questions or search prompts. Each prompt is asked once per selected country. |\n| `countries` | `[\"us\"]` | One or more Google markets (`gl`). The answer is localized for the selected country. |\n| `languageCode` | `en` | Interface and answer language (`hl`). Write the prompts in that language for best results. |\n| `brands` | – | Optional brand names for AI visibility scoring. |\n| `domains` | – | Optional domains for citation and mention scoring. |\n| `includeProductCards` | `true` | Extract product cards from the answer. |\n| `includePlaceCards` | `true` | Extract local place cards from the answer. |\n| `includeFollowUpQuestions` | `true` | Extract the follow-up directions Google suggests. |\n| `includeMarkdown` | `true` | Save the answer as markdown in addition to plain text. |\n| `maxItems` | `100` | Stop after this many answers. Each prompt x country pair is one answer. |\n\n### Example input\n\n```json\n{\n  \"prompts\": [\n    \"best running shoes for flat feet\",\n    \"best coffee shops in Austin\"\n  ],\n  \"countries\": [\"us\", \"uk\"],\n  \"languageCode\": \"en\",\n  \"brands\": [\"Brooks\", \"ASICS\"],\n  \"domains\": [\"runrepeat.com\"],\n  \"maxItems\": 4\n}\n```\n\nThat run produces four records: both prompts in the United States and the United Kingdom.\n\n## How it works\n\n1. A real Chrome session warms up on Google, then opens the AI Mode tab (`udm=50`) for the prompt and market.\n2. The actor waits for the answer to finish streaming, then reads the rendered answer and Google's embedded source/citation data.\n3. Google `/goto` redirect links are resolved to the real publisher URL and duplicate sources are merged.\n4. Brand and domain scores are computed against the final answer text and cited sources.\n5. If Google serves a captcha, the browser session is rotated and the request is retried; a direct exit that returns no answer is escalated to the actor's datacenter proxy after one attempt, so a slow or experiment-bucketed exit cannot stall the run.\n6. Each attempt has a hard time limit and the loop watches the Actor run timeout. Prompts that cannot finish in the remaining time are still returned as rows with `status: NO_ANSWER` and `errorCode: RUN_TIMEOUT` instead of the run being killed mid-item.\n\n## Output example (trimmed)\n\n```json\n{\n  \"status\": \"OK\",\n  \"prompt\": \"best running shoes for flat feet\",\n  \"countryCode\": \"us\",\n  \"languageCode\": \"en\",\n  \"answerText\": \"Flat feet often cause the ankle to roll inward ...\",\n  \"answerMarkdown\": \"Flat feet often cause the ankle to roll inward ...\\\\n\\\\n### Top Running Shoes ...\",\n  \"sources\": [\n    {\n      \"position\": 1,\n      \"title\": \"7 Best Running Shoes For Flat Feet in 2026\",\n      \"siteName\": \"RunRepeat\",\n      \"domain\": \"runrepeat.com\",\n      \"url\": \"https://runrepeat.com/guides/best-flat-feet-running-shoes\",\n      \"snippet\": \"The adidas Supernova Solution 3 is a solid recommendation ...\",\n      \"citationGroups\": [1]\n    }\n  ],\n  \"citationGroups\": [\n    {\n      \"position\": 214,\n      \"label\": \"RunRepeat +5\",\n      \"siteName\": \"RunRepeat\",\n      \"additionalSourceCount\": 5,\n      \"url\": \"https://runrepeat.com/guides/best-flat-feet-running-shoes\",\n      \"sources\": [{\"position\": 1, \"title\": \"7 Best Running Shoes For Flat Feet in 2026\"}]\n    }\n  ],\n  \"products\": [\n    {\n      \"position\": 320,\n      \"name\": \"Brooks Adrenaline GTS 26\",\n      \"price\": \"$154.95\",\n      \"priceCurrency\": \"USD\",\n      \"merchant\": \"Backcountry.com\",\n      \"rating\": 4.5,\n      \"reviewCount\": 18,\n      \"bestFor\": \"Everyday training and long-distance comfort.\",\n      \"supportTech\": \"GuideRails sidewalls keep excess foot movement in check.\",\n      \"keySpecs\": \"10mm heel-to-toe drop, DNA LOFT v3 cushioning.\"\n    }\n  ],\n  \"brandVisibility\": [\n    {\n      \"name\": \"Brooks\",\n      \"mentioned\": true,\n      \"mentionCount\": 4,\n      \"firstMentionPosition\": 120,\n      \"citedAsSource\": false\n    }\n  ],\n  \"grounded\": true,\n  \"responseTimestamp\": \"2026-11-15T00:05:42Z\"\n}\n```\n\n## Notes and limitations\n\n- AI Mode is generative. The same prompt can return a different answer, a different set of sources and a different number of cards from one run to the next. The actor records one snapshot per run.\n- Not every answer shows sources, product cards, place cards or follow-up questions. Those fields are omitted rather than filled with placeholders; `grounded` tells you whether any source card was shown.\n- Answers come from a logged-out visitor session. Google may still vary results by region, language, time and experiment bucket.\n- Citation-chip positions are 1-based character offsets in `answerText`. When Google renders a citation as an icon without visible text (some place/map citations), the position is the start of the answer block that contains it.\n- Google can change the AI Mode interface. The parser reads both the visible page and the embedded source data, keeps working when the answer heading, citation-chip class or card class changes, and returns records without an answer as `NO_ANSWER` instead of fabricating one.\n- Each prompt gets a bounded number of network attempts (direct, then datacenter proxy only after a soft block or no answer). If the run's own timeout is too short for the remaining prompts, those rows are emitted immediately with `errorCode: RUN_TIMEOUT`; raise the run timeout or lower `maxItems`/prompt count to give every prompt a full streaming window.\n- Some prompts, countries or languages do not get an AI Mode answer. Those rows keep the prompt and market, set `status: NO_ANSWER`, and are never charged as answers by your own pricing rules.\n\n## FAQ\n\n**Do I need a proxy or a Google account?**\nNo. The actor uses its own browser session and picks a network path automatically. There is nothing to configure.\n\n**What is the difference between AI Mode and AI Overview?**\nAI Overview is the short summary on a normal results page. AI Mode is the dedicated conversational tab (`udm=50`) with a longer answer, its own citation set, product/place cards and follow-up prompts.\n\n**Can I run the same prompt in several countries?**\nYes. Add several countries to the Countries input; each prompt is asked once per country and produces one record per market.\n\n**Why does a record have no sources?**\nFor some questions Google writes a complete answer without displaying source cards. The actor reports `grounded: false` and leaves the source fields out. It never invents sources.\n\n**Why are prices missing on some product cards?**\nOnly the fields Google shows are returned. A card without a visible price simply omits `price` and `priceCurrency`.\n\n**Can I schedule it?**\nYes. Use the same input on a schedule to track how answers and cited sources change over time.\n",
    "actorDefinition": {
      "actorSpecification": 1,
      "name": "google-ai-mode-scraper",
      "title": "Google AI Mode Answer & Citation Scraper",
      "description": "Run prompts through Google AI Mode (udm=50) in any country and language and export each answer as text and markdown with its cited sources, inline citation groups, product and place cards, follow-up questions and brand or domain visibility scores.",
      "version": "0.1",
      "buildTag": "latest",
      "meta": {
        "templateId": "python-playwright"
      },
      "defaultRunOptions": {
        "build": "latest",
        "timeoutSecs": 1800,
        "memoryMbytes": 2048
      },
      "dockerfile": "../Dockerfile",
      "readme": "# Google AI Mode Answer & Citation Scraper\n\nAsk Google AI Mode (`udm=50`) a list of prompts in one or more countries, in any supported language, and get one structured record per prompt and country. Every record contains the full answer as clean plain text and as markdown, every cited source with its position, the inline citation groups Google shows, product cards, local place cards, follow-up questions, and brand/domain visibility scores.\n\nNo Google account, cookies, API key or proxy setup is required.\n\n## What it returns\n\n| Field | What it is |\n|---|---|\n| `prompt`, `countryCode`, `country`, `languageCode` | The exact prompt and market that produced the answer. |\n| `status` | `OK`, `NO_ANSWER` or `BLOCKED`. |\n| `aiModeUrl` | The AI Mode URL that produced the answer. |\n| `answerText` | The complete answer as clean plain text. |\n| `answerMarkdown` | The same answer as markdown, keeping section headings, bold text, bullet lists, tables and inline citation markers. |\n| `answerLength`, `answerWordCount` | Size of the answer. |\n| `textBlocks` | The answer split into typed blocks (paragraph, heading, list_item, table). |\n| `tables` | Comparison tables as `headers` + `rows`. |\n| `sources` | Every cited source: `position`, `title`, `siteName`, `domain`, publisher `url`, `snippet`, `faviconUrl`, and the `citationGroups` that cite it. Google redirect links are resolved to the publisher URL; when a redirect cannot be resolved the original link is kept with `urlType: unresolvedGoto`. |\n| `citationGroups` | The inline citation chips (for example `RunRepeat +5`) with their character `position` in the answer, the publisher, the number of additional sources and the sources behind each one. |\n| `products` | Product cards Google embeds in the answer: name, price, currency, merchant, rating, review count, \"Best For\", \"Support Tech\", \"Key Specs\", \"Expert Take\" and \"Buyer Feedback\" when present. |\n| `places` | Local place cards when Google shows them: name, category, rating, review count, price range, open/closed status, address, description, website, directions link, Google place ID and coordinates. |\n| `followUpQuestions`, `followUpPrompt` | The follow-up directions Google suggests at the end of the answer. |\n| `brandVisibility` | For each brand you supply: mentioned yes/no, mention count, first mention position, cited-as-source yes/no and the source positions that cite it. |\n| `domainVisibility` | The same scoring for domains. |\n| `grounded` | `true` when the answer shows at least one source card. Some answers come back without any sources; the record is still returned, with `grounded: false`. |\n| `responseTimestamp`, `scrapedAt` | When the answer was captured. |\n\n## Input\n\n| Input | Default | Description |\n|---|---|---|\n| `prompts` | – (required) | One or more questions or search prompts. Each prompt is asked once per selected country. |\n| `countries` | `[\"us\"]` | One or more Google markets (`gl`). The answer is localized for the selected country. |\n| `languageCode` | `en` | Interface and answer language (`hl`). Write the prompts in that language for best results. |\n| `brands` | – | Optional brand names for AI visibility scoring. |\n| `domains` | – | Optional domains for citation and mention scoring. |\n| `includeProductCards` | `true` | Extract product cards from the answer. |\n| `includePlaceCards` | `true` | Extract local place cards from the answer. |\n| `includeFollowUpQuestions` | `true` | Extract the follow-up directions Google suggests. |\n| `includeMarkdown` | `true` | Save the answer as markdown in addition to plain text. |\n| `maxItems` | `100` | Stop after this many answers. Each prompt x country pair is one answer. |\n\n### Example input\n\n```json\n{\n  \"prompts\": [\n    \"best running shoes for flat feet\",\n    \"best coffee shops in Austin\"\n  ],\n  \"countries\": [\"us\", \"uk\"],\n  \"languageCode\": \"en\",\n  \"brands\": [\"Brooks\", \"ASICS\"],\n  \"domains\": [\"runrepeat.com\"],\n  \"maxItems\": 4\n}\n```\n\nThat run produces four records: both prompts in the United States and the United Kingdom.\n\n## How it works\n\n1. A real Chrome session warms up on Google, then opens the AI Mode tab (`udm=50`) for the prompt and market.\n2. The actor waits for the answer to finish streaming, then reads the rendered answer and Google's embedded source/citation data.\n3. Google `/goto` redirect links are resolved to the real publisher URL and duplicate sources are merged.\n4. Brand and domain scores are computed against the final answer text and cited sources.\n5. If Google serves a captcha, the browser session is rotated and the request is retried; a direct exit that returns no answer is escalated to the actor's datacenter proxy after one attempt, so a slow or experiment-bucketed exit cannot stall the run.\n6. Each attempt has a hard time limit and the loop watches the Actor run timeout. Prompts that cannot finish in the remaining time are still returned as rows with `status: NO_ANSWER` and `errorCode: RUN_TIMEOUT` instead of the run being killed mid-item.\n\n## Output example (trimmed)\n\n```json\n{\n  \"status\": \"OK\",\n  \"prompt\": \"best running shoes for flat feet\",\n  \"countryCode\": \"us\",\n  \"languageCode\": \"en\",\n  \"answerText\": \"Flat feet often cause the ankle to roll inward ...\",\n  \"answerMarkdown\": \"Flat feet often cause the ankle to roll inward ...\\\\n\\\\n### Top Running Shoes ...\",\n  \"sources\": [\n    {\n      \"position\": 1,\n      \"title\": \"7 Best Running Shoes For Flat Feet in 2026\",\n      \"siteName\": \"RunRepeat\",\n      \"domain\": \"runrepeat.com\",\n      \"url\": \"https://runrepeat.com/guides/best-flat-feet-running-shoes\",\n      \"snippet\": \"The adidas Supernova Solution 3 is a solid recommendation ...\",\n      \"citationGroups\": [1]\n    }\n  ],\n  \"citationGroups\": [\n    {\n      \"position\": 214,\n      \"label\": \"RunRepeat +5\",\n      \"siteName\": \"RunRepeat\",\n      \"additionalSourceCount\": 5,\n      \"url\": \"https://runrepeat.com/guides/best-flat-feet-running-shoes\",\n      \"sources\": [{\"position\": 1, \"title\": \"7 Best Running Shoes For Flat Feet in 2026\"}]\n    }\n  ],\n  \"products\": [\n    {\n      \"position\": 320,\n      \"name\": \"Brooks Adrenaline GTS 26\",\n      \"price\": \"$154.95\",\n      \"priceCurrency\": \"USD\",\n      \"merchant\": \"Backcountry.com\",\n      \"rating\": 4.5,\n      \"reviewCount\": 18,\n      \"bestFor\": \"Everyday training and long-distance comfort.\",\n      \"supportTech\": \"GuideRails sidewalls keep excess foot movement in check.\",\n      \"keySpecs\": \"10mm heel-to-toe drop, DNA LOFT v3 cushioning.\"\n    }\n  ],\n  \"brandVisibility\": [\n    {\n      \"name\": \"Brooks\",\n      \"mentioned\": true,\n      \"mentionCount\": 4,\n      \"firstMentionPosition\": 120,\n      \"citedAsSource\": false\n    }\n  ],\n  \"grounded\": true,\n  \"responseTimestamp\": \"2026-11-15T00:05:42Z\"\n}\n```\n\n## Notes and limitations\n\n- AI Mode is generative. The same prompt can return a different answer, a different set of sources and a different number of cards from one run to the next. The actor records one snapshot per run.\n- Not every answer shows sources, product cards, place cards or follow-up questions. Those fields are omitted rather than filled with placeholders; `grounded` tells you whether any source card was shown.\n- Answers come from a logged-out visitor session. Google may still vary results by region, language, time and experiment bucket.\n- Citation-chip positions are 1-based character offsets in `answerText`. When Google renders a citation as an icon without visible text (some place/map citations), the position is the start of the answer block that contains it.\n- Google can change the AI Mode interface. The parser reads both the visible page and the embedded source data, keeps working when the answer heading, citation-chip class or card class changes, and returns records without an answer as `NO_ANSWER` instead of fabricating one.\n- Each prompt gets a bounded number of network attempts (direct, then datacenter proxy only after a soft block or no answer). If the run's own timeout is too short for the remaining prompts, those rows are emitted immediately with `errorCode: RUN_TIMEOUT`; raise the run timeout or lower `maxItems`/prompt count to give every prompt a full streaming window.\n- Some prompts, countries or languages do not get an AI Mode answer. Those rows keep the prompt and market, set `status: NO_ANSWER`, and are never charged as answers by your own pricing rules.\n\n## FAQ\n\n**Do I need a proxy or a Google account?**\nNo. The actor uses its own browser session and picks a network path automatically. There is nothing to configure.\n\n**What is the difference between AI Mode and AI Overview?**\nAI Overview is the short summary on a normal results page. AI Mode is the dedicated conversational tab (`udm=50`) with a longer answer, its own citation set, product/place cards and follow-up prompts.\n\n**Can I run the same prompt in several countries?**\nYes. Add several countries to the Countries input; each prompt is asked once per country and produces one record per market.\n\n**Why does a record have no sources?**\nFor some questions Google writes a complete answer without displaying source cards. The actor reports `grounded: false` and leaves the source fields out. It never invents sources.\n\n**Why are prices missing on some product cards?**\nOnly the fields Google shows are returned. A card without a visible price simply omits `price` and `priceCurrency`.\n\n**Can I schedule it?**\nYes. Use the same input on a schedule to track how answers and cited sources change over time.\n",
      "input": {
        "title": "Google AI Mode Scraper input",
        "description": "Choose the prompts, countries and language. Each prompt is asked in Google AI Mode (udm=50) and returns one record per prompt and country.",
        "type": "object",
        "schemaVersion": 1,
        "properties": {
          "prompts": {
            "title": "Prompts",
            "type": "array",
            "description": "Questions or search prompts to ask Google AI Mode. Each prompt is asked once per selected country.",
            "editor": "stringList",
            "items": {
              "type": "string"
            },
            "minItems": 1,
            "prefill": [
              "best running shoes for flat feet"
            ]
          },
          "countries": {
            "title": "Countries",
            "type": "array",
            "description": "Countries whose Google market (gl) the answers should reflect. Select one or more; each prompt is asked once per country.",
            "editor": "select",
            "items": {
              "type": "string",
              "enum": [
                "us",
                "uk",
                "ca",
                "au",
                "de",
                "fr",
                "es",
                "it",
                "br",
                "mx",
                "in",
                "jp",
                "kr",
                "nl",
                "be",
                "at",
                "ch",
                "se",
                "no",
                "dk",
                "fi",
                "pl",
                "cz",
                "pt",
                "ie",
                "nz",
                "za",
                "sg",
                "hk",
                "tw",
                "ph",
                "th",
                "id",
                "my",
                "vn",
                "ar",
                "cl",
                "co",
                "pe",
                "tr",
                "ru",
                "ua",
                "il",
                "ae",
                "sa",
                "eg",
                "ng",
                "ke"
              ],
              "enumTitles": [
                "United States",
                "United Kingdom",
                "Canada",
                "Australia",
                "Germany",
                "France",
                "Spain",
                "Italy",
                "Brazil",
                "Mexico",
                "India",
                "Japan",
                "South Korea",
                "Netherlands",
                "Belgium",
                "Austria",
                "Switzerland",
                "Sweden",
                "Norway",
                "Denmark",
                "Finland",
                "Poland",
                "Czech Republic",
                "Portugal",
                "Ireland",
                "New Zealand",
                "South Africa",
                "Singapore",
                "Hong Kong",
                "Taiwan",
                "Philippines",
                "Thailand",
                "Indonesia",
                "Malaysia",
                "Vietnam",
                "Argentina",
                "Chile",
                "Colombia",
                "Peru",
                "Turkey",
                "Russia",
                "Ukraine",
                "Israel",
                "United Arab Emirates",
                "Saudi Arabia",
                "Egypt",
                "Nigeria",
                "Kenya"
              ]
            },
            "uniqueItems": true,
            "minItems": 1,
            "default": [
              "us"
            ],
            "prefill": [
              "us"
            ]
          },
          "languageCode": {
            "title": "Language",
            "type": "string",
            "description": "Language of the Google interface and of the AI Mode answer (hl). Pick the language your prompts are written in.",
            "editor": "select",
            "enum": [
              "en",
              "es",
              "fr",
              "de",
              "it",
              "pt",
              "nl",
              "pl",
              "tr",
              "ru",
              "uk",
              "ar",
              "he",
              "fa",
              "hi",
              "bn",
              "ta",
              "te",
              "mr",
              "gu",
              "kn",
              "ml",
              "pa",
              "ur",
              "id",
              "ms",
              "th",
              "vi",
              "fil",
              "zh-CN",
              "zh-TW",
              "ja",
              "ko",
              "sv",
              "no",
              "da",
              "fi",
              "cs",
              "sk",
              "hu",
              "ro",
              "bg",
              "el",
              "hr",
              "sr",
              "sl",
              "lt",
              "lv",
              "et",
              "ca",
              "eu",
              "gl",
              "af",
              "sw"
            ],
            "enumTitles": [
              "English",
              "Spanish",
              "French",
              "German",
              "Italian",
              "Portuguese",
              "Dutch",
              "Polish",
              "Turkish",
              "Russian",
              "Ukrainian",
              "Arabic",
              "Hebrew",
              "Persian",
              "Hindi",
              "Bengali",
              "Tamil",
              "Telugu",
              "Marathi",
              "Gujarati",
              "Kannada",
              "Malayalam",
              "Punjabi",
              "Urdu",
              "Indonesian",
              "Malay",
              "Thai",
              "Vietnamese",
              "Filipino",
              "Chinese (Simplified)",
              "Chinese (Traditional)",
              "Japanese",
              "Korean",
              "Swedish",
              "Norwegian",
              "Danish",
              "Finnish",
              "Czech",
              "Slovak",
              "Hungarian",
              "Romanian",
              "Bulgarian",
              "Greek",
              "Croatian",
              "Serbian",
              "Slovenian",
              "Lithuanian",
              "Latvian",
              "Estonian",
              "Catalan",
              "Basque",
              "Galician",
              "Afrikaans",
              "Swahili"
            ],
            "default": "en",
            "prefill": "en"
          },
          "brands": {
            "title": "Brands to track",
            "type": "array",
            "description": "Optional brand names. For each one the actor reports whether the AI Mode answer mentions it, how many times, where it first appears and whether it is cited as a source.",
            "editor": "stringList",
            "items": {
              "type": "string"
            },
            "default": [],
            "prefill": []
          },
          "domains": {
            "title": "Domains to track",
            "type": "array",
            "description": "Optional website domains (for example example.com). For each one the actor reports whether the answer mentions it and whether it appears among the cited sources.",
            "editor": "stringList",
            "items": {
              "type": "string"
            },
            "default": [],
            "prefill": []
          },
          "includeProductCards": {
            "title": "Include product cards",
            "type": "boolean",
            "description": "Extract the product cards Google shows inside the answer (name, price, merchant, rating, review count and key specs).",
            "default": true,
            "prefill": true
          },
          "includePlaceCards": {
            "title": "Include place cards",
            "type": "boolean",
            "description": "Extract local place cards when Google shows them in the answer.",
            "default": true,
            "prefill": true
          },
          "includeFollowUpQuestions": {
            "title": "Include follow-up questions",
            "type": "boolean",
            "description": "Extract the follow-up questions Google suggests below the answer.",
            "default": true,
            "prefill": true
          },
          "includeMarkdown": {
            "title": "Include markdown answer",
            "type": "boolean",
            "description": "Also save the answer as markdown, keeping headings, lists, tables and inline citation markers.",
            "default": true,
            "prefill": true
          },
          "maxItems": {
            "title": "Maximum records",
            "type": "integer",
            "description": "Stop after this many answers. Each prompt and country pair produces one answer.",
            "minimum": 1,
            "maximum": 1000,
            "default": 100,
            "prefill": 1
          }
        },
        "required": [
          "prompts"
        ]
      },
      "output": {
        "actorOutputSchemaVersion": 1,
        "title": "Google AI Mode Answer & Citation Scraper Output",
        "description": "AI Mode answers with full text and markdown, cited sources, inline citation groups, product and place cards, follow-up questions and brand visibility scores.",
        "properties": {
          "answers": {
            "type": "string",
            "title": "AI Mode answers",
            "description": "Dataset containing one AI Mode answer per prompt and country.",
            "template": "{{links.apiDefaultDatasetUrl}}/items"
          }
        }
      },
      "storages": {
        "dataset": {
          "actorSpecification": 1,
          "title": "AI Mode answers",
          "views": {
            "overview": {
              "title": "Answers",
              "transformation": {
                "fields": [
                  "prompt",
                  "countryCode",
                  "languageCode",
                  "answerText",
                  "citations",
                  "citationGroups",
                  "products",
                  "followUpQuestions"
                ]
              },
              "display": {
                "component": "table",
                "properties": {
                  "prompt": {
                    "label": "Prompt",
                    "format": "text"
                  },
                  "countryCode": {
                    "label": "Country",
                    "format": "text"
                  },
                  "languageCode": {
                    "label": "Language",
                    "format": "text"
                  },
                  "answerText": {
                    "label": "Answer",
                    "format": "text"
                  },
                  "citations": {
                    "label": "Citations",
                    "format": "array"
                  },
                  "citationGroups": {
                    "label": "Citation groups",
                    "format": "array"
                  },
                  "products": {
                    "label": "Product cards",
                    "format": "array"
                  },
                  "followUpQuestions": {
                    "label": "Follow-ups",
                    "format": "array"
                  }
                }
              }
            }
          }
        }
      }
    },
    "buildNumber": "0.1.7",
    "imageDigest": "00588433ae41287091f2d54a1bc3599b36945ffa1a2f162c86539e5e177052e5",
    "actVersion": {
      "sourceType": "SOURCE_FILES",
      "buildTag": "latest",
      "versionNumber": "0.1"
    },
    "usage": {
      "ACTOR_COMPUTE_UNITS": 0.04106888888888889
    }
  }
}