{
  "openapi": "3.0.1",
  "info": {
    "title": "Earnings Call Transcript API",
    "description": "Scrape public earnings call transcripts by ticker or URL. Motley Fool full Q&A primary, SEC EDGAR transcript-exhibit fallback. Returns speakers, prepared remarks, Q&A, and provenance. MCP-ready, HTTP-only, no login.",
    "version": "0.1",
    "x-build-id": "qxQgIE7qaCxNcZ5Y5"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/khadinakbar~earnings-call-transcript-api/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-khadinakbar-earnings-call-transcript-api",
        "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/khadinakbar~earnings-call-transcript-api/runs": {
      "post": {
        "operationId": "runs-sync-khadinakbar-earnings-call-transcript-api",
        "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/khadinakbar~earnings-call-transcript-api/run-sync": {
      "post": {
        "operationId": "run-sync-khadinakbar-earnings-call-transcript-api",
        "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": {
          "tickers": {
            "title": "Stock tickers",
            "maxItems": 50,
            "type": "array",
            "description": "US stock tickers to resolve on Motley Fool quote pages, for example AAPL or MSFT. Each ticker discovers recent earnings-call transcript URLs then scrapes them. Maximum 50 per run.",
            "items": {
              "type": "string"
            }
          },
          "transcriptUrls": {
            "title": "Motley Fool transcript URLs",
            "maxItems": 100,
            "type": "array",
            "description": "Direct Motley Fool earnings transcript article URLs such as https://www.fool.com/earnings/call-transcripts/2026/08/07/apple-aapl-q3-2026-earnings-call-transcript/. Bypasses ticker discovery. Maximum 100 per run.",
            "items": {
              "type": "string"
            }
          },
          "scrapeLatest": {
            "title": "Scrape latest listing",
            "type": "boolean",
            "description": "When true, also walk Motley Fool's public earnings-call-transcripts listing pages and scrape the newest articles up to maxItems. Use alone for a recent-feed pull, or with tickers.",
            "default": false
          },
          "dateFrom": {
            "title": "Published from (YYYY-MM-DD)",
            "type": "string",
            "description": "Optional lower bound on Motley Fool article path date (YYYY-MM-DD). Transcripts dated before this day are skipped."
          },
          "dateTo": {
            "title": "Published to (YYYY-MM-DD)",
            "type": "string",
            "description": "Optional upper bound on Motley Fool article path date (YYYY-MM-DD). Transcripts dated after this day are skipped."
          },
          "maxTranscriptsPerTicker": {
            "title": "Max transcripts per ticker",
            "minimum": 1,
            "maximum": 40,
            "type": "integer",
            "description": "Cap how many Motley Fool transcripts to scrape for each ticker after discovery. Default 4 (about one year of quarterly calls).",
            "default": 4
          },
          "maxItems": {
            "title": "Max transcripts total",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Hard cap on billed transcript rows for the whole run. Default 20.",
            "default": 20
          },
          "maxListingPages": {
            "title": "Max listing pages",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "When scrapeLatest is true, how many Motley Fool listing pages to walk. Default 5.",
            "default": 5
          },
          "sources": {
            "title": "Sources",
            "uniqueItems": true,
            "type": "array",
            "description": "Which public sources to use. motley_fool is the full Q&A transcript archive. sec_edgar is a fallback for transcript-labeled 8-K exhibits only (not Seeking Alpha).",
            "items": {
              "type": "string",
              "enum": [
                "motley_fool",
                "sec_edgar"
              ],
              "enumTitles": [
                "Motley Fool (full Q&A)",
                "SEC EDGAR exhibit fallback"
              ]
            },
            "default": [
              "motley_fool",
              "sec_edgar"
            ]
          },
          "includeFullText": {
            "title": "Include full transcript text",
            "type": "boolean",
            "description": "When true (default), persist preparedRemarksText, qaText, and fullText on each row. Turn off to keep metadata + speakers only and shrink dataset size.",
            "default": true
          },
          "includeSpeakerSegments": {
            "title": "Include speaker segments",
            "type": "boolean",
            "description": "When true (default), attach a speakerSegments array (speaker turns with prepared/qa section) on each Motley Fool transcript row. Segments are included in the same transcript-scraped charge.",
            "default": true
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Optional Apify Proxy. Direct HTTP works for Motley Fool and SEC in most cases; enable Residential only if you see blocks.",
            "default": {
              "useApifyProxy": false
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}