{
  "openapi": "3.0.1",
  "info": {
    "title": "HubSpot Solutions Partner Scraper - Agency Leads",
    "description": "Scrape the HubSpot Solutions Partner directory: agency name, partner tier, website, location, services, industries served, certifications, rating & reviews. Filter by tier, industry, service, language, budget & country. Optional email enrichment & monitoring. No login or API key.",
    "version": "0.1",
    "x-build-id": "oNslZeZ5VJymFTBYV"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/scrapesage~hubspot-solutions-partner-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-scrapesage-hubspot-solutions-partner-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/scrapesage~hubspot-solutions-partner-scraper/runs": {
      "post": {
        "operationId": "runs-sync-scrapesage-hubspot-solutions-partner-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/scrapesage~hubspot-solutions-partner-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-scrapesage-hubspot-solutions-partner-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": {
          "partnerTiers": {
            "title": "Partner tiers",
            "type": "array",
            "description": "Keep only agencies at these HubSpot Solutions Partner tiers — a strong size / commitment signal. Leave empty for all tiers (the directory lists Elite, Diamond, Platinum and Gold partners).",
            "items": {
              "type": "string",
              "enum": [
                "elite",
                "diamond",
                "platinum",
                "gold"
              ],
              "enumTitles": [
                "Elite",
                "Diamond",
                "Platinum",
                "Gold"
              ]
            },
            "default": []
          },
          "industries": {
            "title": "Industries served (optional)",
            "type": "array",
            "description": "Keep only agencies that serve one of these client industries. Leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "ECOMMERCE",
                "TECHNOLOGY_SOFTWARE",
                "MARKETING_SERVICES",
                "FINANCE_INSURANCE",
                "BANKING_FINANCIAL_SERVICES",
                "HEALTH",
                "MEDICAL_WELLNESS",
                "REAL_ESTATE",
                "MANUFACTURING",
                "CONSULTING_ADVISORY",
                "BUSINESS_SERVICES_GENERAL",
                "EDUCATION",
                "NON_PROFIT",
                "CONSTRUCTION_RENOVATION",
                "RETAIL",
                "CONSUMER_PRODUCTS",
                "CONSUMER_SERVICES",
                "HOSPITALITY",
                "TOURISM_TRAVEL",
                "LEGAL_SERVICES",
                "MEDIA_PUBLISHING",
                "ENTERTAINMENT",
                "RECRUITING_STAFFING",
                "AUTOMOTIVE_TRANSPORT",
                "TRANSPORTATION_STORAGE",
                "TELECOM_MOBILE_COMMUNICATIONS",
                "TECHNOLOGY_HARDWARE_STORAGE",
                "DATA_PROCESSING_HOSTING",
                "ELECTRONICS",
                "ENERGY",
                "OIL_GAS",
                "UTILITIES",
                "GOVERNMENT",
                "ARCHITECTURE",
                "SHIPPING",
                "WASTE_MANAGEMENT",
                "OTHER"
              ],
              "enumTitles": [
                "Ecommerce",
                "Technology - software",
                "Marketing services",
                "Finance & insurance",
                "Banking/financial services",
                "Health",
                "Medical & wellness",
                "Real estate",
                "Manufacturing",
                "Consulting/advisory",
                "Business services - general",
                "Education",
                "Nonprofit",
                "Construction & renovation",
                "Retail",
                "Consumer products",
                "Consumer services",
                "Hospitality",
                "Tourism/travel",
                "Legal services",
                "Media & publishing",
                "Entertainment",
                "Recruiting/staffing",
                "Automotive & transport",
                "Transportation & storage",
                "Telecom & mobile communications",
                "Technology - hardware & storage",
                "Data processing & hosting",
                "Electronics",
                "Energy",
                "Oil & gas",
                "Utilities",
                "Government",
                "Architecture",
                "Shipping",
                "Waste management",
                "Other"
              ]
            },
            "default": []
          },
          "services": {
            "title": "Services offered (optional)",
            "type": "array",
            "description": "Keep only agencies that offer one of these services. Leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "HubSpot Onboarding",
                "CRM Implementation",
                "CRM Migration",
                "Marketing Hub Professional Onboarding",
                "Marketing Hub Enterprise Onboarding",
                "Sales Hub Professional Onboarding",
                "Sales Hub Enterprise Onboarding",
                "Service Hub Professional Onboarding",
                "Service Hub Enterprise Onboarding",
                "CMS Professional Onboarding",
                "CMS Enterprise Onboarding",
                "Full Inbound Marketing Services",
                "Email Marketing",
                "Paid Advertising",
                "Search Engine Optimization",
                "Social Media",
                "Content Creation",
                "Account based marketing",
                "Branding",
                "Public Relations",
                "Video Production",
                "Website Design",
                "Website Development",
                "Website Migration",
                "Custom API Integrations",
                "Programmable Automation",
                "Revenue Hub Implementation",
                "CPQ Implementation",
                "Billing and Payments Implementation",
                "Sales Enablement",
                "Sales Coaching and Training",
                "Sales and Marketing Alignment",
                "Customer Marketing",
                "Conversational Marketing",
                "Community Management",
                "Help Desk Implementation",
                "Knowledge Base Development",
                "Customer Success Training",
                "Customer Support Training",
                "Customer Survey and Analysis"
              ]
            },
            "default": []
          },
          "languages": {
            "title": "Languages (optional)",
            "type": "array",
            "description": "Keep only agencies that work in one of these languages (ISO codes). Leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "en",
                "es",
                "fr",
                "de",
                "pt",
                "it",
                "nl",
                "sv",
                "da",
                "no",
                "fi",
                "pl",
                "ru",
                "ja",
                "zh",
                "ko",
                "ar",
                "tr",
                "he",
                "cs",
                "ro",
                "el",
                "th",
                "id",
                "hi"
              ],
              "enumTitles": [
                "English",
                "Spanish",
                "French",
                "German",
                "Portuguese",
                "Italian",
                "Dutch",
                "Swedish",
                "Danish",
                "Norwegian",
                "Finnish",
                "Polish",
                "Russian",
                "Japanese",
                "Chinese",
                "Korean",
                "Arabic",
                "Turkish",
                "Hebrew",
                "Czech",
                "Romanian",
                "Greek",
                "Thai",
                "Indonesian",
                "Hindi"
              ]
            },
            "default": []
          },
          "minBudget": {
            "title": "Minimum project budget (optional)",
            "enum": [
              "",
              "LOWER",
              "MIDDLE",
              "UPPER",
              "ANY"
            ],
            "type": "string",
            "description": "Keep only agencies that accept projects in this budget band.",
            "default": ""
          },
          "searchQuery": {
            "title": "Keyword (optional)",
            "type": "string",
            "description": "Optional keyword to match the agency name, description, services or industries (e.g. \"ecommerce\", \"RevOps\", \"Shopify\", \"healthcare\"). Applied to each profile after fetching it."
          },
          "countries": {
            "title": "Countries (optional)",
            "type": "array",
            "description": "Keep only agencies headquartered in these countries (ISO codes, e.g. US, GB, CA, AU). Applied after fetching each profile, so it scans more listings — raise \"Max listings to scan\" if you filter to a small country.",
            "items": {
              "type": "string",
              "enum": [
                "US",
                "GB",
                "CA",
                "AU",
                "IN",
                "DE",
                "FR",
                "ES",
                "NL",
                "BR",
                "IT",
                "MX",
                "IE",
                "SE",
                "ZA",
                "SG",
                "AE",
                "NZ",
                "PL",
                "PT",
                "BE",
                "DK",
                "CH",
                "AT",
                "NO",
                "FI",
                "PH",
                "CO",
                "AR",
                "CL"
              ],
              "enumTitles": [
                "United States",
                "United Kingdom",
                "Canada",
                "Australia",
                "India",
                "Germany",
                "France",
                "Spain",
                "Netherlands",
                "Brazil",
                "Italy",
                "Mexico",
                "Ireland",
                "Sweden",
                "South Africa",
                "Singapore",
                "United Arab Emirates",
                "New Zealand",
                "Poland",
                "Portugal",
                "Belgium",
                "Denmark",
                "Switzerland",
                "Austria",
                "Norway",
                "Finland",
                "Philippines",
                "Colombia",
                "Argentina",
                "Chile"
              ]
            },
            "default": []
          },
          "locations": {
            "title": "Locations (optional)",
            "type": "array",
            "description": "Optional city or state/region filters (e.g. \"Texas\", \"London\", \"New York\", \"Toronto\"). Matched against each agency's office locations. Applied after fetching each profile.",
            "items": {
              "type": "string"
            }
          },
          "minRating": {
            "title": "Minimum rating (optional)",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "Keep only agencies with at least this average client rating (1-5). Leave empty for all."
          },
          "minReviews": {
            "title": "Minimum review count (optional)",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Keep only agencies with at least this many client reviews. Leave empty for all."
          },
          "maxItems": {
            "title": "Max results (partners)",
            "minimum": 1,
            "maximum": 50000,
            "type": "integer",
            "description": "Cap on partner records across the whole run.",
            "default": 100
          },
          "includeProfileDetails": {
            "title": "Include full profile details",
            "type": "boolean",
            "description": "Fetch each agency's full profile for website, office location, services, industries served, regions, languages, certifications, integration count and publish dates (one extra request per partner). Recommended — the website and location only exist on the profile. Country / location filters require this.",
            "default": true
          },
          "includeReviews": {
            "title": "Include client reviews",
            "type": "boolean",
            "description": "Opt-in: also fetch sample client reviews for each agency (title, rating, text, date, reviewer). Adds one request per partner.",
            "default": false
          },
          "maxReviewsPerPartner": {
            "title": "Max reviews per partner",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "How many client reviews to fetch per agency when reviews are on.",
            "default": 10
          },
          "enrichEmails": {
            "title": "Enrich emails from agency website",
            "type": "boolean",
            "description": "Opt-in: visit each agency's own website (home + a contact/about page) to extract public emails, phones and social links. HubSpot does not publish direct emails on the listing, so this is the way to obtain contact details.",
            "default": false
          },
          "maxEmailPagesPerSite": {
            "title": "Max website pages per agency (email enrichment)",
            "minimum": 1,
            "maximum": 6,
            "type": "integer",
            "description": "How many pages of each agency's website to scan for contact details when enrichment is on (home page plus likely contact/about pages).",
            "default": 3
          },
          "maxScan": {
            "title": "Max listings to scan",
            "minimum": 100,
            "maximum": 20000,
            "type": "integer",
            "description": "Safety ceiling on how many listings to scan when country / location filters are active (they are evaluated after fetching each profile). Increase it to fill the cap for a small country.",
            "default": 1500
          },
          "monitorMode": {
            "title": "Monitoring mode - only new partners",
            "type": "boolean",
            "description": "Remember which partners were already returned and emit ONLY agencies not seen (or changed) since previous runs. Pairs with Apify Schedules to track new HubSpot partners and listing changes over time.",
            "default": false
          },
          "monitorStoreName": {
            "title": "Monitor store name",
            "type": "string",
            "description": "Named key-value store that holds the 'already seen' partner ids for monitoring mode. Use a different name per tracked segment to keep histories separate.",
            "default": "hubspot-partner-monitor"
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Proxy settings. The HubSpot directory API is served cleanly over datacenter IPs, so Apify Proxy (automatic) is the default and cheapest option. Blocked requests retry automatically on a fresh IP.",
            "default": {
              "useApifyProxy": 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}