# Authentication Source: https://docs.arrays.org/api-reference/authentication How to authenticate against the Arrays API — API Key or Nanopayment. Arrays supports **two authentication modes**. ## 1. API Key (recommended for most users) Send your key in the `X-API-Key` header. > [tab] cURL > > ```bash theme={null} > curl "https://data-tools.prd.arrays.org/api/v1/stocks/company/detail?symbol=AAPL" \ > -H "X-API-Key: $ARRAYS_API_KEY" > ``` > [tab] Python > > ```python theme={null} > import requests, os > r = requests.get( > "https://data-tools.prd.arrays.org/api/v1/stocks/company/detail", > headers={"X-API-Key": os.environ["ARRAYS_API_KEY"]}, > params={"symbol": "AAPL"}, > ) > ``` > [tab] Node.js > > ```javascript theme={null} > const res = await fetch( > "https://data-tools.prd.arrays.org/api/v1/stocks/company/detail?symbol=AAPL", > { headers: { "X-API-Key": process.env.ARRAYS_API_KEY } } > ); > ``` ### Get a key 1. Sign up at [arrays.org](https://arrays.org) (email, Google, or GitHub) 2. Copy the key from your Dashboard — visible immediately 3. Store in env / secret manager — never commit to git ### Security best practices > [!WARNING] > > * Never expose your API key in client-side code (browser, mobile, public Cursor rules). > * Use a backend proxy if you need to call Arrays from a browser app. > * Rotate keys regularly from the Dashboard. > * Use separate keys for dev / staging / prod. ## 2. Nanopayment (no key, pay-per-call) For [15 crypto endpoints](/nanopayment/overview#pricing-today), you can skip the API key entirely and pay per call in USDC (Base, via Circle Gateway) or USDC / USDT / USD1 on BNB Chain, using the x402 v2 protocol. Use the dedicated x402 host — it answers a plain `GET` with `402 Payment Required`: ``` https://x402-data-tools.prd.arrays.org ``` ```typescript theme={null} import { wrapFetchWithPayment } from "x402-fetch"; const fetchWithPayment = wrapFetchWithPayment(fetch, walletClient); const res = await fetchWithPayment( "https://x402-data-tools.prd.arrays.org/api/v1/crypto/funding-rate?symbol=BTCUSDT" ); ``` > [!NOTE] > > The API-key host `data-tools.prd.arrays.org` returns `401` to a bare request. It will negotiate x402 only if you send `Accept-Payment: x402`. [Full Nanopayment guide →](/nanopayment/overview) # Binance perpetual USDT Kline data Source: https://docs.arrays.org/api-reference/crypto/binance-perpetual-usdt-kline-data /api-reference/openapi.json get /v1/crypto/binance/perp/usdt/kline [OpenAPI JSON Spec](/docs/output/v1_crypto_binance_perp_usdt_kline_get.json) Retrieve K-line (candlestick) chart data for a Binance perpetual USDT futures pair (no cursor). # Binance spot USDT Kline data Source: https://docs.arrays.org/api-reference/crypto/binance-spot-usdt-kline-data /api-reference/openapi.json get /v1/crypto/binance/spot/usdt/kline [OpenAPI JSON Spec](/docs/output/v1_crypto_binance_spot_usdt_kline_get.json) Retrieve K-line (candlestick) chart data for a Binance spot USDT trading pair (no cursor). # Crypto analytics passthrough Source: https://docs.arrays.org/api-reference/crypto/crypto-analytics-passthrough /api-reference/openapi.json get /v1/crypto/analytics/query [OpenAPI JSON Spec](/docs/output/v1_crypto_analytics_query_get.json) Thin passthrough to the crypto on-chain analytics provider. Supply `path` (e.g. `/btc/exchange-flows/inflow`) and `params`, a URL-encoded query string of the parameters to forward (e.g. `exchange=binance&window=day`). Call `path=/discovery/endpoints` to list available endpoints. `data` is the passed-through `result.data` array (free-form objects). # Crypto Token Future Kline data (no cursor pagination) Source: https://docs.arrays.org/api-reference/crypto/crypto-token-future-kline-data-no-cursor-pagination /api-reference/openapi.json get /v1/crypto/futures/ohlcv [OpenAPI JSON Spec](/docs/output/v1_crypto_futures_ohlcv_get.json) Retrieve K-line (candlestick) chart data for a specified crypto token futures using a non-cursor gRPC endpoint to reduce latency. # Crypto Token Kline data from Binance, all price quote is in USDT Source: https://docs.arrays.org/api-reference/crypto/crypto-token-kline-data-from-binance-all-price-quote-is-in-usdt /api-reference/openapi.json get /v1/crypto/kline **Feature Overview** [OpenAPI JSON Spec](/docs/output/v1_crypto_kline_get.json) Retrieve K-line (candlestick) chart data for a specified trading pair **Performance Optimization Features** This API uses a multi-layer optimization architecture to ensure high performance: **1. TimescaleDB Materialized Views** - **Continuous Aggregation**: Automatically pre-compute aggregated data, improving query speed by 10-100x - **Auto Refresh**: Materialized views are automatically updated to ensure data timeliness **2. Intelligent Data Source Selection** - The system automatically selects the optimal data source based on the query time range - Short-term queries use the raw table, long-term queries use materialized views - Balances data accuracy and query performance **Supported Time Intervals** | Interval | Description | Use Case | Data Source | |----------|-------------|----------|------------| | `1min` | 1-minute K-line | Short-term trading, real-time monitoring | Raw table + real-time calculation | | `5min` | 5-minute K-line | Short-term analysis, intraday trading | Materialized view | | `15min` | 15-minute K-line | Medium-short-term analysis | Materialized view | | `1h` | 1-hour K-line | Intraday swing analysis | Materialized view | | `1d` | Daily K-line | Long-term trend, fundamental analysis | Materialized view | **Parameter Configuration Details** **Required Parameters:** - `symbol`: binance supported token symbol, ex: BTC, ETH, SOL. - `start_time`: Start timestamp (seconds), must be > 0 - `end_time`: End timestamp (seconds), must be > start_time - `interval`: Time interval, must be one of the supported values **Time Range Calculation** ```bash # Get last 24 hours of 1-hour K-line end_time=$(date +%s) start_time=$((end_time - 24*3600)) # Get last 7 days of daily K-line end_time=$(date +%s) start_time=$((end_time - 7*24*3600)) ``` **Response Data Structure** | Field | Type | Description | Example | |-------------|---------|------------------------------|--------------------------| | count | integer | Number of K-lines returned | 24 | | symbol | string | token symbol | "BTC" | | interval | string | Time interval | "1h" | | start_time | integer | Actual start timestamp | 1752112043 | | end_time | integer | Actual end timestamp | 1752742043 | | data | array | Array of K-line data | [KlineData, ...] | **Each K-line data item includes:** - `time`: K-line timestamp - `open_price`: Opening price - `high_price`: Highest price - `low_price`: Lowest price - `close_price`: Closing price - `volume`: Trading volume - `quote_volume`: Quote currency trading volume - `trades`: Number of trades - `buy_base_volume`: Active buy trading volume - `buy_quote_volume`: Active buy quote currency volume **Common Query Examples** 1. **Real-time 1-hour chart** (last 24 hours): `?symbol=BTC&start_time=1752112043&end_time=1752742043&interval=1h&limit=24` 2. **Daily K-line chart** (last 30 days): `?symbol=BTC&start_time=1752112043&end_time=1643587200&interval=1d&limit=30` 3. **Short-term 5-minute chart** (last 4 hours): `?symbol=BTC&start_time=1641067200&end_time=1752742043&interval=5min&limit=48` 4. **High-frequency 1-minute data** (last 1 hour): `?symbol=BTC&start_time=1641078000&end_time=1752742043&interval=1min&limit=60` **Mobile Optimization Suggestions** - Use a smaller limit value (100-300) to reduce data transfer - Prefer intervals of 5min or above to reduce data volume - Implement paginated loading to fetch historical data as needed - Use WebSocket for real-time updates instead of frequent polling **Important Notes** - **Timestamp Format**: Use Unix timestamp (seconds), not milliseconds - **Price Precision**: Price data is returned as string for precision, convert to numeric type when using - **Rate Limiting**: Please control request frequency to avoid excessive queries # Crypto Token Kline data (no cursor pagination) Source: https://docs.arrays.org/api-reference/crypto/crypto-token-kline-data-no-cursor-pagination /api-reference/openapi.json get /v1/crypto/ohlcv [OpenAPI JSON Spec](/docs/output/v1_crypto_ohlcv_get.json) Retrieve K-line (candlestick) chart data for a specified crypto token using a non-cursor gRPC endpoint to reduce latency. # Get Company Crypto Holdings Source: https://docs.arrays.org/api-reference/crypto/get-company-crypto-holdings /api-reference/openapi.json get /v1/crypto/holdings [OpenAPI JSON Spec](/docs/output/v1_crypto_holdings_get.json) **Feature Overview** Retrieve company crypto holdings filtered by token symbol. **Supported Tokens:** BTC, ETH, SOL, BNB **Filters (optional):** - `crypto_nav_to_market_cap_ratio_min` / `crypto_nav_to_market_cap_ratio_max`: range [0, 2] - `limit`: 1-100, default unlimited (server caps at 100) **Implementation:** Served from an in-memory snapshot refreshed every 10 minutes. The underlying CoinGecko sync runs daily, so the cache is always within one refresh window of the freshest available data. # Get Crypto Exchange Flows Source: https://docs.arrays.org/api-reference/crypto/get-crypto-exchange-flows /api-reference/openapi.json get /v1/crypto/exchange-flows [OpenAPI JSON Spec](/docs/output/v1_crypto_exchange-flows_get.json) Get crypto exchange inflow/outflow data for BTC and ETH from Binance. Returns hourly aggregated data of token inflow and outflow on exchange. Symbol parameter is case-insensitive (e.g., BTC, btc, Btc are all valid). # Get Crypto Market Metrics Time Series Data Source: https://docs.arrays.org/api-reference/crypto/get-crypto-market-metrics-time-series-data /api-reference/openapi.json get /v1/crypto/market-metrics [OpenAPI JSON Spec](/docs/output/v1_crypto_market-metrics_get.json) Retrieve time series data for various crypto market indicators, including technical and fundamental metrics. **Overview** This endpoint provides market indicators for cryptocurrencies across different time intervals (1d, 1w, 1m). Indicators include technical analysis tools (MA, EMA, RSI, etc.) and crypto fundamentals (Market Cap, FDV, etc.). **Supported Indicators** - **MARKET_CAP**: Market capitalization - **FDV**: Fully Diluted Valuation - **PRICE_CHANGE**: `PRICE_CHANGE_1d`, `PRICE_CHANGE_1w`, `PRICE_CHANGE_1M`, `PRICE_CHANGE_3M`, `PRICE_CHANGE_6M`, `PRICE_CHANGE_ytd`, `PRICE_CHANGE_1y`, `PRICE_CHANGE_3y`, `PRICE_CHANGE_5y` - **MA**: `MA_5`, `MA_10`, `MA_20`, `MA_60`, `MA_120`, `MA_200` - **EMA**: `EMA_5`, `EMA_10`, `EMA_20`, `EMA_60`, `EMA_120`, `EMA_200` - **RSI**: `RSI_14` - **MACD single components**: `MACD_DIF`, `MACD_DEA`, `MACD_HIST` - **MACD legacy multi-component**: `MACD_12,26,9` (returns DIF, DEA, and HIST series) - **BOLLINGER single components**: `BOLLINGER_UPPER`, `BOLLINGER_MID`, `BOLLINGER_LOWER` - **BOLLINGER legacy multi-component**: `BOLLINGER_20,2` (returns UPPER, MID, and LOWER series) - **BETA**: `BETA` (default period is `BTC_365`; interval must be `1d`) - **VOLATILITY**: `VOLATILITY_20`, `VOLATILITY_60`, `VOLATILITY_90` **Validation Rules** - **Required Parameters**: interval, indicator, start_time, end_time. - **Interval**: Must be one of `1d`, `1w`, `1m`. - **Time Range**: `start_time` must be less than `end_time`. - **All-symbols queries** (`symbol` omitted): the window may span at most 100 interval periods — 100 days for `1d`, 100 weeks for `1w`, 100 months for `1m`. A wider window returns 400 `INVALID_PARAMETER`; pass a `symbol`, or walk the range one window at a time. # Get Crypto Metrics Screener Source: https://docs.arrays.org/api-reference/crypto/get-crypto-metrics-screener /api-reference/openapi.json get /v1/crypto/screener/metrics [OpenAPI JSON Spec](/docs/output/v1_crypto_screener_metrics_get.json) Retrieve tokens filtered by metrics at a specific snapshot time. Returns tokens matching the specified metric type and value range. **Overview:** This endpoint filters tokens based on various metrics. The snapshot parameter is a Unix timestamp (seconds) that will be used directly for querying data. **Valuation Metrics (2 metrics):** - `MARKET_CAP`: Market Capitalization - `FDV`: Fully Diluted Valuation **Volume Metrics (1 metric):** - `SHARES_VOLUME`: Trading volume (shares) **Price Change Metrics (9 metrics):** - `PRICE_CHANGE_1D`: Price change over 1 day (percentage) - `PRICE_CHANGE_1W`: Price change over 1 week (percentage) - `PRICE_CHANGE_1M`: Price change over 1 month (percentage) - `PRICE_CHANGE_3M`: Price change over 3 months (percentage) - `PRICE_CHANGE_6M`: Price change over 6 months (percentage) - `PRICE_CHANGE_YTD`: Price change year-to-date (percentage) - `PRICE_CHANGE_1Y`: Price change over 1 year (percentage) - `PRICE_CHANGE_3Y`: Price change over 3 years (percentage) - `PRICE_CHANGE_5Y`: Price change over 5 years (percentage) **Moving Averages - Simple Moving Average (MA) (6 metrics):** - `MA_5`: 5-day Simple Moving Average - `MA_10`: 10-day Simple Moving Average - `MA_20`: 20-day Simple Moving Average - `MA_60`: 60-day Simple Moving Average - `MA_120`: 120-day Simple Moving Average - `MA_200`: 200-day Simple Moving Average **Moving Averages - Exponential Moving Average (EMA) (6 metrics):** - `EMA_5`: 5-day Exponential Moving Average - `EMA_10`: 10-day Exponential Moving Average - `EMA_20`: 20-day Exponential Moving Average - `EMA_60`: 60-day Exponential Moving Average - `EMA_120`: 120-day Exponential Moving Average - `EMA_200`: 200-day Exponential Moving Average **Momentum Indicators (1 metric):** - `RSI_14`: Relative Strength Index (14-period) - Momentum oscillator that measures speed and magnitude of price changes (typically ranges from 0 to 100) **MACD (Moving Average Convergence Divergence) Components (3 metrics):** - `MACD_DIF`: MACD Line (DIF) - Difference between 12-day EMA and 26-day EMA - `MACD_DEA`: Signal Line (DEA) - 9-day EMA of the MACD line - `MACD_HIST`: MACD Histogram - Difference between MACD line and signal line **Bollinger Bands Components (3 metrics):** - `BOLLINGER_UPPER`: Upper Bollinger Band - Upper band of Bollinger Bands (20-day MA + 2 standard deviations) - `BOLLINGER_MID`: Middle Bollinger Band - 20-day Simple Moving Average - `BOLLINGER_LOWER`: Lower Bollinger Band - Lower band of Bollinger Bands (20-day MA - 2 standard deviations) **Other Indicators (4 metrics):** - `BETA`: Beta - Measure of token's volatility relative to the crypto market. Beta of 1 means token moves with market - `VOLATILITY_20`: Volatility (20-period) - Standard deviation of returns over 20 periods (annualized) - `VOLATILITY_60`: Volatility (60-period) - Standard deviation of returns over 60 periods (annualized) - `VOLATILITY_90`: Volatility (90-period) - Standard deviation of returns over 90 periods (annualized) **Filtering:** - Use `range_min` to filter for tokens where the metric value is greater than or equal to the minimum - Use `range_max` to filter for tokens where the metric value is less than or equal to the maximum - Both filters can be used together to create a range - If neither filter is provided, all tokens matching the metric type will be returned **Response Format:** Returns an array of tokens with their symbol, snapshot time (ISO 8601 format), metric type, and metric value. # Get Crypto Metrics Screener Time Range Source: https://docs.arrays.org/api-reference/crypto/get-crypto-metrics-screener-time-range /api-reference/openapi.json get /v1/crypto/screener/metrics/timerange [OpenAPI JSON Spec](/docs/output/v1_crypto_screener_metrics_timerange_get.json) Retrieve tokens filtered by metrics over a time range. Returns tokens matching the specified metric type and value range, grouped by date. **Overview:** This endpoint filters tokens based on various metrics over a specified time range. Results are grouped by date (YYYY-MM-DD format). **Valuation Metrics (2 metrics):** - `MARKET_CAP`: Market Capitalization - `FDV`: Fully Diluted Valuation **Volume Metrics (1 metric):** - `SHARES_VOLUME`: Trading volume (shares) **Price Change Metrics (9 metrics):** - `PRICE_CHANGE_1D`: Price change over 1 day (percentage) - `PRICE_CHANGE_1W`: Price change over 1 week (percentage) - `PRICE_CHANGE_1M`: Price change over 1 month (percentage) - `PRICE_CHANGE_3M`: Price change over 3 months (percentage) - `PRICE_CHANGE_6M`: Price change over 6 months (percentage) - `PRICE_CHANGE_YTD`: Price change year-to-date (percentage) - `PRICE_CHANGE_1Y`: Price change over 1 year (percentage) - `PRICE_CHANGE_3Y`: Price change over 3 years (percentage) - `PRICE_CHANGE_5Y`: Price change over 5 years (percentage) **Moving Averages - Simple Moving Average (MA) (6 metrics):** - `MA_5`: 5-day Simple Moving Average - `MA_10`: 10-day Simple Moving Average - `MA_20`: 20-day Simple Moving Average - `MA_60`: 60-day Simple Moving Average - `MA_120`: 120-day Simple Moving Average - `MA_200`: 200-day Simple Moving Average **Moving Averages - Exponential Moving Average (EMA) (6 metrics):** - `EMA_5`: 5-day Exponential Moving Average - `EMA_10`: 10-day Exponential Moving Average - `EMA_20`: 20-day Exponential Moving Average - `EMA_60`: 60-day Exponential Moving Average - `EMA_120`: 120-day Exponential Moving Average - `EMA_200`: 200-day Exponential Moving Average **Momentum Indicators (1 metric):** - `RSI_14`: Relative Strength Index (14-period) - Momentum oscillator that measures speed and magnitude of price changes (typically ranges from 0 to 100) **MACD (Moving Average Convergence Divergence) Components (3 metrics):** - `MACD_DIF`: MACD Line (DIF) - Difference between 12-day EMA and 26-day EMA - `MACD_DEA`: Signal Line (DEA) - 9-day EMA of the MACD line - `MACD_HIST`: MACD Histogram - Difference between MACD line and signal line **Bollinger Bands Components (3 metrics):** - `BOLLINGER_UPPER`: Upper Bollinger Band - Upper band of Bollinger Bands (20-day MA + 2 standard deviations) - `BOLLINGER_MID`: Middle Bollinger Band - 20-day Simple Moving Average - `BOLLINGER_LOWER`: Lower Bollinger Band - Lower band of Bollinger Bands (20-day MA - 2 standard deviations) **Other Indicators (4 metrics):** - `BETA`: Beta - Measure of token's volatility relative to the crypto market. Beta of 1 means token moves with market - `VOLATILITY_20`: Volatility (20-period) - Standard deviation of returns over 20 periods (annualized) - `VOLATILITY_60`: Volatility (60-period) - Standard deviation of returns over 60 periods (annualized) - `VOLATILITY_90`: Volatility (90-period) - Standard deviation of returns over 90 periods (annualized) **Filtering:** - Use `range_min` to filter for tokens where the metric value is greater than or equal to the minimum - Use `range_max` to filter for tokens where the metric value is less than or equal to the maximum - Both filters can be used together to create a range - If neither filter is provided, all tokens matching the metric type will be returned **Limit Parameter:** - Use `limit` to further limit the maximum number of results returned per day (optional, defaults to no limit) - This is useful for pagination or when you only need the top N results per day **Response Format:** Returns an array of date-grouped data items. Each item contains a date (YYYY-MM-DD format) and an array of tokens with their symbol, snapshot time (ISO 8601 format), metric type, and metric value for that date. # Get Est. Leverage Ratio Source: https://docs.arrays.org/api-reference/crypto/get-est-leverage-ratio /api-reference/openapi.json get /v1/crypto/metrics/leverage-ratio [OpenAPI JSON Spec](/docs/output/v1_crypto_metrics_leverage-ratio_get.json) Retrieve Estimated Leverage Ratio metric data for a cryptocurrency # Get Exchange Inflow CDD Source: https://docs.arrays.org/api-reference/crypto/get-exchange-inflow-cdd /api-reference/openapi.json get /v1/crypto/metrics/inflow-cdd [OpenAPI JSON Spec](/docs/output/v1_crypto_metrics_inflow-cdd_get.json) Retrieve Exchange Inflow CDD metric data for a cryptocurrency # Get Exchange Whale Ratio Source: https://docs.arrays.org/api-reference/crypto/get-exchange-whale-ratio /api-reference/openapi.json get /v1/crypto/metrics/whale-ratio [OpenAPI JSON Spec](/docs/output/v1_crypto_metrics_whale-ratio_get.json) Retrieve Exchange Whale Ratio metric data for a cryptocurrency # Get Fear & Greed Index Source: https://docs.arrays.org/api-reference/crypto/get-fear-&-greed-index /api-reference/openapi.json get /v1/crypto/fear-greed-index [OpenAPI JSON Spec](/docs/output/v1_crypto_fear-greed-index_get.json) Get the Crypto Fear & Greed Index time series within the given range. **Overview** The Fear & Greed Index measures market sentiment on a 0-100 scale: - 0-25: Extreme Fear (may indicate buying opportunities) - 25-50: Fear - 50-75: Greed - 75-100: Extreme Greed (may indicate overheated market) **Response Fields** - timestamp: Unix timestamp in seconds (UTC) - value: Index value (0-100) - time: Human-readable datetime string (YYYY-MM-DD HH:MM:SS, UTC) **Usage Examples** - Last 30 days: `?start_time=&end_time=` - Specific range: `?start_time=1704067200&end_time=1706745600` # Get Funding Rate Data Source: https://docs.arrays.org/api-reference/crypto/get-funding-rate-data /api-reference/openapi.json get /v1/crypto/funding-rate [OpenAPI JSON Spec](/docs/output/v1_crypto_funding-rate_get.json) **Feature Overview** Get funding rate data for a specific trading pair with required time range filtering. **Main Use Cases** - **Perpetual Futures Trading**: Monitor funding rates for perpetual futures contracts - **Trading Strategy**: Use funding rates as a market sentiment indicator - **Risk Management**: Monitor funding costs for positions - **Technical Analysis**: Analyze funding rate trends over time **Query Parameters & Logic** **Required Parameters:** - `symbol`: Trading pair symbol (e.g., BTCUSDT) - `exchange`: Exchange name (currently only supports `binance`) - `start_time`: Start timestamp (Unix seconds) - required - `end_time`: End timestamp (Unix seconds) - required, must be after start_time - `limit`: Maximum number of results to return (1-1000, required) **Validation Rules:** - Symbol is required and must be a valid trading pair - Exchange must be `binance` - start_time must be before end_time - Limit range: 1-1000, required **Response Data Structure** - `data` ([]FundingRateData): Array of funding rate data points - `count` (int32): Actual number of data points returned - `latest_time` (string): Timestamp of the most recent data point (Unix seconds as string) **FundingRateData fields:** - `symbol` (string): Trading pair symbol (e.g., "BTCUSDT") - `funding_rate` (string): Funding rate in string format - `timestamp` (string): Unix timestamp in seconds as string (e.g., "1763978100") **Usage Examples** 1. **Get funding rate data for specific time range**: `?symbol=BTCUSDT&exchange=binance&start_time=1761502255&end_time=1764094255&limit=100` 2. **Get maximum data points**: `?symbol=ETHUSDT&exchange=binance&start_time=1761502255&end_time=1764094255&limit=1000` **Important Notes** - All parameters are required - Results are ordered by timestamp in descending order (latest first) - Funding rate represents the periodic payment between long and short positions - Funding rates are settled by the exchange at fixed intervals (every 8 hours for Binance) - No interval parameter needed as settlement times are predetermined by the exchange # Get Hyperliquid Funding Rate Source: https://docs.arrays.org/api-reference/crypto/get-hyperliquid-funding-rate /api-reference/openapi.json get /v1/crypto/hyperliquid/perp/funding-rate [OpenAPI JSON Spec](/docs/output/v1_crypto_hyperliquid_perp_funding-rate_get.json) Hourly funding rate history for a Hyperliquid PERP pair (core or HIP-3). # Get Long Short Ratio Data Source: https://docs.arrays.org/api-reference/crypto/get-long-short-ratio-data /api-reference/openapi.json get /v1/crypto/long-short-ratio **Feature Overview** [OpenAPI JSON Spec](/docs/output/v1_crypto_long-short-ratio_get.json) Get long short ratio data for a specific trading pair symbol with time range filtering. **Main Use Cases** - **Market Sentiment Analysis**: Track the ratio of long to short positions over time - **Trading Strategy**: Use long/short ratio as a contrarian or confirmation indicator - **Risk Management**: Monitor extreme positioning in the market - **Technical Analysis**: Combine with price action for comprehensive analysis **Query Parameters & Logic** **Required Parameters:** - `symbol`: Trading pair symbol (e.g., BTCUSDT) - `start_time`: Start timestamp (Unix seconds) - `end_time`: End timestamp (Unix seconds) **Optional Parameters:** - `limit`: Maximum number of results to return (1-1000, default: 30) - `exchange`: Exchange name (only "binance" supported, default: binance) - `interval`: Time interval (only "1d" supported, default: 1d) **Supported Intervals:** - `1d`: 1-day intervals (default) **Validation Rules:** - Symbol is required and must be a valid trading pair - start_time must be before end_time - Limit defaults to 30 if not provided, max 1000 - Exchange defaults to "binance" if not provided - Interval defaults to "1d" if not provided **Response Data Structure** - `data` ([]LongShortRatioData): Array of long short ratio data points (latest first, reverse chronological order) - `count` (int32): Actual number of data points returned (0-1000) - `latest_time` (string): Timestamp of the most recent data point (Unix seconds as string) **LongShortRatioData fields:** - `symbol` (string): Trading pair symbol (e.g., "BTCUSDT") - `long_short_ratio` (string): Long/Short ratio in string format (e.g., "2.2798" means 2.28:1 long:short) - `long_account_ratio` (number): Long account proportion (e.g., 0.65 means 65% of accounts are long; 0 when source data is missing) - `short_account_ratio` (number): Short account proportion (e.g., 0.35 means 35% of accounts are short; 0 when source data is missing) - `timestamp` (string): Unix timestamp in seconds as string (e.g., "1763978100") **Data Interpretation:** - longShortRatio > 1.0: More accounts are long (bullish sentiment) - longShortRatio = 1.0: Equal long and short positions (neutral) - longShortRatio < 1.0: More accounts are short (bearish sentiment) **Usage Examples** 1. **Minimal request (uses defaults)**: `?symbol=BTCUSDT&start_time=1733270400&end_time=1733356800` 2. **With custom limit**: `?symbol=BTCUSDT&start_time=1733270400&end_time=1733356800&limit=100` 3. **Full parameters**: `?symbol=BTCUSDT&start_time=1733270400&end_time=1733356800&limit=100&interval=5min&exchange=binance` **Important Notes** - All required parameters must be provided - Results are ordered by timestamp in descending order (latest first) - Higher long/short ratio indicates more bullish sentiment - Data is provided in 1-day intervals (1d) # Get Miner to Exchange (total) Source: https://docs.arrays.org/api-reference/crypto/get-miner-to-exchange-total /api-reference/openapi.json get /v1/crypto/metrics/miner-to-exchange [OpenAPI JSON Spec](/docs/output/v1_crypto_metrics_miner-to-exchange_get.json) Retrieve Miner to Exchange flow metric data for a cryptocurrency # Get MVRV Ratio Source: https://docs.arrays.org/api-reference/crypto/get-mvrv-ratio /api-reference/openapi.json get /v1/crypto/metrics/mvrv [OpenAPI JSON Spec](/docs/output/v1_crypto_metrics_mvrv_get.json) Retrieve MVRV Ratio metric data for a cryptocurrency # Get NUPL Source: https://docs.arrays.org/api-reference/crypto/get-nupl /api-reference/openapi.json get /v1/crypto/metrics/nupl [OpenAPI JSON Spec](/docs/output/v1_crypto_metrics_nupl_get.json) Retrieve NUPL (Net Unrealized Profit/Loss) metric data for a cryptocurrency # Get Open Interest Data Source: https://docs.arrays.org/api-reference/crypto/get-open-interest-data /api-reference/openapi.json get /v1/crypto/open-interest [OpenAPI JSON Spec](/docs/output/v1_crypto_open-interest_get.json) Get open interest statistics data for a given trading pair # Get Puell Multiple Source: https://docs.arrays.org/api-reference/crypto/get-puell-multiple /api-reference/openapi.json get /v1/crypto/metrics/puell-multiple [OpenAPI JSON Spec](/docs/output/v1_crypto_metrics_puell-multiple_get.json) Retrieve Puell Multiple metric data for a cryptocurrency # Get Realized Price Source: https://docs.arrays.org/api-reference/crypto/get-realized-price /api-reference/openapi.json get /v1/crypto/metrics/realized-price [OpenAPI JSON Spec](/docs/output/v1_crypto_metrics_realized-price_get.json) Retrieve Realized Price metric data for a cryptocurrency # Get SOPR Source: https://docs.arrays.org/api-reference/crypto/get-sopr /api-reference/openapi.json get /v1/crypto/metrics/sopr [OpenAPI JSON Spec](/docs/output/v1_crypto_metrics_sopr_get.json) Retrieve SOPR (Spent Output Profit Ratio) metric data for a cryptocurrency # Get Stablecoin Supply Ratio Source: https://docs.arrays.org/api-reference/crypto/get-stablecoin-supply-ratio /api-reference/openapi.json get /v1/crypto/metrics/ssr [OpenAPI JSON Spec](/docs/output/v1_crypto_metrics_ssr_get.json) Retrieve Stablecoin Supply Ratio (SSR) metric data for a cryptocurrency # Get Taker Buy Sell Volume Data Source: https://docs.arrays.org/api-reference/crypto/get-taker-buy-sell-volume-data /api-reference/openapi.json get /v1/crypto/taker-buy-sell-volume **Feature Overview** [OpenAPI JSON Spec](/docs/output/v1_crypto_taker-buy-sell-volume_get.json) Get taker buy sell volume data for a specific trading pair symbol with optional time range filtering. **Main Use Cases** - **Market Sentiment Analysis**: Track the ratio of taker buy to sell volume over time - **Trading Strategy**: Use buy/sell volume ratio as a market sentiment indicator - **Risk Management**: Monitor extreme buying or selling pressure in the market - **Technical Analysis**: Combine with price action for comprehensive analysis **Query Parameters & Logic** **Required Parameters:** - `symbol`: Trading pair symbol (e.g., BTCUSDT) - `period`: Data period (currently only supports `1d`) **Optional Parameters:** - `start_time`: Start timestamp (Unix seconds) - if not provided, returns recent data - `end_time`: End timestamp (Unix seconds) - if not provided, returns up to current time - `limit`: Maximum number of results to return (1-500, default: 30) **Supported Periods:** - `1d`: 1-day intervals **Validation Rules:** - Symbol is required and must be a valid trading pair - If both start_time and end_time are provided, start_time must be before end_time - Period must be `1d` - Limit range: 1-500, default is 30 **Response Data Structure** - `data` ([]TakerBuySellVolumeData): Array of taker buy sell volume data points (latest first, reverse chronological order) - `count` (int32): Actual number of data points returned (0-1000) **TakerBuySellVolumeData fields:** - `buy_vol` (string): Taker buy volume in string format - `sell_vol` (string): Taker sell volume in string format - `buy_sell_ratio` (string): Buy/Sell ratio in string format (e.g., "1.5" means buy volume is 1.5x sell volume) - `timestamp` (string): Unix timestamp in seconds as string (e.g., "1763978100") **Data Interpretation:** - buySellRatio > 1.0: More buying pressure (bullish sentiment) - buySellRatio = 1.0: Equal buy and sell volume (neutral) - buySellRatio < 1.0: More selling pressure (bearish sentiment) **Usage Examples** 1. **Get latest 5 data points**: `?symbol=BTCUSDT&period=1d&limit=5` 2. **Get latest 100 data points**: `?symbol=BTCUSDT&period=1d&limit=100` 3. **Get data for specific time range**: `?symbol=BTCUSDT&start_time=1733270400&end_time=1733356800&period=1d&limit=200` 4. **Get maximum data points**: `?symbol=ETHUSDT&period=1d&limit=500` **Important Notes** - If start_time and end_time are not provided, returns the most recent data - Results are ordered by timestamp in descending order (latest first) - Higher buy/sell ratio indicates more bullish sentiment - Data is provided in 1-day intervals # Get Token Market Cap History Source: https://docs.arrays.org/api-reference/crypto/get-token-market-cap-history /api-reference/openapi.json get /v1/crypto/market-cap [OpenAPI JSON Spec](/docs/output/v1_crypto_market-cap_get.json) **Feature Overview** Get historical market capitalization data for a specific cryptocurrency token. This endpoint returns time series data showing how the token's market cap has changed over time. **Query Parameters** | Parameter | Type | Required | Description | |-------------|--------|----------|------------------------------------------------------| | symbol | string | Yes | Token symbol (e.g., BTC, ETH) | | start_time | int64 | Yes | Start timestamp (Unix seconds), must be > 0 | | end_time | int64 | Yes | End timestamp (Unix seconds), must be > 0 | | interval | string | No | Data interval - day-level or above only (e.g., 1d, 2d, 7d, 14d, 30d, 60d, 90d, 365d) | **Important Notes** - The `interval` parameter only supports **day-level or above** aggregation - Supported intervals: 1d, 2d, 3d, 7d, 14d, 15d, 30d, 60d, 90d, 365d, etc. - Hour-level intervals (e.g., 1h, 2h, 12h) are **NOT supported** **Response Data** Returns an array of market cap data points, each containing: - symbol: Token symbol - name: Token name - timestamp: Unix timestamp (seconds) - date: Human-readable date (YYYY-MM-DD HH:mm:ss, UTC+0) - marketCap: Market capitalization in USD # Get Token Metadata Profile by Symbol Source: https://docs.arrays.org/api-reference/crypto/get-token-metadata-profile-by-symbol /api-reference/openapi.json get /v1/crypto/detail **Feature Overview** [OpenAPI JSON Spec](/docs/output/v1_crypto_detail_get.json) Get metadata profile for a specific token by its symbol, including name, category, description, logo, contract addresses, and official URLs. **Response Data Description** | Field | Type | Description | Example | |-------|------|-------------|---------| | symbol | string | Token symbol | "BTC" | | name | string | Full token name | "Bitcoin" | | category | string | Token category | "coin" | | description | string | Token description | "Bitcoin is..." | | logo | string | Token logo URL | "https://..." | | contracts | array | Contract addresses per chain | [{chain:"ETH", address:"0x..."}] | | urls | object | Official URLs (website, twitter, reddit, explorer, etc.) | | **Usage Examples** 1. **Get BTC metadata**: `?symbol=BTC` 2. **Get ETH metadata**: `?symbol=ETH` **Important Notes** - Symbol parameter is required (cannot be empty) # Get Token Supply History Source: https://docs.arrays.org/api-reference/crypto/get-token-supply-history /api-reference/openapi.json get /v1/crypto/supply [OpenAPI JSON Spec](/docs/output/v1_crypto_supply_get.json) **Feature Overview** Get historical supply data (circulating and total supply) for a specific cryptocurrency token. This endpoint returns time series data showing how the token's supply has changed over time. **Query Parameters** | Parameter | Type | Required | Description | |-------------|--------|----------|------------------------------------------------------| | symbol | string | Yes | Token symbol (e.g., BTC, ETH) | | start_time | int64 | Yes | Start timestamp (Unix seconds), must be > 0 | | end_time | int64 | Yes | End timestamp (Unix seconds), must be > 0 | | interval | string | No | Data interval - day-level or above only (e.g., 1d, 2d, 7d, 14d, 30d, 60d, 90d, 365d) | **Important Notes** - The `interval` parameter only supports **day-level or above** aggregation - Supported intervals: 1d, 2d, 3d, 7d, 14d, 15d, 30d, 60d, 90d, 365d, etc. - Hour-level intervals (e.g., 1h, 2h, 12h) are **NOT supported** **Response Data** Returns an array of supply data points, each containing: - symbol: Token symbol - name: Token name - timestamp: Unix timestamp (seconds) - date: Human-readable date (YYYY-MM-DD HH:mm:ss, UTC+0) - circulatingSupply: Current circulating supply - totalSupply: Total supply # Get Token Unlock Events Source: https://docs.arrays.org/api-reference/crypto/get-token-unlock-events /api-reference/openapi.json get /v1/crypto/unlock-events [OpenAPI JSON Spec](/docs/output/v1_crypto_unlock-events_get.json) Retrieve token unlock events for a specific token **Feature Overview** Get token unlock schedule and events including cliff unlocks and linear unlocks. **Main Use Cases** - **Token Analysis**: Understand token unlock schedules for investment decisions - **Market Impact**: Analyze potential market impact from upcoming unlocks - **Portfolio Management**: Track unlock events for tokens in your portfolio - **Research**: Research tokenomics and vesting schedules **Response Data Structure** Each unlock event includes: - **unlock_date**: ISO 8601 date string of the unlock event - **token_name**: Full name of the token (e.g., "Arbitrum") - **token_symbol**: Token symbol (e.g., "ARB") - **listed_method**: Method of listing (e.g., "INTERNAL") - **data_source**: Source of the data (e.g., "Whitepaper") - **linear_unlocks**: Linear unlock data (can be null) - **cliff_unlocks**: Cliff unlock data (can be null) - **latest_update_date**: When the data was last updated **Unlock Types** - **Cliff Unlocks**: One-time unlock of tokens at a specific date - **Linear Unlocks**: Gradual unlock of tokens over a period **Allocation Breakdown** Each unlock type includes allocation breakdown with: - **allocation_name**: Name of the allocation (e.g., "Investors") - **standard_allocation_name**: Standardized name (e.g., "Private Investors") - **cliff_amount**: Amount of tokens - **cliff_value**: Value in USD - **reference_price**: Reference price used for calculation - **unlock_precision**: Precision of unlock (e.g., "month", "day") **Usage Examples** 1. **Get all unlock events for Arbitrum**: `?token_id=arbitrum` 2. **Get unlock events for a specific date range**: `?token_id=arbitrum&start=2024-01-01&end=2024-12-31` 3. **Get unlock events for Optimism**: `?token_id=optimism` **Important Notes** - token_id is required - start and end dates are optional (format: YYYY-MM-DD) - linear_unlocks and cliff_unlocks can be null if not applicable # Get Trading Pair Information Source: https://docs.arrays.org/api-reference/crypto/get-trading-pair-information /api-reference/openapi.json get /v1/crypto/trading-pair **Feature Overview** [OpenAPI JSON Spec](/docs/output/v1_crypto_trading-pair_get.json) Get detailed info for a specified trading pair (configuration, exchange info, validity). **Parameter Description** | Parameter | Description | Example | Notes | |----------|-------------|---------|-------| | base | Base currency symbol | BTC, ETH, BNB | Case-insensitive, but uppercase is recommended | | quote | Quote currency symbol | USDT, BUSD, BTC | Common quote currencies include USDT, BUSD, etc. | **Response Data Explanation** | Field | Type | Description | Example | |--------------|----------|----------------------------|--------------------------| | id | integer | Unique identifier of pair | 1 | | symbol | string | Trading pair symbol | "BTCUSDT" | | base | string | Base currency | "BTC" | | quote | string | Quote currency | "USDT" | | exchange | string | Exchange name | "binance" | | isValid | boolean | Whether the pair is valid | true | **Common Trading Pair Examples** 1. **Mainstream pairs to USD**: `?base=BTC"e=USDT` 2. **Ethereum to USD**: `?base=ETH"e=USDT` 3. **Altcoin to Bitcoin**: `?base=ADA"e=BTC` 4. **Stablecoin pairs**: `?base=USDT"e=BUSD` 5. **DeFi token pairs**: `?base=UNI"e=ETH` **Notes** - Both `base` and `quote` parameters are required - Some pairs may be suspended (`isValid=false` during periods) # Hyperliquid perp kline (candles) Source: https://docs.arrays.org/api-reference/crypto/hyperliquid-perp-kline-candles /api-reference/openapi.json get /v1/crypto/hyperliquid/perp/usdc/kline [OpenAPI JSON Spec](/docs/output/v1_crypto_hyperliquid_perp_usdc_kline_get.json) Returns OHLCV candles for a Hyperliquid perpetual trading pair (standard or HIP-3). symbol is the canonical base token (e.g. BTC, AAPL); the quote currency is USDC (in the URL path). Incomplete (in-progress) candles are excluded unless include_partial=true. # Hyperliquid spot kline (candles) Source: https://docs.arrays.org/api-reference/crypto/hyperliquid-spot-kline-candles /api-reference/openapi.json get /v1/crypto/hyperliquid/spot/usdc/kline [OpenAPI JSON Spec](/docs/output/v1_crypto_hyperliquid_spot_usdc_kline_get.json) Returns OHLCV candles for a Hyperliquid spot trading pair. symbol is the canonical base token (e.g. BTC, AAPL); the quote currency is USDC (in the URL path). Incomplete (in-progress) candles are excluded unless include_partial=true. # Errors & Rate Limits Source: https://docs.arrays.org/api-reference/errors HTTP status codes, error envelope, and retry guidance. ## Error envelope When a request fails, the response shape is: ```json theme={null} { "success": false, "request_id": "req_abc123", "error": { "code": "RATE_LIMIT_EXCEEDED", "message": "Daily request quota reached (100 req/day on Free tier)." } } ``` `request_id` is unique per request — include it when reporting issues. ## Status codes | Code | Meaning | What to do | | - | - | - | | `200` | Success | — | | `400` | Bad request — invalid params | Check the parameter table in [API Reference](/api-reference/introduction) | | `401` | Unauthorized | Verify `X-API-Key` header is set and the key is valid | | `402` | Payment required (Nanopayment) — returned on the x402 host, or with `Accept-Payment: x402` | Sign the chosen `accepts` option and retry with `PAYMENT-SIGNATURE`. See [Nanopayment](/nanopayment/quickstart#troubleshooting) for the x402 error codes | | `403` | Forbidden — endpoint not in your plan | Upgrade on [Pricing](/pricing) | | `404` | Endpoint or symbol not found; or `X402_NOT_SUPPORTED` when x402 headers are sent to a non-priced route | Check spelling, symbol format, or try [the screener](/skills/overview) | | `429` | Rate limit exceeded | Back off with exponential delay; upgrade plan or use Nanopayment | | `500` | Server error | Retry after 1–2s; if persistent, [email support](mailto:support@arrays.org) | ## Retry strategy For idempotent GET requests: 1. **First retry**: wait 1 second 2. **Second retry**: wait 2 seconds 3. **Third retry**: wait 4 seconds 4. **Give up** and surface the error Always include the `request_id` from the failed response when contacting support. ## Rate limits per plan | Plan | Daily requests | Burst | | - | - | - | | Free | 100 | 10 req/s | | Pro | 10,000 | 50 req/s | | Enterprise | Custom | Custom | | Nanopayment | Unlimited (pay-per-call) | 100 req/s | > [!TIP] > > The Dashboard shows live usage. Set up a webhook alert at 80% of quota to avoid surprises. # Get ETF Country Weightings Source: https://docs.arrays.org/api-reference/etf/get-etf-country-weightings /api-reference/openapi.json get /v1/etf/country-weightings **Feature Overview** [OpenAPI JSON Spec](/docs/output/v1_etf_country-weightings_get.json) Retrieve country allocation information for a specified ETF symbol. This endpoint provides detailed breakdown of the ETF's geographic exposure by country and their respective weight percentages. **Main Use Cases** - **Geographic Analysis**: Analyze ETF's country diversification and concentration - **Risk Assessment**: Evaluate country-specific risk exposure - **Portfolio Construction**: Use country weightings for geographic asset allocation - **Investment Research**: Understand ETF's geographic distribution - **Compliance Monitoring**: Track country exposure limits and regulations **Response Data Structure** - `weightings` ([]CountryWeighting): Array of country weighting items **CountryWeighting fields:** - `country` (string): Country name - `weight_percentage` (string): Percentage weight as string (e.g., "99.56%") - `updated_at` (string): Data update time (RFC3339), the last refresh time of this data # Get ETF Holdings Data Source: https://docs.arrays.org/api-reference/etf/get-etf-holdings-data /api-reference/openapi.json get /v1/etf/holdings **Feature Overview** [OpenAPI JSON Spec](/docs/output/v1_etf_holdings_get.json) Retrieve detailed holdings information for a specified ETF symbol. This endpoint provides comprehensive data about the underlying assets held by the ETF, including weights, values, and portfolio composition. **Main Use Cases** - **Investment Analysis**: Analyze ETF portfolio composition and diversification - **Risk Assessment**: Evaluate concentration risk and sector allocation - **Performance Attribution**: Understand performance drivers through holdings analysis - **Portfolio Construction**: Use ETF holdings for asset allocation decisions - **Research Tools**: Academic and professional research on ETF structures **Response Data Structure** - `count` (int): Number of holdings returned - `data` ([]ETFHolding): Array of ETF holding items **ETFHolding fields:** - `symbol` (string): Holding stock symbol - `name` (string): Company or asset name - `shares` (int64): Number of shares held - `market_value` (float64): Total market value of holding - `weight` (float64): Percentage weight in portfolio - `sector` (string): Sector classification - `industry` (string): Industry classification - `country` (string): Country of incorporation - `asset_type` (string): Type of asset (Common Stock, Bond, etc.) - `price_per_share` (float64): Current price per share - `last_updated` (string): Last update date # Get ETF Information Source: https://docs.arrays.org/api-reference/etf/get-etf-information /api-reference/openapi.json get /v1/etf/info **Feature Overview** [OpenAPI JSON Spec](/docs/output/v1_etf_info_get.json) Retrieve comprehensive information about a specified ETF, including basic details, performance metrics, expense ratios, and fund characteristics. **Main Use Cases** - **Investment Research**: Get detailed ETF information for investment decisions - **Fund Comparison**: Compare different ETFs based on metrics and characteristics - **Performance Analysis**: Analyze historical returns and risk metrics - **Cost Analysis**: Evaluate expense ratios and fee structures - **Portfolio Planning**: Use ETF information for asset allocation strategies **Response Data Structure** `data` is an array of ETFInfo objects containing: - `symbol` (String): Ticker Symbol. The unique identifier for the ETF listed on an exchange (e.g., "SPY") - `name` (String): ETF Name. The official full name of the fund (e.g., "SPDR S&P 500 ETF Trust") - `etf_company` (String): Issuer. The fund family or company managing the ETF (e.g., "SPDR") - `description` (String): Fund Description. A summary of the ETF's investment objective, tracked index, and key features - `website` (String): Official Website. The URL link to the product's official detail page - `updated_at` (Timestamp): Last Updated. The timestamp indicating when this data entry was last refreshed - `asset_class` (String): Asset Class. The primary category of assets the ETF invests in (e.g., "Equity" for stocks) - `assets_under_management` (Number): AUM. The total market value of the financial assets managed by the fund - `nav` (Number): Net Asset Value. The value per share of the ETF - `nav_currency` (String): Currency. The currency in which the NAV is denominated (e.g., "USD") - `avg_volume` (Number): Average Volume. The average number of shares traded daily over a specific period - `expense_ratio` (Number): Expense Ratio. The annual fee charged to investors to manage the fund (e.g., 0.0945 means 0.0945%) - `inception_date` (Date): Inception Date. The date when the fund was launched and began trading - `domicile` (String): Domicile. The country or jurisdiction where the fund is legally registered (e.g., "US") - `holdings_count` (Number): Holdings Count. The total number of individual securities held in the ETF portfolio - `isin` (String): ISIN. International Securities Identification Number; a unique code for identifying securities globally - `security_cusip` (String): CUSIP. A unique alphanumeric code used to identify securities, primarily in North America - `sectors_list` (Array): Sector Breakdown. A list showing how the fund's assets are distributed across different industries ↳ `industry` (String): Industry Name. The specific sector category (e.g., "Technology", "Financial Services") ↳ `exposure` (Number): Exposure (%). The percentage weight of this sector in the total portfolio. Note: For equity ETFs like SPY, this is typically Market-Cap Weighted, meaning sectors with larger capitalized companies have a higher percentage # Get ETF In/Outflow Data Source: https://docs.arrays.org/api-reference/etf/get-etf-inoutflow-data /api-reference/openapi.json get /v1/etf/flow **Feature Overview** [OpenAPI JSON Spec](/docs/output/v1_etf_flow_get.json) Retrieve ETF in/outflow data for a given ETF symbol. The data includes daily close, net flow in shares, volume, net flow, expiration cycle, and FOMC day indicator. # Get ETF Sector Weightings Source: https://docs.arrays.org/api-reference/etf/get-etf-sector-weightings /api-reference/openapi.json get /v1/etf/sector-weightings **Feature Overview** [OpenAPI JSON Spec](/docs/output/v1_etf_sector-weightings_get.json) Retrieve sector allocation information for a specified ETF symbol. This endpoint provides detailed breakdown of the ETF's sector exposure and their respective weight percentages. **Main Use Cases** - **Sector Analysis**: Analyze ETF's sector diversification and concentration - **Risk Assessment**: Evaluate sector-specific risk exposure - **Portfolio Construction**: Use sector weightings for sector allocation - **Investment Research**: Understand ETF's sector distribution - **Performance Attribution**: Analyze performance by sector exposure **Response Data Structure** - `weightings` ([]SectorWeighting): Array of sector weighting items **SectorWeighting fields:** - `symbol` (string): ETF symbol - `sector` (string): Sector name (e.g., "Technology", "Financial Services") - `weight_percentage` (float64): Percentage weight as number (e.g., 34.62) - `updated_at` (string): Data update time (RFC3339), the last refresh time of this data # API Introduction Source: https://docs.arrays.org/api-reference/introduction Arrays exposes 100+ REST endpoints across equities, crypto, ETF, macro, and on-chain data — all under one base URL and one auth header. ## Base URL ``` https://data-tools.prd.arrays.org/api ``` For pay-per-call access without an API key, use the x402 host instead (same paths): `https://x402-data-tools.prd.arrays.org/api` — see [Nanopayment](/nanopayment/overview). ## Authentication Send your API key in the `X-API-Key` header on every request: ```bash theme={null} curl "https://data-tools.prd.arrays.org/api/v1/stocks/company/detail?symbol=AAPL" \ -H "X-API-Key: $ARRAYS_API_KEY" ``` [Full auth guide →](/api-reference/authentication) ## Response envelope Every endpoint returns the same shape: ```json theme={null} { "success": true, "request_id": "req_abc123", "data": [ ... ] } ``` `data` is **always an array**, even for single-record results. Paginated endpoints add a `pagination` object (`limit`, `cursor`, `has_more`) alongside `data`. ## Endpoint catalog > [!NOTE] > > The full interactive API reference (auto-generated from our OpenAPI spec) is being migrated into this site. In the meantime, browse the live Swagger UI at [data-tools.prd.arrays.org/swagger](https://data-tools.prd.arrays.org/swagger/index.html). Endpoints are grouped into 7 domains: > [card] Equity > > Quote, fundamentals, estimates, earnings, ownership, options > [card] Crypto > > Spot, futures, funding, on-chain metrics, exchange flow > [card] ETF & Funds > > Holdings, sector weights, fund flow > [card] Macro & Economics > > Treasury, CPI, GDP, forex, commodities, VIX > [card] News & Transcripts > > Market news, earnings calls > [card] Stock Screener > > 70+ filters > [card] Technical Metrics > > Darkpool, analyst ratings > [!NOTE] > > Prediction-market data (Polymarket) is available through the [`arrays-data-api-polymarket` Skill](/skills/overview), which calls Polymarket's public APIs directly. There is no Arrays REST endpoint for it. ## Rate limits & errors [Error codes and retry guidance →](/api-reference/errors) # Get Commodity Historical Data Source: https://docs.arrays.org/api-reference/macro/get-commodity-historical-data /api-reference/openapi.json get /v1/macro/commodity/historical [OpenAPI JSON Spec](/docs/output/v1_macro_commodity_historical_get.json) Retrieve historical data for a specified commodity symbol. Returns time series data including open, high, low, close prices and volume. Bars are returned newest-first (date descending) by default. Pass `sort_order=asc` for chronological (oldest-first) order, which most time-series/technical-analysis consumers expect. # Get Commodity Real-Time Data Source: https://docs.arrays.org/api-reference/macro/get-commodity-real-time-data /api-reference/openapi.json get /v1/macro/commodity/real-time [OpenAPI JSON Spec](/docs/output/v1_macro_commodity_real-time_get.json) Retrieve real-time data for a specified commodity symbol. Returns simplified data with symbol, date, and price (close price). **Response Data Structure** - `data` (RealTimeData): Real-time commodity data **RealTimeData fields:** - `symbol` (string): Commodity symbol (e.g., "GCUSD", "ZLUSX", "SILUSD") - `date` (string): Quote time as an RFC3339 UTC timestamp, e.g. "2026-08-04T13:26:49Z" — the same convention as `time_period_start` on the kline endpoints. When FMP has no live quote and the prior session's stored close is served instead, the date is that session's day at "2026-08-03T00:00:00Z" — a 00:00:00 time identifies the session, it is not the moment the market closed. - `price` (float): Latest quoted price **Note:** The price is the latest available quote. When the market is closed it is the last quote of the prior session; some feeds are delayed at source (see the quote time). When FMP has no quote for the symbol, the API returns an empty data structure with default values: `{"symbol": "", "date": "", "price": 0}`. # Get Commodity Symbol List Source: https://docs.arrays.org/api-reference/macro/get-commodity-symbol-list /api-reference/openapi.json get /v1/macro/commodity/symbols [OpenAPI JSON Spec](/docs/output/v1_macro_commodity_symbols_get.json) Retrieve list of all available commodity symbols with their details including unit, exchange, and description. # Get Economic Indicators Source: https://docs.arrays.org/api-reference/macro/get-economic-indicators /api-reference/openapi.json get /v1/macro/economic-indicators [OpenAPI JSON Spec](/docs/output/v1_macro_economic-indicators_get.json) Retrieve economic indicator time series data with series metadata and observations **Overview** This endpoint provides economic indicator data from FRED (Federal Reserve Economic Data), including series metadata (seasonal adjustment, frequency, units) and time series observations (date, value, release date). **Key Features** - **Series Metadata**: Returns complete series information including seasonal adjustment type, frequency, and units - **Release Dates**: Each observation includes its first release date (when the data was initially published) - **Flexible Time Filtering**: Choose to filter by observed_at (publish timestamp) or calendar date - **Point-in-Time Data**: Tracks when data was released, supporting historical analysis **Indicator Types** Currently supported 34 indicators: - **GDP**: Gross Domestic Product - **REAL_GDP**: Real Gross Domestic Product (GDPC1) - **REAL_GDP_PER_CAPITA**: Real GDP Per Capita (A939RX0Q048SBEA) - **INITIAL_CLAIMS**: Initial Jobless Claims (ICSA) - **UNEMPLOYMENT_RATE**: Unemployment Rate (UNRATE) - **TOTAL_NONFARM_PAYROLL**: Total Nonfarm Payroll (PAYEMS) - **FEDERAL_FUNDS**: Federal Funds Effective Rate (FEDFUNDS) - **CPI**: Consumer Price Index (CPIAUCSL) - **INFLATION_RATE_YOY**: Inflation Rate YoY (FPCPITOTLZGUSA) - **CORE_PPI**: Core PPI - Final Demand Less Foods and Energy (PPIFES) - **PPI_FINAL_DEMAND**: PPI Final Demand (PPIFIS) - **CONSUMER_SENTIMENT**: Consumer Sentiment Index (UMCSENT) - **CONSUMER_INFLATION_EXPECTATIONS**: Consumer Inflation Expectations (MICH) - **RETAIL_SALES**: Retail Sales (RSXFS) - **DURABLE_GOODS**: Durable Goods Orders (DGORDER) - **INDUSTRIAL_PRODUCTION**: Industrial Production Index (INDPRO) - **SMOOTHED_RECESSION_PROBABILITIES**: Smoothed Recession Probabilities (RECPROUSM156N) - **CORE_CPI**: Core CPI - All Items Less Food and Energy (CPILFESL) - **TIPS_5_YEAR**: 5-Year Treasury Inflation-Indexed Security (DFII5) - **TIPS_10_YEAR**: 10-Year Treasury Inflation-Indexed Security (DFII10) - **TIPS_20_YEAR**: 20-Year Treasury Inflation-Indexed Security (DFII20) - **TIPS_30_YEAR**: 30-Year Treasury Inflation-Indexed Security (DFII30) - **VIX**: CBOE Volatility Index (VIXCLS) - **TREASURY_YIELD_1_MONTH**: 1-Month Treasury Constant Maturity Rate (DGS1MO) - **TREASURY_YIELD_3_MONTH**: 3-Month Treasury Constant Maturity Rate (DGS3MO) - **TREASURY_YIELD_6_MONTH**: 6-Month Treasury Constant Maturity Rate (DGS6MO) - **TREASURY_YIELD_2_YEAR**: 2-Year Treasury Constant Maturity Rate (DGS2) - **TREASURY_YIELD_5_YEAR**: 5-Year Treasury Constant Maturity Rate (DGS5) - **TREASURY_YIELD_10_YEAR**: 10-Year Treasury Constant Maturity Rate (DGS10) - **TREASURY_YIELD_20_YEAR**: 20-Year Treasury Constant Maturity Rate (DGS20) - **TREASURY_YIELD_30_YEAR**: 30-Year Treasury Constant Maturity Rate (DGS30) - **GOLD_VIX**: CBOE Gold ETF Volatility Index (GVZCLS) - **CRUDE_OIL_VIX**: CBOE Crude Oil ETF Volatility Index (OVXCLS) - **RUSSELL_2000_VIX**: CBOE Russell 2000 Volatility Index (RVXCLS) **Time Filter Types** - **OBSERVED_AT**: Filter by observation publish timestamp (when data was released to FRED) - **CALENDAR_START_DATE**: Filter by the calendar date that the observation represents (e.g., 2024-01-01 for Q1 2024) - **RELEASE_DATE**: Filter by release/vintage date (when the data revision was published by FRED) **Response Structure** The response contains two parts: - **series**: Metadata about the indicator (name, title, seasonal adjustment (e.g., "Seasonally Adjusted Annual Rate", "Seasonally Adjusted", "Not Seasonally Adjusted"), frequency, units, notes) - **observations**: Array of data points, each containing: - **date**: Calendar date of the observation (ISO 8601 format, e.g., "2024-01-01") - **value**: Indicator value (double precision) - **releaseDate**: First release date in ISO 8601 format (e.g., "2024-04-25") - **observedAt**: Observation publish timestamp (Unix timestamp in seconds, e.g., 1714041000) **Usage Examples** 1. **Get GDP data by observed_at (publish time)**: `?indicator_type=GDP&time_type=OBSERVED_AT&start_time=1704067200&end_time=1735689600` 2. **Get GDP data by calendar date**: `?indicator_type=GDP&time_type=CALENDAR_START_DATE&start_time=1704067200&end_time=1735689600` **Important Notes** - All parameters are required (indicator_type, time_type, start_time, end_time) - Timestamps are Unix timestamps in seconds (UTC) - CALENDAR_START_DATE filter is recommended for most use cases - OBSERVED_AT filter is useful for tracking when data was published/updated - Release dates indicate when data first appeared (initial release, not revisions) - Seasonal adjustment info helps interpret the data correctly # Get Forex Historical Data Source: https://docs.arrays.org/api-reference/macro/get-forex-historical-data /api-reference/openapi.json get /v1/macro/forex/historical [OpenAPI JSON Spec](/docs/output/v1_macro_forex_historical_get.json) Retrieve historical data for a specified forex currency pair. Returns time series data including open, high, low, close prices and volume. Bars are returned newest-first (date descending) by default. Pass `sort_order=asc` for chronological (oldest-first) order, which most time-series/technical-analysis consumers expect. # Get Forex Real-Time Data Source: https://docs.arrays.org/api-reference/macro/get-forex-real-time-data /api-reference/openapi.json get /v1/macro/forex/real-time [OpenAPI JSON Spec](/docs/output/v1_macro_forex_real-time_get.json) Retrieve real-time data for a specified forex currency pair. Returns simplified data with symbol, date, and price (close price). **Response Data Structure** - `data` (RealTimeData): Real-time forex data **RealTimeData fields:** - `symbol` (string): Forex symbol (e.g., "EURUSD", "GBPJPY") - `date` (string): Quote time as an RFC3339 UTC timestamp, e.g. "2026-08-04T13:26:49Z" — the same convention as `time_period_start` on the kline endpoints. When FMP has no live quote and the prior session's stored close is served instead, the date is that session's day at "2026-08-03T00:00:00Z" — a 00:00:00 time identifies the session, it is not the moment the market closed. - `price` (float): Latest quoted price **Note:** The price is the latest available quote. When the market is closed it is the last quote of the prior session; some feeds are delayed at source (see the quote time). When FMP has no quote for the symbol, the API returns an empty data structure with default values: `{"symbol": "", "date": "", "price": 0}`. # Get Forex Symbol List Source: https://docs.arrays.org/api-reference/macro/get-forex-symbol-list /api-reference/openapi.json get /v1/macro/forex/symbols [OpenAPI JSON Spec](/docs/output/v1_macro_forex_symbols_get.json) Retrieve list of all available forex currency pairs with their details including base and quote currencies. # Get Index Historical Data Source: https://docs.arrays.org/api-reference/macro/get-index-historical-data /api-reference/openapi.json get /v1/macro/index/historical [OpenAPI JSON Spec](/docs/output/v1_macro_index_historical_get.json) Retrieve historical data for a specified stock index symbol. Returns time series data including open, high, low, close prices and volume. **Response Data Structure** - `data` ([]IndexData): Array of historical index data **IndexData fields:** - `symbol` (string): Index symbol (e.g., "^SPX", "^DJI") - `date` (string): Date in YYYY-MM-DD format - `open` (float): Opening price - `high` (float): Highest price - `low` (float): Lowest price - `close` (float): Closing price - `volume` (int): Trading volume Bars are returned newest-first (date descending) by default. Pass `sort_order=asc` for chronological (oldest-first) order, which most time-series/technical-analysis consumers expect. # Get Index Real-Time Data Source: https://docs.arrays.org/api-reference/macro/get-index-real-time-data /api-reference/openapi.json get /v1/macro/index/real-time [OpenAPI JSON Spec](/docs/output/v1_macro_index_real-time_get.json) Retrieve real-time data for a specified stock index symbol. Returns simplified data with symbol, date, and price (close price). **Response Data Structure** - `data` (RealTimeData): Real-time index data **RealTimeData fields:** - `symbol` (string): Index symbol (e.g., "^SPX", "^DJI") - `date` (string): Quote time as an RFC3339 UTC timestamp, e.g. "2026-08-04T13:26:49Z" — the same convention as `time_period_start` on the kline endpoints. When FMP has no live quote and the prior session's stored close is served instead, the date is that session's day at "2026-08-03T00:00:00Z" — a 00:00:00 time identifies the session, it is not the moment the market closed. - `price` (float): Latest quoted price **Note:** The price is the latest available quote. When the market is closed it is the last quote of the prior session; some feeds are delayed at source (see the quote time). When FMP has no quote for the symbol, the API returns an empty data structure with default values: `{"symbol": "", "date": "", "price": 0}`. # Get Index Symbol List Source: https://docs.arrays.org/api-reference/macro/get-index-symbol-list /api-reference/openapi.json get /v1/macro/index/symbols [OpenAPI JSON Spec](/docs/output/v1_macro_index_symbols_get.json) Retrieve list of all available index symbols with their details. # Get Treasury Rates Source: https://docs.arrays.org/api-reference/macro/get-treasury-rates /api-reference/openapi.json get /v1/macro/treasury-rates [OpenAPI JSON Spec](/docs/output/v1_macro_treasury-rates_get.json) Retrieve US Treasury rates data for different maturities over time **Feature Overview** Get historical treasury rates including 1M, 2M, 3M, 6M, 1Y, 2Y, 3Y, 5Y, 7Y, 10Y, 20Y, and 30Y rates. **Main Use Cases** - **Interest Rate Analysis**: Track treasury rate changes over time - **Investment Research**: Analyze yield curve movements and trends - **Economic Analysis**: Monitor economic indicators through treasury rates - **Portfolio Management**: Use rates for bond portfolio strategy - **Risk Assessment**: Evaluate interest rate risk across different maturities **Response Data Structure** Each rate record includes: - **date**: Rate date (YYYY-MM-DD format) - **month1**: 1 Month treasury rate - **month2**: 2 Month treasury rate - **month3**: 3 Month treasury rate - **month6**: 6 Month treasury rate - **year1**: 1 Year treasury rate - **year2**: 2 Year treasury rate - **year3**: 3 Year treasury rate - **year5**: 5 Year treasury rate - **year7**: 7 Year treasury rate - **year10**: 10 Year treasury rate - **year20**: 20 Year treasury rate - **year30**: 30 Year treasury rate **Usage Examples** 1. **Get latest treasury rates**: No parameters needed 2. **Get rates from specific date**: `?start_time=1745971200` 3. **Get rates for date range**: `?start_time=1745971200&end_time=1748563200` # Get trading pairs for a symbol Source: https://docs.arrays.org/api-reference/market/get-trading-pairs-for-a-symbol /api-reference/openapi.json get /v1/market/trading-pairs [OpenAPI JSON Spec](/docs/output/v1_market_trading-pairs_get.json) Returns all available trading pairs for a given symbol, grouped by instrument type Non-US stocks are accepted with or without their exchange suffix: `0700.HK` returns only the Hong Kong listing (`HK_SPOT_0700_HKD`), while bare `0700` or `7203` returns every active listing sharing that ticker across exchanges (e.g. `T_SPOT_7203_JPY` and `SR_SPOT_7203_SAR`, which are different companies). # Get unified market kline (OHLCV) Source: https://docs.arrays.org/api-reference/market/get-unified-market-kline-ohlcv /api-reference/openapi.json get /v1/market/kline [OpenAPI JSON Spec](/docs/output/v1_market_kline_get.json) Returns standardized OHLCV kline data for any supported asset type. The `trading_pair` uses the format `___`. **Supported combinations:** | Scenario | trading_pair example | Interval | |---|---|---| | Crypto spot | `BINANCE_SPOT_BTC_USDT` | All | | Crypto perp | `BINANCE_PERP_ETH_USDT` | All | | Hyperliquid spot | `HYPERLIQUID_SPOT_BTC_USDC` | All | | Hyperliquid perp | `HYPERLIQUID_PERP_AAPL_USDC` | All | | Stock spot | `US_SPOT_AAPL_USD` | All | | Stock option | `US_OPTION_AAPL250620C00200000_USD` | All | | ETF spot | `US_SPOT_SPY_USD` | All | | ETF option | `US_OPTION_SPY260402C00400000_USD` | All | | Index spot | `US_SPOT_SPX_USD` | 1d only | | Index option | `US_OPTION_SPX260402C04000000_USD` | All | | Commodity future | `CME_FUTURE_GCUSD_USD` | 1d only | | FX spot | `FX_SPOT_EURUSD_USD` | 1d only | | Non-US stock spot | `HK_SPOT_0700_HKD` (market = exchange suffix, symbol without suffix) | All | # Get historical Greeks for a single option contract Source: https://docs.arrays.org/api-reference/options/get-historical-greeks-for-a-single-option-contract /api-reference/openapi.json get /v1/options/greeks [OpenAPI JSON Spec](/docs/output/v1_options_greeks_get.json) Returns the in-house-computed Greeks (delta, gamma, theta, vega, implied volatility) time series for one option contract over [start_date, end_date] inclusive, ordered by date. Daily historical data, not real-time. # Get Option Chain Source: https://docs.arrays.org/api-reference/options/get-option-chain /api-reference/openapi.json get /v1/options/chain **Feature Overview** [OpenAPI JSON Spec](/docs/output/v1_options_chain_get.json) Retrieve option chain data including pricing, Greeks, implied volatility, and underlying asset info. Supports filtering by stock ticker, option ticker, expiration date range, contract type, and strike price range. **Supported Filter Parameters** | Parameter | Type | Description | Example | |-----------|------|-------------|---------| | symbol | string | Stock ticker symbol (required) | "AAPL" | | option_ticker | string | Option ticker symbol (optional) | "AAPL240315C00150000" | | start_expiration_date | int64 | Start expiration date (Unix timestamp) | 1704067200 | | end_expiration_date | int64 | End expiration date (Unix timestamp) | 1706745600 | | contract_type | string | Contract type filter | "call" or "put" | | min_strike_price | float64 | Minimum strike price | 100.0 | | max_strike_price | float64 | Maximum strike price | 200.0 | | cursor | string | Pagination cursor | "eyJleHBpcmF0aW9uX2RhdGUiOiI..." | | limit | int64 | Maximum number of results (1-1000) | 50 | **Response Data Structure** Each option contract includes: - **Contract Details**: ticker, contract type, exercise style, expiration date, shares per contract, strike price - **Pricing Data**: break even price, fair market value (FMV), implied volatility - **Greeks**: delta, gamma, theta, vega - **Market Data**: open interest, daily price changes - **Underlying Asset**: current price, change to break even, last updated **Common Query Examples** 1. **All AAPL options**: `?symbol=AAPL&limit=50` 2. **AAPL call options expiring in March 2024**: `?symbol=AAPL&contract_type=call&start_expiration_date=1704067200&end_expiration_date=1706745600&limit=100` 3. **AAPL options with strike price between $150-$200**: `?symbol=AAPL&min_strike_price=150&max_strike_price=200&limit=50` 4. **Specific option contract**: `?symbol=AAPL&option_ticker=AAPL240315C00150000&limit=1` **Pagination** The API supports cursor-based pagination: - Use the `cursor` field from the response to get the next page - Set `limit` to control the number of results per page - When no more results are available, the `cursor` field will be empty **Important Notes** - **Expired options are not included** in the response. If the specified expiration window is entirely in the past, the response will be an empty list - All filter parameters are optional; if not provided, no filter is applied - Date parameters use Unix timestamp in seconds - Strike prices are in the same currency as the underlying stock - Greeks and implied volatility are calculated using standard options pricing models - Data is real-time or near real-time depending on market conditions - min_strike_price must be <= max_strike_price when both are provided # Get Options K-line (OHLCV) data Source: https://docs.arrays.org/api-reference/options/get-options-k-line-ohlcv-data /api-reference/openapi.json get /v1/options/kline [OpenAPI JSON Spec](/docs/output/v1_options_kline_get.json) Retrieve options OHLCV + VWAP candlestick data for a specific contract. **Options ticker format (OCC):** `O:{UNDERLYING}{YYMMDD}{C/P}{STRIKE}` e.g. `O:SPY260620C00570000` **Data source:** Polygon.io flat files (historical, T+1) + REST API (today, on-demand backfill). VWAP computed from trades data (historical) or Polygon aggregates (today). **Completeness:** a range whose recent days are not yet synced triggers an on-demand Polygon backfill. If that backfill cannot finish, the endpoint returns `503 UNAVAILABLE` rather than a `200` missing those days — a partial series is indistinguishable from a complete one, so it is never served silently. Retry after a short delay; in-flight fetches keep running and land server-side. A range needing more than 60 days of backfill returns `400 INVALID_PARAMETER`; narrow the window or request it in chunks. **Interval routing:** - `1min`: Raw 1-minute bars - `2min`–`10min`: Aggregated from 1-minute data - `15min`: Raw 15-minute bars - `30min`–`4h`: Aggregated from 15-minute data - `1d`: Raw daily bars - `1w`, `1m`: Aggregated from daily data **Response fields:** - `options_ticker`: OCC-format options ticker - `underlying_symbol`: Underlying stock symbol - `time_open`: Period start (Unix timestamp seconds) - `time_close`: Period end (Unix timestamp seconds) - `price_open`, `price_high`, `price_low`, `price_close`: OHLC prices - `volume_traded`: Trading volume - `trades_count`: Number of trades - `vwap`: Volume-weighted average price # List Options Contracts Source: https://docs.arrays.org/api-reference/options/list-options-contracts /api-reference/openapi.json get /v1/options/contracts [OpenAPI JSON Spec](/docs/output/v1_options_contracts_get.json) Query options contracts by underlying symbol with optional filters. Returns contract metadata (no Greeks/pricing). Supports cursor pagination. **Filters:** - `is_expired`: `false` (default shows active), `true` (expired only), or `all` - `options_ticker`: exact match for a specific contract - `contract_type`: `call` or `put` - `expiration_date_min`/`max`: YYYY-MM-DD format - `strike_price_min`/`max`: numeric - `exercise_style`: `american` or `european` **Response fields:** - `options_ticker`: OCC-format ticker (e.g. O:SPY260620C00570000) - `underlying_symbol`, `contract_type`, `exercise_style` - `expiration_date` (YYYY-MM-DD), `strike_price`, `shares_per_contract` - `primary_exchange`, `cfi`, `is_expired` # Get Podcast Transcripts Source: https://docs.arrays.org/api-reference/other/get-podcast-transcripts /api-reference/openapi.json get /v1/other/podcast/transcripts [OpenAPI JSON Spec](/docs/output/v1_other_podcast_transcripts_get.json) Retrieve stored official podcast transcripts, newest first. Filter by `podcast_show_id`, `podcast_show_name` or `speaker` — at least one is required unless both `updated_after` and `updated_before` are supplied. Update polling selects episode rows within [updated_after, updated_before), ordered by updated_at ASC, id ASC. Times are Unix seconds; all shows may be queried with a bounded window. Existing filters intersect that window. Updates include episode metadata, transcript and attribution changes, not lease/retry bookkeeping. Show/person metadata has a separate lifecycle. Each item returns the stable Arrays record `id`, the publisher `episode_id`, and RFC3339 `updated_at`. For update polling, pass pagination.cursor unchanged with the same window, and filters. Limit and include_raw may change on retry without restarting. An omitted cursor with has_more=false means the window is drained. Start each new window without the old cursor. Offset is not allowed. This is current-state polling, not a snapshot or deletion/history feed: overlap windows and reconcile delayed writes; intermediate versions may coalesce. A show with `switched_at` on `/other/podcast/shows` is served by `/other/youtube/videos` from that instant: episodes published at or after it are not returned, and update polling emits nothing of the show from then on. `podcast_show_id` comes from `/other/podcast/shows`. `podcast_show_name` takes the name instead and resolves it server-side. The response reports the show name as `podcast_show_name`. `speaker` matches a person in the returned `resolved_speakers`, including host, guest and clip attributions. Registry names and aliases match linked identities; stored resolved names also match directly. Publisher-only labels and attributions excluded from the response do not match. Clips are not guests. `resolved_speakers[*].person_id`, `hosts` and `guests` contain only terminal person-registry UUIDs, matching `/persons`. Historical IDs and merged UUIDs are resolved on read. Unlinked speakers keep their name but omit `person_id`; unresolved references are omitted from `hosts` and `guests`. `source_segments` contains text plus only speaker labels and times supplied by the original document or ASR provider. `transcript` remains the legacy normalized rendering. Set `include_source_segments=true` to receive it; older episodes may omit `source_segments` until replayed. `listen_url` opens the matched Apple episode when available; otherwise it is the original RSS audio link. A show-only Apple match does not replace the episode audio link. `source_recording_id` (e.g. `omny::`) is present only when the provider gives a reliable recording id; episodes on different shows with the same value publish the same recording. Attribution stays per episode. `speaker_labels=names` rewrites `transcript` so every turn opens with who said it, e.g. `Jay Rughani (host) @ 0:00:00.72: ...`, in the shape an earnings call has. Names come from `resolved_speakers`. A voice with no name and the lines in `unknown_turn_indexes` read `Unidentified speaker N`, with N the stored voice number. Each turn uses its exact `resolved_speakers[spk N]` entry, for both single-voice and multi-voice transcripts. A name on another slot is never used as a fallback. Timestamps are kept. This formats existing attribution; it does not detect unmarked speaker changes within a line. An `unknown_turn_indexes` entry leaves the whole line unidentified. The default `ids` leaves `transcript` as stored. `resolved_speakers[slot].unknown_turn_indexes` lists zero-based `transcript` lines that v3 could not safely attribute to that person, despite sharing a slot. # Get YouTube video content Source: https://docs.arrays.org/api-reference/other/get-youtube-video-content /api-reference/openapi.json get /v1/other/youtube/videos/{video_id} [OpenAPI JSON Spec](/docs/output/v1_other_youtube_videos_video-id_get.json) Returns the current extraction result for one YouTube video. Set include_content=true for the transcript, speaker matches and, on a video processed before screenshots stopped, screenshots. A transcript segment's speaker is the voice that talks most during it: its name when the audio speaker identification is at least 0.4 sure of it, otherwise "spk N". speakers has one entry per voice the identification listed, labeled as the segments are, with name, role, confidence and attribution_source; a name below 0.4 stays there. A video not yet identified keeps the captions' own name labels. If no voice is named with confidence 0.4 or more, the captions' own name labels are kept when they have any, and the segments show "spk N" when they have none. updated_at is an RFC3339 UTC timestamp with millisecond precision. The list endpoint rejects offset, including offset=0, because an update window is always required. With include_content, turns and resolved_speakers are the audio transcript and who each voice is, in the /api/v1/persons/channel-commentary format without person_id; they are absent until speaker identification finishes. No person_id is served anywhere on this endpoint. cover_url and screenshots[].url are public image URLs. The lane no longer takes screenshots: it downloads a video's audio and captions only, so screenshots and screenshot_ids appear only on videos processed before it stopped. See docs/api/youtube-videos-updates.md and docs/api/update-polling.md for the complete update-polling contract. # List podcast shows Source: https://docs.arrays.org/api-reference/other/list-podcast-shows /api-reference/openapi.json get /v1/other/podcast/shows [OpenAPI JSON Spec](/docs/output/v1_other_podcast_shows_get.json) The curated shows we follow, with how much of each one is held. `podcast_show_id` is the stable identifier; pass it, or `name`, to `/other/podcast/transcripts`. `episode_count` is what has been discovered within the ingestion window (a year by default); `transcript_count` is how many of those have text. `youtube_channel_id` and `switched_at` are present only for a show now served from YouTube: `/other/podcast/transcripts` stops returning its episodes published at or after `switched_at`, and `/other/youtube/videos` carries that channel. Every filter is optional — a few hundred rows. # List YouTube video content Source: https://docs.arrays.org/api-reference/other/list-youtube-video-content /api-reference/openapi.json get /v1/other/youtube/videos [OpenAPI JSON Spec](/docs/output/v1_other_youtube_videos_get.json) Lists current YouTube video extraction results for configured channels. The update window is [updated_after, updated_before), ordered by updated_at then id; continue with pagination.cursor. A channel that took over podcast shows (`youtube_channel_id` on /other/podcast/shows) lists only videos published at or after the earliest `switched_at` among those shows; earlier episodes stay with /other/podcast/transcripts. An earlier video is still listed when a listed video names it in `duplicate_of`. Fetching one video by id is not filtered. With include_content, a transcript segment's speaker is the voice that talks most during it: its name when the audio speaker identification is at least 0.4 sure of it, otherwise "spk N". speakers has one entry per voice the identification listed, labeled as the segments are, with name, role, confidence and attribution_source; a name below 0.4 stays there. A video not yet identified keeps the captions' own name labels. If no voice is named with confidence 0.4 or more, the captions' own name labels are kept when they have any, and the segments show "spk N" when they have none. updated_at is an RFC3339 UTC timestamp with millisecond precision. The list endpoint rejects offset, including offset=0, because an update window is always required. With include_content, turns and resolved_speakers are the audio transcript and who each voice is, in the /api/v1/persons/channel-commentary format without person_id; they are absent until speaker identification finishes. No person_id is served anywhere on this endpoint. cover_url and screenshots[].url are public image URLs. The lane no longer takes screenshots: it downloads a video's audio and captions only, so screenshots and screenshot_ids appear only on videos processed before it stopped. duplicate_of is the id of another video that is the same recording: equal discovery captions, cue for cue, and equal duration. A row with status duplicate was not downloaded and has no content; the video it names has it. See docs/api/youtube-videos-updates.md and docs/api/update-polling.md for the complete update-polling contract. # Get channel commentary for a person Source: https://docs.arrays.org/api-reference/persons/get-channel-commentary-for-a-person /api-reference/openapi.json get /v1/persons/{person_id}/channel-commentary [OpenAPI JSON Spec](/docs/output/v1_persons_person-id_channel-commentary_get.json) What a person said in public, collected by polling news sites, video channels, podcast libraries and the person's own accounts. One row is one page with one sentence the person said on it: who said it (person.id and person.name, the name /v1/persons answers with), the sentence (quote), when they said it (said_at), the page (url, title, published_at, own, publisher, body with include_body, context), and, when Arrays serves the page itself, the endpoint and key of that row (item_ref). A value that is not known is null. For a YouTube video whose audio was transcribed, a row also says which voice said the quote and where (quote_speaker, quote_offset_sec, and quote is then the sentence of the audio transcript), who each voice is (resolved_speakers, the list /v1/other/podcast/transcripts has), and with include_body the whole video turn by turn (turns: each turn's speaker is its voice's name when resolved_speakers names the voice, otherwise the voice label, and voice is always the label). A row that was not checked against audio has none of these keys. This route returns the rows that are served now, all with state served, newest published first. A row stops being served, for example when its page turns out to report a remark that another page holds in full, and it is then no longer returned here. The update window of /v1/persons/channel-commentary reports that change, so a consumer that holds the row can drop it (see docs/api/person-channel-commentary-updates.md). No row for a person and day does not mean they said nothing: a remark is stored only when its page can be read and the sentence checked against it. # Get person Source: https://docs.arrays.org/api-reference/persons/get-person /api-reference/openapi.json get /v1/persons/{person_id} [OpenAPI JSON Spec](/docs/output/v1_persons_person-id_get.json) # List channel commentary across people Source: https://docs.arrays.org/api-reference/persons/list-channel-commentary-across-people /api-reference/openapi.json get /v1/persons/channel-commentary [OpenAPI JSON Spec](/docs/output/v1_persons_channel-commentary_get.json) Same rows as /v1/persons/{person_id}/channel-commentary without fixing the person. Browse by said_on day with start_time and end_time, which returns the rows that are served now. Or poll changes with updated_after and updated_before (unix seconds, [after, before), ordered by updated_at then id, paged by pagination.cursor; see docs/api/update-polling.md and docs/api/person-channel-commentary-updates.md). An update window returns every row whose latest change falls in it, and state says which kind it is. A row whose state is served has every field. A row whose state is duplicate (the page reports a remark another page holds in full), pending (a report still being traced back to where it was said, or a YouTube video whose speakers are not known yet) or refused has only id, updated_at, state and person.id: it is not output, and a consumer that holds its id drops it. A duplicate or pending row can come back as served later. Poll by updated_at, never by said_on: rows arrive with old said_on days. person_id is an optional filter. No row for a person and day does not mean they said nothing: a remark is stored only when its page can be read and the sentence checked against it. # List persons Source: https://docs.arrays.org/api-reference/persons/list-persons /api-reference/openapi.json get /v1/persons [OpenAPI JSON Spec](/docs/output/v1_persons_get.json) The person registry that `/other/podcast/transcripts` links speakers to. `person_id` is the value a transcript's `resolved_speakers` carries; treat it as opaque and do not parse it — use `created_by_pipeline` to tell curated people from ones speaker resolution created. `name` searches aliases too. `socials` lists every known account and is always present (`[]` when none). Several accounts on one platform are allowed, and within a platform the first entry is the one to show. `platform` is an OPEN enum — ignore values you do not recognize. `url` is always set; `handle` and `id` may be absent (LinkedIn and Substack publish no stable id). `shows` lists confirmed show relationships, hosting or as a guest — `role` says which, and the same show can appear under both. `platform` is an OPEN enum, `podcast` today. Only `confirmed: true` relationships are returned; inferred, unconfirmed roles are omitted. `first_seen_url` is where the person was first seen, not a list of all their sources. `positions` is every job the person is known to hold. There is no primary one: a person holds several at once and each lane sees a different one. Each entry splits the title (`position`) from the institution (`affiliation`), and the `affiliation` filter matches the latter. Party, chamber and district are not here — use `/v1/alva/congress-politicians`; `sources` containing `congress` is what says someone is a member. Every filter is optional. # Get DRAM Contract Price Data Source: https://docs.arrays.org/api-reference/semiconductor/get-dram-contract-price-data /api-reference/openapi.json get /v1/other/semiconductor/dram-contract-price [OpenAPI JSON Spec](/docs/output/v1_other_semiconductor_dram-contract-price_get.json) Retrieve DRAM contract (monthly) price data, filtered by item and date range. # Get DRAM Spot Price Data Source: https://docs.arrays.org/api-reference/semiconductor/get-dram-spot-price-data /api-reference/openapi.json get /v1/other/semiconductor/dram-spot-price [OpenAPI JSON Spec](/docs/output/v1_other_semiconductor_dram-spot-price_get.json) Retrieve DRAM spot price data, filtered by item and date range. # Get DXI Index Data Source: https://docs.arrays.org/api-reference/semiconductor/get-dxi-index-data /api-reference/openapi.json get /v1/other/semiconductor/dxi-index [OpenAPI JSON Spec](/docs/output/v1_other_semiconductor_dxi-index_get.json) Retrieve the TrendForce DRAMeXchange (DXI) daily index series. # Get Memory Card Price Data Source: https://docs.arrays.org/api-reference/semiconductor/get-memory-card-price-data /api-reference/openapi.json get /v1/other/semiconductor/memory-card-price [OpenAPI JSON Spec](/docs/output/v1_other_semiconductor_memory-card-price_get.json) Retrieve Memory Card price data, filtered by item and date range. # Get NAND Flash Contract Price Data Source: https://docs.arrays.org/api-reference/semiconductor/get-nand-flash-contract-price-data /api-reference/openapi.json get /v1/other/semiconductor/nand-flash-contract-price [OpenAPI JSON Spec](/docs/output/v1_other_semiconductor_nand-flash-contract-price_get.json) Retrieve NAND Flash contract (monthly) price data, filtered by item and date range. # Get NAND Flash Spot Price Data Source: https://docs.arrays.org/api-reference/semiconductor/get-nand-flash-spot-price-data /api-reference/openapi.json get /v1/other/semiconductor/nand-flash-spot-price [OpenAPI JSON Spec](/docs/output/v1_other_semiconductor_nand-flash-spot-price_get.json) Retrieve NAND Flash spot price data, filtered by item and date range. # Browse equity research reports Source: https://docs.arrays.org/api-reference/stock/browse-equity-research-reports /api-reference/openapi.json get /v1/stocks/research [OpenAPI JSON Spec](/docs/output/v1_stocks_research_get.json) Report headers (metadata, report-level summary, key points), newest publication first. `symbol`/`entity` filter on the REPORT-level coverage arrays — "reports discussing X anywhere" (broader than the search endpoint's per-unit filter). Unit summaries are not included; fetch them via /research/units or /research/report. # Fetch research units (sections/exhibits) of one report Source: https://docs.arrays.org/api-reference/stock/fetch-research-units-sectionsexhibits-of-one-report /api-reference/openapi.json get /v1/stocks/research/units [OpenAPI JSON Spec](/docs/output/v1_stocks_research_units_get.json) Direct unit fetch: all sections and exhibits of one document in order, optionally narrowed to one kind or one unit. Same element shape as /research/search (without scores). Use this for whole-document reads; use the search endpoint to find units across documents. # Get Company Balance Sheets Source: https://docs.arrays.org/api-reference/stock/get-company-balance-sheets /api-reference/openapi.json get /v1/stocks/company/balance-sheets US share-class symbols accept both `BRK.B` and `BRK-B`. When `symbol` is provided, matching scalar `symbol` fields in the response echo the request spelling. [OpenAPI JSON Spec](/docs/output/v1_stocks_company_balance-sheets_get.json) Retrieve balance sheets for a specific company within a time range # Get Company Cash Flow Statements Source: https://docs.arrays.org/api-reference/stock/get-company-cash-flow-statements /api-reference/openapi.json get /v1/stocks/company/cashflow-statements US share-class symbols accept both `BRK.B` and `BRK-B`. When `symbol` is provided, matching scalar `symbol` fields in the response echo the request spelling. [OpenAPI JSON Spec](/docs/output/v1_stocks_company_cashflow-statements_get.json) Retrieve cash flow statements for a specific company within a time range # Get Company Executive Information Source: https://docs.arrays.org/api-reference/stock/get-company-executive-information /api-reference/openapi.json get /v1/stocks/company/executives US share-class symbols accept both `BRK.B` and `BRK-B`. When `symbol` is provided, matching scalar `symbol` fields in the response echo the request spelling. [OpenAPI JSON Spec](/docs/output/v1_stocks_company_executives_get.json) Retrieve executive compensation information for a specific company with Redis caching # Get Company Income Statements Source: https://docs.arrays.org/api-reference/stock/get-company-income-statements /api-reference/openapi.json get /v1/stocks/company/income-statements US share-class symbols accept both `BRK.B` and `BRK-B`. When `symbol` is provided, matching scalar `symbol` fields in the response echo the request spelling. [OpenAPI JSON Spec](/docs/output/v1_stocks_company_income-statements_get.json) Retrieve income statements for a specific company within a time range **Feature Overview** Get detailed financial statements including revenue, net income, EPS, and other key metrics for a specific company over a specified time period. **Main Use Cases** - **Financial Analysis**: Analyze company's financial performance over time - **Investment Research**: Review historical financial data for investment decisions - **Quarterly Reports**: Access quarterly and annual financial statements - **Trend Analysis**: Track financial metrics trends over time **Parameters** - **symbol**: Stock symbol (required, e.g., NVDA, AAPL) - **start_time**: Start time (required, Unix timestamp in seconds) - **end_time**: End time (required, Unix timestamp in seconds) - **period_type**: Period type (optional, annual/quarter; if omitted, returns both annual & quarter) - **time_type**: Time type for filtering (required) - `CALENDAR_END_DATE`: Filter by Date (calendarEndDate) field - `FILING_DATE`: Filter by FilingDate field - `OBSERVED_AT`: Filter by publish_time field **Response Data** Returns an array of financial statements with: - **calendarEndDate**: Statement date (YYYY-MM-DD format) - **observedAt**: Observed timestamp (Unix seconds) - **Revenue**: Total revenue - **Net Income**: Net income/loss - **EPS**: Earnings per share - **Other metrics**: Additional financial indicators **Usage Examples** 1. **Get income statements for NVDA in 2024**: `?symbol=NVDA&start_time=1704067200&end_time=1735689599&period_type=quarter` 2. **Get annual income statements**: `?symbol=AAPL&start_time=1704067200&end_time=1735689599&period_type=annual` **Best Practices** - Use specific time ranges to limit data size and improve performance - Cache frequently requested financial data - Consider pagination for large datasets **Important Notes** - Ticker parameter (e.g., NVDA, AAPL) - Time parameters are Unix timestamps in seconds - end_time must be greater than start_time - Financial data may have reporting delays # Get Company Institution Holders Info Source: https://docs.arrays.org/api-reference/stock/get-company-institution-holders-info /api-reference/openapi.json get /v1/stocks/institution-holder US share-class symbols accept both `BRK.B` and `BRK-B`. When `symbol` is provided, matching scalar `symbol` fields in the response echo the request spelling. [OpenAPI JSON Spec](/docs/output/v1_stocks_institution-holder_get.json) Retrieve institution holder information for a specified stock symbol. This endpoint provides detailed data about institutional investors holding the stock, including their positions, changes, and performance metrics. **Main Use Cases** - **Institutional Analysis**: Analyze institutional investor positions and changes - **Ownership Tracking**: Track institutional ownership and concentration - **Investment Research**: Understand institutional investor behavior and trends - **Risk Management**: Assess institutional ownership concentration and changes **Response Data Structure** - `holders` ([]CompanyHolderInfo): Array of institution holder information **CompanyHolderInfo fields:** - `calendar_end_date` (string): Date of the holding record - `cik` (string): CIK identifier - `filing_date` (string): Filing date - `investor_name` (string): Name of the institutional investor - `symbol` (string): Stock symbol - `security_name` (string): Security name - `type_of_security` (string): Type of security - `security_cusip` (string): Security CUSIP - `shares_type` (string): Shares type - `put_call_share` (string): Put/Call/Share indicator - `investment_discretion` (string): Investment discretion type - `industry_title` (string): Industry title - `weight` (float64): Portfolio weight - `last_weight` (float64): Previous portfolio weight - `change_in_weight` (float64): Change in weight - `change_in_weight_percentage` (float64): Change in weight percentage - `market_value` (float64): Market value - `last_market_value` (float64): Previous market value - `change_in_market_value` (float64): Change in market value - `change_in_market_value_percentage` (float64): Change in market value percentage - `shares_number` (string): Number of shares held - `last_shares_number` (string): Previous number of shares held - `change_in_shares_number` (string): Change in shares number - `change_in_shares_number_percentage` (float64): Change in shares number percentage - `quarter_end_price` (float64): Quarter end price - `avg_price_paid` (float64): Average price paid - `is_new` (bool): Whether this is a new position - `is_sold_out` (bool): Whether position was sold out - `ownership` (float64): Ownership percentage - `last_ownership` (float64): Previous ownership percentage - `change_in_ownership` (float64): Change in ownership - `change_in_ownership_percentage` (float64): Change in ownership percentage - `holding_period` (int32): Holding period in quarters - `first_added` (string): First added date - `performance` (string): Performance value - `performance_percentage` (float64): Performance percentage - `last_performance` (string): Previous performance value - `change_in_performance` (string): Change in performance - `is_counted_for_performance` (bool): Whether counted for performance - `observed_at` (int64): Observed timestamp (seconds) **Query Parameters:** - **symbol**: Stock symbol (required, uppercase, e.g., TSM, AAPL, MSFT) - **start_time**: Start time (required, Unix timestamp in seconds) - **end_time**: End time (required, Unix timestamp in seconds) - **limit**: Limit number of results (optional, default: 50, max: 5000) - **time_type**: Time type for filtering (required) - `CALENDAR_END_DATE`: Filter by Date (calendarEndDate) field - `FILING_DATE`: Filter by FilingDate field - `OBSERVED_AT`: Filter by publish_time field # Get confirmed IPO filing events Source: https://docs.arrays.org/api-reference/stock/get-confirmed-ipo-filing-events /api-reference/openapi.json get /v1/stocks/ipo-confirmed-calendar [OpenAPI JSON Spec](/docs/output/v1_stocks_ipo-confirmed-calendar_get.json) Get companies that have officially filed IPO documents with regulatory authorities. **Use Cases** - Track confirmed IPO filings from SEC - Monitor upcoming IPOs that have cleared regulatory hurdles - Research newly filed S-1/F-1 registrations **Response Fields** - symbol: Company ticker symbol - cik: SEC CIK number - form: Filing form type (e.g., S-1, F-1) - filingDate: Date the filing was submitted (YYYY-MM-DD) - acceptedDate: Date SEC accepted the filing (ISO datetime) - effectivenessDate: Date the registration becomes effective (YYYY-MM-DD) - url: Link to the SEC filing document # Get Congress Trades Source: https://docs.arrays.org/api-reference/stock/get-congress-trades /api-reference/openapi.json get /v1/stocks/congress/recent-trades US share-class symbols accept both `BRK.B` and `BRK-B`. When `symbol` is provided, matching scalar `symbol` fields in the response echo the request spelling. [OpenAPI JSON Spec](/docs/output/v1_stocks_congress_recent-trades_get.json) **Feature Overview** Retrieve congressional trading activity with flexible filtering. # Get Crowdfunding Offerings Source: https://docs.arrays.org/api-reference/stock/get-crowdfunding-offerings /api-reference/openapi.json get /v1/stocks/crowdfunding/offerings [OpenAPI JSON Spec](/docs/output/v1_stocks_crowdfunding_offerings_get.json) Get paginated crowdfunding offerings information # Get Darkpool OHLC Data Source: https://docs.arrays.org/api-reference/stock/get-darkpool-ohlc-data /api-reference/openapi.json get /v1/stocks/darkpool US share-class symbols accept both `BRK.B` and `BRK-B`. When `symbol` is provided, matching scalar `symbol` fields in the response echo the request spelling. [OpenAPI JSON Spec](/docs/output/v1_stocks_darkpool_get.json) Retrieve darkpool trading data for specified stock tickers within a time range. **Features:** - Query darkpool trading data by ticker symbol - Support time range filtering - Returns hourly aggregated OHLC and volume data - Includes volume, trade count, and VWAP information **Parameters:** - `symbol`: Stock symbol (required) - `start_time`: Start time as Unix timestamp (required, inclusive) - `end_time`: End time as Unix timestamp (required, inclusive, must be on or after start_time) **Response Fields:** - `symbol`: Stock symbol - `timestamp`: Hourly timestamp in Unix seconds (UTC) - `open`: Opening price in the hour - `high`: Highest price in the hour - `low`: Lowest price in the hour - `close`: Closing price in the hour - `volume`: Total trading volume - `trade_count`: Number of trades executed - `total_value`: Total transaction value - `vwap`: Volume Weighted Average Price ``` # Get Earnings Calendar Data Source: https://docs.arrays.org/api-reference/stock/get-earnings-calendar-data /api-reference/openapi.json get /v1/stocks/earnings-calendar US share-class symbols accept both `BRK.B` and `BRK-B`. When `symbol` is provided, matching scalar `symbol` fields in the response echo the request spelling. [OpenAPI JSON Spec](/docs/output/v1_stocks_earnings-calendar_get.json) Unified endpoint to retrieve earnings calendar data with optional filtering by symbol and/or date range. **Filtering Options:** - No parameters: first page across all symbols, newest first - `symbol` only: first page for that symbol, newest first - `start_time` and `end_time`: first page within the range, all symbols - `symbol` + `start_time` + `end_time`: first page for that symbol within the range Every shape returns one page, never the whole table — see paging below. **Ordering and paging:** records come back newest-first by `date` in every call shape; pass `sort_order=asc` for oldest-first. Page with `limit` (default and maximum 1000) and `offset` — a response holding exactly `limit` records means there may be more, so request the next offset. The `pagination` block echoes the limit/offset in effect. **Update polling:** pass both `updated_after` and `updated_before` (Unix seconds) to get the rows whose data changed in that half-open interval, ordered by `updated_at` then `id`. `symbol`, `start_time` and `end_time` stay optional filters intersecting the window, and `sort_order` is ignored — the order is what the cursor is built on. Page by passing `pagination.cursor` back unchanged with the same bounds and filters; `limit` may change on retry. An omitted cursor with `has_more: false` means the window is drained. Start each new window without the old cursor. `offset` is not allowed, `offset=0` included. This is current-state polling, not a snapshot or a deletion feed: overlap your windows, and dedupe by `id` on content rather than on the key alone. Recognized US reports with a known fiscal period retain their earliest existing canonical `id` across accepted session and announcement-date changes. Both browse and polling return canonical rows only; retained sibling IDs are internal aliases. Fiscal drift is matched conservatively, while ambiguous, missing-period and foreign reports remain separate. Historical downstream duplicates need an explicit alias-based rekey: this API returns no alias mapping or rekey/deletion events. IDs hard-deleted by the earlier implementation require stored source or downstream evidence to reconcile. Full contract: docs/api/earnings-calendar-updates.md. **Response Data Structure** - `data` ([]EarningsCalendarEvent): Flat array of earnings calendar records **EarningsCalendarEvent fields:** - `id` (int64): Retained canonical Arrays identifier for a recognized report - `symbol` (string): Stock symbol (e.g., "AAPL", "MSFT") - `date` (string): Earnings date in YYYY-MM-DD format - `time` (string): Earnings call time (e.g., "AMC", "BMO") - `fiscal_date_ending` (string): Fiscal period end date # Get Earnings Transcript Data Source: https://docs.arrays.org/api-reference/stock/get-earnings-transcript-data /api-reference/openapi.json get /v1/stocks/earnings-transcript US share-class symbols accept both `BRK.B` and `BRK-B`. When `symbol` is provided, matching scalar `symbol` fields in the response echo the request spelling. [OpenAPI JSON Spec](/docs/output/v1_stocks_earnings-transcript_get.json) Retrieve earnings call transcript data for a specific stock symbol, fiscal year, and period type. **Overview** This endpoint provides the full transcript of earnings conference calls, including management discussions and Q&A sessions with analysts. **Request Parameters** - `symbol` (required): Stock symbol (e.g., "AAPL", "MSFT") - `period_type` (required): Period type, must be one of: "annual" or "quarterly" - `fiscal_year` (required): Issuer-reported fiscal year (minimum: 2005, e.g., 2024). This is the fiscal year as the company reports it (matching FMP and the company's IR), e.g. Nike's fiscal year ends in May, so its earnings call held in March 2026 is FY2026 Q3. - `fiscal_quarter` (optional): Fiscal quarter, required when period_type is "quarterly". Valid values: "Q1", "Q2", "Q3", "Q4" **Validation Rules** - When `period_type` is "quarterly", `fiscal_quarter` is required - When `period_type` is "annual", `fiscal_quarter` is optional **Response Data Structure** - `data` ([]EarningsTranscriptData): Array of earnings transcript data **EarningsTranscriptData fields:** - `symbol` (string): Stock symbol (e.g., "AAPL", "MSFT") - `quarter` (string): Fiscal period identifier (e.g., "2024Q1" for quarterly, "2024" for annual) - `published_at` (string): Transcript publication moment as an RFC3339 UTC timestamp (e.g. "2024-10-31T20:54:36Z"); includes time-of-day. Empty string if unknown - `date` (string): Earnings-call date in YYYY-MM-DD format (UTC). Empty string if unknown - `transcript` ([]SectionEntry): Array of transcript sections, each containing: - `section` (string): Section name (e.g., "MANAGEMENT DISCUSSION SECTION") - `content` ([]TranscriptEntry): Array of transcript entries, each containing: - `speaker` (string): Speaker name (e.g., "Arvind Krishna"); `""` when the speaker is unidentified (older transcripts carry FactSet's placeholder "Unverified Participant"). Two unidentified people both have `""`, so group turns by `participant_id`, not by `speaker` - `title` (string): Speaker title/role (e.g., "CEO", "Analyst") - `content` (string): Transcript content/speech text - `participant_id` (string): the speaker's identity within the transcript (an entry in `participants`); absent when the participant list does not name the speaker # Get equity offering events Source: https://docs.arrays.org/api-reference/stock/get-equity-offering-events /api-reference/openapi.json get /v1/stocks/equity-offering [OpenAPI JSON Spec](/docs/output/v1_stocks_equity-offering_get.json) Return the latest equity offerings, including new shares being issued by companies and exempt offerings and amendments. Served from the local Postgres table populated by the daily ingestion cron. # Get Financial Metrics Screener Source: https://docs.arrays.org/api-reference/stock/get-financial-metrics-screener /api-reference/openapi.json get /v1/stocks/screener/financial-metrics [OpenAPI JSON Spec](/docs/output/v1_stocks_screener_financial-metrics_get.json) Retrieve stocks filtered by financial metrics at a specific snapshot time. Returns stocks matching the specified metric type and value ranges. Includes companies with a market cap exceeding $5B at the time of the data snapshot. Please note that current market caps may fluctuate below this threshold due to recent price changes. **Overview:** This endpoint filters stocks based on financial metrics from the `stock_financial_metrics` table. The snapshot parameter is a Unix timestamp (seconds) that will be used directly for querying data. **Financial Metrics from stock_financial_metrics table (27 metrics):** **PIT (Point-in-Time) Balance Sheet Ratios (5 metrics):** - `CURRENT_RATIO_MRQ`: Current Ratio (Most Recent Quarter) - Current assets divided by current liabilities - `DEBT_TO_ASSETS_MRQ`: Debt-to-Assets Ratio (MRQ) - Total debt divided by total assets - `DEBT_TO_EQUITY_MRQ`: Debt-to-Equity Ratio (MRQ) - Total debt divided by total equity - `NET_WORKING_CAPITAL_MRQ`: Net Working Capital (MRQ) - Current assets minus current liabilities - `QUICK_RATIO_MRQ`: Quick Ratio (MRQ) - (Current assets - Inventory) divided by current liabilities **TTM (Trailing Twelve Months) Base Metrics (3 metrics):** - `REVENUE_TTM`: Revenue TTM - Total revenue over trailing twelve months - `NET_INCOME_TTM`: Net Income TTM - Net income over trailing twelve months - `EPS_TTM`: Earnings Per Share TTM - Earnings per share over trailing twelve months **TTM Profitability Ratios (3 metrics):** - `ROA_TTM`: Return on Assets TTM - Net income divided by average total assets - `ROE_TTM`: Return on Equity TTM - Net income divided by average shareholder equity - `ROIC_TTM`: Return on Invested Capital TTM - Net operating profit after tax divided by invested capital **MRQ Margin Ratios (4 metrics):** - `GROSS_MARGIN_MRQ`: Gross Margin (MRQ) - (Revenue - Cost of Goods Sold) / Revenue - `OPERATING_MARGIN_MRQ`: Operating Margin (MRQ) - Operating income / Revenue - `NET_MARGIN_MRQ`: Net Margin (MRQ) - Net income / Revenue - `FCF_MARGIN_MRQ`: Free Cash Flow Margin (MRQ) - Free cash flow / Revenue **Revenue Growth Metrics (4 metrics):** - `REVENUE_GROWTH_QOQ`: Revenue Growth Quarter-over-Quarter - `REVENUE_GROWTH_YOY_QUARTERLY`: Revenue Growth Year-over-Year (Quarterly) - `REVENUE_GROWTH_YOY_TTM`: Revenue Growth Year-over-Year (TTM) - `REVENUE_GROWTH_YOY_ANNUAL`: Revenue Growth Year-over-Year (Annual) **EPS Growth Metrics (4 metrics):** - `EPS_GROWTH_QOQ`: EPS Growth Quarter-over-Quarter - `EPS_GROWTH_YOY_QUARTERLY`: EPS Growth Year-over-Year (Quarterly) - `EPS_GROWTH_YOY_TTM`: EPS Growth Year-over-Year (TTM) - `EPS_GROWTH_YOY_ANNUAL`: EPS Growth Year-over-Year (Annual) **FCF Growth Metrics (4 metrics):** - `FCF_GROWTH_QOQ`: Free Cash Flow Growth Quarter-over-Quarter - `FCF_GROWTH_YOY_QUARTERLY`: FCF Growth Year-over-Year (Quarterly) - `FCF_GROWTH_YOY_TTM`: FCF Growth Year-over-Year (TTM) - `FCF_GROWTH_YOY_ANNUAL`: FCF Growth Year-over-Year (Annual) **Price-Related Metrics (7 metrics):** - `MARKET_CAP`: Market Capitalization - Total market value of a company's outstanding shares - `PE_RATIO`: Price-to-Earnings Ratio - Market price per share divided by earnings per share - `PS_RATIO`: Price-to-Sales Ratio - Market capitalization divided by revenue - `PB_RATIO`: Price-to-Book Ratio - Market price per share divided by book value per share - `DIVIDEND_YIELD`: Dividend Yield - Annual dividend per share divided by market price per share - `ENTERPRISE_VALUE`: Enterprise Value - Market capitalization + Total debt - Cash and cash equivalents - `EV_EBITDA_RATIO`: EV/EBITDA Ratio - Enterprise value divided by EBITDA **Filtering:** - Use `range_min` to filter for stocks where the metric value is greater than or equal to the minimum - Use `range_max` to filter for stocks where the metric value is less than or equal to the maximum - Both filters can be used together to create a range - If neither filter is provided, all stocks matching the metric type will be returned **Response Format:** Returns an array of stocks with their symbol, snapshot time (Unix timestamp seconds, UTC), metric type, and metric value. **ETF behavior**: financial-metrics returns NO ETFs. The 7 valuation metrics (MARKET_CAP, PE_RATIO, PS_RATIO, PB_RATIO, DIVIDEND_YIELD, ENTERPRISE_VALUE, EV_EBITDA_RATIO) are skipped for ETFs — they require shares-outstanding / SEC fundamentals an ETF does not have (ETF MARKET_CAP via AUM is a follow-up). The 28 fundamental metrics (REVENUE_TTM, ROE_TTM, etc.) likewise return no ETFs. Query ETFs via the technical-metrics endpoint. # Get Financial Metrics Screener Time Range Source: https://docs.arrays.org/api-reference/stock/get-financial-metrics-screener-time-range /api-reference/openapi.json get /v1/stocks/screener/financial-metrics/timerange [OpenAPI JSON Spec](/docs/output/v1_stocks_screener_financial-metrics_timerange_get.json) Retrieve stocks filtered by financial metrics over a time range. Returns stocks matching the specified metric type and value range, grouped by date. **Overview:** This endpoint filters stocks based on financial metrics from the `stock_financial_metrics` table over a specified time range. Results are grouped by date (YYYY-MM-DD format). **Financial Metrics:** Same as the snapshot endpoint - supports all financial metric types (CURRENT_RATIO_MRQ, PE_RATIO, MARKET_CAP, etc.) **Data Limitation:** - The underlying data table for financial metrics has a limit of 1000 records per day - This means each date in the response can contain at most 1000 stock records **Filtering:** - Use `range_min` to filter for stocks where the metric value is greater than or equal to the minimum - Use `range_max` to filter for stocks where the metric value is less than or equal to the maximum - Both filters can be used together to create a range - If neither filter is provided, all stocks matching the metric type will be returned (up to 1000 per day) **Limit Parameter:** - Use `limit` to further limit the maximum number of results returned per day (optional, defaults to no limit) - This is useful for pagination or when you only need the top N results per day **Response Format:** Returns an array of date-grouped data items. Each item contains a date (YYYY-MM-DD format) and an array of stocks with their symbol, snapshot time (Unix timestamp seconds, UTC), metric type, and metric value for that date. **ETF behavior**: financial-metrics returns NO ETFs. The 7 valuation metrics (MARKET_CAP, PE_RATIO, PS_RATIO, PB_RATIO, DIVIDEND_YIELD, ENTERPRISE_VALUE, EV_EBITDA_RATIO) are skipped for ETFs — they require shares-outstanding / SEC fundamentals an ETF does not have (ETF MARKET_CAP via AUM is a follow-up). The 28 fundamental metrics (REVENUE_TTM, ROE_TTM, etc.) likewise return no ETFs. Query ETFs via the technical-metrics endpoint. # Get Financial Metrics Time Series Data Source: https://docs.arrays.org/api-reference/stock/get-financial-metrics-time-series-data /api-reference/openapi.json get /v1/stocks/financial-metrics US share-class symbols accept both `BRK.B` and `BRK-B`. When `symbol` is provided, matching scalar `symbol` fields in the response echo the request spelling. [OpenAPI JSON Spec](/docs/output/v1_stocks_financial-metrics_get.json) Retrieve time series data for 27 different types of financial metrics for stocks **Overview** This endpoint provides time series data for 27 financial metrics, including TTM metrics, MRQ ratios, and various growth rates. These metrics are essential for financial analysis, valuation, and investment decision-making. **Key Use Cases** - **Financial Analysis**: Evaluate company profitability, efficiency, and solvency - **Investment Screening**: Filter stocks based on fundamental metrics - **Trend Analysis**: Track how financial metrics evolve over time - **Comparative Analysis**: Compare metrics across different companies **Metric Types** **TTM Base Metrics (3 metrics)** TTM = Trailing Twelve Months (sum of current quarter + previous 3 quarters) - REVENUE_TTM: Total revenue over the trailing twelve months (pre-calculated sum of 4 quarters) - NET_INCOME_TTM: Net income over the trailing twelve months (pre-calculated sum of 4 quarters) - EPS_TTM: Earnings per share over the trailing twelve months (pre-calculated sum of 4 quarters) **TTM Profitability Ratios (3 metrics)** - ROE_TTM: Return on equity over the trailing twelve months (uses MRQ point-in-time equity) - ROA_TTM: Return on assets over the trailing twelve months (uses MRQ point-in-time assets) - ROIC_TTM: Return on invested capital over the trailing twelve months (uses MRQ point-in-time invested capital components) **MRQ Margin Ratios (3 metrics)** MRQ = Most Recent Quarter - GROSS_MARGIN_MRQ: Gross profit margin for the most recent quarter - OPERATING_MARGIN_MRQ: Operating profit margin for the most recent quarter - NET_MARGIN_MRQ: Net profit margin for the most recent quarter **MRQ Other Ratios (1 metric)** - FCF_MARGIN_MRQ: Free cash flow margin for the most recent quarter **MRQ Balance Sheet Ratios (5 metrics)** All values use Most Recent Quarter (MRQ) balance sheet data - DEBT_TO_EQUITY_MRQ: Most recent quarter debt-to-equity ratio - DEBT_TO_ASSETS_MRQ: Most recent quarter debt-to-assets ratio - CURRENT_RATIO_MRQ: Most recent quarter current ratio - QUICK_RATIO_MRQ: Most recent quarter quick ratio (acid-test ratio) - NET_WORKING_CAPITAL_MRQ: Net working capital at the most recent quarter (an absolute value, not a ratio) **Revenue Growth Metrics (4 metrics)** - REVENUE_GROWTH_QOQ: Quarter-over-quarter revenue growth rate - REVENUE_GROWTH_YOY_QUARTERLY: Year-over-year quarterly revenue growth rate - REVENUE_GROWTH_YOY_TTM: Year-over-year trailing twelve months revenue growth rate - REVENUE_GROWTH_YOY_ANNUAL: Year-over-year annual revenue growth rate **EPS Growth Metrics (4 metrics)** - EPS_GROWTH_QOQ: Quarter-over-quarter earnings per share growth rate - EPS_GROWTH_YOY_QUARTERLY: Year-over-year quarterly earnings per share growth rate - EPS_GROWTH_YOY_TTM: Year-over-year trailing twelve months earnings per share growth rate - EPS_GROWTH_YOY_ANNUAL: Year-over-year annual earnings per share growth rate **FCF Growth Metrics (4 metrics)** - FCF_GROWTH_QOQ: Quarter-over-quarter free cash flow growth rate - FCF_GROWTH_YOY_QUARTERLY: Year-over-year quarterly free cash flow growth rate - FCF_GROWTH_YOY_TTM: Year-over-year trailing twelve months free cash flow growth rate - FCF_GROWTH_YOY_ANNUAL: Year-over-year annual free cash flow growth rate **Response Data Structure** Data is grouped by time (timestamp) and sorted in descending order by time. Each time group contains: - **time**: Observation timestamp (Unix timestamp in seconds, UTC) - **items**: Array of symbol-value pairs for this time, each containing: - **symbol**: Stock ticker symbol (e.g., "AAPL") - **value**: Metric value (double precision, may be negative or decimal) **Usage Examples** 1. **Get AAPL's TTM revenue data**: `?metric=REVENUE_TTM&symbol=AAPL&start_time=1672531200&end_time=1704067200` 2. **Get ROE data for all stocks**: `?metric=ROE_TTM&start_time=1672531200&end_time=1704067200` 3. **Get TSLA's revenue growth rate**: `?metric=REVENUE_GROWTH_YOY_TTM&symbol=TSLA&start_time=1672531200&end_time=1704067200` **Important Notes** - Required parameters: metric, start_time, end_time - Optional parameter: symbol (if omitted, returns data for all stocks) - All timestamps are Unix timestamps in seconds (UTC) - Metric values are double precision floating-point numbers - Results are grouped by time and sorted in descending order by time (newest first) - TTM metrics: sum of current quarter + previous 3 quarters (pre-calculated) - MRQ metrics: most recent quarterly or period-end values - Ratio metrics: expressed as decimals (e.g., 0.25 means 25% or ratio of 0.25:1) - Growth rates: expressed as decimals (NOT percentages). Example: 0.155 means 15.5% growth; -0.102 means 10.2% decline - ROE/ROA denominators use MRQ point-in-time values (not period averages) - Absolute values: NET_WORKING_CAPITAL_MRQ returns actual dollar amount, not a ratio # Get FINRA Short Interest Source: https://docs.arrays.org/api-reference/stock/get-finra-short-interest /api-reference/openapi.json get /v1/stocks/short-interest US share-class symbols accept both `BRK.B` and `BRK-B`. When `symbol` is provided, matching scalar `symbol` fields in the response echo the request spelling. [OpenAPI JSON Spec](/docs/output/v1_stocks_short-interest_get.json) Bi-monthly FINRA consolidated short interest for a US equity: short interest (shares), change vs prior period, days-to-cover, average daily volume, and SI% of float/outstanding. Reported by settlement date and lags ~8 trading days (not real time). start_time/end_time (unix seconds) are optional but must be sent together; omit both for the latest period. time_type selects which timestamp the range filters: SETTLEMENT_DATE (default, calendar-day) or UPDATED_AT (our upsert time, second precision). # Get Fiscal Dates by Date Range Source: https://docs.arrays.org/api-reference/stock/get-fiscal-dates-by-date-range /api-reference/openapi.json get /v1/stocks/fiscal-dates/range US share-class symbols accept both `BRK.B` and `BRK-B`. When `symbol` is provided, matching scalar `symbol` fields in the response echo the request spelling. [OpenAPI JSON Spec](/docs/output/v1_stocks_fiscal-dates_range_get.json) Retrieve fiscal date information for a specific stock by calendar end date range **Feature Overview** Get fiscal dates within a specified calendar end date range for stocks. **Response Data Structure** Each fiscal date record includes: - **symbol**: Stock symbol (e.g., "AAPL") - **fiscalYear**: Fiscal year (e.g., 2024) - **fiscalQuarter**: Fiscal quarter (Q1/Q2/Q3/Q4/FY) - **calendarEnd**: End date of the fiscal quarter or year covered by the earnings report (YYYY-MM-DD format) - **publicDate**: Date when the earnings report was publicly released (YYYY-MM-DD format, empty string if not available) A symbol with no fiscal coverage returns `200` with an empty `data` array, not an error. A symbol outside the active US stock and ETF universe is rejected with `400`. # Get Fiscal Dates by Fiscal Year Source: https://docs.arrays.org/api-reference/stock/get-fiscal-dates-by-fiscal-year /api-reference/openapi.json get /v1/stocks/fiscal-dates US share-class symbols accept both `BRK.B` and `BRK-B`. When `symbol` is provided, matching scalar `symbol` fields in the response echo the request spelling. [OpenAPI JSON Spec](/docs/output/v1_stocks_fiscal-dates_get.json) Retrieve fiscal date information for a specific stock by fiscal year and quarter **Feature Overview** Get fiscal dates including calendar end dates and public dates for stocks based on fiscal year and quarter. **Main Use Cases** - **Financial Analysis**: Understand fiscal calendar for earnings analysis - **Earnings Tracking**: Track fiscal quarters and their corresponding calendar dates - **Investment Planning**: Plan investments around fiscal reporting periods - **Data Alignment**: Align financial data with correct fiscal periods **Response Data Structure** Each fiscal date record includes: - **symbol**: Stock symbol (e.g., "AAPL") - **fiscalYear**: Fiscal year (e.g., 2024) - **fiscalQuarter**: Fiscal quarter (Q1/Q2/Q3/Q4/FY) - **calendarEnd**: End date of the fiscal quarter or year covered by the earnings report (YYYY-MM-DD format) - **publicDate**: Date when the earnings report was publicly released (YYYY-MM-DD format, empty string if not available) A symbol with no fiscal coverage returns `200` with an empty `data` array, not an error. A symbol outside the active US stock and ETF universe is rejected with `400`. # Get Insider Transactions Source: https://docs.arrays.org/api-reference/stock/get-insider-transactions /api-reference/openapi.json get /v1/stocks/insider/transactions US share-class symbols accept both `BRK.B` and `BRK-B`. When `symbol` is provided, matching scalar `symbol` fields in the response echo the request spelling. **Feature Overview** [OpenAPI JSON Spec](/docs/output/v1_stocks_insider_transactions_get.json) Retrieve insider transaction data. Provides comprehensive insider trading information including officer/director status, SEC filings, transaction codes, and ownership changes. # Get Market Metrics Time Series Data Source: https://docs.arrays.org/api-reference/stock/get-market-metrics-time-series-data /api-reference/openapi.json get /v1/stocks/market-metrics US share-class symbols accept both `BRK.B` and `BRK-B`. When `symbol` is provided, matching scalar `symbol` fields in the response echo the request spelling. [OpenAPI JSON Spec](/docs/output/v1_stocks_market-metrics_get.json) Retrieve time series data for various market indicators, including technical and fundamental metrics. **Overview** This endpoint provides market indicators for stocks across different time intervals (1d, 1w, 1m). Indicators include technical analysis tools (MA, EMA, RSI, etc.) and market fundamentals (Market Cap, P/E, etc.). **Indicator Formats** Indicators requiring a period are formatted as `{INDICATOR}_{PERIOD}`. - **PRICE_CHANGE**: `PRICE_CHANGE_1d`, `PRICE_CHANGE_1w`, `PRICE_CHANGE_1M`, `PRICE_CHANGE_3M`, `PRICE_CHANGE_6M`, `PRICE_CHANGE_ytd`, `PRICE_CHANGE_1y`, `PRICE_CHANGE_3y`, `PRICE_CHANGE_5y` - **MA**: `MA_5`, `MA_10`, `MA_20`, `MA_60`, `MA_120`, `MA_200` - **EMA**: `EMA_5`, `EMA_10`, `EMA_20`, `EMA_60`, `EMA_120`, `EMA_200` - **VOLATILITY**: `VOLATILITY_20`, `VOLATILITY_60`, `VOLATILITY_90` - **RSI**: `RSI_14` - **MACD single components**: `MACD_DIF`, `MACD_DEA`, `MACD_HIST` - **MACD legacy multi-component**: `MACD_12,26,9` (returns DIF, DEA, and HIST series) - **BOLLINGER single components**: `BOLLINGER_UPPER`, `BOLLINGER_MID`, `BOLLINGER_LOWER` - **BOLLINGER legacy multi-component**: `BOLLINGER_20,2` (returns UPPER, MID, and LOWER series) - **VWAP**: `VWAP_DAY` - **BETA**: `BETA` (default period is `SPX_252`; interval must be `1d`) - **AVERAGE_DAILY_DOLLAR_VOLUME**: `AVERAGE_DAILY_DOLLAR_VOLUME` (default period is `20`; interval must be `1d`) - **Fundamental indicators**: `MARKET_CAP` (market cap), `PE_RATIO` (P/E ratio), `PS_RATIO` (P/S ratio), `PB_RATIO` (P/B ratio), `DIVIDEND_YIELD` (dividend yield), `ENTERPRISE_VALUE` (EV), `EV_EBITDA_RATIO` (EV/EBITDA multiple) **Validation Rules** - **Required Parameters**: interval, indicator, start_time, end_time. - **Interval**: Must be one of `1d`, `1w`, `1m`. - **Time Range**: `start_time` must be less than `end_time`. - **All-symbols queries** (`symbol` omitted): the window may span at most 100 interval periods — 100 days for `1d`, 100 weeks for `1w`, 100 months for `1m`. A wider window returns 400 `INVALID_PARAMETER`; pass a `symbol`, or walk the range one window at a time. # Get Market News Source: https://docs.arrays.org/api-reference/stock/get-market-news /api-reference/openapi.json get /v1/stocks/market-news [OpenAPI JSON Spec](/docs/output/v1_stocks_market-news_get.json) Retrieve market news articles within a specified time range, optionally filtered by symbol. Supports pagination and flexible filtering. Use cases: - Market news aggregation and monitoring - Stock-specific news tracking - News analysis and sentiment tracking - Media applications and news feeds Data & semantics: - start_time: Start time (Unix seconds; required unless updated_after/updated_before are given) - end_time: End time (Unix seconds; required unless updated_after/updated_before are given) - symbol: Stock symbol filter (optional, e.g., AAPL, TSLA) - topic: Topic filter (optional, lowercase). Valid values: - blockchain, earnings, economy_fiscal, economy_macro, economy_monetary - energy_and_transportation, finance, financial_markets, ipo, life_sciences - manufacturing, mergers_and_acquisitions, real_estate_and_construction - retail_and_wholesale, technology - Deprecated aliases, still accepted; each resolves to a value above, and - responses always carry the canonical form: - energy_transportation, real_estate, retail_wholesale - source: Media source filter (optional). Valid values: - Reuters, AP News, BBC, The New York Times, The Washington Post, The Guardian - Bloomberg, The Wall Street Journal, Financial Times, CNBC, Fortune - Forbes, TechCrunch, MIT Technology Review, The Verge - WIRED, South China Morning Post, Nikkei Asia, Business Wire, PR Newswire - sort_by_type: Sort by type - PUBLISHED_TIME, OVERALL_SENTIMENT_SCORE, or RELEVANCE_SCORE (optional, default: PUBLISHED_TIME) - sort_by: Sort order - "ASC" or "DESC" (optional, default: "DESC") - limit: Maximum number of results (optional, default: 10, max: 100) - offset: Pagination offset (optional, default: 0, must be >= 0) Update polling (see /docs/api/market-news-updates.md and update-polling.md): supplying both updated_after and updated_before selects the articles whose content changed in [updated_after, updated_before), ordered by updated_at ASC, id ASC. In that mode start_time/end_time, symbol, topic and source become optional intersections, sort_by_type and sort_by are ignored, offset is not allowed, and paging is by pagination.cursor. Pass it back unchanged with the same window and filters; limit may change between pages. An omitted cursor with has_more=false means the window is drained. Each article in a window response carries updated_at, its content-change time. It advances for title, summary, source, publish_time or symbol/topic membership changes. Sentiment and relevance refreshes retain this time. Window bounds and cursors use the same content-change time. Historical times initialized during migration are baselines rather than a record of past content changes; see market-news-updates.md for the rollout sequence. # Get Mergers & Acquisitions Data Source: https://docs.arrays.org/api-reference/stock/get-mergers-&-acquisitions-data /api-reference/openapi.json get /v1/stocks/mergers-acquisitions [OpenAPI JSON Spec](/docs/output/v1_stocks_mergers-acquisitions_get.json) - Regulatory compliance monitoring **Pagination & Limits** - Default: 100 records per page - Maximum: 1000 records per request # Get News Source Links Source: https://docs.arrays.org/api-reference/stock/get-news-source-links /api-reference/openapi.json get /v1/stocks/news/source-links [OpenAPI JSON Spec](/docs/output/v1_stocks_news_source-links_get.json) Retrieve news and publicly accessible pages proving the reported event exists, without returning article bodies. Results are ordered by published_at DESC. source_type: provider means the publisher's own page; substitute means another free page reporting the same event; none means no acceptable page was found, or an unprocessed story is outside the recent 72-hour window; pending means not checked yet or a retry is scheduled, including recent stories awaiting enqueue. source_url, source_domain and source_title are empty for none and pending. source_published_at is omitted when unknown or no page is linked. Update polling returns only settled provider, substitute and none links within [updated_after, updated_before), ordered by (updated_at ASC, story_id ASC). Pending links are excluded. Each story normally enters the update stream once when its link is decided; changed link fields advance updated_at and make it appear again. Bookkeeping and joined news metadata do not advance it. start_time/end_time and symbol/industry are optional intersections in window mode. Replay pagination.cursor with the same window and filters; limit may change. Offset is rejected in window mode. Items carry RFC3339 UTC updated_at in window mode. has_more=false means the window is drained. This is current-state polling, not a snapshot or deletion feed; overlap windows and reconcile delayed writes. See docs/api/news-source-link-updates.md and docs/api/update-polling.md. # Get non-US stock company profile Source: https://docs.arrays.org/api-reference/stock/get-non-us-stock-company-profile /api-reference/openapi.json get /v1/stocks/non-us/company/detail [OpenAPI JSON Spec](/docs/output/v1_stocks_non-us_company_detail_get.json) # Get one event transcript's full text Source: https://docs.arrays.org/api-reference/stock/get-one-event-transcripts-full-text /api-reference/openapi.json get /v1/stocks/event-transcripts/{event_id} [OpenAPI JSON Spec](/docs/output/v1_stocks_event-transcripts_event-id_get.json) Retrieve the full transcript text for one event by event_id, across all 6 FactSet event types. Body sections/content use the same parser as GET /stocks/earnings-transcript, so the shape is identical field-for-field. **Multiple listed entities per event**: a small number of events (e.g. dual share classes, cross-listings, M&A calls) are associated with more than one symbol. This endpoint takes only `event_id` — there is no `symbol` disambiguation parameter — and returns exactly one row in that case, chosen by the highest row_version. The transcript text is identical across such rows; only the `symbol` field differs. Use the list endpoint (filtered by symbol) if you need to know every symbol an event is associated with. **Response Data Structure** - `data` ([]EventTranscript): always a single-element array (never a bare object) on success, containing `transcript`. - `version`: the served transcript's version, as in the list endpoint. Compare only; do not decode. `""` when unknown. - `speaker` / participant `name` is `""` for a speaker FactSet could not identify; `participant_id` is the speaker's identity, as in the list endpoint. - `fiscal_year` / `fiscal_quarter` are `null` (not omitted, not `""`) unless event_type is Earnings. - `fiscal_quarter` is Q-prefixed — `"Q3"`, not `"3"`. - `metadata.data_as_of`: this row's ingestion time (unix seconds). # Get one research report with all its unit summaries Source: https://docs.arrays.org/api-reference/stock/get-one-research-report-with-all-its-unit-summaries /api-reference/openapi.json get /v1/stocks/research/report [OpenAPI JSON Spec](/docs/output/v1_stocks_research_report_get.json) Detail view: the report header plus every section and exhibit summary, in order. This is the "read the whole document" endpoint (all content is LLM-generated summaries of the source PDF — open `file_url` for original text). Unknown doc_id → 400 NOT_FOUND. # Get Outstanding Shares Data Source: https://docs.arrays.org/api-reference/stock/get-outstanding-shares-data /api-reference/openapi.json get /v1/stocks/outstanding-shares US share-class symbols accept both `BRK.B` and `BRK-B`. When `symbol` is provided, matching scalar `symbol` fields in the response echo the request spelling. [OpenAPI JSON Spec](/docs/output/v1_stocks_outstanding-shares_get.json) Retrieve outstanding shares records for a given stock symbol. # Get PIT Dividends Source: https://docs.arrays.org/api-reference/stock/get-pit-dividends /api-reference/openapi.json get /v1/stocks/dividends US share-class symbols accept both `BRK.B` and `BRK-B`. When `symbol` is provided, matching scalar `symbol` fields in the response echo the request spelling. [OpenAPI JSON Spec](/docs/output/v1_stocks_dividends_get.json) **Feature Overview** Get Point-in-Time (PIT) dividend data for a specific symbol within a time range. **Main Use Cases** - **Dividend Analysis**: Track historical dividend payments and distributions - **Income Planning**: Analyze dividend frequency and yield trends - **Investment Research**: Study dividend history for income-focused portfolios - **Backtesting**: Historical dividend data for quantitative analysis - **Tax Planning**: Review dividend payment dates and amounts **Query Parameters & Logic** **Required Parameters:** - `symbol`: Stock symbol (e.g., AAPL, MSFT, KO) - `start_time`: Start timestamp (Unix seconds, UTC) - `end_time`: End timestamp (Unix seconds, UTC) - `time_type`: Date type to filter by (RECORD_DATE, PAYMENT_DATE, or DECLARATION_DATE) **Optional Parameters:** - `limit`: Maximum number of results (1-1000, default: 50) **Validation Rules:** - Symbol is required and must be a valid stock symbol - start_time must be before end_time - time_type must be one of: RECORD_DATE, PAYMENT_DATE, DECLARATION_DATE - Limit defaults to 50 if not provided, max 1000 **Response Data Structure** - `data` ([]PITDividendData): Array of PIT dividend data points **PITDividendData fields:** - `symbol` (string): Stock symbol - `date` (string): Ex-dividend date (YYYY-MM-DD) - `record_date` (string): Record date (YYYY-MM-DD) - `payment_date` (string): Payment date (YYYY-MM-DD) - `declaration_date` (string): Declaration date (YYYY-MM-DD) - `adj_dividend` (float64): Adjusted dividend amount - `dividend` (float64): Dividend amount - `yield` (float64): Dividend yield percentage - `frequency` (string): Dividend frequency (e.g., "Quarterly", "Monthly") **Dividend Date Explanation:** - **Declaration Date**: Date when board announces dividend (use time_type=DECLARATION_DATE) - **Ex-Dividend Date**: Date when stock trades without dividend - **Record Date**: Date to be on record to receive dividend (use time_type=RECORD_DATE) - **Payment Date**: Date when dividend is actually paid (use time_type=PAYMENT_DATE) **Usage Examples** 1. **Get AAPL dividends by payment date for 2024**: `?symbol=AAPL&start_time=1704067200&end_time=1735689600&time_type=PAYMENT_DATE` 2. **Get by record date with custom limit**: `?symbol=KO&start_time=1704067200&end_time=1735689600&time_type=RECORD_DATE&limit=100` 3. **Get by declaration date**: `?symbol=MSFT&start_time=1640995200&end_time=1735689600&time_type=DECLARATION_DATE&limit=1000` **Important Notes** - All required parameters must be provided - Results are ordered by the specified time_type date (typically descending) - PIT dividends provide point-in-time snapshots as they were known historically - Choose time_type based on your use case: RECORD_DATE for eligibility, PAYMENT_DATE for cash flow, DECLARATION_DATE for announcements # Get PIT Stock Ratings Source: https://docs.arrays.org/api-reference/stock/get-pit-stock-ratings /api-reference/openapi.json get /v1/stocks/ratings US share-class symbols accept both `BRK.B` and `BRK-B`. When `symbol` is provided, matching scalar `symbol` fields in the response echo the request spelling. [OpenAPI JSON Spec](/docs/output/v1_stocks_ratings_get.json) **Feature Overview** Get Point-in-Time (PIT) stock ratings data for a specific symbol within a time range. **Main Use Cases** - **Investment Analysis**: Analyze historical stock ratings and scores over time - **Performance Tracking**: Track rating changes and score trends - **Risk Assessment**: Evaluate financial health metrics and ratios - **Portfolio Management**: Make informed decisions based on comprehensive ratings - **Research & Backtesting**: Historical rating data for quantitative analysis **Query Parameters & Logic** **Required Parameters:** - `symbol`: Stock symbol (e.g., AAPL, TSLA) - `start_time`: Start timestamp (Unix seconds, UTC) - `end_time`: End timestamp (Unix seconds, UTC) **Optional Parameters:** - `limit`: Maximum number of results (1-1000, default: 50) **Validation Rules:** - Symbol is required and must be a valid stock symbol - start_time must be before end_time - Limit defaults to 50 if not provided, max 1000 **Response Data Structure** - `data` ([]PITStockRatingData): Array of PIT stock rating data points **PITStockRatingData fields:** - `symbol` (string): Stock symbol - `date` (string): Rating date (YYYY-MM-DD format) - `rating` (string): Overall rating (e.g., "A+", "B", "C") - `overall_score` (int32): Overall composite score - `discounted_cash_flow_score` (int32): DCF model score - `return_on_equity_score` (int32): ROE score - `return_on_assets_score` (int32): ROA score - `debt_to_equity_score` (int32): Debt-to-Equity ratio score - `price_to_earnings_score` (int32): P/E ratio score - `price_to_book_score` (int32): P/B ratio score - `publish_time` (int64): Data publish timestamp (Unix seconds, UTC) **Rating Interpretation:** - Higher overall score indicates better financial health and performance - Individual metric scores range typically from 0-100 - Rating letters typically: A+, A, A-, B+, B, B-, C+, C, C-, D, F **Usage Examples** 1. **Get AAPL ratings for last 30 days**: `?symbol=AAPL&start_time=1730678400&end_time=1733356800` 2. **With custom limit**: `?symbol=TSLA&start_time=1730678400&end_time=1733356800&limit=100` 3. **Get maximum data points**: `?symbol=MSFT&start_time=1704067200&end_time=1733356800&limit=1000` **Important Notes** - All required parameters must be provided - Results are ordered by date - PIT ratings provide point-in-time snapshots of stock performance - All score fields are always present (not optional) # Get PIT Stock Splits Source: https://docs.arrays.org/api-reference/stock/get-pit-stock-splits /api-reference/openapi.json get /v1/stocks/splits US share-class symbols accept both `BRK.B` and `BRK-B`. When `symbol` is provided, matching scalar `symbol` fields in the response echo the request spelling. [OpenAPI JSON Spec](/docs/output/v1_stocks_splits_get.json) **Feature Overview** Get Point-in-Time (PIT) stock split data for a specific symbol within a time range. **Main Use Cases** - **Corporate Action Analysis**: Track historical stock split events - **Price Adjustment**: Use split data for historical price adjustments - **Investment Research**: Study split patterns and their market impact - **Backtesting**: Historical split data for quantitative analysis - **Portfolio Management**: Track corporate actions affecting holdings **Query Parameters & Logic** **Required Parameters:** - `symbol`: Stock symbol (e.g., AAPL, TSLA, NVDA) - `start_time`: Start timestamp (Unix seconds, UTC) - `end_time`: End timestamp (Unix seconds, UTC) **Optional Parameters:** - `limit`: Maximum number of results (1-1000, default: 50) **Validation Rules:** - Symbol is required and must be a valid stock symbol - start_time must be before end_time - Limit defaults to 50 if not provided, max 1000 **Response Data Structure** - `data` ([]PITStockSplitData): Array of PIT stock split data points **PITStockSplitData fields:** - `symbol` (string): Stock symbol - `date` (string): Split date (YYYY-MM-DD) - `numerator` (float64): Split numerator (e.g., 2.0 for 2-for-1 split) - `denominator` (float64): Split denominator (e.g., 1.0 for 2-for-1 split) - `observed_at` (int64): Ingestion timestamp (when this split row was first recorded), Unix seconds, UTC **Stock Split Explanation:** - **2-for-1 Split**: numerator=2, denominator=1 (shareholders receive 2 shares for each 1 held) - **3-for-2 Split**: numerator=3, denominator=2 (shareholders receive 3 shares for each 2 held) - **Reverse Split (1-for-5)**: numerator=1, denominator=5 (consolidation, 5 shares become 1) - **Split Ratio**: numerator/denominator (e.g., 2.0 means stock doubles in quantity, halves in price) **Usage Examples** 1. **Get AAPL splits for 2024**: `?symbol=AAPL&start_time=1704067200&end_time=1735689600` 2. **With custom limit**: `?symbol=TSLA&start_time=1704067200&end_time=1735689600&limit=100` 3. **Get maximum data points**: `?symbol=NVDA&start_time=1640995200&end_time=1735689600&limit=1000` **Important Notes** - All required parameters must be provided - Results are ordered by date (typically descending) - PIT splits provide point-in-time snapshots as they were known historically - Split date is the effective date of the split - Use split ratio for historical price adjustments: adjusted_price = price * (denominator / numerator) # Get planned IPO calendar events Source: https://docs.arrays.org/api-reference/stock/get-planned-ipo-calendar-events /api-reference/openapi.json get /v1/stocks/ipo-calendar [OpenAPI JSON Spec](/docs/output/v1_stocks_ipo-calendar_get.json) Get upcoming IPO schedules with company details, expected pricing, and market information. **Use Cases** - Track upcoming IPO events for investment opportunities - Monitor IPO pipeline for specific exchanges - Get expected pricing ranges and market cap estimates **Response Fields** - symbol: Company ticker symbol - date: Expected IPO date (YYYY-MM-DD) - company: Company name - exchange: Listing exchange (e.g., NASDAQ, NYSE) - priceRange: Expected price range (e.g., "$14-$16") - marketCap: Estimated market capitalization # Get Price Target News Source: https://docs.arrays.org/api-reference/stock/get-price-target-news /api-reference/openapi.json get /v1/stocks/company/price-target-news US share-class symbols accept both `BRK.B` and `BRK-B`. When `symbol` is provided, matching scalar `symbol` fields in the response echo the request spelling. [OpenAPI JSON Spec](/docs/output/v1_stocks_company_price-target-news_get.json) Retrieve price target news within a time range, ordered by published date **Feature Overview** Get analyst price target news articles published within a specified time range. Returns news articles with analyst information, price targets, and publication details. **Main Use Cases** - **Market Analysis**: Track analyst price target updates and recommendations - **News Aggregation**: Collect price target news from various publishers - **Research Tools**: Analyze analyst sentiment and price target trends - **Media Applications**: Display price target news in financial applications **Parameters** - **symbol**: Stock symbol (optional, e.g., META, AAPL) - **start_time**: Start time (Unix timestamp in seconds; required unless `updated_after` is given) - **end_time**: End time (Unix timestamp in seconds; required unless `updated_after` is given) - **limit**: Maximum number of results (optional, default: 50) - **updated_after** / **updated_before**: record-update window (Unix seconds) - **cursor**: update-window continuation **Response Data Structure** Each news record includes: - **id**: Arrays row id, stable for updates to the same stored row. Changes to symbol, published_at, news_url, analyst_name or price_target create a separate row and id. - **updated_at**: RFC3339 UTC time Arrays last stored a changed value - **symbol**: Stock symbol (e.g., "AEO", "META") - **observedAt**: Observed timestamp (Unix seconds, optional) - **newsUrl**: Full URL to the news article - **newsTitle**: Title of the news article - **analystName**: Name of the analyst (optional) - **analystCompany**: Company of the analyst (e.g., "BMO Capital", "Raymond James") - **priceTarget**: Price target value - **adjPriceTarget**: Adjusted price target value - **priceWhenPosted**: Stock price when the news was posted - **newsPublisher**: Publisher name (e.g., "StreetInsider", "TheFly") - **newsBaseUrl**: Base URL of the publisher **Usage Examples** 1. **Get price target news for 2024**: `?start_time=1704067200&end_time=1735689600&limit=20` 2. **Get price target news for specific symbol**: `?symbol=META&start_time=1704067200&end_time=1735689600&limit=50` **Important Notes** - Time parameters are Unix timestamps in seconds - end_time must be greater than start_time - Results are ordered by published date (newest first) - Limit defaults to 50 if not specified - `observed_at` is the FMP publish date of the article, not the time Arrays stored it. Poll on `updated_at` instead. **Update polling** (docs/api/update-polling.md) Supplying both `updated_after` and `updated_before` selects rows whose Arrays record changed within [updated_after, updated_before), ordered by `updated_at ASC, id ASC`. Times are Unix seconds. In this mode `start_time` and `end_time` are not required and stay optional intersections on the published date; omit them to see a revision FMP published years ago. Each item carries the stable Arrays row `id` and an RFC3339 `updated_at`. `updated_at` advances only when FMP revises a value, not on the daily re-fetch. Send `pagination.cursor` back unchanged with the same window and filters; `limit` may change on retry. An omitted cursor with `has_more=false` means the window is drained. Start each new window without the old cursor. This is current-state polling, not a snapshot or a deletion feed: overlap windows and reconcile delayed writes. # Get SEC Earnings Release publication date Source: https://docs.arrays.org/api-reference/stock/get-sec-earnings-release-publication-date /api-reference/openapi.json get /v1/stocks/sec-earnings-release US share-class symbols accept both `BRK.B` and `BRK-B`. When `symbol` is provided, matching scalar `symbol` fields in the response echo the request spelling. [OpenAPI JSON Spec](/docs/output/v1_stocks_sec-earnings-release_get.json) Retrieve SEC earnings release publication date by symbol and fiscal period # Get Shares Float Data Source: https://docs.arrays.org/api-reference/stock/get-shares-float-data /api-reference/openapi.json get /v1/stocks/shares-float US share-class symbols accept both `BRK.B` and `BRK-B`. When `symbol` is provided, matching scalar `symbol` fields in the response echo the request spelling. **Feature Overview** [OpenAPI JSON Spec](/docs/output/v1_stocks_shares-float_get.json) Retrieve shares float information for a specified stock symbol. This endpoint provides detailed data about free float, outstanding shares, and float shares for equity analysis. **Main Use Cases** - **Equity Analysis**: Analyze stock float and outstanding shares - **Liquidity Assessment**: Evaluate stock liquidity based on float data - **Investment Research**: Understand stock structure and trading characteristics - **Risk Management**: Assess concentration risk and float availability - **Compliance Monitoring**: Track float requirements and regulations **Response Data Structure** `data` is a flat array of SharesFloat items: **SharesFloat fields:** - `symbol` (string): Stock symbol - `date` (string): Data date and time - `free_float` (float64): Free float percentage - `float_shares` (string): Number of float shares - `outstanding_shares` (string): Number of outstanding shares - `source` (string): Data source URL # Get Single Company Details Source: https://docs.arrays.org/api-reference/stock/get-single-company-details /api-reference/openapi.json get /v1/stocks/company/detail **Feature Overview** [OpenAPI JSON Spec](/docs/output/v1_stocks_company_detail_get.json) Retrieve the profile of a single company based on stock symbol or company name keyword — identity, classification, and descriptive attributes. Suitable for company detail pages, company search, and more. Valuation and financial metrics are served by the dedicated `/stocks/market-metrics` and `/stocks/financial-metrics` endpoints. **Main Use Cases** - **Company Detail Pages**: Display the profile of a single company - **Company Search**: Resolve a stock symbol or name keyword to a company profile - **Mobile Applications**: Provide data interface for company detail pages - **Desktop Software**: Provide company data for professional investment software **Query Parameter Description** Supports two query methods: - **Exact Query**: Find company precisely by stock symbol - **Fuzzy Query**: Fuzzy match by company name keyword **Response Data Description** The returned company profile includes: - **Basic Info**: Stock symbol, company name, industry classification, exchange - **Profile**: Description, website, CEO, employees, country, IPO date, listing flags (is_etf/is_adr/is_fund) - **Keywords**: `keywords` — X (Twitter) search terms for the company, ordered stable-identity terms first ($CASHTAG, public name, key products/CEO/brands) then up to 5 news-driven terms refreshed weekly. Use them to search social/news chatter about the company. Empty for symbols outside the covered US universe. Valuation and financial metrics are **not** returned here — use `/stocks/market-metrics` (PE/PS/market cap) and `/stocks/financial-metrics` (revenue/EPS/ROE TTM). **Usage Examples** 1. **Query Apple company by stock symbol**: `?symbol=AAPL` 2. **Query by company name keyword**: `?name_kw=Apple` 3. **Use both stock symbol and name keyword**: `?symbol=AAPL&name_kw=Apple` **Best Practices** - Prioritize using stock symbol for exact queries, faster response - Name keyword query supports fuzzy matching, suitable for search functionality - Recommend caching query results for popular companies - For mobile applications, preload data for commonly used companies **Important Notes** - Symbol parameter must be uppercase, e.g., AAPL, GOOGL - name_kw parameter supports Chinese and English, case-insensitive - If both symbol and name_kw are provided, symbol takes priority # Get Stock Basic Info Screener by Country Source: https://docs.arrays.org/api-reference/stock/get-stock-basic-info-screener-by-country /api-reference/openapi.json get /v1/stocks/screener/basic-info/country [OpenAPI JSON Spec](/docs/output/v1_stocks_screener_basic-info_country_get.json) Retrieve a list of stock companies filtered by country. Returns basic company information including ticker, name, sector, industry, exchange, and country. **Country Codes** Supports ISO 3166-1 alpha-2 country codes. 57 countries are supported: - AE (United Arab Emirates), AR (Argentina), AU (Australia), BE (Belgium), BM (Bermuda), BR (Brazil), BS (Bahamas), CA (Canada), CH (Switzerland), CI (Côte d'Ivoire), CL (Chile), CN (China), CO (Colombia), CR (Costa Rica), CY (Cyprus), DE (Germany), DK (Denmark), ES (Spain), FI (Finland), FR (France), GB (United Kingdom), GG (Guernsey), GI (Gibraltar), GR (Greece), HK (Hong Kong), ID (Indonesia), IE (Ireland), IL (Israel), IN (India), IS (Iceland), IT (Italy), JE (Jersey), JO (Jordan), JP (Japan), KR (South Korea), KY (Cayman Islands), KZ (Kazakhstan), LU (Luxembourg), MC (Monaco), MO (Macao), MX (Mexico), MY (Malaysia), NL (Netherlands), NO (Norway), PA (Panama), PE (Peru), PH (Philippines), SE (Sweden), SG (Singapore), TH (Thailand), TR (Turkey), TW (Taiwan), US (United States), UY (Uruguay), VG (British Virgin Islands), VN (Vietnam), ZA (South Africa). **ETF filter**: results default to non-ETF stocks (symbol_type=stock). Pass symbol_type=etf to return ETFs (e.g. SPY, QQQ). # Get Stock Basic Info Screener by Exchange Source: https://docs.arrays.org/api-reference/stock/get-stock-basic-info-screener-by-exchange /api-reference/openapi.json get /v1/stocks/screener/basic-info/exchange [OpenAPI JSON Spec](/docs/output/v1_stocks_screener_basic-info_exchange_get.json) Retrieve a list of stock companies filtered by exchange. 3 exchanges are supported: AMEX, NASDAQ, NYSE. **ETF filter**: results default to non-ETF stocks (symbol_type=stock). Pass symbol_type=etf to return ETFs (the AMEX bucket in particular is dominated by NYSE Arca-listed ETFs). # Get Stock Basic Info Screener by Industry Source: https://docs.arrays.org/api-reference/stock/get-stock-basic-info-screener-by-industry /api-reference/openapi.json get /v1/stocks/screener/basic-info/industry [OpenAPI JSON Spec](/docs/output/v1_stocks_screener_basic-info_industry_get.json) Retrieve a list of stock companies filtered by industry. 154 industry types are available: Advertising Agencies, Aerospace And Defense, Agricultural Farm Products, Agricultural Inputs, Agricultural Machinery, Airlines Airports And Air Services, Aluminum, Apparel Footwear And Accessories, Apparel Manufacturers, Apparel Retail, Asset Management, Asset Management Cryptocurrency, Asset Management Global, Asset Management Income, Asset Management Leveraged, Auto Dealerships, Auto Manufacturers, Auto Parts, Auto Recreational Vehicles, Banks, Banks Diversified, Banks Regional, Beverages Alcoholic, Beverages Non Alcoholic, Beverages Wineries And Distilleries, Biotechnology, Broadcasting, Business Equipment And Supplies, Chemicals, Chemicals Specialty, Coal, Communication Equipment, Computer Hardware, Conglomerates, Construction, Construction Materials, Consulting Services, Consumer Electronics, Copper, Department Stores, Discount Stores, Diversified Utilities, Drug Manufacturers General, Drug Manufacturers Specialty And Generic, Education And Training Services, Electrical Equipment And Parts, Electronic Gaming And Multimedia, Engineering And Construction, Entertainment, Financial Capital Markets, Financial Conglomerates, Financial Credit Services, Financial Data And Stock Exchanges, Financial Diversified, Financial Mortgages, Food Confectioners, Food Distribution, Furnishings Fixtures And Appliances, Gambling Resorts And Casinos, General Transportation, General Utilities, Gold, Grocery Stores, Hardware Equipment And Parts, Home Improvement, Household And Personal Products, Independent Power Producers, Industrial Distribution, Industrial Infrastructure Operations, Industrial Machinery, Industrial Materials, Industrial Pollution And Treatment Controls, Industrial Specialties, Information Technology Services, Insurance Brokers, Insurance Diversified, Insurance Life, Insurance Property And Casualty, Insurance Reinsurance, Insurance Specialty, Integrated Freight And Logistics, Internet Content And Information, Investment Banking And Investment Services, Leisure, Luxury Goods, Manufacturing Metal Fabrication, Manufacturing Textiles, Manufacturing Tools And Accessories, Marine Shipping, Media And Entertainment, Medical Care Facilities, Medical Devices, Medical Diagnostics And Research, Medical Distribution, Medical Equipment And Services, Medical Healthcare Information Services, Medical Healthcare Plans, Medical Instruments And Supplies, Medical Pharmaceuticals, Medical Specialties, Oil And Gas Drilling, Oil And Gas Energy, Oil And Gas Equipment And Services, Oil And Gas Exploration And Production, Oil And Gas Integrated, Oil And Gas Midstream, Oil And Gas Refining And Marketing, Other Precious Metals, Packaged Foods, Packaging And Containers, Paper Lumber And Forest Products, Personal Products And Services, Publishing, Railroads, Real Estate Development, Real Estate Diversified, Real Estate General, Real Estate Services, Regulated Electric, Regulated Gas, Regulated Water, Reit Diversified, Reit Healthcare Facilities, Reit Hotel And Motel, Reit Industrial, Reit Mortgage, Reit Office, Reit Residential, Reit Retail, Reit Specialty, Renewable Utilities, Rental And Leasing Services, Residential Construction, Restaurants, Security And Protection Services, Semiconductors, Shell Companies, Silver, Software Application, Software Infrastructure, Software Services, Solar, Specialty Business Services, Specialty Retail, Staffing And Employment Services, Steel, Technology Distributors, Telecommunications Services, Tobacco, Travel Lodging, Travel Services, Trucking, Uranium, Waste Management. **ETF exclusion**: ETF rows are excluded from this endpoint (same reason as sector — FMP's industry mapping for ETFs is not informative). # Get Stock Basic Info Screener by Sector Source: https://docs.arrays.org/api-reference/stock/get-stock-basic-info-screener-by-sector /api-reference/openapi.json get /v1/stocks/screener/basic-info/sector [OpenAPI JSON Spec](/docs/output/v1_stocks_screener_basic-info_sector_get.json) Retrieve a list of stock companies filtered by sector. 11 sector types are available: Basic Materials, Communication Services, Consumer Cyclical, Consumer Defensive, Energy, Financial Services, Healthcare, Industrials, Real Estate, Technology, Utilities. **ETF exclusion**: ETF rows are excluded from this endpoint. FMP categorizes nearly all ETFs as sector=Financial Services, which would dilute meaningful sector results. # Get Stock Event Screener Source: https://docs.arrays.org/api-reference/stock/get-stock-event-screener /api-reference/openapi.json get /v1/stocks/screener/events [OpenAPI JSON Spec](/docs/output/v1_stocks_screener_events_get.json) Retrieve a list of stock events filtered by event type and date range. 3 event types are supported: IPO Date, Split Date, Earnings Date. For Split Date and Earnings Date, the date range must not exceed 1 year. **ETF behavior**: IPO Date returns ETF inception dates; Split Date returns ETF splits; Earnings Date returns no ETFs (they have no earnings filings). # Get Stock KPI Values Source: https://docs.arrays.org/api-reference/stock/get-stock-kpi-values /api-reference/openapi.json get /v1/stocks/company/kpi US share-class symbols accept both `BRK.B` and `BRK-B`. When `symbol` is provided, matching scalar `symbol` fields in the response echo the request spelling. **Feature Overview** [OpenAPI JSON Spec](/docs/output/v1_stocks_company_kpi_get.json) Retrieve KPI (Key Performance Indicators) values for a specific stock by fiscal year and quarter. **Main Use Cases** - **Financial Analysis**: Analyze company KPI trends over time - **Investment Research**: Review key performance metrics for investment decisions - **Quarterly Comparison**: Compare KPIs across different periods - **Performance Tracking**: Monitor company performance indicators **Parameters** | Parameter | Type | Required | Description | |------------------|--------|----------|-------------------------------------------------------| | symbol | string | Yes | Stock symbol (e.g., AAPL, NVDA) | | fiscal_year | int | Yes | Fiscal year | | fiscal_quarter | string | Yes | Fiscal quarter: Q1, Q2, Q3, Q4 for quarterly; FY for annual | **Response Data Description** Each KPI record includes: - **symbol**: Stock symbol - **periodType**: Period type (annual/quarterly) - **periodId**: Unique period identifier - **calendarEndDate**: Report date (YYYY-MM-DD) - **calendarYear**: Calendar year - **calendarQuarter**: Calendar quarter - **fiscalYear**: Fiscal year - **fiscalQuarter**: Fiscal quarter - **createdAt**: Ingestion time — when we first stored this record (RFC3339) - **values**: KPI values as JSON object **Usage Examples** 1. **Get Q2 FY2024 KPIs for Apple**: `?symbol=AAPL&fiscal_year=2024&fiscal_quarter=Q2` 2. **Get full year FY2024 KPIs for NVIDIA**: `?symbol=NVDA&fiscal_year=2024&fiscal_quarter=FY` **Important Notes** - Symbol parameter must be uppercase - Fiscal quarter values: Q1, Q2, Q3, Q4 (quarterly data), or FY (annual data) # Get Stock OHLC data Source: https://docs.arrays.org/api-reference/stock/get-stock-ohlc-data /api-reference/openapi.json get /v1/stocks/kline [OpenAPI JSON Spec](/docs/output/v1_stocks_kline_get.json) Retrieve stock OHLC (candlestick) chart data from the dedicated kline service. **Time range limits:** - For intervals >= 1d (day level and above, e.g. 1d, 1w, 1m, 3m, 6m): No 366-day limit - For intervals < 1d (minute/hour level): Maximum 1 year (365 days) **Response fields:** - `time_open`: Time open (Unix timestamp seconds) - `time_close`: Time close (Unix timestamp seconds) - `time_period_start`: Period start time in ISO 8601 format - `time_period_end`: Period end time in ISO 8601 format - `price_open`: Open price - `price_high`: High price - `price_low`: Low price - `price_close`: Close price - `volume_traded`: Volume traded - `trades_count`: Number of trades **include_partial:** with `include_partial=true`, `data[0]` may be the in-progress bar (its `time_close` is in the future). # Get Technical Metrics Screener Source: https://docs.arrays.org/api-reference/stock/get-technical-metrics-screener /api-reference/openapi.json get /v1/stocks/screener/technical-metrics [OpenAPI JSON Spec](/docs/output/v1_stocks_screener_technical-metrics_get.json) Retrieve stocks filtered by technical metrics at a specific snapshot time. Returns stocks matching the specified metric type and value range. **Overview:** This endpoint filters stocks based on technical analysis metrics from the `market_metrics_1d`, `market_metrics_1w`, or `market_metrics_1m` tables. The snapshot parameter is a Unix timestamp (seconds) that will be used directly for querying data. **Price Change Metrics (9 metrics):** - `PRICE_CHANGE_1D`: Price change over 1 day (percentage) - `PRICE_CHANGE_1W`: Price change over 1 week (percentage) - `PRICE_CHANGE_1M`: Price change over 1 month (percentage) - `PRICE_CHANGE_3M`: Price change over 3 months (percentage) - `PRICE_CHANGE_6M`: Price change over 6 months (percentage) - `PRICE_CHANGE_YTD`: Price change year-to-date (percentage) - `PRICE_CHANGE_1Y`: Price change over 1 year (percentage) - `PRICE_CHANGE_3Y`: Price change over 3 years (percentage) - `PRICE_CHANGE_5Y`: Price change over 5 years (percentage) **Volume Metrics (3 metrics):** - `SHARES_VOLUME`: Trading volume in shares - `DOLLAR_VOLUME`: Trading volume in dollars (price × volume) - `AVERAGE_DAILY_DOLLAR_VOLUME`: Average daily dollar volume **Moving Averages - Simple Moving Average (MA) (6 metrics):** - `MA_5`: 5-day Simple Moving Average - `MA_10`: 10-day Simple Moving Average - `MA_20`: 20-day Simple Moving Average - `MA_60`: 60-day Simple Moving Average - `MA_120`: 120-day Simple Moving Average - `MA_200`: 200-day Simple Moving Average **Moving Averages - Exponential Moving Average (EMA) (6 metrics):** - `EMA_5`: 5-day Exponential Moving Average - `EMA_10`: 10-day Exponential Moving Average - `EMA_20`: 20-day Exponential Moving Average - `EMA_60`: 60-day Exponential Moving Average - `EMA_120`: 120-day Exponential Moving Average - `EMA_200`: 200-day Exponential Moving Average **Momentum Indicators (1 metric):** - `RSI_14`: Relative Strength Index (14-period) - Momentum oscillator that measures speed and magnitude of price changes (typically ranges from 0 to 100) **MACD (Moving Average Convergence Divergence) Components (3 metrics):** - `MACD_DIF`: MACD Line (DIF) - Difference between 12-day EMA and 26-day EMA - `MACD_DEA`: Signal Line (DEA) - 9-day EMA of the MACD line - `MACD_HIST`: MACD Histogram - Difference between MACD line and signal line **Bollinger Bands Components (3 metrics):** - `BOLLINGER_UPPER`: Upper Bollinger Band - Upper band of Bollinger Bands (20-day MA + 2 standard deviations) - `BOLLINGER_MID`: Middle Bollinger Band - 20-day Simple Moving Average - `BOLLINGER_LOWER`: Lower Bollinger Band - Lower band of Bollinger Bands (20-day MA - 2 standard deviations) **Other Technical Indicators (5 metrics):** - `VWAP_DAY`: Volume Weighted Average Price (Day) - Average price weighted by volume for the trading day - `BETA`: Beta - Measure of stock's volatility relative to the market (typically S&P 500). Beta of 1 means stock moves with market - `VOLATILITY_20`: Volatility (20-period) - Standard deviation of returns over 20 periods (annualized) - `VOLATILITY_60`: Volatility (60-period) - Standard deviation of returns over 60 periods (annualized) - `VOLATILITY_90`: Volatility (90-period) - Standard deviation of returns over 90 periods (annualized) **Filtering:** - Use `range_min` to filter for stocks where the metric value is greater than or equal to the minimum - Use `range_max` to filter for stocks where the metric value is less than or equal to the maximum - Both filters can be used together to create a range - If neither filter is provided, all stocks matching the metric type will be returned **Response Format:** Returns an array of stocks with their symbol, snapshot time (Unix timestamp seconds, UTC), metric type, and metric value. **ETF inclusion**: Liquid ETFs (30-day average daily dollar volume ≥ $10M, ~800 ETFs) are included in results across all 36 technical metrics. # Get Technical Metrics Screener Time Range Source: https://docs.arrays.org/api-reference/stock/get-technical-metrics-screener-time-range /api-reference/openapi.json get /v1/stocks/screener/technical-metrics/timerange [OpenAPI JSON Spec](/docs/output/v1_stocks_screener_technical-metrics_timerange_get.json) Retrieve stocks filtered by technical metrics over a time range. Returns stocks matching the specified metric type and value range, grouped by date. **Overview:** This endpoint filters stocks based on technical analysis metrics from the `market_metrics_1d`, `market_metrics_1w`, or `market_metrics_1m` tables over a specified time range. Results are grouped by date (YYYY-MM-DD format). **Technical Metrics:** Same as the snapshot endpoint - supports all technical metric types (PRICE_CHANGE_1W, MA_5, RSI_14, BETA, etc.) **Filtering:** - Use `range_min` to filter for stocks where the metric value is greater than or equal to the minimum - Use `range_max` to filter for stocks where the metric value is less than or equal to the maximum - Both filters can be used together to create a range - If neither filter is provided, all stocks matching the metric type will be returned **Limit Parameter:** - Use `limit` to limit the maximum number of results returned per day (optional, defaults to no limit) - This is useful for pagination or when you only need the top N results per day **Response Format:** Returns an array of date-grouped data items. Each item contains a date (YYYY-MM-DD format) and an array of stocks with their symbol, snapshot time (Unix timestamp seconds, UTC), metric type, and metric value for that date. **ETF inclusion**: Liquid ETFs (30-day average daily dollar volume ≥ $10M, ~800 ETFs) are included in results across all 36 technical metrics. # Get TradingView News Source: https://docs.arrays.org/api-reference/stock/get-tradingview-news /api-reference/openapi.json get /v1/stocks/tv-news [OpenAPI JSON Spec](/docs/output/v1_stocks_tv-news_get.json) Retrieve TradingView news stories within a time range, optionally filtered by symbol or industry. Data & semantics: - start_time: Start time (Unix timestamp in seconds, required unless updated_after and updated_before are supplied) - end_time: End time (Unix timestamp in seconds, same requirement as start_time) - symbol: Canonical symbol filter (optional, e.g., AAPL, BRK.B, 0700.HK); mutually exclusive with industry - industry: FMP industry filter (optional); mutually exclusive with symbol - limit: Maximum number of results (optional, 1–500, default: 10) Results are ordered by published_at DESC (newest first). Both modes return canonical stories. canonical_story_id equals story_id; source_story_ids is the sorted, complete set of the root and verified headline-flash aliases. Flash matching requires the same provider, byte-exact title and exact upstream publication time, with both stories matching the audited Dow Jones shape: is_flash=true, headline permission, and absent astDescription and shortDescription fields. List/detail identities, titles and times must agree. Unknown body formats, present but empty/null body fields and other empty bodies remain independent. Symbol/industry filters match any flash member and do not trim the returned ID or metadata unions. For other stories source_story_ids contains only story_id; full-body alias behavior is unchanged. Update polling selects rows within [updated_after, updated_before), ordered by updated_at ASC, story_id ASC. Times are Unix seconds; both bounds are required together and the whole table may be polled with a bounded window. start_time/end_time (on published_at) and symbol/industry intersect that window. updated_at advances when a story's title, content or related symbols change, and when its verified flash membership or member metadata changes, even without new symbols. Replace the stored canonical snapshot and map every entry in source_story_ids to canonical_story_id; source_story_ids is full current membership, not a delta or a historical reconciliation feed. Each item carries story_id — TradingView's natural key, no surrogate id — plus RFC3339 updated_at. Pass pagination.cursor back unchanged with the same window and filters; limit may change on retry. An omitted cursor with has_more=false means the window is drained. Start each new window without the old cursor. Offset paging is not available in window mode. This is current-state polling, not a point-in-time snapshot or deletion feed: overlap windows and reconcile delayed writes. See docs/api/update-polling.md. Valid industry values (exact match required): Advertising Agencies; Aerospace & Defense; Agricultural - Machinery; Agricultural Farm Products; Agricultural Inputs; Airlines, Airports & Air Services; Aluminum; Apparel - Footwear & Accessories; Apparel - Manufacturers; Apparel - Retail; Asset Management; Asset Management - Bonds; Asset Management - Cryptocurrency; Asset Management - Global; Asset Management - Income; Asset Management - Leveraged; Auto - Dealerships; Auto - Manufacturers; Auto - Parts; Auto - Recreational Vehicles; Banks; Banks - Diversified; Banks - Regional; Beverages - Alcoholic; Beverages - Non-Alcoholic; Beverages - Wineries & Distilleries; Biotechnology; Broadcasting; Business Equipment & Supplies; Chemicals; Chemicals - Specialty; Coal; Communication Equipment; Computer Hardware; Conglomerates; Construction; Construction Materials; Consulting Services; Consumer Electronics; Copper; Department Stores; Discount Stores; Diversified Utilities; Drug Manufacturers - General; Drug Manufacturers - Specialty & Generic; Education & Training Services; Electrical Equipment & Parts; Electronic Gaming & Multimedia; Engineering & Construction; Entertainment; Environmental Services; Financial - Capital Markets; Financial - Conglomerates; Financial - Credit Services; Financial - Data & Stock Exchanges; Financial - Diversified; Financial - Mortgages; Food Confectioners; Food Distribution; Furnishings, Fixtures & Appliances; Gambling, Resorts & Casinos; General Transportation; General Utilities; Gold; Grocery Stores; Hardware, Equipment & Parts; Home Improvement; Household & Personal Products; Independent Power Producers; Industrial - Distribution; Industrial - Infrastructure Operations; Industrial - Machinery; Industrial - Pollution & Treatment Controls; Industrial - Specialties; Industrial Materials; Information Technology Services; Insurance - Brokers; Insurance - Diversified; Insurance - Life; Insurance - Property & Casualty; Insurance - Reinsurance; Insurance - Specialty; Integrated Freight & Logistics; Internet Content & Information; Investment - Banking & Investment Services; Leisure; Luxury Goods; Manufacturing - Metal Fabrication; Manufacturing - Miscellaneous; Manufacturing - Textiles; Manufacturing - Tools & Accessories; Marine Shipping; Media & Entertainment; Medical - Care Facilities; Medical - Devices; Medical - Diagnostics & Research; Medical - Distribution; Medical - Equipment & Services; Medical - Healthcare Information Services; Medical - Healthcare Plans; Medical - Instruments & Supplies; Medical - Pharmaceuticals; Medical - Specialties; Oil & Gas Drilling; Oil & Gas Energy; Oil & Gas Equipment & Services; Oil & Gas Exploration & Production; Oil & Gas Integrated; Oil & Gas Midstream; Oil & Gas Refining & Marketing; Other Precious Metals; Packaged Foods; Packaging & Containers; Paper, Lumber & Forest Products; Personal Products & Services; Publishing; REIT - Diversified; REIT - Healthcare Facilities; REIT - Hotel & Motel; REIT - Industrial; REIT - Mortgage; REIT - Office; REIT - Residential; REIT - Retail; REIT - Specialty; Railroads; Real Estate - Development; Real Estate - Diversified; Real Estate - Services; Regulated Electric; Regulated Gas; Regulated Water; Renewable Utilities; Rental & Leasing Services; Residential Construction; Restaurants; Security & Protection Services; Semiconductors; Shell Companies; Silver; Software - Application; Software - Infrastructure; Software - Services; Solar; Specialty Business Services; Specialty Retail; Staffing & Employment Services; Steel; Technology Distributors; Telecommunications Services; Tobacco; Travel Lodging; Travel Services; Trucking; Uranium; Waste Management # Get US Market Calendar Source: https://docs.arrays.org/api-reference/stock/get-us-market-calendar /api-reference/openapi.json get /v1/stocks/market-calendar [OpenAPI JSON Spec](/docs/output/v1_stocks_market-calendar_get.json) Retrieve the upcoming US equity market holidays and early closes. **Feature Overview** Lists every announced upcoming date on which a US venue is closed all day or closes early. Dates not listed follow the normal schedule (pre-market 04:00, regular 09:30-16:00, after-hours until 20:00 America/New_York, Monday to Friday). **Main Use Cases** - **Market Status**: Tell whether the market is open now and when it opens next - **Scheduling**: Skip holidays when computing trading-day deadlines **Response Data Structure** Each event includes: - **date**: Exchange-local trade date (YYYY-MM-DD) - **exchange**: NYSE, NASDAQ or OTC; the same date is listed once per venue - **name**: Holiday name - **status**: `closed` or `early_close` - **open_time** / **close_time**: Bounds of that day's shortened session in Unix seconds, only for `early_close` Events are ordered by date, then exchange. Past dates are not included. The list only covers the provider's forward horizon (a few months to about a year) and lists exceptions only: weekends and normal days never appear, and a date that is absent, or beyond the last listed date, is not guaranteed to be a normal trading day. # Get v1stockscompanyprice target consensus Source: https://docs.arrays.org/api-reference/stock/get-v1stockscompanyprice-target-consensus /api-reference/openapi.json get /v1/stocks/company/price-target-consensus US share-class symbols accept both `BRK.B` and `BRK-B`. When `symbol` is provided, matching scalar `symbol` fields in the response echo the request spelling. Get analysts' target price consensus for a specific company [OpenAPI JSON Spec](/docs/output/v1_stocks_company_price-target-consensus_get.json) # Get v1stockscompanyprice target summary Source: https://docs.arrays.org/api-reference/stock/get-v1stockscompanyprice-target-summary /api-reference/openapi.json get /v1/stocks/company/price-target-summary US share-class symbols accept both `BRK.B` and `BRK-B`. When `symbol` is provided, matching scalar `symbol` fields in the response echo the request spelling. Get company average target price of last year, last quarter, last month, and current time [OpenAPI JSON Spec](/docs/output/v1_stocks_company_price-target-summary_get.json) # List event transcripts for a symbol Source: https://docs.arrays.org/api-reference/stock/list-event-transcripts-for-a-symbol /api-reference/openapi.json get /v1/stocks/event-transcripts US share-class symbols accept both `BRK.B` and `BRK-B`. When `symbol` is provided, matching scalar `symbol` fields in the response echo the request spelling. [OpenAPI JSON Spec](/docs/output/v1_stocks_event-transcripts_get.json) List FactSet call transcripts for a symbol across all 6 event types (Earnings, AnalystsShareholdersMeeting, ConferencePresentation, SalesRevenue, SpecialSituation, Guidance), filtered by date range rather than fiscal year/quarter. Metadata only unless `include_transcript=true`, which returns each row's transcript and participants; the detail endpoint (GET /event-transcripts/{event_id}) returns one event's full text. **Request Parameters** - `symbol` (required for browse, optional for update polling): Stock symbol, US or non-US (e.g. "AAPL", "BRK.B", "0700.HK"). - `event_type` (optional): filter to one event type. When omitted, results include ALL 6 types, including Earnings — it is not "non-Earnings only". - `from` / `to` (optional): unix-second range, inclusive. `to` defaults to now; `from` defaults to `to` minus 90 days. - `limit` (optional, default 20, max 100; max 20 with `include_transcript`), `offset` (optional, default 0). - `include_transcript` (optional, default false): return each row's `transcript` and `participants`, in either mode. - `updated_after` / `updated_before`: both required for update polling; select current rows changed in [after, before), UTC Unix seconds. `symbol`, `event_type`, `from` and `to` become optional filters. Rows order by updated_at, symbol, event_id. Use pagination.cursor with the same bounds and filters until has_more is false. Offset is incompatible with this mode. A Corrected version replacing a Raw one is an update. **Response Data Structure** - `data` ([]EventTranscript): one entry per matched event, newest event_date first in browse mode, oldest updated_at first in update mode. `transcript` and `participants` are present only with `include_transcript=true`. - `transcript_type`: the served version's FactSet type — `Corrected` (edited), `Raw` (complete, unedited) or `NearRealTime` (a partial draft). The best version is served: Corrected replaces Raw when it arrives, and most non-Earnings events never get one. - `version`: the served transcript's version, a decimal string. Orders the transcripts of one event: a newer FactSet version, or a more mature type of the same version, always has a strictly greater version. Re-converting the same transcript can keep its version; a converter generation bump raises it. Compare only; do not decode. `""` when unknown (only while the backend predates the field). - `participants`: the people who speak, once each, in order of first speaking, with `role` (`company`, `analyst`, `operator` or `unknown`), `title`, `affiliation` (their company or firm; Corrected transcripts only) and `factset_entity_id` when known. Each transcript entry's `participant_id` names its speaker. Absent for transcripts converted before participants were recorded. - Unidentified speakers: `name` / `speaker` is `""` when FactSet could not identify the speaker (older transcripts carry its placeholder "Unverified Participant"). Two unidentified people both have speaker `""`, so group turns and count speakers by `participant_id`, not by `speaker`. An entry without `participant_id` is a speaker the participant list does not name; such entries cannot be told apart. - `fiscal_year` / `fiscal_quarter` are `null` (not omitted, not `""`) for every event_type except Earnings, which has no fiscal-period concept at all. - `fiscal_quarter` is Q-prefixed — `"Q3"`, not `"3"` — the same spelling GET /stocks/earnings-transcript takes as input. A small number of events carry FactSet's own `"Q5"` label, passed through as-is. - `pagination`: limit/offset in browse mode; limit/cursor/has_more in update mode. Neither mode returns `total`. - `metadata.data_as_of`: newest ingestion time (unix seconds) across the returned page. **Paging**: an empty browse page returns 200 with `data: []`; in update mode `has_more=false` alone signals a drained window. An error is never the end-of-pages signal; an unknown supplied symbol remains a 400 caller-input error. # List SEC 10-K/10-Q filings with document URLs Source: https://docs.arrays.org/api-reference/stock/list-sec-10-k10-q-filings-with-document-urls /api-reference/openapi.json get /v1/stocks/sec-filings US share-class symbols accept both `BRK.B` and `BRK-B`. When `symbol` is provided, matching scalar `symbol` fields in the response echo the request spelling. [OpenAPI JSON Spec](/docs/output/v1_stocks_sec-filings_get.json) List a company's SEC 10-K (annual) and 10-Q (quarterly) filings — filing/report dates, resolved fiscal period, and the primary document URL on sec.gov. With no filters, returns all stored filings for the symbol, ordered by filing_date descending (newest first). fiscal_quarter=FY selects the 10-K of that fiscal year; Q4 normally returns empty because US filers report the fourth quarter inside the 10-K rather than in a separate 10-Q. # OHLCV klines for non-US stocks (1min–1m) Source: https://docs.arrays.org/api-reference/stock/ohlcv-klines-for-non-us-stocks-1min–1m /api-reference/openapi.json get /v1/stocks/non-us/kline [OpenAPI JSON Spec](/docs/output/v1_stocks_non-us_kline_get.json) Returns split-adjusted OHLCV bars for non-US tickers in dotted form (e.g. `0700.HK`), newest-first by `time_open`. For every interval, a bar is returned only when `time_open >= start_time` and `time_close <= min(end_time, request_now)`, where `request_now` is the server time captured for the request. Equality at either boundary is allowed. This filter is applied before `limit`. A request boundary that cuts through a bar excludes that entire bar; aggregated OHLCV is never truncated to the requested window. `time_close` is the exclusive end of the bar's period, not the timestamp of its last trade. Set `interval=1min` to receive 1-minute bars instead of daily bars. Intraday intervals (5min–4h) are available only for symbols in the 1-minute polling pool; symbols outside it return an empty data array. 1d/1w/1m cover all non-US symbols. Weekly and monthly bars aggregate daily data by the exchange's local calendar. A week runs from Monday 00:00 to the next Monday 00:00; a month runs from its first day at 00:00 to the next month's first day at 00:00. Response timestamps represent those boundaries in UTC. For example, the June 2026 monthly bar for `0700.HK` opens at `2026-05-31T16:00:00Z` (June 1 00:00 Hong Kong time), so a request starting at `2026-06-01T00:00:00Z` excludes that bar. # Query Estimates or Guidance Source: https://docs.arrays.org/api-reference/stock/query-estimates-or-guidance /api-reference/openapi.json get /v1/stocks/estimates-guidance US share-class symbols accept both `BRK.B` and `BRK-B`. When `symbol` is provided, matching scalar `symbol` fields in the response echo the request spelling. [OpenAPI JSON Spec](/docs/output/v1_stocks_estimates-guidance_get.json) Retrieve consensus estimates or company guidance data. **Supported Metrics**: EPS, SALES, DPS, CFPS, EBITDA, EBIT, BPS, ASSETS **Period Type**: annual, quarterly, semi-annual **Type**: - `estimate`: Returns array of EstimateRow (analyst consensus data) - `guidance`: Returns array of GuidanceRow (company-reported guidance) **Pagination**: results are a two-dimensional panel — one row per observation date **per** forecast fiscal period **per** metric — so a single symbol/metric easily exceeds a thousand rows. Page with `limit` + `offset`; the response echoes both under `pagination`. A page shorter than `limit` is the last page. Rows are ordered by observation date descending, then fiscal period end descending, then metric. # Search equity research sections and exhibits Source: https://docs.arrays.org/api-reference/stock/search-equity-research-sections-and-exhibits /api-reference/openapi.json get /v1/stocks/research/search [OpenAPI JSON Spec](/docs/output/v1_stocks_research_search_get.json) Full-text search over LLM-generated summaries of sell-side research PDFs. Hits are individual SECTIONS and EXHIBITS (one ranked mix, `kind` discriminates), never whole reports; each hit carries the unit's FULL summary with inline (p.N) page citations plus its report context, and `file_url` opens the source PDF at the hit's page. Summaries are LLM-generated from the source PDF; page references are best-effort. Open `file_url` for original text. **Filters**: `symbol`/`entity` match units that MATERIALLY DISCUSS the company (per-unit tags — a thematic's Tesla section matches symbol=TSLA, its Waymo section doesn't); `entity` reaches unlisted companies (e.g. "Waymo"). `scope`/`sector`/`region` are closed vocabularies (see enums). `per_report` caps how many hits one report may contribute (default 2; 1 ≈ best-hit-per-report ranking). **Sort**: `relevance` (default) or `latest` (same matched set, newest publication first — for "what's the street saying now"). No `total`; page until `data` comes back short. Pagination caveat: when few results match all terms, page 1 may be filled by an any-term fallback pass; later pages use all-term matching only, so a full page 1 can be followed by a short page 2. `entity` matching is exact and case-sensitive. # Fetch a tweet by its X.com URL Source: https://docs.arrays.org/api-reference/x-feed/fetch-a-tweet-by-its-xcom-url /api-reference/openapi.json get /v1/social-feeds/x/by-url [OpenAPI JSON Spec](/docs/output/v1_social-feeds_x_by-url_get.json) Fetch a single tweet by its canonical x.com / twitter.com URL. # Get X (Twitter) account profile for a handle Source: https://docs.arrays.org/api-reference/x-feed/get-x-twitter-account-profile-for-a-handle /api-reference/openapi.json get /v1/social-feeds/x/entities/handle/{twitter_handle} [OpenAPI JSON Spec](/docs/output/v1_social-feeds_x_entities_handle_twitter-handle_get.json) Retrieve the twitter_accounts profile for a Twitter handle. Unlike by-handle, this endpoint does NOT auto-create a person on miss. # Get X (Twitter) feed by handle Source: https://docs.arrays.org/api-reference/x-feed/get-x-twitter-feed-by-handle /api-reference/openapi.json get /v1/social-feeds/x/by-handle [OpenAPI JSON Spec](/docs/output/v1_social-feeds_x_by-handle_get.json) Returns tweets for a TRACKED handle (active or dormant), read from our store. Unknown/untracked handles return 400 with error code HANDLE_NOT_TRACKED — call POST /social-feeds/x/handles to start tracking the handle (discovery endpoint). # List currently tracked X (Twitter) accounts Source: https://docs.arrays.org/api-reference/x-feed/list-currently-tracked-x-twitter-accounts /api-reference/openapi.json get /v1/social-feeds/x/entities/handles [OpenAPI JSON Spec](/docs/output/v1_social-feeds_x_entities_handles_get.json) Paginated list of Twitter accounts sorted by followers_count DESC. # Search all of X live Source: https://docs.arrays.org/api-reference/x-feed/search-all-of-x-live /api-reference/openapi.json get /v1/social-feeds/x/live-search [OpenAPI JSON Spec](/docs/output/v1_social-feeds_x_live-search_get.json) Searches every public post on X at request time, through X's own search (twitterapi.io advanced_search). Use it for accounts and topics Arrays does not track: /social-feeds/x/search only reads tweets Arrays has already stored. `q` takes X advanced-search syntax: words, "exact phrase", OR, -exclude, from:user, to:user, @user, #tag, $CASHTAG, lang:en, min_faves:N, min_retweets:N, filter:media, -filter:replies, url:domain. Native retweets are left out unless q contains include:nativeretweets. Example: `$NVDA (earnings OR guidance) min_faves:50 -filter:replies`. The query sent to X, since/until included, must fit in 500 bytes; since and until add 22 bytes each. Each call returns one page of at most 20 tweets. To get the next page, send `pagination.cursor` back as `cursor` with the same q, sort, since and until, and stop when `has_more` is false. A page can hold fewer than 20 tweets, or none, while `has_more` is still true. `sort=latest` (default) lists matches newest first; `sort=top` is X's Top tab. `since` / `until` (Unix seconds) bound published_at, and tweets outside them are dropped even when X returns them. Results are what X search shows: it leaves out some replies, accounts X filters for quality and older posts, and the same query can return different pages minutes apart. A retweet comes back with empty text and zero counts and the original tweet in `source`; a quote has the quoted tweet in `source`. An X Article tweet carries only its link; fetch the article body with /social-feeds/x/by-url. Results are not stored by Arrays, so they do not show up in /social-feeds/x/search or /by-handle. Returns 503 when X search is unavailable or the daily live-search budget is spent (it resets at 00:00 UTC). # Search X (Twitter) feed Source: https://docs.arrays.org/api-reference/x-feed/search-x-twitter-feed /api-reference/openapi.json get /v1/social-feeds/x/search [OpenAPI JSON Spec](/docs/output/v1_social-feeds_x_search_get.json) Full-text search over the tweet corpus via the TweetSearchService (ESSearch — BM25 ranking on full_text + multilingual analyzers). Currently only the registry index is searched; pass an optional `handle` to restrict the search to a single author. `q` is optional: when omitted, the endpoint returns the latest tweets (sorted by published_at DESC) within the time window. Anti-scrape rule: when both `q` and `handle` are empty, `since` must be within the last 30 days (default 30d if omitted). Pass either `q` or `handle` to widen the window back to the 10y default. `sort` controls ordering: `relevance` (default, BM25 over full_text), `latest` (reverse-chronological by published_at), or `hottest` (by view_count, may be stale). Use `latest` for recency/discovery so recent tweets are not buried under higher-scoring older matches. Returns HTTP 501 if the upstream search backend is not configured. Update polling: `updated_after` + `updated_before` (Unix seconds, inclusive after, exclusive before) return the tweets whose `updated_at` moved inside the window, ordered by `updated_at` ASC then `platform_id` ASC, paged by `pagination.cursor`. `updated_at` records projection time for a first index or a change to engagement counts, text, deleted flag, `has_media`, normalized media content, or a `referenced_tweets[]` entry's `id`, `text` or `text_status`. Identical observations and retries retain it; `last_observed_at` advances on every re-observation and is not a substitute. A window reaching past what the sync writer has confirmed searchable is served up to that boundary rather than refused: `pagination.indexed_through` (Unix seconds) reports how far the page is complete, `has_more` stays true, and a `Retry-After` header gives the wait. Page until `has_more` is false before advancing your own checkpoint; a page carrying `indexed_through` is never drained. Partial search results and an unreadable indexing checkpoint still return HTTP 503; retry the same bounds and cursor. The window may span at most 7 days. `sort` is ignored in this mode and `offset` is rejected; `q`, `handle`, `content_type`, `has_media`, `since` and `until` stay optional intersections and are bound into the cursor, so send the cursor back unchanged with the same window and the same filters. `limit` may change between pages. An omitted cursor with `has_more=false` means the window is drained; start each new window without the old cursor. An omitted cursor with `has_more=true` means nothing was indexed yet in this window: ask again for the same bounds with no cursor. This is current-state polling, not a snapshot or a deletion feed: overlap your windows, dedupe by `platform_id` on content, and expect intermediate versions to coalesce. Deleted tweets are not surfaced through the window. # Track (discover) an X handle Source: https://docs.arrays.org/api-reference/x-feed/track-discover-an-x-handle /api-reference/openapi.json post /v1/social-feeds/x/handles [OpenAPI JSON Spec](/docs/output/v1_social-feeds_x_handles_post.json) Explicitly start tracking a Twitter handle. Unknown handles are resolved on X and a subscription is created; dormant handles are revived. Returns the first page of tweets and an "outcome". This is the ONLY endpoint that triggers on-demand X fetching; it is per-user rate-capped and billed as a premium "discovery" unit. # Changelog Source: https://docs.arrays.org/changelog What's new in the Arrays API, release by release. Every release that adds or retires an endpoint shows up here, with the date and version it shipped in. If you build against Arrays, this is the one page to watch. We keep this page about endpoints only. For the current shape of any endpoint, including fields and parameters, the [API reference](/api-reference/introduction) is always up to date. Want a heads-up when something changes? Subscribe to the RSS feed. Records start in June 2026. **2026-11-09** v0.10.220 ### Added * `GET /v1/stocks/market-calendar` **2026-11-06** v0.10.216 ### Added * `GET /v1/stocks/news/source-links` **2026-10-21** v0.10.178 ### Added * `GET /v1/social-feeds/x/live-search` ### Removed * `GET /v1/persons/commentary` * `GET /v1/persons/{person_id}/commentary` **2026-10-16** v0.10.165 ### Added * `GET /v1/other/youtube/videos` * `GET /v1/other/youtube/videos/{video_id}` **2026-10-12** v0.10.146 ### Added * `GET /v1/persons/channel-commentary` * `GET /v1/persons/{person_id}/channel-commentary` **2026-10-09** v0.10.143 ### Added * `GET /v1/persons/commentary` **2026-09-27** v0.10.137 ### Added * `GET /v1/persons/{person_id}/commentary` **2026-09-09** v0.10.102 ### Removed * `GET /v1/stocks/news` **2026-09-08** v0.10.98 ### Added * `GET /v1/stocks/sec-filings` **2026-09-04** v0.10.93 ### Added * `GET /v1/persons/{person_id}` **2026-08-26** v0.10.79 ### Added * `GET /v1/stocks/research` * `GET /v1/stocks/research/report` * `GET /v1/stocks/research/search` * `GET /v1/stocks/research/units` **2026-08-20** v0.10.69 ### Added * `GET /v1/persons` — the person registry is now a top-level resource covering podcast, congress, insider and earnings sources. ### Removed * `GET /v1/other/podcast/persons` — replaced by `GET /v1/persons`. **2026-08-18** v0.10.65 ### Added * `GET /v1/other/podcast/persons` * `GET /v1/other/podcast/shows` **2026-08-13** v0.10.58 ### Added * `GET /v1/other/podcast/transcripts` **2026-08-12** v0.10.56 ### Added * `GET /v1/stocks/event-transcripts` * `GET /v1/stocks/event-transcripts/{event_id}` **2026-07-29** v0.10.43 ### Removed * `GET /v1/macro/commodity/1min` * `GET /v1/macro/forex/1min` * `GET /v1/macro/index/1min` **2026-07-10** v0.10.18 ### Added * `GET /v1/stocks/short-interest` **2026-07-08** v0.10.15, v0.10.16 ### Added * `GET /v1/stocks/tv-news` * `GET /v1/macro/commodity/1min` * `GET /v1/macro/forex/1min` * `GET /v1/macro/index/1min` **2026-06-30** v0.10.8, v0.10.9 ### Added * `POST /v1/social-feeds/x/handles` * `GET /v1/stocks/news` **2026-06-26** v0.10.3 ### Added * `GET /v1/other/semiconductor/dram-contract-price` * `GET /v1/other/semiconductor/nand-flash-contract-price` * `GET /v1/other/semiconductor/dxi-index` **2026-06-22** v0.9.6 ### Added * `GET /v1/crypto/analytics/query` **2026-06-15** v0.8.10 ### Added * `GET /v1/options/greeks` — consolidates the former chain and history endpoints. ### Removed * `GET /v1/options/greeks/chain` — replaced by `GET /v1/options/greeks`. * `GET /v1/options/greeks/history` — replaced by `GET /v1/options/greeks`. * `GET /v1/crypto/list` # Nanopayment Source: https://docs.arrays.org/nanopayment/overview Pay-per-call API access in USDC or BNB Chain stablecoins. No subscription, no API key, no signup. ## What it is Nanopayment is one of two ways to pay for Arrays data — the other is a [subscription](/pricing). Instead of a plan and an API key, your code or AI agent calls our API and **pays per request in stablecoins** using the [x402 HTTP standard](https://x402.org) (v2). Two settlement rails are live: * **Base** — USDC via [Circle Gateway](https://www.circle.com/gateway) (Nanopayments) * **BNB Chain** — USDC, USDT, USD1, or United Stables via EIP-3009 or Permit2 It works across both integration methods: call it directly from the [REST API](/api-reference/introduction), or let an agent using [Skills](/skills/overview) pay as it goes. No subscription. No API key. No procurement. > [!NOTE] > > Read the launch blog: [Arrays Financial Data launches on Nanopayments, powered by Circle Gateway](https://arrays.org/blog/arrays-financial-data-launches-on-nanopayments-powered-by-circle-gateway). ## Base URL Nanopayment runs on a dedicated host: ``` https://x402-data-tools.prd.arrays.org ``` Same paths, same responses as the API-key host — but on this host a plain `GET` to any priced endpoint returns `402 Payment Required` instead of `401`, which is what standard x402 clients expect. > [!NOTE] > > The API-key host `data-tools.prd.arrays.org` also speaks x402 if you add the request header `Accept-Payment: x402`. Without that header it returns `401` — stock x402 SDKs send a bare `GET`, so point them at the x402 host above. ## How it works **1. Your client calls an Arrays endpoint on the x402 host** Plain `GET`, no auth header needed. **2. The server returns HTTP 402 Payment Required** The `PAYMENT-REQUIRED` response header carries a base64 x402 v2 payload: `{ x402Version: 2, accepts: [...], resource }`. Each `accepts` entry is one payment option (network, asset, amount, `payTo`). The same JSON is echoed in the body. **3. Your wallet signs an authorization** EIP-3009 `TransferWithAuthorization` (Base via Circle Gateway, or BNB Chain) or a Permit2 signature (BNB Chain). Off-chain signature — no gas, no transaction broadcast. **4. Client retries with the signature** Send the signed payload in the `PAYMENT-SIGNATURE` header. Arrays settles with the facilitator and returns the data; the settlement result is in the `PAYMENT-RESPONSE` header. Verify the 402 challenge without a wallet: ```bash theme={null} curl -i "https://x402-data-tools.prd.arrays.org/api/v1/crypto/funding-rate?symbol=BTCUSDT" ``` ## Supported chains & assets | Network | Asset | Rail | Signature | | - | - | - | - | | Base (`eip155:8453`) | USDC | Circle Gateway (Nanopayments) | EIP-3009 against the Gateway Wallet domain | | BNB Chain (`eip155:56`) | USDC, USDT, USD1, United Stables | Direct | EIP-3009 or Permit2 (`permit2-exact`) | Amounts in the 402 are in the asset's smallest unit: 6 decimals on Base USDC (`8000` = \$0.008), 18 decimals on BNB Chain (`8000000000000000` = \$0.008). Read them from the response — don't hard-code prices. Deposits for the Base rail go through Circle Gateway, which pools USDC from 11 EVM chains into one balance. ## Pricing (today) > [!NOTE] > > Nanopayment currently covers **15 crypto endpoints**. Stocks, ETF, macro, and options are planned for the next two quarters. > [tab] Basic tier · \$0.008 / call > > | Endpoint | Route | > | - | - | > | Token info | `GET /api/v1/crypto/detail` | > | Spot OHLCV | `GET /api/v1/crypto/kline` | > | Futures OHLCV | `GET /api/v1/crypto/futures/ohlcv` | > | Funding rate | `GET /api/v1/crypto/funding-rate` | > | Open interest | `GET /api/v1/crypto/open-interest` | > | Long-short ratio | `GET /api/v1/crypto/long-short-ratio` | > | Taker buy/sell volume | `GET /api/v1/crypto/taker-buy-sell-volume` | > | Token unlock events | `GET /api/v1/crypto/unlock-events` | > | Token supply | `GET /api/v1/crypto/supply` | > | Market cap | `GET /api/v1/crypto/market-cap` | > | Fear & Greed index | `GET /api/v1/crypto/fear-greed-index` | > | Company crypto holdings | `GET /api/v1/crypto/holdings` | > [tab] Advanced tier · \$0.03 / call > > | Endpoint | Route | > | - | - | > | Market metrics | `GET /api/v1/crypto/market-metrics` | > | Crypto screener (snapshot) | `GET /api/v1/crypto/screener/metrics` | > | Crypto screener (time range) | `GET /api/v1/crypto/screener/metrics/timerange` | Any other route called with x402 headers returns `404 X402_NOT_SUPPORTED`. On the x402 host, these 15 routes always return `402` — an `X-API-Key` header is ignored there; use the API-key host for subscription access. ## When to use it > [card] ✅ Perfect for > > * Autonomous AI agents that pay for their own data > * Burst / low-volume usage where a subscription is overkill > * On-chain native projects already holding USDC or BNB Chain stablecoins > * Prototyping without account creation > [card] ❌ Not ideal for > > * Stock / ETF / macro queries (not yet supported) > * High-volume usage where Pro subscription is cheaper > * Teams that need a dashboard, usage analytics, or SLAs ## Next step > [card] [Build your first paid call](/nanopayment/quickstart) > > TypeScript end-to-end example in under 30 lines. # Pay-per-call Setup Source: https://docs.arrays.org/nanopayment/quickstart Make your first pay-per-call request in TypeScript or Python. ## Base URL All examples use the dedicated x402 host: ``` https://x402-data-tools.prd.arrays.org ``` > [!WARNING] > > Do not point x402 clients at `data-tools.prd.arrays.org`. That host is API-key auth and answers a bare `GET` with `401`, so the SDK never sees the 402 challenge. (It does return 402 if you add `Accept-Payment: x402`, but stock SDKs don't send that header.) ## Prerequisites * An EVM wallet * Funds on one of the supported rails: USDC deposited via [Circle Gateway](https://www.circle.com/gateway) (settles on Base), or USDC / USDT / USD1 in your wallet on BNB Chain * `x402-fetch` (Node) or `x402-requests` (Python) installed — any x402 v2 client works ## Step 0 — See the 402 challenge (no wallet needed) ```bash theme={null} curl -i "https://x402-data-tools.prd.arrays.org/api/v1/crypto/funding-rate?symbol=BTCUSDT" ``` ```http theme={null} HTTP/2 402 payment-required: eyJhY2NlcHRzIjpb... (base64 x402 v2 payload) { "success": false, "error": { "code": "PAYMENT_REQUIRED", "message": "x402 payment required for this endpoint" }, "request_id": "...", "x402Version": 2, "accepts": [ { "scheme": "exact", "network": "eip155:8453", "amount": "8000", "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", "payTo": "0x9548E84DA0713a5c06b5D2CBB48d9670f1e27632", "maxTimeoutSeconds": 345600, "extra": { "name": "GatewayWalletBatched", "version": "1", "verifyingContract": "0x77777777Dcc4d5A8B6E418Fd04D8997ef11000eE" } }, { "scheme": "exact", "network": "eip155:56", "amount": "8000000000000000", "asset": "0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d", "extra": { "name": "USD Coin", "assetTransferMethod": "permit2-exact", "..." : "..." } } ], "resource": { "url": "/api/v1/crypto/funding-rate", "mimeType": "application/json" } } ``` Pick one `accepts` entry, sign it, and retry with the `PAYMENT-SIGNATURE` header. The SDKs below do this for you. ## TypeScript example ```bash theme={null} npm install x402-fetch viem ``` ```typescript theme={null} import { createWalletClient, http } from "viem"; import { privateKeyToAccount } from "viem/accounts"; import { base } from "viem/chains"; import { wrapFetchWithPayment } from "x402-fetch"; const account = privateKeyToAccount(process.env.PRIVATE_KEY as `0x${string}`); const client = createWalletClient({ account, chain: base, transport: http() }); // Wrap fetch with x402 payment support const fetchWithPayment = wrapFetchWithPayment(fetch, client); // Make a paid call — no API key needed const res = await fetchWithPayment( "https://x402-data-tools.prd.arrays.org/api/v1/crypto/funding-rate?symbol=BTCUSDT" ); console.log(await res.json()); ``` That's it. The first call returns 402; `wrapFetchWithPayment` automatically signs, retries, and returns the data. The settlement result (tx, network, payer) is in the `PAYMENT-RESPONSE` header of the 200. ## Python example ```bash theme={null} pip install x402-requests ``` ```python theme={null} import os from x402_requests import X402Session from eth_account import Account account = Account.from_key(os.environ["PRIVATE_KEY"]) session = X402Session(account=account, chain="base") res = session.get( "https://x402-data-tools.prd.arrays.org/api/v1/crypto/funding-rate", params={"symbol": "BTCUSDT"}, ) print(res.json()) ``` ## Cost math How much will it actually cost? | Use case | Calls / month | Tier | Cost | | - | - | - | - | | Daily funding-rate snapshot | 30 | \$0.008 | **\$0.24** | | Hourly funding-rate for 10 pairs | 7,200 | \$0.008 | **\$57.60** | | Crypto screener every 5 min | 8,640 | \$0.03 | **\$259.20** | > [!TIP] > > At sustained high volume, a [subscription plan](/pricing) usually becomes cheaper than per-call nanopayment. Mix both: subscription for steady workloads, Nanopayment for spikes. ## Troubleshooting Errors come back as `402` with the standard envelope; the facilitator's message is forwarded in `error.message`. > [accordion] `401 UNAUTHORIZED` — API key is required > > You are calling `data-tools.prd.arrays.org`. Switch to `x402-data-tools.prd.arrays.org`, or add `Accept-Payment: x402`. > [accordion] `404 X402_NOT_SUPPORTED` > > The route is not one of the 15 priced endpoints. See the [list](/nanopayment/overview#pricing-today). > [accordion] `402 INSUFFICIENT_BALANCE` > > Base rail: deposit USDC into Circle Gateway. BNB Chain rail: fund the signing wallet with the chosen asset. > [accordion] `402 PAYMENT_ALREADY_USED` > > Nonce reuse. Generate a fresh 32-byte nonce for every call. > [accordion] `402 PAYMENT_VALIDITY_TOO_SHORT` > > `validBefore - validAfter` must be at least `maxTimeoutSeconds` from the 402 (345600s on Base). > [accordion] `402 PAYMENT_INVALID_SIGNATURE` > > Signer must equal the token holder, and the EIP-712 domain must match the `extra` block of the `accepts` entry you chose (on Base that is the Gateway Wallet contract, not the USDC contract). > [accordion] `400 PAYMENT_INVALID` > > `PAYMENT-SIGNATURE` is not valid base64 or does not decode to an x402 v2 payload. Make sure `x402Version` is `2` — v1 clients fall back to the `X-PAYMENT` header, which is not accepted. # Pricing Source: https://docs.arrays.org/pricing Free tier to get started; customizable plans for professional and enterprise use. Arrays has two billing models — a **subscription** for predictable, all-data access, or **Nanopayment** to pay per call with no signup. Both work across [Skills](/skills/overview) and the [REST API](/api-reference/introduction). ## Subscription plans > [card] Free > > **\$0 / month** > > * Basic-tier endpoints > * Community support > * All Skills usable > > [Get a free key →](https://arrays.org) > [card] Pro > > **Custom pricing** > > * Higher request quota > * All endpoints (basic + advanced) > * Email support > * 99.5% uptime target > > [Talk to sales →](mailto:support@arrays.org) > [card] Enterprise > > **Custom pricing** > > * Custom quota > * Dedicated infrastructure > * Slack support channel > * SLA + custom DPA > > [Talk to sales →](mailto:support@arrays.org) ## Pay-per-call · Nanopayment No subscription. Pay only when you call — usage-based per-call pricing in USDC. [Read the Nanopayment guide →](/nanopayment/overview) ## FAQ > [accordion] Can I mix a subscription and Nanopayment? > > Yes. A subscription covers steady workloads at predictable cost; Nanopayment handles bursts or experiments where signing up isn't worth it. > [accordion] What happens when I hit my daily quota? > > Further requests return `429 Too Many Requests` until midnight UTC. The Dashboard shows a live counter and an Upgrade CTA before you hit the limit. > [accordion] How do I get a quote? > > Email [support@arrays.org](mailto:support@arrays.org) with your expected volume and the endpoints you care about — we'll tailor a plan. > [accordion] Do you offer student / OSS discounts? > > Email us at [support@arrays.org](mailto:support@arrays.org) with your project and we'll work something out. ## Ready? > [card] [Get a free API key](https://arrays.org) > > Sign up in 30 seconds, no credit card. > [card] [Talk to sales](mailto:support@arrays.org) > > Custom needs, SLA, or large volume. # Quickstart Source: https://docs.arrays.org/quickstart From zero to your first Arrays response in 5 steps. ## 1. Create your account Head to [arrays.org](https://arrays.org) and sign up with email, Google, or GitHub. ## 2. Copy your API key In the dashboard, your key is shown immediately — no email verification required to start. > [!WARNING] > > Treat your API key like a password. Never commit it to git. Use a `.env` file or your platform's secret manager. ## 3. Make your first call > [tab] cURL > > ```bash theme={null} > curl "https://data-tools.prd.arrays.org/api/v1/stocks/company/detail?symbol=AAPL" \ > -H "X-API-Key: $ARRAYS_API_KEY" > ``` > [tab] Python > > ```python theme={null} > import os, requests > > r = requests.get( > "https://data-tools.prd.arrays.org/api/v1/stocks/company/detail", > headers={"X-API-Key": os.environ["ARRAYS_API_KEY"]}, > params={"symbol": "AAPL"}, > ) > print(r.json()) > ``` > [tab] Node.js > > ```javascript theme={null} > const res = await fetch( > "https://data-tools.prd.arrays.org/api/v1/stocks/company/detail?symbol=AAPL", > { headers: { "X-API-Key": process.env.ARRAYS_API_KEY } } > ); > console.log(await res.json()); > ``` You should see a JSON envelope: ```json theme={null} { "success": true, "data": [ { "symbol": "AAPL", "name": "Apple Inc.", "sector": "Technology", "industry": "Consumer Electronics", "exchange": "NASDAQ", "exchange_short_name": "NASDAQ", "employees": 166000, "ipo_date": "1980-12-12", "country": "US", "ceo": "Timothy D. Cook", "is_etf": false, "is_adr": false, "website": "https://www.apple.com" } ], "request_id": "ee12ed44-81a0-4496-958c-d87a1b4048ac" } ``` > [!TIP] > > Every Arrays endpoint returns this envelope. `data` is always an array. ## 4. Try it from your AI agent Skip the code entirely — give your agent the Arrays Skills and let it handle the calls. > [card] [Claude Code](/skills/install-claude-code) > > Install in 30 seconds > [card] [Cursor / Windsurf](/skills/install-cursor) > > Add as project rules > [card] [OpenAI Codex](/skills/install-codex) > > Include as context > [card] [More agents](/skills/overview) > > Any markdown-aware agent ## 5. Build something real Pick a real-world task and ship it: * **"Compare PE and ROE of NVDA vs AMD over the last 4 quarters"** — uses `equity-fundamentals` * **"Show me top 10 crypto by 7-day funding rate"** — uses `crypto-futures-data` * **"Which US large-caps with PE \< 15 report earnings next week?"** — uses `stock-screener` + `equity-events` > [!TIP] > > Stuck? Hit `Ctrl/Cmd + K` to ask our docs AI anything, or [email support](mailto:support@arrays.org). # Install on Claude Code Source: https://docs.arrays.org/skills/install-claude-code Get the Arrays Skills running inside Claude Code in under a minute. ## Prerequisites * [Claude Code](https://claude.com/claude-code) installed * An Arrays API key from [arrays.org](https://arrays.org) ## 1. Clone the Skills repo ```bash theme={null} git clone https://github.com/ArraysData/arrays-skills.git ~/.arrays-skills ``` ## 2. Link the Skills into Claude Code Claude Code discovers skills in `~/.claude/skills/`. Symlink each skill there: ```bash theme={null} mkdir -p ~/.claude/skills for d in ~/.arrays-skills/skills/arrays-data-api-*/; do ln -sfn "$d" ~/.claude/skills/$(basename "$d") done ``` Or let the installer detect Claude Code (and any other supported agent) and do the same thing: ```bash theme={null} bash ~/.arrays-skills/scripts/install.sh ``` > [!TIP] > > The links point back into the clone, so `git pull` in `~/.arrays-skills` updates every skill in place. ## 3. Set your API key Add to your shell config (`~/.zshrc` or `~/.bashrc`): ```bash theme={null} export ARRAYS_API_KEY="your_key_here" ``` `ARRAYS_API_BASE_URL` is optional and defaults to `https://data-tools.prd.arrays.org` (no `/api` suffix — the skills append `/api/v1/...` themselves). Reload: `source ~/.zshrc` ## 4. Try it In Claude Code, ask: ``` What was AAPL's revenue and net income last quarter? ``` Claude should automatically pick the `arrays-data-api-equity-fundamentals` Skill, call the `company/income-statements` endpoint, and return real numbers. ## Troubleshooting > [accordion] Claude doesn't seem to use the Skills > > Run `ls -l ~/.claude/skills/` and confirm the `arrays-data-api-*` symlinks resolve. Restart Claude Code after installing — skills are discovered at startup. > [accordion] 'Unauthorized' or 401 error > > Check `echo $ARRAYS_API_KEY` is set in the same shell session where Claude Code runs. If you opened Claude Code from a GUI, export the var system-wide or use a `.env` file at the project root. > [accordion] 'Rate limit exceeded' > > Free tier is capped at 100 req/day. See [Pricing](/pricing) for Pro and Enterprise quotas, or use [Nanopayment](/nanopayment/overview) for crypto endpoints with no quota. # Install on OpenAI Codex Source: https://docs.arrays.org/skills/install-codex Use Arrays Skills inside OpenAI Codex agents. ## 1. Clone the Skills repo ```bash theme={null} git clone https://github.com/ArraysData/arrays-skills.git ~/.arrays-skills ``` ## 2. Link the Skills into Codex Codex CLI discovers skills in `~/.agents/skills/`: ```bash theme={null} mkdir -p ~/.agents/skills for d in ~/.arrays-skills/skills/arrays-data-api-*/; do ln -sfn "$d" ~/.agents/skills/$(basename "$d") done ``` `bash ~/.arrays-skills/scripts/install.sh` does the same and also covers Claude Code, Gemini CLI and Cline if they are installed. ## 3. Set your API key ```bash theme={null} export ARRAYS_API_KEY="your_key_here" ``` ## 4. Test it ```bash theme={null} codex "Give me the top 10 holdings of SPY and their weight." ``` Codex should pick the `arrays-data-api-etf-fundamentals` Skill from its description, read the `etf/holdings` endpoint, and return real data. ## Notes * Codex routes to a skill by its frontmatter `description`; all 20 skills can be linked at once. * The links point into the clone — `git pull` in `~/.arrays-skills` updates them. # Install on Cursor / Windsurf Source: https://docs.arrays.org/skills/install-cursor Add Arrays Skills as project rules so Cursor and Windsurf use them automatically. ## 1. Clone the Skills repo ```bash theme={null} git clone https://github.com/ArraysData/arrays-skills.git ~/.arrays-skills ``` ## 2. Add the Skills as project rules > [tab] Cursor > > From your project root, run the converter. It writes one `.cursor/rules/.mdc` per skill, with the skill description as the rule description: > > ```bash theme={null} > bash ~/.arrays-skills/scripts/install-cursor.sh > ``` > > Pass a directory to install somewhere else: `bash ~/.arrays-skills/scripts/install-cursor.sh path/to/.cursor/rules`. > [tab] Windsurf (.windsurfrules) > > Windsurf reads a single rules file. In your project root create `.windsurfrules`: > > ```markdown theme={null} > # Arrays Financial Data > > Use the Arrays Skills at ~/.arrays-skills/skills/ > when answering questions about market data. > > Auth: X-API-Key header, key in ARRAYS_API_KEY env var. > Base: https://data-tools.prd.arrays.org (skills append /api/v1/...) > ``` ## 3. Set your API key In your project's `.env` (and add `.env` to `.gitignore`): ```bash theme={null} ARRAYS_API_KEY=your_key_here ``` ## 4. Try it In Cursor / Windsurf chat, ask: ``` Show me NVDA's last 4 quarters of free cash flow. ``` The agent should follow the Arrays Skill, call `company/cashflow-statements`, and return real data. > [!NOTE] > > Cursor and Windsurf currently can't auto-execute HTTP calls — they'll generate the code, and you run it. For a fully automated loop, use [Claude Code](/skills/install-claude-code) or [Codex](/skills/install-codex). # What's a Skill Source: https://docs.arrays.org/skills/overview Arrays Skills are Markdown files that teach your AI agent how to use the Arrays API — no SDK, no glue code. ## How Skills work A Skill is a single `SKILL.md` file with YAML frontmatter. When you point a markdown-aware agent at it, the agent reads the file as **system context** and learns: 1. What domain this Skill covers (equity fundamentals, crypto futures, etc.) 2. The base URL and auth header 3. Every available endpoint, parameter, and response shape 4. Edge cases and conventions (e.g. fiscal vs calendar quarters) The agent then composes its own HTTP calls — no plugin runtime, no MCP server, just text. > [!NOTE] > > All 20 Skills are open-source MIT at [github.com/ArraysData/arrays-skills](https://github.com/ArraysData/arrays-skills). ## Agent compatibility matrix | Agent / IDE | Status | How to install | | - | - | - | | **Claude Code** | ✅ Supported | [Install guide →](/skills/install-claude-code) | | **OpenAI Codex CLI** | ✅ Supported | [Install guide →](/skills/install-codex) | | **Gemini CLI** | ✅ Supported | `scripts/install.sh` → `~/.gemini/skills/` | | **Cline (VS Code)** | ✅ Supported | `scripts/install.sh` → `~/.cline/skills/` | | **Cursor** | ✅ Supported | [Install guide →](/skills/install-cursor) | | **Windsurf** | ✅ Supported | Same as Cursor — add to project rules | | **GitHub Copilot** | ✅ Supported | `scripts/install-copilot.sh` → `.github/copilot-instructions.md` | | **Kiro (AWS)** | ✅ Supported | Open the repo directory — Kiro reads `SKILL.md` natively | | **ChatGPT (custom GPTs)** | ⚠️ Workaround | Paste SKILL.md contents into instructions | | **Other markdown-aware agents** | ✅ Generally compatible | Add `SKILL.md` to agent context | One command detects every installed agent above and symlinks the skills into place: ```bash theme={null} git clone https://github.com/ArraysData/arrays-skills.git ~/.arrays-skills bash ~/.arrays-skills/scripts/install.sh ``` > [!TIP] > > Skills work with any agent that supports the open Skill standard. See the full list of compatible agents at [skills.sh/agent](https://www.skills.sh/agent). ## Available Skills 20 skills across equities, crypto, ETFs, macro, and alternative data. Each is a `SKILL.md` you point your agent at. ### Equities | Skill | What it does | | - | - | | `arrays-data-api-equity-fundamentals` | Company profiles (US + non-US listings), financial statements, SEC 10-K / 10-Q filings, executive comp, shares float / outstanding, fiscal dates | | `arrays-data-api-equity-estimates-and-targets` | Analyst estimates, price targets, earnings guidance | | `arrays-data-api-equity-events` | Dividends, splits, earnings calendar, earnings & event transcripts, SEC earnings releases, IPO, M\&A, equity offerings, crowdfunding | | `arrays-data-api-equity-ownership-and-flow` | Institutional holdings, insider & congress trades, short interest | | `arrays-data-api-stock-metrics` | Financial + technical metrics (ROE, margins, RSI, MACD, PE…), darkpool OHLC, PIT ratings | | `arrays-data-api-stock-screener` | Screen stocks by country, sector, financials, events | | `arrays-data-api-options` | Option contracts, options OHLCV/VWAP, historical Greeks + IV, option-chain snapshots | ### Crypto | Skill | What it does | | - | - | | `arrays-data-api-spot-market-price-and-volume` | US and non-US stock kline; crypto spot OHLCV (Binance USDT, Hyperliquid USDC); unified candles by trading pair and trading-pair discovery | | `arrays-data-api-crypto-futures-data` | Perp OHLCV (Binance, Hyperliquid incl. HIP-3), funding rates, open interest, long-short, taker volume | | `arrays-data-api-crypto-metrics-and-screener` | Token metadata, market cap, supply, fear & greed, on-chain metrics (MVRV, NUPL, SOPR…), unlock schedules, screener | | `arrays-data-api-crypto-exchange-flow` | Exchange inflow / outflow / netflow | | `arrays-data-api-crypto-analytics-passthrough` | On-chain analytics passthrough — \~245 upstream endpoints (network data, miner/entity flows, DEX/AMM) | | `arrays-data-api-company-crypto-holdings` | Which companies hold which crypto | ### ETF & Macro | Skill | What it does | | - | - | | `arrays-data-api-etf-fundamentals` | Holdings, info, country/sector weightings, fund flow | | `arrays-data-api-macro-and-economics` | Treasury, CPI, GDP, unemployment, forex, commodities, indexes, VIX | ### Alternative Data | Skill | What it does | | - | - | | `arrays-data-api-news` | Market news with sentiment scores and topic / source filters, plus the wire news stream (per-story symbols and industries) | | `arrays-data-api-social-feeds` | X/Twitter handle feeds, post lookup by URL, full-text search, handle metadata, tracking discovery | | `arrays-data-api-podcast-transcripts` | Podcast episode transcripts with resolved speakers, show catalog, person registry and lookup by id, incremental transcript updates | | `arrays-data-api-polymarket` | Prediction markets — pricing, positions, holders, trade history. Calls Polymarket public APIs directly (no Arrays endpoint, no API key) | | `arrays-data-api-semiconductor-price` | DRAM / NAND Flash / memory-card spot & contract prices, DXI index | > [!NOTE] > > Browse the source for any skill in the [arrays-skills repo](https://github.com/ArraysData/arrays-skills/tree/main/skills). ## Next step > [card] [Install your first Skill](/skills/install-claude-code) > > Pick your agent and follow a 30-second guide. # Prompt Cookbook Source: https://docs.arrays.org/skills/prompts Real-world questions you can ask once Arrays Skills are installed in your agent. ## Equity research ```text Compare two companies theme={null} Compare NVDA and AMD over the last 4 quarters: - Revenue growth YoY - Gross margin trend - Free cash flow ``` ```text Earnings surprise theme={null} By how much did NVDA beat or miss consensus EPS in each of the last 4 quarters? Show the surprise in $ and %. ``` ```text Executive comp theme={null} Show me Tim Cook's total compensation for the last 3 fiscal years, broken down by salary, bonus, and stock awards. ``` ## Crypto ```text Funding rate scan theme={null} List the top 10 perpetual futures by 7-day average funding rate. Highlight any with funding > 0.05% / 8h. ``` ```text Exchange flow theme={null} Show me Bitcoin net exchange flow (deposits − withdrawals) for the last 30 days. Flag any day with >5,000 BTC net outflow. ``` ```text On-chain metrics theme={null} What's BTC's current MVRV, NUPL, and Puell Multiple? Compare to the values 90 days ago. ``` ## ETF & macro ```text ETF composition theme={null} What are the top 10 holdings of QQQ and their weights? How has the technology sector weighting changed over the past year? ``` ```text Macro snapshot theme={null} Give me a one-screen macro summary as of today: - 2Y, 10Y, 30Y Treasury yields - latest CPI YoY - VIX - DXY ``` ## Multi-skill workflows ```text Screener → fundamentals theme={null} Find US stocks with: - market cap > $10B - PE < 15 - dividend yield > 3% - positive YoY revenue growth Then for the top 5, show their last 4 quarters of net income. ``` ```text News + transcripts theme={null} What were the main themes in TSLA's last earnings call? Cross-reference with the latest analyst price targets. ``` > [!TIP] > > Stuck on a prompt? Hit `Ctrl/Cmd + K` and ask our docs AI — it knows every Skill and endpoint. # Welcome to Arrays Source: https://docs.arrays.org/welcome One unified data engine for intelligent finance — 100+ API endpoints across equities, crypto, ETF, macro, and on-chain data, accessible from your AI agent or your code. ## Two ways to integrate Pick how you call Arrays — both hit the same 100+ endpoints. > [card] [🧩 Skills](/skills/overview) > > **For AI agents.** Install our Markdown skills into Claude Code, Cursor, Codex, or Windsurf — the agent calls the API for you. > [card] [🔌 REST API](/api-reference/introduction) > > **For developers.** A single API key, 100+ endpoints, SDKs for curl / Python / Node / Go. ## Two ways to pay Choose the billing model that fits your workload — both work across Skills and the REST API. > [card] [💳 Subscription](/pricing) > > **Predictable, all data.** Pick a plan, get an API key, and call every endpoint. Best for steady workloads and teams who want a dashboard. > [card] [🪙 Nanopayment](/nanopayment/overview) > > **Pay per call, no signup.** Settle each request in USDC (Base, via Circle Gateway) or BNB Chain stablecoins over x402. 15 crypto endpoints today, more soon. ## Data coverage > [card] Equities > > 50+ exchanges, fundamentals, estimates, insider/senate trades, options > [card] Crypto > > 500+ tokens, spot + futures, on-chain metrics, exchange flow, screener > [card] ETF & Funds > > Holdings, sector weights, fund flow > [card] Macro > > CPI, GDP, Treasury, forex, commodities, VIX > [card] Alt-data > > Earnings transcripts, SEC filings, podcast transcripts, X/Twitter feeds ## Get up and running in 60 seconds **1. Get an API key** Sign up at [arrays.org](https://arrays.org) and copy your key from the dashboard. **2. Pick your path** Use **Skills** if you're inside an AI agent, or the **REST API** if you're writing code. **3. Make your first call** Follow the [Quickstart](/quickstart) — every path gets you a working response in under a minute. > [!TIP] > > New to Arrays? Start with the [Quickstart](/quickstart). Already have a key? Jump to [API Reference](/api-reference/introduction).