title: fmp_historical_chart_1min_extraction
description: Extraction configuration for FMP Intraday Charts (1 Minute)
version: 1.0.0
provider_name: fmp
base_url: https://financialmodelingprep.com
api_endpoint: /stable/historical-chart/1min
method: GET
params:
  apikey: ${FMP_API_KEY:?FMP_API_KEY is required}
input_params:
  symbol:
    type: string
    required: true
    description: Stock symbol (e.g., AAPL, MSFT)
  from:
    type: string
    required: false
    default: null
    description: Start date (YYYY-MM-DD HH:MM:SS)
  to:
    type: string
    required: false
    default: null
    description: End date (YYYY-MM-DD HH:MM:SS)
rate_limit_delay: ${RATE_LIMIT_DELAY:-0.2}
max_calls_per_minute: ${MAX_CALLS_PER_MINUTE:-300}
batch_size: 1000
max_records: null
headers:
  Accept: application/json
  User-Agent: StatFyi-ETL/1.0
retry:
  max_attempts: 3
  backoff_factor: 2
  retry_on_status:
  - 429
  - 500
  - 502
  - 503
  - 504
timeout:
  connect: ${CONNECT_TIMEOUT:-10}
  read: ${READ_TIMEOUT:-30}
  write: 10
  pool: 10
response_format: json
response_path: null
pagination:
  enabled: false
  strategy: page
  page:
    param_name: page
    start: 0
    increment: 1
  stop_conditions:
  - type: empty_response
  - type: fewer_records
  - type: max_pages
    value: 1000
  page_delay: 0.1
