{
  "openapi": "3.0.1",
  "info": {
    "title": "YouTube Influencer Finder — Top Creators, Most Viewed & Charts",
    "description": "Find YouTube influencers and top creators for any niche, ranked by subscribers, lifetime views and median views of recent uploads, with country and social links. Plus the most-viewed and rising videos for a topic, and YouTube Music charts for 68 countries. No login, no API key.",
    "version": "0.1",
    "x-build-id": "Ntwwpw3miaWKaKLN6"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/yugenox~youtube-famous-finder/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-yugenox-youtube-famous-finder",
        "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/yugenox~youtube-famous-finder/runs": {
      "post": {
        "operationId": "runs-sync-yugenox-youtube-famous-finder",
        "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/yugenox~youtube-famous-finder/run-sync": {
      "post": {
        "operationId": "run-sync-yugenox-youtube-famous-finder",
        "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": "🎯 What to find",
            "enum": [
              "topCreators",
              "mostViewed",
              "rising",
              "charts"
            ],
            "type": "string",
            "description": "Top creators: the most famous channels for a niche keyword. Most viewed: the videos with the most views for a topic. Rising: new uploads gaining views fastest, with breakouts from small channels flagged. Charts: YouTube Music's public charts (top music videos weekly or daily, trending, top artists) for 68 countries and Global.",
            "default": "topCreators"
          },
          "queries": {
            "title": "🔎 Keywords",
            "type": "array",
            "description": "Niche keywords or topics, one per line (\"home workout\", \"ai agents\", \"minecraft\"). Each keyword gets its own ranked list. Not used by Charts.",
            "items": {
              "type": "string"
            }
          },
          "maxResults": {
            "title": "Max results per keyword",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "How many ranked rows per keyword (Charts: per chart; top music videos have up to 100 entries, top artists 40, trending 20). You pay per row delivered.",
            "default": 20
          },
          "country": {
            "title": "Country",
            "type": "string",
            "description": "Two-letter country code (US, GB, IN, BR, DE …). Searches run as YouTube does for people in that country. Charts use it when \"Chart countries\" is empty (write \"global\" for the worldwide charts).",
            "default": "US"
          },
          "language": {
            "title": "Language",
            "type": "string",
            "description": "YouTube interface language for video searches (en, es, pt-BR, hi …). It nudges which videos YouTube suggests; numbers are always read exactly. Channel searches always run in English.",
            "default": "en"
          },
          "minSubscribers": {
            "title": "Min subscribers",
            "minimum": 0,
            "type": "integer",
            "description": "Top creators only: skip channels below this many subscribers."
          },
          "maxSubscribers": {
            "title": "Max subscribers",
            "minimum": 0,
            "type": "integer",
            "description": "Top creators only: skip channels above this many subscribers (find mid-size creators)."
          },
          "creatorCountries": {
            "title": "Channel countries",
            "type": "array",
            "description": "Top creators only: keep channels whose About page names one of these countries (names or 2-letter codes: \"US\", \"Canada\", \"IN\"). Empty = any country.",
            "items": {
              "type": "string"
            }
          },
          "activeWithinDays": {
            "title": "Uploaded within the last N days",
            "minimum": 0,
            "type": "integer",
            "description": "Top creators only: keep channels whose newest video is at most this many days old."
          },
          "rankBy": {
            "title": "Rank creators by",
            "enum": [
              "fame",
              "subscribers",
              "totalViews",
              "recentViews"
            ],
            "type": "string",
            "description": "fameScore (0–100: subscribers 50%, lifetime views 35%, median views of recent uploads 15%), subscribers, lifetime views, or recent median views.",
            "default": "fame"
          },
          "timeWindow": {
            "title": "Uploaded in (most viewed)",
            "enum": [
              "all",
              "year",
              "month",
              "week",
              "today"
            ],
            "type": "string",
            "description": "Most viewed only: rank videos uploaded today, this week, this month, this year, or of all time.",
            "default": "all"
          },
          "publishedWithinDays": {
            "title": "Uploaded in the last N days (rising)",
            "minimum": 1,
            "maximum": 365,
            "type": "integer",
            "description": "Rising only: how recent an upload must be (1–365 days).",
            "default": 7
          },
          "videoLength": {
            "title": "Video length",
            "enum": [
              "any",
              "short",
              "medium",
              "long"
            ],
            "type": "string",
            "description": "Most viewed and rising: any length, under 4 minutes, 4–20 minutes, or over 20 minutes.",
            "default": "any"
          },
          "risingRankBy": {
            "title": "Rank rising videos by",
            "enum": [
              "rising",
              "viewsPerDay",
              "outlierScore"
            ],
            "type": "string",
            "description": "risingScore (0–100: views per day 60%, outlier score 40%), views per day, or outlier score (views ÷ the channel's usual views).",
            "default": "rising"
          },
          "smallChannelMaxSubscribers": {
            "title": "Small channel = at most N subscribers",
            "minimum": 0,
            "type": "integer",
            "description": "Rising only: a video at 3× or more of its channel's usual views on a channel this size or smaller is flagged as a breakout.",
            "default": 100000
          },
          "compareToChannel": {
            "title": "Compare each video to its channel (outlier score)",
            "type": "boolean",
            "description": "Reads each channel's latest uploads once to compute outlierScore and channelMedianViews. Off = a little faster, those fields stay empty (rising then ranks on views per day alone).",
            "default": true
          },
          "chartTypes": {
            "title": "Charts",
            "type": "array",
            "description": "Charts only: which YouTube Music charts to read (music.youtube.com/charts). Each chart × country is one ranked list with YouTube Music's positions and trend (up / down / same). Top songs and Top songs on Shorts are not on YouTube Music's charts: they are skipped and not charged.",
            "items": {
              "type": "string",
              "enum": [
                "topMusicVideos",
                "topSongs",
                "topArtists",
                "trending",
                "topShortsSongs"
              ],
              "enumTitles": [
                "Top music videos (100, weekly or daily)",
                "Top songs (not on YouTube Music: skipped, not charged)",
                "Top artists (40, weekly)",
                "Trending music videos (20, live)",
                "Top songs on Shorts (not on YouTube Music: skipped, not charged)"
              ]
            }
          },
          "chartPeriod": {
            "title": "Chart period",
            "enum": [
              "weekly",
              "daily"
            ],
            "type": "string",
            "description": "Weekly or daily. Daily exists for top music videos; top artists are weekly; trending is live.",
            "default": "weekly"
          },
          "chartCountries": {
            "title": "Chart countries",
            "type": "array",
            "description": "Two-letter country codes, or \"global\" for worldwide. YouTube Music's charts cover 68 countries and Global (list in the README). Empty = the Country field above. A country it does not cover is reported and not charged.",
            "items": {
              "type": "string"
            }
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Residential proxies (the default) keep YouTube answering. An account without residential proxies falls back to Apify datacenter IPs automatically.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ]
            }
          },
          "proxyStrategy": {
            "title": "Proxy strategy",
            "enum": [
              "configured",
              "auto"
            ],
            "type": "string",
            "description": "configured = every request through the proxy above. auto = YouTube's JSON pages through Apify datacenter first (cheaper), moving to the proxy above if YouTube blocks them.",
            "default": "configured"
          },
          "maxConcurrency": {
            "title": "Parallel requests",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "How many videos are read at once (1–20).",
            "default": 8
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}