{
  "openapi": "3.0.1",
  "info": {
    "title": "SCOUTR Nordics (Google Maps Scraper)",
    "description": "Specialized Google Maps scraper for Nordic countries. Geocodes a start address, finds businesses within a radius, and extracts name, address, website, phone. Visits each website to fetch real contact information. \nOther countries will be added in different actors when the code is fully optimized.",
    "version": "2.6",
    "x-build-id": "owwT7AG75Vf9arEBY"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/odaudlegur~scoutr-nordics-google-maps-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-odaudlegur-scoutr-nordics-google-maps-scraper",
        "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/odaudlegur~scoutr-nordics-google-maps-scraper/runs": {
      "post": {
        "operationId": "runs-sync-odaudlegur-scoutr-nordics-google-maps-scraper",
        "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/odaudlegur~scoutr-nordics-google-maps-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-odaudlegur-scoutr-nordics-google-maps-scraper",
        "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": [
          "start_address",
          "keywords"
        ],
        "properties": {
          "start_address": {
            "title": "Start Address",
            "type": "string",
            "description": "Address or place name to start the search from.",
            "default": "Gudbrandsdalsvegen 235, 2619 Lillehammer"
          },
          "keywords": {
            "title": "Keyword",
            "enum": [
              "Bakery",
              "Café",
              "Camping",
              "Catering",
              "Cinema",
              "Convenience store",
              "Deli",
              "Fishmonger",
              "Florist",
              "Garden center",
              "Gym",
              "Hair salon",
              "Hotel",
              "Kiosk",
              "Pharmacy",
              "Physiotherapy",
              "Pizzeria",
              "Preschool",
              "Restaurant",
              "School",
              "Supermarket",
              "Spa",
              "University",
              "----Broad buckets----",
              "Food & Drinks",
              "Retail & Stores",
              "Health & Beauty",
              "Automotive",
              "Home Services",
              "Real Estate",
              "Finance & Insurance",
              "Education",
              "Travel & Accommodation",
              "Arts & Entertainment",
              "Sports & Recreation",
              "Legal & Consulting",
              "Manufacturing & Industry",
              "Logistics & Transportation",
              "Agriculture & Farming",
              "IT & Technology",
              "Public Services",
              "Nonprofits & Community",
              "Events & Hospitality",
              "Media & Marketing"
            ],
            "type": "string",
            "description": "Single search keyword to query (use multiple runs for multiple categories). Broad buckets are found at the bottom of the list.",
            "default": "Bakery"
          },
          "range_meters": {
            "title": "Search Radius (m)",
            "type": "integer",
            "description": "Radius around the start address in meters to search within.",
            "default": 2000
          },
          "max_per_keyword": {
            "title": "Max Results Per Keyword",
            "type": "integer",
            "description": "Maximum number of unique listings to collect per keyword.",
            "default": 100
          },
          "tile_m": {
            "title": "Grid Tile Spacing (m)",
            "type": "integer",
            "description": "Distance in meters between grid points used to tile the search area.",
            "default": 1000
          },
          "country_override": {
            "title": "Country ISO Override",
            "type": "string",
            "description": "Optional ISO country code override (NO, SE, DK, FI, IS). Leave empty to auto-detect.",
            "default": ""
          },
          "fetch_emails": {
            "title": "Fetch Emails and Socials",
            "type": "boolean",
            "description": "If enabled, crawl business websites to extract emails, phones, and social links.",
            "default": false
          },
          "fallback_search": {
            "title": "Fallback Search Engine",
            "enum": [
              "google",
              "duckduckgo",
              "bing"
            ],
            "type": "string",
            "description": "Search engine to use when trying to find a business website if Google Maps doesn't provide one.",
            "default": "google"
          },
          "max_pages_per_site": {
            "title": "Max Pages per Site Crawl",
            "type": "integer",
            "description": "Maximum number of pages to crawl per business website when fetching contacts.",
            "default": 4
          },
          "request_timeout_s": {
            "title": "Request Timeout (s)",
            "type": "integer",
            "description": "HTTP request timeout in seconds for external calls (Google, geocoding, websites).",
            "default": 20
          },
          "concurrency": {
            "title": "Worker Concurrency",
            "type": "integer",
            "description": "Number of concurrent workers / tiles processed in parallel.",
            "default": 4
          },
          "respect_robots": {
            "title": "Respect robots.txt",
            "type": "boolean",
            "description": "If enabled, do not crawl website paths that are disallowed by robots.txt.",
            "default": true
          },
          "enable_distance_fallback": {
            "title": "Enable Geocoding Distance Fallback",
            "type": "boolean",
            "description": "If enabled, use geocoding of the address to approximate distance when coordinates are missing.",
            "default": false
          },
          "auto_translate_keywords": {
            "title": "Translate keywords to detected ISO-language",
            "type": "boolean",
            "description": "If enabled, keywords are automatically translated to detected ISO-language.",
            "default": true
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}