{
  "openapi": "3.0.1",
  "info": {
    "title": "Bark Scraper — Pros, Reviews & Category Coverage — $4/1k",
    "description": "Bark.com scraper for 10 countries incl. US: category coverage and gap finder per city, pros with ratings and reviews, and profile URL enrichment. Phone numbers are not collected. No login or cookies. MCP-ready for AI agents. $4 per 1,000 records.",
    "version": "1.0",
    "x-build-id": "9bDD1ELEsz1oRdrdJ"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/chimerical_quicklime~bark-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-chimerical_quicklime-bark-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/chimerical_quicklime~bark-scraper/runs": {
      "post": {
        "operationId": "runs-sync-chimerical_quicklime-bark-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/chimerical_quicklime~bark-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-chimerical_quicklime-bark-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",
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "coverage",
              "listings",
              "profiles"
            ],
            "type": "string",
            "description": "coverage = one row per city × service showing whether Bark has a page there and how many pros it lists (gap finder). listings = one row per provider found on the city × service pages (or Bark listing URLs). profiles = one row per Bark profile URL.",
            "default": "coverage"
          },
          "country": {
            "title": "Country",
            "enum": [
              "us",
              "gb",
              "ca",
              "ie",
              "au",
              "nz",
              "za",
              "sg",
              "fr",
              "de"
            ],
            "type": "string",
            "description": "Bark country site.",
            "default": "us"
          },
          "cities": {
            "title": "Cities",
            "type": "array",
            "description": "City names as you would type them (\"San Diego, CA\", \"Austin\", \"Leeds\", \"Toronto, ON\"), Bark location paths (\"california/san-diego\", \"west-yorkshire/leeds\") or Bark city page URLs. Leave empty with no URLs to run a San Diego sample.",
            "items": {
              "type": "string"
            }
          },
          "services": {
            "title": "Services",
            "type": "array",
            "description": "Plain service names (\"dog grooming\", \"house cleaning\") or Bark category slugs (\"pet-grooming\", \"cleaners\"). Each is matched with Bark's own service search; the matched slug is reported.",
            "items": {
              "type": "string"
            }
          },
          "listUrl": {
            "title": "List URL (CSV or Google Sheet)",
            "type": "string",
            "description": "Optional CSV / Google Sheet link (shared as anyone with the link). Rows can be \"city,service\" pairs, a single city (crossed with Services), or Bark listing / profile URLs."
          },
          "startUrls": {
            "title": "Bark listing or profile URLs",
            "type": "array",
            "description": "Bark category × city pages (https://www.bark.com/en/us/cleaners/california/san-diego/) for listings mode, or company profile URLs (https://www.bark.com/en/us/company/.../ID/) for profiles mode.",
            "items": {
              "type": "string"
            }
          },
          "profileUrls": {
            "title": "Bark profile URLs",
            "type": "array",
            "description": "Bark company profile URLs to enrich (profiles mode).",
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "Max providers",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Maximum provider rows in listings and profiles modes. Coverage mode always returns one row per city × service.",
            "default": 10
          },
          "fetchDetails": {
            "title": "Open each provider profile",
            "type": "boolean",
            "description": "Listings mode: open every provider profile for rating, review count, hires, response time, badges, services, about text, photos, website and Q&As. Off = only what the city page card shows (faster).",
            "default": true
          },
          "includeReviews": {
            "title": "Include reviews",
            "type": "boolean",
            "description": "Add a reviews array (author, rating, date, text, platform) to each provider row. No extra requests.",
            "default": false
          },
          "maxReviewsPerProvider": {
            "title": "Max reviews per provider",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Cap on reviews embedded per provider when Include reviews is on.",
            "default": 20
          },
          "includeNearby": {
            "title": "Expand to nearby places",
            "type": "boolean",
            "description": "Listings mode: also collect providers from the Nearby Places pages Bark links from each city page (same service), until Max providers is reached.",
            "default": false
          },
          "categories": {
            "title": "Service categories (alias of Services)",
            "type": "array",
            "description": "Alias of Services, for inputs written for other Bark scrapers.",
            "items": {
              "type": "string"
            }
          },
          "locations": {
            "title": "Locations (alias of Cities)",
            "type": "array",
            "description": "Alias of Cities, for inputs written for other Bark scrapers.",
            "items": {
              "type": "string"
            }
          },
          "targetType": {
            "title": "Target type (alias of Mode)",
            "type": "string",
            "description": "Alias of Mode: \"discovery\" = listings, \"profiles\" = profiles."
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Parallel requests to Bark.",
            "default": 4
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Not needed: Bark serves Apify cloud IPs directly. Set one only if you see HTTP 403/429 errors.",
            "default": {
              "useApifyProxy": false
            }
          }
        }
      },
      "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}