{
  "openapi": "3.0.1",
  "info": {
    "title": "CNBC API Scraper",
    "description": "Extract CNBC quotes and newsroom feeds: price, change, open, both ranges, volume, market cap, PE, EPS, dividend yield, beta and the extended-hours price, plus top news, earnings and economy. Export data, run via API, schedule and monitor runs, or integrate with other tools.",
    "version": "0.0",
    "x-build-id": "Blbhf1uRys8vxfk0u"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/publicmoney~cnbc-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-publicmoney-cnbc-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/publicmoney~cnbc-scraper/runs": {
      "post": {
        "operationId": "runs-sync-publicmoney-cnbc-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/publicmoney~cnbc-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-publicmoney-cnbc-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": {
          "symbols": {
            "title": "🔤 Symbols",
            "maxItems": 200,
            "type": "array",
            "description": "Symbols to read in quote mode, one per line. CNBC carries quote pages for US-listed symbols; thinly traded and non-US listings may not resolve. Ignored in news mode, because CNBC organises news by newsroom feed rather than by symbol. Examples: 'AAPL', 'MSFT', 'NVDA'. Default is 'AAPL'.",
            "default": [
              "AAPL"
            ],
            "items": {
              "type": "string"
            }
          },
          "tickers": {
            "title": "🏷️ Only stories mentioning these tickers",
            "maxItems": 50,
            "type": "array",
            "description": "Return only stories that mention one of these tickers or assets (AAPL, BTC, NVDA). Leave empty to get the whole feed. Matching reads the article text, so keep 'Fetch the full article text' on — with it off, far fewer stories resolve a ticker.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "mode": {
            "title": "🔀 Mode",
            "enum": [
              "quote",
              "news"
            ],
            "type": "string",
            "description": "What each record represents. Quote returns one record per symbol with the price block, both ranges, market cap, PE, EPS, beta and the extended-hours price. News returns one record per story from the newsroom feeds you picked. Examples: 'quote', 'news'. Default is 'quote'.",
            "default": "quote"
          },
          "feeds": {
            "title": "📰 Feeds",
            "maxItems": 13,
            "type": "array",
            "description": "Which CNBC newsroom feeds to read in news mode. Thirteen sections are available; the four selected by default are the market-facing ones. Ignored in quote mode. Pick several and stories are returned from each, tagged with the feed they came from.",
            "items": {
              "type": "string",
              "enum": [
                "topNews",
                "finance",
                "earnings",
                "economy",
                "business",
                "technology",
                "politics",
                "energy",
                "realEstate",
                "autos",
                "smallBusiness",
                "travel",
                "life"
              ],
              "enumTitles": [
                "Top news",
                "Finance",
                "Earnings",
                "Economy",
                "Business news",
                "Tech",
                "Politics and policy",
                "Energy",
                "Housing",
                "Autos",
                "Small business",
                "Travel",
                "Life"
              ]
            },
            "default": [
              "topNews",
              "finance",
              "earnings",
              "economy",
              "business",
              "technology",
              "politics",
              "energy",
              "realEstate",
              "autos",
              "smallBusiness",
              "travel",
              "life"
            ]
          },
          "publishedSince": {
            "title": "📅 Published since",
            "type": "string",
            "description": "Only return stories published on or after this date. Leave empty to go by count alone. Example: '2026-09-01'."
          },
          "articlesPerFeed": {
            "title": "🔢 Articles per feed",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "How many stories to return per feed, newest first. The feed carries a rolling window, so a value above what it holds returns everything available. Counted per feed, so four feeds at 50 is up to 200 stories. Use Max items to cap the run total.",
            "default": 15
          },
          "onlyNew": {
            "title": "🆕 Only stories not returned before",
            "type": "boolean",
            "description": "Skip stories an earlier run of this Actor already returned, so a scheduled run pays only for what is new. Off by default, so a one-off run returns everything in range.",
            "default": false
          },
          "fullText": {
            "title": "📄 Fetch the full article text",
            "type": "boolean",
            "description": "Read each story's own page so `articleBody` holds the real article text rather than the feed's one-sentence teaser. Turn off for a faster, cheaper run that takes only what the feed publishes. On by default.",
            "default": true
          },
          "maxItems": {
            "title": "🔢 Max items",
            "minimum": 0,
            "maximum": 10000,
            "type": "integer",
            "description": "A hard cap on the stories a run returns across every feed together, applied on top of Articles per feed. 0 means no cap. Example: four feeds at 50 each with Max items 100 returns 100, not 200.",
            "default": 0
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}