# Arrays Data Api Etf Fundamentals

> Guides the agent to call Arrays REST APIs for ETF fundamentals (holdings, info, country/sector weightings, fund flow). Use when the user needs ETF composition, performance, or flow data.

- **Type:** Skill
- **Install:** `agentstack add skill-arraysdata-arrays-skills-arrays-data-api-etf-fundamentals`
- **Verified:** Pending review
- **Seller:** [ArraysData](https://agentstack.voostack.com/s/arraysdata)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [ArraysData](https://github.com/ArraysData)
- **Source:** https://github.com/ArraysData/arrays-skills/tree/main/skills/arrays-data-api-etf-fundamentals

## Install

```sh
agentstack add skill-arraysdata-arrays-skills-arrays-data-api-etf-fundamentals
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Arrays Data API — ETF Fundamentals

**Domain**: `etf_fundamentals`. ETF holdings, info, country/sector weightings, and fund flow.

## Base URL and auth

- **Base**: `ARRAYS_API_BASE_URL` env var (default `https://data-tools.prd.space.id`)
- **Auth**: Send `X-API-Key: ` header on every request. Read the key from env `ARRAYS_API_KEY` or `.env` file.

## Path prefix and endpoints

- **Prefix**: `/api/v1/etf/`
- **Paths** (all GET):
  - `holdings` — ETF holdings (top constituents)
  - `info` — ETF basic information
  - `country-weightings` — allocation by country
  - `sector-weightings` — allocation by sector
  - `flow` — ETF fund flow / in/outflow data

## Endpoints

| Method | Path | File | Description |
|--------|------|------|-------------|
| GET | `info` | `info` | ETF Info |
| GET | `holdings` | `holdings` | ETF Holdings |
| GET | `country-weightings` | `country-weightings` | ETF Country Weightings |
| GET | `sector-weightings` | `sector-weightings` | ETF Sector Weightings |
| GET | `flow` | `flow` | ETF Fund Flow / In/Outflow |

> For detailed parameters, response fields, and examples for a specific endpoint, read `references/.md` in this skill directory.

## Full spec

Per-endpoint request/response schema: `GET {BASE}/docs/output/{spec_file}.json` (see parent `reference.md`).

## Example

```js
const base = process.env.ARRAYS_API_BASE_URL || 'https://data-tools.prd.space.id';
const apiKey = process.env.ARRAYS_API_KEY;
const res = await fetch(`${base}/api/v1/etf/holdings?symbol=SPY`, {
  headers: { 'X-API-Key': apiKey },
});
const data = await res.json();
```

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [ArraysData](https://github.com/ArraysData)
- **Source:** [ArraysData/arrays-skills](https://github.com/ArraysData/arrays-skills)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** yes
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: flagged — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-arraysdata-arrays-skills-arrays-data-api-etf-fundamentals
- Seller: https://agentstack.voostack.com/s/arraysdata
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
