GST APIEnvironment:
Default OTP575757
API Reference
Overview
Public
Authentication
GSTR
GSTR1
GSTR1A
GSTR2A
GSTR2B
GSTR2X
GSTR3B
GSTR4
GSTR4A
GSTR4Annual
GSTR5
GSTR6
GSTR6A
GSTR7
GSTR8
GSTR9
GSTR9A
GSTR9C
SPIKE
ALL
IMS
ITC03
ITC04
CMP
Payment
Ledger
e-Invoice
Notices
GST Suvidha ProviderISO 27001:2022 CertifiedFree Sandbox · No Card

GST APIs for
Modern Developers

The WhiteBooks GST API gives developers programmatic access to GSTR-1 / GSTR-3B / GSTR-9 filing, GSTR-2B fetch, GSTIN verification, and HSN/SAC lookup through the certified GSP channel to the GSTN.

TLS 1.3 Encrypted
Real-Time Processing
Direct GSTN Integration
100+
API Endpoints
ISO 27001
Certified Infrastructure
100%
Compliance Ready
Real-Time
Automation Engine
5k+
Active Integrations
Free
Sandbox Environment

Architecture

WhiteBooks sits between your application and GSTN, providing a reliable, GSP-licensed relay layer.

WhiteBooks API Lifecycle
1
Request
You send a request to WhiteBooks API
2
Process
We validate, sign & route via GSP layer
3
Transmit
GSP-licensed relay to GSTN
4
Response
GSTN processes & sends response
5
Deliver
Response delivered back to your app
Your App
SDK / REST
1Request
5Response
WhiteBooks API
api.whitebooks.dev
AuthValidateSignRoute
Audit Logs
Immutable trail
Webhooks
Events & alerts
2Process
4Response
GSP Layer
Licensed GSP
SecureReliableCompliant
3Transmit
GSTN
Govt. API

How To Start

Follow these steps to get started with the GST API integration.

STEP 01
Create GSTIN Sandbox

Register for a GSTIN sandbox account. Please select GSP as "BVM IT Consulting Services India Pvt Ltd". Click Here

STEP 02
Sign-up with WhiteBooks

Create your WhiteBooks developer account to access API credentials and the sandbox environment. Sign up

STEP 03
Purchase Sandbox Access

Login → Under GST API → Click on Buy Now to purchase Sandbox.

STEP 04
Start Using APIs

Once you receive Sandbox Details from GSTIN, use your GSTIN Username & GSTIN Number along with WhiteBooks API Credentials.

STEP 05
GST API Support Forum

Join the GST Suvidha Provider discussion group for API support and community help. Click Here

STEP 06
GSTIN API Documentation

Access official GSTIN API Payload and Documentation for detailed integration guides. Click Here

Sandbox API

Default OTP for GSTR1 authentication in sandbox is 575757

WhiteBooks GST API Sandbox Information

To use GST API Sandbox Credentials, follow the steps below to generate your API keys from the developer dashboard.

100% Free
No credit card
01
Sign up with WhiteBooks

Create your developer account to get started.

Sign up →
02
Login to WhiteBooks

Access your developer dashboard with your credentials.

Login →
03
Create Credentials

Click "Credentials" on the GST API card, then click "Create Credentials" button.

04
Submit Details

Fill in the required details in the popup and submit to receive your API keys.

Sandbox credentials are isolated, no real GSTN data is touched

Jump Into the API

Pick a category to land straight on the endpoint reference — request schemas, parameters, and live code examples included.

30 groups · 281 endpoints

Best Practices

Follow these patterns for production-grade, maintainable GST integrations.

Use Sandbox Before Production

Always validate integration against the sandbox environment. The sandbox mirrors production schema exactly. No surprises at go-live.

Set BASE_URL=https://api.sandbox.whitebooks.in/
Handle Token Expiration

Access tokens expire after 3600 seconds. Implement automatic token refresh logic before expiry to avoid 401 errors mid-session.

if (token.expires_in < 300) refreshToken()
Validate Invoice Data

Use the /validate endpoint before submission to catch GSTIN mismatches, invalid HSN codes, and tax computation errors upfront.

POST /api/v2/invoices/validate
Maintain Audit Logs

Store all API request/response payloads with timestamps for compliance audit trails. Include IRN and ACK numbers in your records.

Log: irn, ack_no, timestamp, gstin

SDKs & Libraries

Integrate seamlessly with our collection of high-performance client libraries. Built for stability and optimized for developer productivity across your stack.

Download and unzip the file and open it with the related application.Please Login/Sign up to download the files.

Developer Resources & Documentation

Everything you need to integrate the GST APIs — certificates, reference docs, help guides, and error codes.

SSL Certificate

.CRT

GST API Reference Documentation

.PDF

GST API Error Codes

.PDF

GST API Attribute Details

.XLSX

GST API Production Credentials Creation Process

.PDF

State Codes

View the list of GST state codes

Join GSP/ASP Community

GOOGLE GROUP

Frequently Asked Questions

Talk to Sales
Need enterprise limits or custom integration support?
+91 9032111788
GST SUVIDHA PROVIDER | ISO 27001:2022

Scale GST Compliance with Powerful APIs

Integrate WhiteBooks GST APIs into your ERP, accounting software, fintech platform, or SaaS application to automate GST filing, GSTIN verification, reconciliation, invoicing, and tax compliance workflows with scalable production-ready APIs.

✓ GST Return Filing APIs✓ GSTIN Verification✓ Sandbox & Production Access