Download OpenAPI specification:
FinAGG GSP APIs provide secure, scalable, and compliant programmatic access to India’s GST ecosystem through an authorized GST Suvidha Provider (GSP).
GST Developer Portal https://developer.gst.gov.in
These APIs are intended for system-to-system integration and are not meant to be accessed via browsers, except for health and ping endpoints.
FinAGG GSP maintains multiple API servers for development, testing, and production usage.
Note: These are API servers and not meant to be browsable (except for Ping and GSTN Health endpoints).
All APIs are protected using API Key authentication
(This you need to get from FinAGG GSP Team before you use these APIs, send a request to get the X-API-Key to gsp@finagg.in )
Required Header: x-api-key
Searches GSTN records to validate a GSTIN and retrieve taxpayer details.
GSTIN is the primary identifier of a business under GST. This API is typically the first step in any GST workflow.
action=SEARCHGSTIN{- "status_cd": "0",
- "error": {
- "error_cd": "GEN5007",
- "message": "Malformed Request"
}
}Fetches GST return filing status and available return periods from GSTN.
GST returns must be filed periodically (monthly/quarterly), even if there is no business activity.
This API provides a summary view of return compliance, without fetching detailed data.
{- "status_cd": "0",
- "error": {
- "error_cd": "GEN5007",
- "message": "Malformed Request"
}
}Fetches all GSTINs registered under a given PAN.
A single PAN can have multiple GST registrations across different states or business verticals.
{- "status_cd": "0",
- "error": {
- "error_cd": "GEN5007",
- "message": "Malformed Request"
}
}Authenticates a GST taxpayer using an OTP-based consent mechanism.
GST data is sensitive and requires explicit taxpayer consent. Authentication is mandatory before accessing any taxpayer-specific data.
action=OTPREQUESTapp_key must be securely encrypted using GSTN public key{- "status_cd": "0",
- "error": {
- "error_cd": "GEN5007",
- "message": "Malformed Request"
}
}Retrieves summarized GST return data for an authenticated taxpayer.
This API provides a consolidated view of a taxpayer’s GST compliance behavior.
{- "status_cd": "0",
- "error": {
- "error_cd": "GEN5007",
- "message": "Malformed Request"
}
}Fetches GSTR-1 return data containing outward supply (sales) details.
GSTR-1 is the primary return where businesses report all sales transactions.
Data reported in GSTR-1 is used by buyers to generate their GSTR-2A/2B for ITC claims.
{- "status_cd": "0",
- "error": {
- "error_cd": "GEN5007",
- "message": "Malformed Request"
}
}Fetches GSTR-2A auto-drafted return reflecting inward supplies (purchases).
GSTR-2A is generated automatically based on suppliers’ GSTR-1 filings.
{- "status_cd": "0",
- "error": {
- "error_cd": "GEN5007",
- "message": "Malformed Request"
}
}Fetches GSTR-3B summary return used for tax declaration and payment.
GSTR-3B is a mandatory summary return filed for each tax period.
Must be filed even if there is no business activity in the period.
{- "status_cd": "0",
- "error": {
- "error_cd": "GEN5007",
- "message": "Malformed Request"
}
}Fetches returns filed under the Composition Scheme.
Composition scheme is for small taxpayers who pay tax at a fixed rate on turnover.
{- "status_cd": "0",
- "error": {
- "error_cd": "GEN5007",
- "message": "Malformed Request"
}
}Fetches GSTR-4 return table wise data filed by taxpayers under the Composition Scheme.
GSTR-4 is an annual return that must be filed by taxpayers registered under the Composition Scheme. It provides a consolidated view of turnover, inward supplies, and tax liability for the entire financial year.
{- "status_cd": "0",
- "error": {
- "error_cd": "GEN5007",
- "message": "Malformed Request"
}
}Fetches GSTR-4 return summary data for taxpayers registered under the Composition Scheme.
GSTR-4 is an annual return filed by composition taxpayers, providing a summarized view of their business activity for the financial year. Unlike regular taxpayers, composition dealers do not file detailed monthly returns.
{- "status_cd": "0",
- "error": {
- "error_cd": "GEN5007",
- "message": "Malformed Request"
}
}Downloads detailed GST return files using a GSTN-provided file path.
GST returns like GSTR-1 and GSTR-2A contain large, invoice-level datasets required for reconciliation and analytics.
proxy_path to download the file{- "status_cd": "0",
- "error": {
- "error_cd": "GEN5007",
- "message": "Malformed Request"
}
}