> ## Documentation Index
> Fetch the complete documentation index at: https://docs.arrays.org/llms.txt
> Use this file to discover all available pages before exploring further.

# API 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

<Info>
  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).
</Info>

Endpoints are grouped into 7 domains:

<CardGroup cols={2}>
  <Card title="Equity" icon="building">
    Quote, fundamentals, estimates, earnings, ownership, options
  </Card>

  <Card title="Crypto" icon="bitcoin-sign">
    Spot, futures, funding, on-chain metrics, exchange flow
  </Card>

  <Card title="ETF & Funds" icon="layer-group">
    Holdings, sector weights, fund flow
  </Card>

  <Card title="Macro & Economics" icon="globe">
    Treasury, CPI, GDP, forex, commodities, VIX
  </Card>

  <Card title="News & Transcripts" icon="newspaper">
    Market news, earnings calls
  </Card>

  <Card title="Stock Screener" icon="filter">
    70+ filters
  </Card>

  <Card title="Technical Metrics" icon="chart-bar">
    Darkpool, analyst ratings
  </Card>
</CardGroup>

<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.
</Note>

## Rate limits & errors

[Error codes and retry guidance →](/api-reference/errors)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.