IFSC, GSTIN & UPI Validation API (India)
FreemiumValidate Indian payment details — IFSC (with bank and branch), GSTIN, UPI ID format — plus IBAN and card BIN checks.
Documentation
Validate Indian payment details.
What you get
- IFSC lookup — bank, branch, address, MICR, SWIFT, and whether UPI/IMPS/NEFT/RTGS are supported
- GSTIN validation with check digit, state and PAN
- UPI ID (VPA) format check and provider
- IBAN validation (country format and checksum)
- Card BIN — card network from the first digits, including RuPay
Great for payout and KYC forms, invoicing, fintech onboarding and checkout validation.
Quick start
Subscribe to a plan (the Basic plan is free), then call the API at https://payment-details-validator.p.apihiver.com with your key in the X-API-Key header:
curl "https://payment-details-validator.p.apihiver.com/v1/ifsc/SBIN0000300" \
-H "X-API-Key: YOUR_API_KEY"Endpoints
| Method | Path | What it does |
|---|---|---|
GET | /v1/ifsc/{code} | Bank and branch details for an IFSC code |
GET | /v1/gstin/{gstin} | Validate a GSTIN (format, state, PAN and checksum) |
GET | /v1/upi | Check a UPI ID's format and identify the app/bank handle |
GET | /v1/iban/{iban} | Validate an IBAN (checksum and country format) |
GET | /v1/card-bin/{bin} | Card network from the first 6–8 digits (BIN/IIN) |
Open the Endpoints tab to see every parameter, example request and example response, and to try the API live.
Errors
Every error is JSON with the same shape:
{"error": {"code": "INVALID_INPUT", "message": "An IFSC is 11 characters: 4 letters, a zero, then 6 letters/digits (e.g. HDFC0000001)."}}| HTTP | Code | Meaning |
|---|---|---|
| 400 | INVALID_INPUT | A parameter is missing or has the wrong format — the message says which |
| 401 | UNAUTHORIZED | Missing or invalid X-API-Key |
| 404 | NOT_FOUND | Nothing matched the code, id or name you sent |
| 429 | — | Plan quota or rate limit reached (see the X-RateLimit-* headers) |
| 502 / 503 / 504 | — | A data source or the API server is temporarily unavailable — retry after a few seconds |
Data & privacy
Data comes from the Razorpay IFSC directory and standard check-digit algorithms. Format checks only — no money moves and no account is contacted.
IFSC, GSTIN & UPI Validation API (India) FAQ
- Is the IFSC, GSTIN & UPI Validation API (India) free?
- Yes. The Basic plan is free and includes 500 requests per month — no card needed. Paid plans start at ₹299 per month for 10,000 requests.
- How much does the IFSC, GSTIN & UPI Validation API (India) cost?
- Basic: free for 500 requests; Pro: ₹299/month for 10,000 requests; Ultra: ₹999/month for 50,000 requests; Mega: ₹2,499/month for 2,00,000 requests. Billing is monthly and you can cancel any time.
- How do I use the IFSC, GSTIN & UPI Validation API (India)?
- Subscribe to a plan on APIHiver, create an API key in the Console, then send requests to https://payment-details-validator.p.apihiver.com with your key in the X-API-Key header. You can also try every endpoint in the browser playground first.
- What endpoints does the IFSC, GSTIN & UPI Validation API (India) have?
- It has 5 endpoints: Bank and branch details for an IFSC code (GET /v1/ifsc/{code}); Validate a GSTIN (format, state, PAN and checksum) (GET /v1/gstin/{gstin}); Check a UPI ID's format and identify the app/bank handle (GET /v1/upi); Validate an IBAN (checksum and country format) (GET /v1/iban/{iban}); Card network from the first 6–8 digits (BIN/IIN) (GET /v1/card-bin/{bin}).
- What are the IFSC, GSTIN & UPI Validation API (India) rate limits?
- Basic: 2 requests per second; Pro: 5 requests per second; Ultra: 10 requests per second; Mega: 20 requests per second. Monthly quotas depend on the plan; every response includes X-RateLimit headers showing what's left.
- Can I use one API key for the IFSC, GSTIN & UPI Validation API (India) and other APIs?
- Yes. One APIHiver key works for every API you subscribe to, so you don't need a separate account or key per provider.
Related APIs
Universities API
EducationBy APIHiver · Updated 1w ago
Search universities in 200+ countries, look up a university by web domain, and verify student email addresses.
QR Code Generator & Reader API
OthersBy APIHiver · Updated 1w ago
Create QR codes for links, text, UPI payments, Wi-Fi logins and contact cards (PNG/SVG, custom colours) and read QR codes from images.
Public Holidays API
TravelBy APIHiver · Updated 1w ago
Public holidays for 150+ countries — including Indian states — plus 'is it a holiday?', upcoming holidays and working-day counts.
Password Security API
SecurityBy APIHiver · Updated 1w ago
Password strength scoring, private breach checks against known leaked passwords, secure password generation, hashing and bcrypt checks.
OCR API — Image to Text
OCRBy APIHiver · Updated 1w ago
Extract text from images and scans in English, Hindi and Marathi, and pull out emails, phone numbers, URLs, PAN and GSTIN.
Phone Number Validation API
SMSBy APIHiver · Updated 1w ago
Validate and format phone numbers for 240+ countries: valid or not, mobile or landline, carrier, region, and E.164 format.
Endpoints
5 endpoints — full list is in the sidebar on larger screens.