{
  "openapi": "3.0.1",
  "info": {
    "title": "Funding Rounds Scraper & News Monitor",
    "description": "Track company funding announcements from public news. Extract amounts, stages, investors and source links; deduplicate rounds and monitor new records.",
    "version": "0.2",
    "x-build-id": "Yoomk6ixlA2hVzXPP"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/stefanie-rink~independent-funding-rounds/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-stefanie-rink-independent-funding-rounds",
        "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/stefanie-rink~independent-funding-rounds/runs": {
      "post": {
        "operationId": "runs-sync-stefanie-rink-independent-funding-rounds",
        "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/stefanie-rink~independent-funding-rounds/run-sync": {
      "post": {
        "operationId": "run-sync-stefanie-rink-independent-funding-rounds",
        "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": {
          "maxItems": {
            "title": "Maximum results",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Maximum matching stored funding rounds returned, not a guarantee of discovery volume.",
            "default": 100
          },
          "since": {
            "title": "Announced on or after",
            "type": "string",
            "description": "YYYY-MM-DD or ISO-8601. Filtering uses the calendar date; rules mode uses publication date as the announcement-date proxy."
          },
          "round": {
            "title": "Funding stages",
            "type": "array",
            "description": "Empty means all. Use unknown or Not disclosed for undisclosed stages.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "industryGroups": {
            "title": "Industry groups",
            "type": "array",
            "description": "Exact case-insensitive labels. Rules mode leaves these null; use unknown to retain unclassified companies.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "naicsCode": {
            "title": "NAICS code prefix",
            "type": "string",
            "description": "Hierarchical prefix; 31-33, 44-45 and 48-49 ranges supported. Rules mode does not invent NAICS codes."
          },
          "verticals": {
            "title": "Verticals",
            "type": "array",
            "description": "Exact labels. Rules mode leaves these empty. Use unknown for unmapped companies.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "minAmountUsd": {
            "title": "Minimum amount (USD)",
            "minimum": 0,
            "type": "number",
            "description": "Exclude undisclosed/unconverted amounts when set."
          },
          "maxAmountUsd": {
            "title": "Maximum amount (USD)",
            "minimum": 0,
            "type": "number",
            "description": "Exclude undisclosed/unconverted amounts when set."
          },
          "countries": {
            "title": "HQ countries",
            "type": "array",
            "description": "ISO-2 codes or English names; unknown/Not disclosed includes missing countries. Rule-based geography is a heuristic.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "employeeBuckets": {
            "title": "Employee bands",
            "type": "array",
            "description": "Rules mode requires an explicit headcount. unknown includes missing sizes.",
            "items": {
              "type": "string",
              "enum": [
                "1-10",
                "11-50",
                "51-200",
                "201-500",
                "501-1000",
                "1001-5000",
                "5001-10000",
                "10001+",
                "unknown"
              ]
            },
            "default": []
          },
          "enrichedOnly": {
            "title": "Only enriched companies",
            "type": "boolean",
            "description": "Require domain, country and industry group. Rules mode does not assign industryGroup, so this normally returns zero unless the archive was enriched by LLM mode.",
            "default": false
          },
          "onlyNew": {
            "title": "Only new for this monitor",
            "type": "boolean",
            "description": "Persist delivered IDs per monitor. If since is omitted, use a rolling 30-day window. Delivery is at-least-once across crashes; dedupe downstream by id.",
            "default": false
          },
          "monitorId": {
            "title": "Monitor identifier",
            "type": "string",
            "description": "Optional; otherwise monitor identity is a hash of the filters. An explicit monitor ID shares delivered history across filter changes."
          },
          "resetMonitor": {
            "title": "Reset monitor history",
            "type": "boolean",
            "description": "Clear delivered IDs for this monitor, not the collected archive. Cannot be combined with cursor.",
            "default": false
          },
          "cursor": {
            "title": "Resume cursor",
            "type": "string",
            "description": "NEXT_CURSOR from a prior run using the same filters/onlyNew/monitorId/state store. Snapshots expire after 7 days. A continuation does not collect new articles."
          },
          "sources": {
            "title": "News sources",
            "uniqueItems": true,
            "type": "array",
            "description": "FinSMEs/EU-Startups are optional because access/robots checks may block them. Tech.eu uses its homepage, not its robots-disallowed feed.",
            "items": {
              "type": "string",
              "enum": [
                "prnewswire",
                "tech_eu",
                "entrackr",
                "eu_startups",
                "disrupt_africa",
                "finsmes",
                "wamda"
              ]
            },
            "default": [
              "prnewswire",
              "tech_eu",
              "entrackr",
              "disrupt_africa"
            ]
          },
          "startUrls": {
            "title": "Specific public article URLs",
            "maxItems": 500,
            "type": "array",
            "description": "Optional articles for testing/backfill, used alongside selected sources. Public HTTP(S) only. robots.txt is always respected.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "maxArticles": {
            "title": "Article fetch budget",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Maximum article requests per fresh run, across all sources. Discovery and website/FX requests are additional.",
            "default": 40
          },
          "maxArticlesPerSource": {
            "title": "Candidates per source",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Maximum candidates from each feed/listing. Latest listing/feed only; no deep archive crawl.",
            "default": 15
          },
          "requestDelaySeconds": {
            "title": "Minimum request delay",
            "minimum": 0.5,
            "maximum": 60,
            "type": "number",
            "description": "Minimum delay per host, increased if robots.txt specifies crawl-delay.",
            "default": 1
          },
          "enrichCompanyWebsites": {
            "title": "Read official company websites",
            "type": "boolean",
            "description": "Read Organization JSON-LD on explicitly linked company domains, within maxEnrichments. Never bypass access controls.",
            "default": true
          },
          "maxEnrichments": {
            "title": "Website enrichment budget",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Maximum company website requests per run. No LinkedIn scraping.",
            "default": 8
          },
          "convertCurrencies": {
            "title": "Convert disclosed foreign amounts to USD",
            "type": "boolean",
            "description": "Use historical Frankfurter rates where supported; missing rates leave USD values null.",
            "default": true
          },
          "fxRates": {
            "title": "Explicit currency rates",
            "type": "object",
            "description": "Optional object mapping ISO currency codes to USD per one original currency unit, e.g. {\"INR\":0.012}. These override historical rates and are recorded in provenance.",
            "default": {},
            "additionalProperties": true
          },
          "extractionMode": {
            "title": "Extraction mode",
            "enum": [
              "rules",
              "llm"
            ],
            "type": "string",
            "description": "rules: deterministic extraction without a provider key. llm: use your OpenAI key; provider fees are separate, including articles that produce no result.",
            "default": "rules"
          },
          "llmModel": {
            "title": "Optional model name",
            "type": "string",
            "description": "Model used only in llm mode with your OpenAI key. Provider charges are additional. Live LLM accuracy has not been verified for this release.",
            "default": "gpt-4.1-mini"
          },
          "minimumConfidence": {
            "title": "Minimum extraction confidence",
            "minimum": 0,
            "maximum": 1,
            "type": "number",
            "description": "Heuristic extraction score, not a calibrated probability.",
            "default": 0.7
          },
          "stateStoreName": {
            "title": "Persistent state store",
            "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{0,62}$",
            "type": "string",
            "description": "Named Apify key-value store shared across runs. Use one writer at a time. Local CLI uses --state instead.",
            "default": "independent-funding-rounds-v1"
          },
          "maxStoredRecords": {
            "title": "Archive capacity guard",
            "minimum": 100,
            "maximum": 50000,
            "type": "integer",
            "description": "Stop at this archive cap without evicting stored rounds. One KV record holds the archive; export and start a new store for larger collections.",
            "default": 10000
          },
          "openaiApiKey": {
            "title": "Your OpenAI API key (optional)",
            "type": "string",
            "description": "Required only for llm mode in Apify. Charged directly by your provider. An invalid supplied key never falls back to an owner key. Rules mode needs no key."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}