返回 Skill 列表
extension
分类: 数据与分析无需 API Key

NASDAQ Public API CLI

在脚本或代理工作流中查询 Nasdaq 公开市场 API,适用于股票筛选拉取、代码列表及分页等需求。

person作者: oscratershubclawhub

Nasdaq API Skill

Use this skill to fetch stock-universe data from Nasdaq's public screener endpoint and to ground API decisions in official Nasdaq Data Link docs.

Workflow

  1. Confirm scope before calling APIs:
  • If the task is stock screener rows/symbol lists, use scripts/nasdaq-screener.sh.
  • If the task is product/API selection, auth, or limits, read references/api_docs.md first.
  1. Use the CLI instead of ad-hoc curl when possible:
  • Run scripts/nasdaq-screener.sh --help for options.
  • Start with --limit and --offset for deterministic pagination.
  • Use --format symbols for ticker-only output, or --format rows for JSON row objects.
  1. Handle reliability constraints:
  • Include browser-like headers (script does this by default).
  • Prefer retries in caller workflows for transient failures.
  • Keep requests paced; avoid burst loops.
  1. Validate result shape before downstream logic:
  • Expect top-level data.rows for screener queries.
  • Fail fast if status.bCodeMessage is present or data.rows is missing.

Bundled Resources

  • references/api_docs.md
    • Official Nasdaq public docs and practical screener notes.
  • scripts/nasdaq-screener.sh
    • Bash CLI wrapper around https://api.nasdaq.com/api/screener/stocks.
  • agents/openai.yaml
    • UI metadata for skill display and invocation prompt.