apiverve / insidertrading
Insider Trading returns recent SEC Form 4 insider transactions for a US public company by ticker - who bought or sold, their role, the number of shares, price and transaction type - plus a derived insider-sentiment summary with net buy/sell activity and cluster-buy detection calculated for you.
Package info
github.com/apiverve/insidertrading-api
Language:C#
pkg:composer/apiverve/insidertrading
Requires
- php: >=7.4
- guzzlehttp/guzzle: ^7.0
Requires (Dev)
- phpunit/phpunit: ^9.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Insider Trading returns recent SEC Form 4 insider transactions for a US public company by ticker - who bought or sold, their role, the number of shares, price and transaction type - plus a derived insider-sentiment summary with net buy/sell activity and cluster-buy detection calculated for you.
The Insider Trading API provides a simple, reliable way to integrate insider trading functionality into your applications. Built for developers who need production-ready insider trading capabilities without the complexity of building from scratch.
Quick Start
Using JavaScript
async function callInsiderTradingAPI() { try { const params = new URLSearchParams({ ticker: 'AAPL' }); const response = await fetch(`https://api.apiverve.com/v1/insidertrading?${params}`, { method: 'GET', headers: { 'x-api-key': 'YOUR_API_KEY_HERE' } }); const data = await response.json(); console.log(data); } catch (error) { console.error('Error:', error); } } callInsiderTradingAPI();
Using cURL
curl -X GET "https://api.apiverve.com/v1/insidertrading?ticker=AAPL" \ -H "x-api-key: YOUR_API_KEY_HERE"
Get your API key: https://apiverve.com
📁 For more examples, see the examples folder
Installation
Choose your preferred programming language:
📦 NPM (JavaScript/Node.js)
npm install @apiverve/insidertrading
View NPM Package → | Package Code →
🔷 NuGet (.NET/C#)
dotnet add package APIVerve.API.InsiderTrading
View NuGet Package → | Package Code →
🐍 Python (PyPI)
pip install apiverve-insidertrading
View PyPI Package → | Package Code →
💎 Ruby (RubyGems)
gem install apiverve_insidertrading
View RubyGems Package → | Package Code →
🐘 PHP (Packagist)
composer require apiverve/insidertrading
View Packagist Package → | Package Code →
🎯 Dart (pub.dev)
dart pub add apiverve_insidertrading
View pub.dev Package → | Package Code →
🤖 Android (JitPack)
implementation 'com.github.apiverve:insidertrading-api:1.0.0'
🐹 Go
go get github.com/apiverve/insidertrading-api/go
Why Use This API?
| Feature | Benefit |
|---|---|
| Multi-language SDKs | Native packages for JavaScript, Python, C#, Go, and Android |
| Simple Integration | Single API key authentication, consistent response format |
| Production Ready | 99.9% uptime SLA, served from 24 global regions |
| Comprehensive Docs | Full examples, OpenAPI spec, and dedicated support |
Documentation
- 🏠 API Home: Insider Trading API
- 📚 API Reference: docs.apiverve.com/ref/insidertrading
- 📖 OpenAPI Spec: openapi.yaml
- 💡 Examples: examples/
What Can You Build?
The Insider Trading API is commonly used for:
- Web Applications - Add insider trading features to your frontend or backend
- Mobile Apps - Native SDKs for Android development
- Automation - Integrate with n8n, Zapier, or custom workflows
- SaaS Products - Enhance your product with insider trading capabilities
- Data Pipelines - Process and analyze data at scale
API Reference
Authentication
All requests require an API key in the header:
x-api-key: YOUR_API_KEY_HERE
Get your API key: https://apiverve.com
Response Format
Every APIVerve endpoint returns the same envelope — check status, then read data:
{
"status": "ok",
"error": null,
"data": { ... }
}
Example Response
A real response from the Insider Trading API:
{
"status": "ok",
"error": null,
"data": {
"ticker": "AAPL",
"cik": "0000320193",
"company": "Apple Inc.",
"totalRecentForm4": 512,
"count": 5,
"lastTransactionDate": "2025-10-14",
"daysSinceLastTransaction": 64,
"transactions": [
{
"filingDate": "2025-10-16",
"transactionDate": "2025-10-14",
"insiderName": "COOK TIMOTHY D",
"insiderTitle": "Chief Executive Officer",
"relationship": {
"director": true,
"officer": true,
"tenPercentOwner": false
},
"security": "Common Stock",
"transactionCode": "S",
"transactionType": "Sale",
"direction": "sell",
"acquiredDisposed": "D",
"shares": 511000,
"pricePerShare": 245.5,
"value": 125450500,
"sharesOwnedAfter": 3280000,
"accessionNumber": "0000320193-25-000118",
"url": "https://www.sec.gov/Archives/edgar/data/320193/000032019325000118/xslF345X05/wf-form4.xml"
},
{
"filingDate": "2025-10-02",
"transactionDate": "2025-10-01",
"insiderName": "MAESTRI LUCA",
"insiderTitle": "Senior Vice President, CFO",
"relationship": {
"director": false,
"officer": true,
"tenPercentOwner": false
},
"security": "Common Stock",
"transactionCode": "S",
"transactionType": "Sale",
"direction": "sell",
"acquiredDisposed": "D",
"shares": 74213,
"pricePerShare": 241.18,
"value": 17899091,
"sharesOwnedAfter": 112884,
"accessionNumber": "0000320193-25-000112",
"url": "https://www.sec.gov/Archives/edgar/data/320193/000032019325000112/xslF345X05/wf-form4.xml"
},
{
"filingDate": "2025-08-20",
"transactionDate": "2025-08-18",
"insiderName": "WILLIAMS JEFFREY E",
"insiderTitle": "Chief Operating Officer",
"relationship": {
"director": false,
"officer": true,
"tenPercentOwner": false
},
"security": "Common Stock",
"transactionCode": "P",
"transactionType": "Purchase",
"direction": "buy",
"acquiredDisposed": "A",
"shares": 5000,
"pricePerShare": 226.4,
"value": 1132000,
"sharesOwnedAfter": 489210,
"accessionNumber": "0000320193-25-000101",
"url": "https://www.sec.gov/Archives/edgar/data/320193/000032019325000101/xslF345X05/wf-form4.xml"
},
{
"filingDate": "2025-08-04",
"transactionDate": "2025-08-01",
"insiderName": "ADAMS KATHERINE L",
"insiderTitle": "Senior Vice President, General Counsel",
"relationship": {
"director": false,
"officer": true,
"tenPercentOwner": false
},
"security": "Common Stock",
"transactionCode": "A",
"transactionType": "Grant/Award",
"direction": null,
"acquiredDisposed": "A",
"shares": 25000,
"pricePerShare": 0,
"value": 0,
"sharesOwnedAfter": 312450,
"accessionNumber": "0000320193-25-000098",
"url": "https://www.sec.gov/Archives/edgar/data/320193/000032019325000098/xslF345X05/wf-form4.xml"
},
{
"filingDate": "2025-08-04",
"transactionDate": "2025-08-01",
"insiderName": "O'BRIEN DEIRDRE",
"insiderTitle": "Senior Vice President",
"relationship": {
"director": false,
"officer": true,
"tenPercentOwner": false
},
"security": "Common Stock",
"transactionCode": "F",
"transactionType": "Tax Withholding",
"direction": null,
"acquiredDisposed": "D",
"shares": 8123,
"pricePerShare": 232.1,
"value": 1885348,
"sharesOwnedAfter": 145200,
"accessionNumber": "0000320193-25-000097",
"url": "https://www.sec.gov/Archives/edgar/data/320193/000032019325000097/xslF345X05/wf-form4.xml"
}
],
"summary": {
"totalTransactions": 5,
"distinctInsiders": 5,
"buys": {
"count": 1,
"shares": 5000,
"value": 1132000
},
"sells": {
"count": 2,
"shares": 585213,
"value": 143349591
},
"netShares": -580213,
"netValue": -142217591,
"buySellRatio": 0.01,
"sentiment": "Bearish",
"clusterBuy": false
}
}
}
Support & Community
- 🏠 API Home: Insider Trading API
- 💬 Support: https://apiverve.com/contact
- 🐛 Issues: GitHub Issues
- 📖 Documentation: https://docs.apiverve.com
- 🌐 Website: https://apiverve.com
Contributing
We welcome contributions! Please see CONTRIBUTING.md for guidelines.
Security
For security concerns, please review our Security Policy.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgments
Built with ❤️ by APIVerve
Copyright © 2026 APIVerve. All rights reserved.