بنقرة واحدة
nse-corporate-actions
NSE corp actions: dividends, bonus, splits, rights, buybacks
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
NSE corp actions: dividends, bonus, splits, rights, buybacks
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | nse-corporate-actions |
| description | NSE corp actions: dividends, bonus, splits, rights, buybacks |
| category | india |
| version | 1.0.0 |
| tags | nse, corporate-actions, dividend, bonus, split, rights, buyback, india, equity |
| license | Apache-2.0 |
Fetch upcoming and recent corporate actions for NSE-listed stocks — dividends, bonus issues, stock splits, rights issues, and buybacks — using NSE's public API.
$symbol = "INFY"
$headers = @{ "User-Agent" = "Mozilla/5.0"; "Referer" = "https://www.nseindia.com" }
Invoke-WebRequest -Uri "https://www.nseindia.com" -SessionVariable nse -Headers $headers | Out-Null
$resp = Invoke-RestMethod `
-Uri "https://www.nseindia.com/api/corporates-corporateActions?index=equities&symbol=$symbol" `
-Headers $headers -WebSession $nse
$resp | Select-Object subject, exDate, recordDate, bcStartDate, bcEndDate, series |
Sort-Object exDate -Descending | Select-Object -First 10
$headers = @{ "User-Agent" = "Mozilla/5.0"; "Referer" = "https://www.nseindia.com" }
Invoke-WebRequest -Uri "https://www.nseindia.com" -SessionVariable nse -Headers $headers | Out-Null
$today = (Get-Date).ToString("dd-MM-yyyy")
$resp = Invoke-RestMethod `
-Uri "https://www.nseindia.com/api/corporates-corporateActions?index=equities&from_date=$today&category=dividend" `
-Headers $headers -WebSession $nse
$resp | Select-Object symbol, subject, exDate, series |
Sort-Object exDate | Select-Object -First 20
$headers = @{ "User-Agent" = "Mozilla/5.0"; "Referer" = "https://www.nseindia.com" }
Invoke-WebRequest -Uri "https://www.nseindia.com" -SessionVariable nse -Headers $headers | Out-Null
$resp = Invoke-RestMethod `
-Uri "https://www.nseindia.com/api/corporates-corporateActions?index=equities&category=bonus" `
-Headers $headers -WebSession $nse
$resp | Select-Object symbol, subject, exDate, bcStartDate | Sort-Object exDate
$headers = @{ "User-Agent" = "Mozilla/5.0"; "Referer" = "https://www.nseindia.com" }
Invoke-WebRequest -Uri "https://www.nseindia.com" -SessionVariable nse -Headers $headers | Out-Null
$resp = Invoke-RestMethod `
-Uri "https://www.nseindia.com/api/corporates-corporateActions?index=equities&category=splits" `
-Headers $headers -WebSession $nse
$resp | Select-Object symbol, subject, exDate | Sort-Object exDate
$symbol = "TCS"
$headers = @{ "User-Agent" = "Mozilla/5.0"; "Referer" = "https://www.nseindia.com" }
Invoke-WebRequest -Uri "https://www.nseindia.com" -SessionVariable nse -Headers $headers | Out-Null
$resp = Invoke-RestMethod `
-Uri "https://www.nseindia.com/api/corporates-corporateActions?index=equities&symbol=$symbol" `
-Headers $headers -WebSession $nse
$latest = $resp | Where-Object { $_.subject -match "dividend" } |
Sort-Object exDate -Descending | Select-Object -First 1
if ($latest) {
$exDate = [DateTime]::ParseExact($latest.exDate, "dd-MMM-yyyy", $null)
$status = if ($exDate -gt (Get-Date)) { "UPCOMING (buy before $($latest.exDate))" } else { "PAST (ex-date was $($latest.exDate))" }
Write-Host "$symbol dividend: $($latest.subject) | Ex-date: $status"
}
"When is TCS next dividend and what is the ex-date?"
→ Fetch corporate actions for TCS filtered by dividend, sort by exDate, display the most recent upcoming entry.
"Are there any bonus issues this month?" → Fetch bonus category from corporate actions API, filter by exDate within current month.
"Has Wipro announced a stock split?" → Fetch splits category for WIPRO and check if any entries exist.
Search and download arXiv papers (no API key needed)
Delegate coding and file edits to Anthropic Claude Code CLI
Read/write Windows clipboard text, HTML, images, history (PowerShell)
Running scripts and code on Windows
Delegate coding tasks to OpenAI Codex CLI
Windows Defender: scans, threat history, signatures (PowerShell)