• Fundamental Data API - Introduction
    • Authentication, Request & Response
    • Code Samples & API Trial
    • List of APIs
    • Type of Corporate Data Available
    • Corporate Data APIs
      • Corporate Announcements
        • GetCorporateAnnouncementsCategories
        • GetCorporateAnnouncements
      • Corporate Announcement Attachment Downloader
        • GetCorporateAnnouncementAttachment
      • Corporate Actions
        • GetCorporateActionsCategories
        • GetCorporateActions
      • Financial Results
        • GetResultsCalendar
        • GetFinancialResultsItems
        • GetFinancialResults
        • GetFinRatioEOD
        • GetFinRatioQuarterly
        • GetFinRatioSnapshot
      • Sectoral Classification
        • GetSectoralClassification
        • GetSectors
        • GetMei
        • GetIndustries
        • GetBasicIndustries
      • Share Holding Patterns
        • GetShpItems
        • GetSHP
        • GetSHPAdvanced
      • Market Capitalization
        • GetScripMCap
        • GetExchangeMCap
      • Voting Results
        • GetVotingItems
        • GetVoting
      • Corporate Governance
        • GetCorporateGovernanceItems
        • GetCorporateGovernance
      • Annual Results (PDF)
        • GetAnnualReports
      • Company Information
        • GetCompanyData
      • Bulk / Block Deals
        • GetBulkDeals
        • GetBlockDeals
      • Delivery Volumes
        • GetDeliveryVolumes
      • Promoter's Pledge
        • GetConsolidatedPledge
    • Other Data APIs
      • Index Constituents
      • GetEODStats
        GET
      • GetBhavCopyCM
        GET
      • GetBhavCopyFO
        GET
      • GetFuturesAndOptions
        GET
      • GetIndexDetail
        GET
      • GetCircuitFilterDetails
        GET
      • GetStatisticsGroupAbCompanies
        GET
      • GetTop5GainersLosers
        GET
      • GetIndexHighlights
        GET
      • GetTotalTradeHighlights
        GET
      • GetScripGroupTradeHighlights
        GET
      • GetTurnoverDetailsOfTop15ScripsofAgroup
        GET
    • EOD Statistics
      • GetSeriesChange
      • GetBannedSecurities
      • ​GetDeliverable
      • GetVolatality
      • GetNewHL
      • GetCircuitBreakers
    • Helper APIs
      • GetServerInfo
      • GetLimitation
      • GetInstruments
    • Glossary
      • Glossary
    • Diagnostic API Responses
      • Diagnostic API Responses
    • Release Notes
      • 📢Release Notes

    Code Samples & API Trial

    API Trial#

    To take hands-on trial, user can exploit this documentation website. Each of the available functionality can be found under List of APIs. User can visit the page of required functionality, use the default value of "accessKey" mentioned / embedded in the request and click on "Try it" button. Instant response will be shown below the request.
    User can customize the available parameters while sending the request - including the format in which response is expected, alongwith other parameters - and instantly see the response as per the chosen parameter values.
    Notes
    Since this is trial, most recent data is not available - even when user selects most recent values for "from" / "to" parameters. An arbitrary date in the past (currently 27th February 2025) is chosen as the date for which, all responses will be sent.

    Generating the Code#

    Whenever user clicks on " Try it" button, an appropriate request is formatted automatically in the "code console" for each of the available languages - as shown below. This is true even when user modifies the request to suit to their requirement. The response is sent as per value of "format" variable sent in the request (Json, Xml, Csv, CsvContent) and is visible right below the "code console".
    User can then select the "Language" of their choice, click on "Copy" button and paste the code in their project.
    image.png

    Languages Available#

    While this is not an exhaustive list, currently we generate code instantly for the following 15+ languages.
    Sr.No.LanguageLibraries
    1ShellcURL, cURL-Windows, Httpie, wget, PowerShell
    2JavaScriptFetch, Axios, jQuery, XHR, Native, Request, Unirest
    3JavaUnirest, OkHttp
    4SwiftURLRequest
    5GoNewRequest
    6PHPcURL, HTTP_Request2, pecl_http, Guzzle
    7Pythonhttp.client, Requests
    8HTTPhttp
    9CLibcurl
    10C#HttpClient
    11Objective CNSURLSession
    12Rubyuri, net::http
    13OCamlCoHTTP
    14Darthttp
    15Rhttr
    Modified at 2025-05-08 13:04:18
    Previous
    Authentication, Request & Response
    Next
    List of APIs
    Built with