{
  "openapi": "3.0.1",
  "info": {
    "title": "Influencer Pricing Calculator - Rates by Platform",
    "description": "Estimate influencer rates per post, story, reel, video, and more across Instagram, YouTube, TikTok, Twitter/X, LinkedIn, Facebook, Pinterest, and Twitch. Based on 2026 industry-standard formulas. No scraping, no API keys, instant results.",
    "version": "0.1",
    "x-build-id": "OInRRBtrbCIRD0hPY"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/trovevault~influencer-pricing-calculator/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-trovevault-influencer-pricing-calculator",
        "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/trovevault~influencer-pricing-calculator/runs": {
      "post": {
        "operationId": "runs-sync-trovevault-influencer-pricing-calculator",
        "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/trovevault~influencer-pricing-calculator/run-sync": {
      "post": {
        "operationId": "run-sync-trovevault-influencer-pricing-calculator",
        "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": {
          "platforms": {
            "title": "Platforms",
            "type": "array",
            "description": "Select which platforms to include. One result row is returned per platform. Defaults to all 8 platforms.",
            "items": {
              "type": "string",
              "enum": [
                "instagram",
                "youtube",
                "tiktok",
                "twitter",
                "linkedin",
                "facebook",
                "pinterest",
                "twitch"
              ],
              "enumTitles": [
                "Instagram",
                "YouTube",
                "TikTok",
                "Twitter / X",
                "LinkedIn",
                "Facebook",
                "Pinterest",
                "Twitch"
              ]
            },
            "default": [
              "instagram",
              "youtube",
              "tiktok",
              "twitter",
              "linkedin",
              "facebook",
              "pinterest",
              "twitch"
            ]
          },
          "followers": {
            "title": "Follower / Subscriber Count",
            "minimum": 1000,
            "maximum": 500000000,
            "type": "integer",
            "description": "Total followers or subscribers on the creator's profile. Applied to all selected platforms. Used to determine the tier (Nano / Micro / Mid-tier / Macro / Mega) and base rate.",
            "default": 100000
          },
          "engagementRate": {
            "title": "Engagement Rate (%)",
            "minimum": 0,
            "maximum": 100,
            "type": "number",
            "description": "Average engagement rate as a percentage (likes + comments + shares ÷ followers × 100). Enter 3.5 for 3.5%. Rates above 3% apply a 1.5× multiplier; above 6% apply 2.0×.",
            "default": 3
          },
          "niche": {
            "title": "Content Niche",
            "enum": [
              "finance",
              "tech",
              "health",
              "beauty",
              "food",
              "gaming",
              "lifestyle",
              "entertainment"
            ],
            "type": "string",
            "description": "The creator's primary content niche. Affects rate multiplier: Finance pays premium (2.0×), Entertainment pays below average (0.9×).",
            "default": "lifestyle"
          },
          "country": {
            "title": "Creator's Country",
            "enum": [
              "United States",
              "United Kingdom",
              "Australia",
              "Canada",
              "Germany",
              "Switzerland",
              "Netherlands",
              "France",
              "Spain",
              "Italy",
              "Sweden",
              "Norway",
              "Denmark",
              "Brazil",
              "Mexico",
              "Portugal",
              "Poland",
              "Argentina",
              "India",
              "Philippines",
              "Indonesia",
              "Nigeria",
              "Pakistan"
            ],
            "type": "string",
            "description": "Country where the influencer is based. Rates vary significantly by market — US creators command the highest rates (2.0×), emerging markets lower (0.5×). Leave empty for global average baseline."
          },
          "averageViews": {
            "title": "Average Views per Video (YouTube)",
            "minimum": 0,
            "type": "integer",
            "description": "For YouTube only: average views per video. Used for CPM-based calculation. Leave empty to auto-estimate as 10% of subscribers."
          },
          "currency": {
            "title": "Output Currency",
            "enum": [
              "USD",
              "EUR",
              "GBP"
            ],
            "type": "string",
            "description": "Currency for all rate estimates. Calculations are in USD first, then converted (EUR: 0.92, GBP: 0.79).",
            "default": "USD"
          },
          "datasetId": {
            "title": "Dataset ID (optional)",
            "type": "string",
            "description": "ID of an existing Apify dataset to push results into in addition to the default dataset. Useful for combining results from multiple runs or integrating with downstream actors."
          },
          "runId": {
            "title": "Run ID (optional)",
            "type": "string",
            "description": "ID of a previous actor run to associate this run with. Used for chaining actors in multi-step pipelines."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}