Skip to main content

Compensation Workflows

Latest compensation records

API

curl -H "x-api-key: $SECAPI_API_KEY" \
  "$SECAPI_BASE_URL/v1/compensation?ticker=AAPL&limit=10"

SDK

const client = new SecApiClient({ apiKey: process.env.SECAPI_API_KEY })
const records = await client.compensation({ ticker: "AAPL", limit: 10 })

CLI

secapi compensation list --ticker AAPL --limit 10

Compare the latest two compensation disclosures

API

curl -X POST \
  -H "content-type: application/json" \
  -H "x-api-key: $SECAPI_API_KEY" \
  -d '{"ticker":"AAPL","limit":10}' \
  "$SECAPI_BASE_URL/v1/compensation/compare"

SDK

const comparison = await client.compareCompensation({ ticker: "AAPL", limit: 10 })

CLI

secapi compensation compare --ticker AAPL --limit 10