Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

Financial Datasets Get Insider Trades

Tài liệu API
https://api.sandbase.ai/v1/api/financial-datasets/insider-trades

Get insider trades like buys and sells for a ticker by a company insider.

Giá
$0.02USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
0 bắt buộc · 11 tùy chọn

Phòng thử nghiệm

Đầu vào
Opaque pagination cursor from a previous response's next_page_url. When provided, all other query parameters are ignored: the cursor carries the original request's filters. Treat it as opaque; do not construct or modify it.
Filter by exact filing date in YYYY-MM-DD format. Provider reference (supplier schema): `{"format":"date","type":"string"}`.
Filter by filing date greater than this date (YYYY-MM-DD). Provider reference (supplier schema): `{"format":"date","type":"string"}`.
Filter by filing date greater than or equal to this date (YYYY-MM-DD). Provider reference (supplier schema): `{"format":"date","type":"string"}`.
Filter by filing date less than this date (YYYY-MM-DD). Provider reference (supplier schema): `{"format":"date","type":"string"}`.
Filter by filing date less than or equal to this date (YYYY-MM-DD). Provider reference (supplier schema): `{"format":"date","type":"string"}`.
Filter by SEC form type: 4 for trades, 5 for annual statements (or their amendments 4/A, 5/A).
The maximum number of transactions to return (default: 10). This is the total across all pages, not a page size: each page holds up to 10 records, linked by `next_page_url`. Provider reference (supplier schema): `{"default":10,"type":"integer"}`.
Filter by insider name (e.g., 'Jen Hsun Huang'). Use the /insider-trades/names endpoint to get available names for a ticker.
The ticker symbol of the company.
Filter by transaction type (e.g., 'Open market sale', 'Gift'). Use the /insider-trades/transaction-types endpoint to get available types.
Đầu raSẵn sàng

Đầu ra của bạn sẽ xuất hiện ở đây

Hoàn tất đầu vào, rồi nhấp Run.

README API

Financial Datasets Get Insider Trades API

Returns SEC insider trade records for a company, such as open market sales and purchases by officers and directors. Each record shows the insider, the transaction size and price, and share holdings before and after. The main input is a ticker such as AAPL.

Use cases

  • Track when executives at a company sell or buy shares and at what price.
  • Build an alert that flags new insider sales filed after a given date with filing_date_gte.
  • Compare an insider's holdings before and after each trade to see how much of their position they sold.
  • Filter by transaction_type to separate open market sales from gifts when screening for insider sentiment.

Request

curl -X POST "https://api.sandbase.ai/v1/api/financial-datasets/insider-trades" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"limit": "2", "ticker": "AAPL"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
cursorstringNoOpaque pagination cursor from a previous response's next_page_url. When provided, all other query parameters are ignored: the cursor carries the original request's filters. Treat it as opaque; do not construct or modify
filing_datestringNoFilter by exact filing date in YYYY-MM-DD format. Provider reference (supplier schema): {"format":"date","type":"string"}.
filing_date_gtstringNoFilter by filing date greater than this date (YYYY-MM-DD). Provider reference (supplier schema): {"format":"date","type":"string"}.
filing_date_gtestringNoFilter by filing date greater than or equal to this date (YYYY-MM-DD). Provider reference (supplier schema): {"format":"date","type":"string"}.
filing_date_ltstringNoFilter by filing date less than this date (YYYY-MM-DD). Provider reference (supplier schema): {"format":"date","type":"string"}.
filing_date_ltestringNoFilter by filing date less than or equal to this date (YYYY-MM-DD). Provider reference (supplier schema): {"format":"date","type":"string"}.
form_typestringNoFilter by SEC form type: 4 for trades, 5 for annual statements (or their amendments 4/A, 5/A).
limitstringNoThe maximum number of transactions to return (default: 10). This is the total across all pages, not a page size: each page holds up to 10 records, linked by next_page_url. Provider reference (supplier schema): `{"defau
namestringNoFilter by insider name (e.g., 'Jen Hsun Huang'). Use the /insider-trades/names endpoint to get available names for a ticker.
tickerstringNoThe ticker symbol of the company.
transaction_typestringNoFilter by transaction type (e.g., 'Open market sale', 'Gift'). Use the /insider-trades/transaction-types endpoint to get available types.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "insider_trades": [
    {
      "filing_date": "2026-10-29",
      "form_type": "4",
      "is_board_director": false,
      "issuer": "Apple Inc.",
      "name": "Newstead Jennifer",
      "report_period": "2026-10-27",
      "security_title": "Common Stock",
      "shares_owned_after_transaction": 32396.0,
      "shares_owned_before_transaction": 34795.0,
      "ticker": "AAPL",
      "title": "SVP, GC and Government Affairs",
      "transaction_code": "S"
    }
  ]
}

Response fields

FieldMeaning
insider_trades[]List of insider transactions, one object per transaction.
insider_trades[].name / insider_trades[].titleName of the insider and their role at the company. is_board_director shows whether they sit on the board.
insider_trades[].issuer / insider_trades[].tickerCompany name and ticker symbol of the company whose shares were traded.
insider_trades[].transaction_date / insider_trades[].filing_dateDate of the trade and date the form was filed, both in YYYY-MM-DD format. report_period is the period date reported on the filing.
insider_trades[].transaction_type / insider_trades[].transaction_codeText label of the transaction, such as Open market sale, and its short code, such as S.
insider_trades[].transaction_sharesNumber of shares in the transaction.
insider_trades[].transaction_price_per_share / insider_trades[].transaction_valuePrice per share and the total value of the transaction. In the sample, the value equals shares times price.
insider_trades[].shares_owned_before_transaction / insider_trades[].shares_owned_after_transactionNumber of shares the insider held before and after the transaction.
insider_trades[].form_type / insider_trades[].security_titleSEC form type the trade was reported on, such as 4, and the type of security traded, such as Common Stock.

Notes

  • Use limit to set the total number of records. Each page holds up to 10 records, and next_page_url links to the next page.
  • Pass the cursor from next_page_url to get the next page. When you send cursor, all other parameters are ignored.
  • Get valid name values from the /insider-trades/names endpoint and valid transaction_type values from the /insider-trades/transaction-types endpoint.
  • To see the filings behind a trade, call Financial Datasets Get Company SEC Filings.

Pricing

$0.02 per successful call. Failed calls are not charged.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
Financial Datasets$0.02 mỗi lần gọiJSON
Financial Datasets$0.02 mỗi lần gọiJSON
Financial Datasets$0.02 mỗi lần gọiJSON
Financial Datasets$0.02 mỗi lần gọiJSON
Financial Datasets$0.02 mỗi lần gọiJSON
Financial Datasets$0.02 mỗi lần gọiJSON

Câu hỏi

FAQ

Làm thế nào để dùng API Financial Datasets Get Insider Trades?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/financial-datasets/insider-trades với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API Financial Datasets Get Insider Trades có giá bao nhiêu?

$0.02 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API Financial Datasets Get Insider Trades chấp nhận những tham số nào?

Không có tham số bắt buộc. Tùy chọn: cursor (string), filing_date (string), filing_date_gt (string), filing_date_gte (string), filing_date_lt (string) và filing_date_lte (string) và 5 mục khác. Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Financial Datasets Get Insider Trades trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của Financial Datasets không?

Không. Financial Datasets Get Insider Trades chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Financial Datasets.