# Quiver Quantitative — Wrapped API

> **You are on:** `https://api.paywithlocus.com/api` | [llms.txt](https://paywithlocus.com/llms.txt) | [docs](https://docs.paywithlocus.com)
>
> Locus runs on multiple environments -- make sure every URL you call matches your expected environment.
> | Environment | Landing | API | Docs |
> |---|---|---|---|
> | Production | paywithlocus.com | api.paywithlocus.com | docs.paywithlocus.com |
> | Beta | beta.paywithlocus.com | api.beta.paywithlocus.com | docs.paywithlocus.com |
> | Stage | stage.paywithlocus.com | api.stage.paywithlocus.com | docs.paywithlocus.com |
>
> If the API URL above doesn't match your expected environment, re-fetch this file from the correct domain.

> Track stock trades made by U.S. Congress members in real-time, including recent transactions, individual politician trading history, and which congressional representatives are buying or selling specific stocks. Monitor how lawmakers' investment activity aligns with their legislative decisions and identify potential trading patterns across the legislative branch.

**Category:** Finance & Markets | **Website:** [api.quiverquant.com/](https://api.quiverquant.com/) | **Docs:** [parse.bot/marketplace/d3c22e87-7155-4b3e-809e-702c9270c75f/api-quiverquant-com-api](https://parse.bot/marketplace/d3c22e87-7155-4b3e-809e-702c9270c75f/api-quiverquant-com-api)

Pay-per-use API proxy for Locus Pro. Each call burns credits from your workspace balance.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/credits/quiver-quantitative/`
**Auth:** `Authorization: Bearer <LOCUS_CREDITS_SECRET_KEY>` (an `lcr_` secret key or a scoped `lcac_` agent credential)
**Required header:** `Idempotency-Key: <fresh UUID per call>`. A retry with the same key replays the stored result without a new charge.
**Response:** the provider response after any endpoint-specific normalization. `X-Locus-Credits-Charged` carries the charge and `X-Locus-Credits-Balance` the remaining balance. Insufficient credits return `402` before the provider is called.
**Pricing:** estimated costs below are USD. Locus debits the credit equivalent at your workspace rate.

Full call contract: https://docs.paywithlocus.com/api-reference/introduction

> Using a Pay With Locus wallet key (`claw_` prefix)? Wallet routes are documented separately: https://docs.paywithlocus.com/wrapped-apis/for-agents

## Endpoints

### Get politician trades

Returns all disclosed stock trades for a specific U.S. Congress member identified by their name and BioGuide ID. Includes trade details such as asset type, sector, and estimated excess return.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `limit` | integer | No | Maximum number of trades to return. |
| `politician` | string | Yes | Politician identifier in format 'Full Name-BioguideID' (e.g. 'Nancy Pelosi-P000197', 'Dan Crenshaw-C001120'). The BioGuide ID is the congressional identifier. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/quiver-quantitative/get-politician-trades \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"limit":"<integer>","politician":"<string>"}'
```

### Get recent trades

Returns the most recently disclosed stock trades by U.S. Congress members (both House and Senate). Trades are ordered by filing date descending. Each trade includes the ticker, transaction type, size range, politician details, and estimated excess return since the transaction.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `limit` | integer | No | Maximum number of trades to return. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/quiver-quantitative/get-recent-trades \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"limit":"<integer>"}'
```

### Get stock trades

Returns all disclosed Congress member trades for a specific stock ticker. Shows which politicians bought or sold a given stock, with filing and trade dates.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `limit` | integer | No | Maximum number of trades to return. |
| `ticker` | string | Yes | Stock ticker symbol (e.g. 'AAPL', 'MSFT', 'GOOGL'). Case-insensitive. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/quiver-quantitative/get-stock-trades \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"limit":"<integer>","ticker":"<string>"}'
```

## Next steps

- [All wrapped API providers](https://paywithlocus.com/wapi/index.md): pick another provider.
- [Find and call tools](https://paywithlocus.com/agent/tools.md): price ceilings, async results, and errors.
- [Credits and billing](https://paywithlocus.com/agent/billing.md): what a call costs and how to add credits.
- [Agent docs index](https://paywithlocus.com/agent/index.md): every Locus agent page.