{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Search to Full Article Text ⚡$4 per 1k",
    "description": "Turn Google search (SERP) queries into a dataset of deduplicated, clean full article text.",
    "version": "1.0",
    "x-build-id": "2gLavBkgAYoPlXYHo"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/ohmydata~google-search-to-full-article/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-ohmydata-google-search-to-full-article",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/ohmydata~google-search-to-full-article/runs": {
      "post": {
        "operationId": "runs-sync-ohmydata-google-search-to-full-article",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/ohmydata~google-search-to-full-article/run-sync": {
      "post": {
        "operationId": "run-sync-ohmydata-google-search-to-full-article",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "required": [
          "queries",
          "articles_limit"
        ],
        "properties": {
          "queries": {
            "title": "Search queries (required)",
            "minItems": 1,
            "maxItems": 10,
            "type": "array",
            "description": "Google search phrases. Range: 1–10. Example: \"AI tech news\", \"bio tech funding\".",
            "items": {
              "type": "string"
            },
            "default": [
              "AI tech news"
            ]
          },
          "articles_limit": {
            "title": "#Articles to extract per query (required)",
            "minimum": 10,
            "maximum": 1000,
            "type": "integer",
            "description": "How many articles to parse per query. Range: 10–1000.",
            "default": 10
          },
          "days_back": {
            "title": "Lookback window (days) (optional)",
            "minimum": 1,
            "type": "integer",
            "description": "Only include results from the last N days. Empty means all time.",
            "default": 7
          },
          "geo_code": {
            "title": "Search region (optional)",
            "type": "integer",
            "description": "Set the search region using a numeric region code. This parameter defines the location from which the search is performed, affecting localization and which sources are preferred. Leave empty to use the United States. Use a valid region code from the provided reference list: https://raw.githubusercontent.com/Karhuno-AI/karhuno-public-assets/a44f5fa7051f49c4a5c546b035d64b9941144529/geotargets-google.csv"
          },
          "domain": {
            "title": "Google domain (&domain=) (optional)",
            "enum": [
              "com",
              "ad",
              "ae",
              "al",
              "am",
              "as",
              "at",
              "az",
              "ba",
              "be",
              "bf",
              "bg",
              "bi",
              "bj",
              "bn",
              "bo",
              "br",
              "bs",
              "bt",
              "by",
              "bz",
              "ca",
              "cd",
              "cf",
              "cg",
              "ch",
              "ci",
              "cl",
              "cm",
              "cn",
              "co.ao",
              "co.bw",
              "co.ck",
              "co.cr",
              "co.id",
              "co.il",
              "co.im",
              "co.in",
              "co.je",
              "co.jp",
              "co.ke",
              "co.kr",
              "co.ls",
              "co.ma",
              "co.mz",
              "co.nz",
              "co.th",
              "co.tz",
              "co.ug",
              "co.uk",
              "co.uz",
              "co.ve",
              "co.vi",
              "co.za",
              "co.zm",
              "co.zw",
              "com.af",
              "com.ag",
              "com.ai",
              "com.ar",
              "com.au",
              "com.bd",
              "com.bh",
              "com.bi",
              "com.bn",
              "com.bo",
              "com.br",
              "com.by",
              "com.bz",
              "com.co",
              "com.cu",
              "com.cy",
              "com.do",
              "com.ec",
              "com.eg",
              "com.et",
              "com.fj",
              "com.gh",
              "com.gi",
              "com.gt",
              "com.hk",
              "com.jm",
              "com.kh",
              "com.kw",
              "com.lb",
              "com.lv",
              "com.ly",
              "com.mt",
              "com.mx",
              "com.my",
              "com.na",
              "com.nf",
              "com.ng",
              "com.ni",
              "com.np",
              "com.om",
              "com.pa",
              "com.pe",
              "com.ph",
              "com.pk",
              "com.pl",
              "com.pr",
              "com.py",
              "com.qa",
              "com.ru",
              "com.sa",
              "com.sb",
              "com.sg",
              "com.sl",
              "com.sv",
              "com.tj",
              "com.tr",
              "com.tw",
              "com.ua",
              "com.uy",
              "com.vc",
              "com.vn",
              "cv",
              "cz",
              "de",
              "dj",
              "dk",
              "dm",
              "dz",
              "ee",
              "es",
              "fi",
              "fm",
              "fr",
              "ga",
              "ge",
              "gf",
              "gg",
              "gl",
              "gm",
              "gp",
              "gr",
              "gy",
              "hk",
              "hn",
              "hr",
              "ht",
              "hu",
              "ie",
              "iq",
              "is",
              "it",
              "je",
              "jo",
              "kg",
              "ki",
              "kz",
              "la",
              "li",
              "lk",
              "lt",
              "lu",
              "lv",
              "md",
              "me",
              "mg",
              "mk",
              "ml",
              "mn",
              "ms",
              "mu",
              "mv",
              "mw",
              "mx",
              "my",
              "mz",
              "na",
              "ne",
              "nf",
              "ng",
              "ni",
              "nl",
              "no",
              "nr",
              "nu",
              "nz",
              "om",
              "pa",
              "pe",
              "ph",
              "pk",
              "pl",
              "pn",
              "ps",
              "pt",
              "qa",
              "ro",
              "rs",
              "ru",
              "rw",
              "sc",
              "se",
              "sg",
              "sh",
              "si",
              "sk",
              "sl",
              "sm",
              "sn",
              "so",
              "sr",
              "st",
              "td",
              "tg",
              "tk",
              "tl",
              "tm",
              "tn",
              "to",
              "tt",
              "tv",
              "tw",
              "tz",
              "ua",
              "ug",
              "uk",
              "us",
              "uy",
              "uz",
              "vc",
              "ve",
              "vg",
              "vi",
              "vn",
              "vu",
              "ws",
              "yt",
              "za",
              "zm",
              "zw"
            ],
            "type": "string",
            "description": "Choose which Google domain to use for the search (for example com, co.uk, de). This can affect which sources and rankings you get. Leave empty to use com."
          },
          "tbm": {
            "title": "Web search or News search? (optional)",
            "enum": [
              "",
              "news"
            ],
            "type": "string",
            "description": "Select what kind of Google search to run. Leave empty for regular web search, or use news for Google News results."
          },
          "device": {
            "title": "Device Type (optional)",
            "enum": [
              "desktop",
              "mobile"
            ],
            "type": "string",
            "description": "Device type for search"
          },
          "safe": {
            "title": "Safe Search (optional)",
            "minimum": 1,
            "maximum": 2,
            "type": "integer",
            "description": "Safe search filter: 1 (filter), 2 (off)"
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}