{
  "openapi": "3.0.1",
  "info": {
    "title": "Business & Creator Intelligence — MCP",
    "description": "Find companies via Google Maps, discover Instagram and TikTok creators, score and rank opportunities. Full pipeline: company search → creator discovery → matching → opportunity scoring. MCP-compatible for AI agents.",
    "version": "0.1",
    "x-build-id": "u9Kcoe191vno3Ue2z"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/sheeen~ai-lead-research-mcp/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-sheeen-ai-lead-research-mcp",
        "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/sheeen~ai-lead-research-mcp/runs": {
      "post": {
        "operationId": "runs-sync-sheeen-ai-lead-research-mcp",
        "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/sheeen~ai-lead-research-mcp/run-sync": {
      "post": {
        "operationId": "run-sync-sheeen-ai-lead-research-mcp",
        "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": [
          "tool"
        ],
        "properties": {
          "tool": {
            "title": "Tool",
            "enum": [
              "research_business",
              "search_creators",
              "find_business_creators",
              "search_companies",
              "analyze_website",
              "analyze_creator",
              "get_company_details",
              "find_contacts"
            ],
            "type": "string",
            "description": "Which research tool to run. research_business is the full pipeline (recommended)."
          },
          "query": {
            "title": "Search Query",
            "type": "string",
            "description": "What to search for. Examples: 'gaming companies', 'beauty brands', 'AI startups'. Used by: research_business, search_companies."
          },
          "niche": {
            "title": "Niche / Industry",
            "type": "string",
            "description": "Content niche or industry vertical. Examples: gaming, beauty, fitness, fashion, food, tech, travel. Used by all creator tools."
          },
          "location": {
            "title": "Location",
            "type": "string",
            "description": "Target country or region. Examples: Germany, United States, France, Europe. Used by: research_business."
          },
          "country": {
            "title": "Country",
            "type": "string",
            "description": "Country filter for creator or company search. Examples: Germany, United Kingdom, United States."
          },
          "platforms": {
            "title": "Creator Platforms",
            "type": "array",
            "description": "Which platforms to search for creators. Currently active: instagram, tiktok.",
            "items": {
              "type": "string"
            },
            "default": [
              "instagram",
              "tiktok"
            ]
          },
          "direction": {
            "title": "Research Direction",
            "enum": [
              "business_to_creator",
              "creator_to_business"
            ],
            "type": "string",
            "description": "business_to_creator: Start from companies, find matching creators. creator_to_business: Start from creators, find matching companies.",
            "default": "business_to_creator"
          },
          "max_companies": {
            "title": "Max Companies",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Maximum number of companies to find and rank. Used by: research_business.",
            "default": 10
          },
          "max_creators": {
            "title": "Max Creators",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Maximum number of creators to find per run. Used by: research_business, find_business_creators.",
            "default": 10
          },
          "limit": {
            "title": "Result Limit",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Maximum number of results to return. Used by: search_creators, search_companies.",
            "default": 10
          },
          "company": {
            "title": "Company Name",
            "type": "string",
            "description": "Name of the specific company to find creators for. Used by: find_business_creators."
          },
          "username": {
            "title": "Creator Username",
            "type": "string",
            "description": "Social media username to analyze. Used by: analyze_creator."
          },
          "platform": {
            "title": "Platform (for analyze_creator)",
            "enum": [
              "instagram",
              "tiktok"
            ],
            "type": "string",
            "description": "Social platform of the creator to analyze. Active platforms: instagram, tiktok."
          },
          "website": {
            "title": "Website URL",
            "type": "string",
            "description": "Website URL to analyze for contacts, emails and company info. Used by: analyze_website, get_company_details."
          },
          "domain": {
            "title": "Company Domain",
            "type": "string",
            "description": "Domain name to find contact data for. Used by: find_contacts. Example: acme.com"
          },
          "language": {
            "title": "Language Filter",
            "type": "string",
            "description": "Filter creators by content language. Examples: German, English, French."
          },
          "min_followers": {
            "title": "Min Followers",
            "minimum": 0,
            "type": "integer",
            "description": "Only return creators with at least this many followers. Used by: search_creators."
          },
          "max_followers": {
            "title": "Max Followers",
            "minimum": 0,
            "type": "integer",
            "description": "Only return creators with at most this many followers. Useful for micro-influencer targeting."
          },
          "sort_by": {
            "title": "Sort Creators By",
            "enum": [
              "score",
              "followers",
              "engagement",
              "confidence"
            ],
            "type": "string",
            "description": "How to rank the creator results.",
            "default": "score"
          },
          "enrich_websites": {
            "title": "Enrich Company Websites",
            "type": "boolean",
            "description": "Fetch and analyze company websites for contact info, emails and descriptions. Slower and costs more. Used by: research_business.",
            "default": false
          },
          "keywords": {
            "title": "Additional Keywords",
            "type": "string",
            "description": "Extra search keywords for creator discovery, comma-separated. Example: 'esports, streaming'."
          },
          "deduplicate": {
            "title": "Deduplicate Results",
            "type": "boolean",
            "description": "Remove duplicate creators found across multiple searches.",
            "default": true
          },
          "company_name": {
            "title": "Company Name (for get_company_details / find_contacts)",
            "type": "string",
            "description": "Company name for detailed lookup tools."
          },
          "max_results": {
            "title": "Max Results",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Maximum results for search_companies (alias for limit).",
            "default": 10
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}