# Insider trading / search

`GET /stable/insider-trading/search`

[FMP OpenAPI schema](https://api.quantset.dev/openapi/fmp.json)

## Example request

```bash
curl https://api.quantset.dev/stable/insider-trading/search -H 'apikey: YOUR_QUANTSET_API_KEY'
```

## Parameters

Authenticate with a QuantSet API key in the `apikey` header or query parameter.

| Name | Location | Type | Required | Default |
| --- | --- | --- | --- | --- |
| `symbol` | query | string | No | — |
| `reportingCik` | query | string | No | — |
| `companyCik` | query | string | No | — |
| `transactionType` | query | string | No | — |
| `page` | query | integer, 0 to 100 | No | 0 |
| `limit` | query | integer, 1 to 1,000 | No | 100 |
| `format` | query | json, csv | No | "json" |
| `snapshot_id` | query | string | No | — |

## Data coverage

Results are limited to the indexed SEC evidence and date window. Fields absent from the filings remain null.

## JSON shape

Angle brackets indicate types. Arrays show one item. See the schema for all constraints.

```json
[
  {
    "reportingCik": "<string | null>",
    "reportingName": "<string | null>",
    "symbol": "<string | null>",
    "filingDate": "<date | null>",
    "transactionDate": "<date | null>",
    "companyCik": "<string | null>",
    "transactionType": "<string | null>",
    "securitiesOwned": "<number | null>",
    "typeOfOwner": "<string | null>",
    "acquisitionOrDisposition": "<string | null>",
    "directOrIndirect": "<string | null>",
    "formType": "<string | null>",
    "securitiesTransacted": "<number | null>",
    "price": "<number | null>",
    "securityName": "<string | null>",
    "url": "<string | null>"
  }
]
```

## Response schema

```json
{
  "type": "array",
  "items": {
    "properties": {
      "reportingCik": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Reportingcik"
      },
      "reportingName": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Reportingname"
      },
      "symbol": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Symbol"
      },
      "filingDate": {
        "anyOf": [
          {
            "type": "string",
            "format": "date"
          },
          {
            "type": "null"
          }
        ],
        "title": "Filingdate"
      },
      "transactionDate": {
        "anyOf": [
          {
            "type": "string",
            "format": "date"
          },
          {
            "type": "null"
          }
        ],
        "title": "Transactiondate"
      },
      "companyCik": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Companycik"
      },
      "transactionType": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Transactiontype"
      },
      "securitiesOwned": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Securitiesowned"
      },
      "typeOfOwner": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Typeofowner"
      },
      "acquisitionOrDisposition": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Acquisitionordisposition"
      },
      "directOrIndirect": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Directorindirect"
      },
      "formType": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Formtype"
      },
      "securitiesTransacted": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Securitiestransacted"
      },
      "price": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Price"
      },
      "securityName": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Securityname"
      },
      "url": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Url"
      }
    },
    "type": "object",
    "required": [
      "reportingCik",
      "reportingName",
      "symbol",
      "filingDate",
      "transactionDate",
      "companyCik",
      "transactionType",
      "securitiesOwned",
      "typeOfOwner",
      "acquisitionOrDisposition",
      "directOrIndirect",
      "formType",
      "securitiesTransacted",
      "price",
      "securityName",
      "url"
    ],
    "title": "InsiderTrade"
  },
  "title": "Response Stable Insider Search Stable Insider Trading Search Get"
}
```
