Hoppa till innehåll
Menu and API reference

API reference

Insider summary

Totals for purchases, sales, values and the number of individuals over a chosen period.

GET /api/v1/market/insider-summary
Access
Scope market
Cost
2 units

The response totals activity across the whole market or for a single company. Amounts follow the same trade_value rules as the transaction feed.

Parameters

Parameters not marked as required may be omitted.

NameTypeWhat the field does
company_id
string Count transactions for one specific company only.
days
integer How many days back to total, from 1 to 365. Default: 90

Request and response

The example shows a request against the production environment and a successful response.

Request
curl "https://firmainfo.se/api/v1/market/insider-summary?days=30" \
  -H "Authorization: Bearer $FIRMAINFO_API_KEY"
Response
{
  "company": null,
  "window_days": 30,
  "buys": {
    "transactions": 727,
    "insiders": 393,
    "total_value": "3670085577.7680000000",
    "largest_value": "412500000.0000000000"
  },
  "sells": {
    "transactions": 402,
    "insiders": 221,
    "total_value": "1894233110.5200000000",
    "largest_value": "298000000.0000000000"
  },
  "net_value": 1775852467.248
}

Continue here