# 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. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-api-quiverquant-com-api-d3c22e87/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## 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/parse-api-quiverquant-com-api-d3c22e87/get_politician_trades \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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/parse-api-quiverquant-com-api-d3c22e87/get_recent_trades \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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/parse-api-quiverquant-com-api-d3c22e87/get_stock_trades \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"limit":"<integer>","ticker":"<string>"}'
```
