Sand AISand AI MAGI-2MAGI-2 ya está en SandBase: video en 1080p con audio nativoPruébalo ahora

Financial Datasets Get Insider Trades

Documentación de la 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.

Precio
$0.02USD / llamada
Método
POST
Respuesta
JSON
Parámetros
0 obligatorios · 11 opcionales

Entorno de pruebas

Entrada
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.
SalidaListo

Su salida aparecerá aquí

Complete las entradas y luego haga clic en Ejecutar.

README de la 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.

Explorar más

APIs relacionadas

Todas las APIs
APIPrecioRespuesta
Financial Datasets$0.02 por llamadaJSON
Financial Datasets$0.02 por llamadaJSON
Financial Datasets$0.02 por llamadaJSON
Financial Datasets$0.02 por llamadaJSON
Financial Datasets$0.02 por llamadaJSON
Financial Datasets$0.02 por llamadaJSON

Preguntas

FAQ

¿Cómo uso la API de Financial Datasets Get Insider Trades?

Envía una solicitud POST a https://api.sandbase.ai/v1/api/financial-datasets/insider-trades con tu clave API de SandBase en el encabezado Authorization (Bearer) y los parámetros como un cuerpo JSON. También puedes probarlo en el Playground de esta página sin escribir código.

¿Cuánto cuesta la API de Financial Datasets Get Insider Trades?

$0.02 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.

¿Qué parámetros acepta la API de Financial Datasets Get Insider Trades?

No se requieren parámetros. Opcionales: cursor (string), filing_date (string), filing_date_gt (string), filing_date_gte (string), filing_date_lt (string) y filing_date_lte (string) y 5 más. La tabla de Parámetros y el Playground de esta página enumeran todos los campos.

¿Qué devuelve la API de Financial Datasets Get Insider Trades?

Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica). El README de esta página incluye una respuesta de ejemplo.

¿Necesito una cuenta de desarrollador o una clave API de Financial Datasets?

No. Financial Datasets Get Insider Trades funciona a través de SandBase, así que una sola clave API de SandBase cubre este endpoint y todas las demás APIs y modelos del catálogo. No necesitas solicitar acceso a la API de Financial Datasets por separado.