{
  "openapi": "3.0.1",
  "info": {
    "title": "📈 Earnings Estimate Revisions Tracker",
    "description": "Track sell-side analyst EPS estimate revisions (30/60/90d) for US-listed stocks ahead of earnings. Identifies positive revision clusters — the #1 quant signal for earnings-momentum strategies. Bloomberg / FactSet / Refinitiv I/B/E/S alternative. Pay-per-symbol. PRIVATE.",
    "version": "0.0",
    "x-build-id": "gp2wxwFBkFssSSOAr"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/nexgendata~earnings-estimate-revisions/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-nexgendata-earnings-estimate-revisions",
        "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/nexgendata~earnings-estimate-revisions/runs": {
      "post": {
        "operationId": "runs-sync-nexgendata-earnings-estimate-revisions",
        "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/nexgendata~earnings-estimate-revisions/run-sync": {
      "post": {
        "operationId": "run-sync-nexgendata-earnings-estimate-revisions",
        "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": "Stock symbols to track",
            "type": "array",
            "description": "List of US-listed stock ticker symbols to fetch analyst EPS estimate revisions for. Use the canonical Yahoo Finance ticker — e.g. AAPL, NVDA, TSLA, MSFT, AMZN, GOOGL, META, BRK-B (note the dash for class B), BABA (US ADR). Each symbol produces one record. Best signal: liquid mid/large-caps with 8+ covering analysts where revisions actually move estimates — small-caps with 2-3 analysts have noisy revision data. Hedge-fund earnings-momentum strategies typically scan 200-500 symbols per refresh.",
            "default": [
              "AAPL",
              "NVDA",
              "TSLA",
              "MSFT",
              "AMZN"
            ],
            "items": {
              "type": "string"
            }
          },
          "revision_direction": {
            "title": "Revision direction filter",
            "enum": [
              "ALL",
              "UP",
              "DOWN",
              "STABLE"
            ],
            "type": "string",
            "description": "Filter records by the direction of the trailing-30-day current-quarter EPS estimate revision. UP = estimate revised higher in the last 30 days (positive momentum — bullish into earnings, the highest-alpha signal in earnings-momentum strategies). DOWN = estimate revised lower (negative momentum — earnings miss risk). STABLE = revision under +/- 1% (analysts at consensus, low conviction either way). ALL = no filter, return every symbol.",
            "default": "ALL"
          },
          "min_revision_pct": {
            "title": "Minimum absolute revision % (30-day)",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Skip symbols whose absolute current-quarter revision over the trailing 30 days is below this percent. 0 = include every symbol regardless of revision magnitude. 1 = filter out noise (typical default for institutional dashboards). 3 = material revision threshold (most quant earnings-revision factor models use 3-5%). 10 = high-conviction revision cluster (rare — usually signals a guidance pre-announcement). Applied on the absolute value, so direction-filter is independent.",
            "default": 0
          },
          "time_window": {
            "title": "Primary revision time window",
            "enum": [
              "30d",
              "60d",
              "90d"
            ],
            "type": "string",
            "description": "Which trailing window to use as the primary revision_pct + revision_direction signal. 30d = most recent 30 days (default — what earnings-momentum strategies trade). 60d = trailing 60 days (smoother, used by fundamental funds). 90d = trailing 90 days (full quarter — used in SUE-style factor research). All three windows are always emitted in the output; this only controls which one drives the revision_direction classification.",
            "default": "30d"
          },
          "limit": {
            "title": "Max symbols to return",
            "minimum": 0,
            "maximum": 2000,
            "type": "integer",
            "description": "Maximum number of symbol records to push to the dataset. Each record is one symbol-level revision snapshot and counts as one pay-per-result charge ($0.15). Hedge-fund screens typically pull 50-200 names per refresh (top revision-momentum names from the S&P 500). Backtesting workflows pull 500-1500 (Russell 1000 universe). Leave at 0 to return every input symbol that resolves with data.",
            "default": 0
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Apify proxy configuration. Yahoo Finance rate-limits requests from Apify's default datacenter egress hard — back-to-back runs from a single Apify IP often see a flood of HTTP 429s on the quoteSummary endpoint. This actor defaults to the Apify `RESIDENTIAL` proxy group, which rotates residential IPs and reliably stays under Yahoo's anti-bot threshold. Free-tier Apify accounts can downgrade to `auto` (datacenter) but expect partial fills and missing symbols on bursts above ~5 names. Leave as default unless you know you need to change it.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ]
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}