
The most common reason a DTH recharge goes wrong is a wrong customer ID. The customer types ten digits, you charge them, and only later does it turn out the number belongs to somebody else or to a different operator. A quick lookup before payment prevents nearly all of that.
The five operators and their codes
| Operator | Code |
|---|---|
| Airtel Digital TV | ATV |
| Tata Play | TTV |
| Dish TV | DTV |
| Sun Direct | STV |
| Videocon d2h | VTV |
These go in the operatorcode parameter. The ID you send is the customer's VC number (viewing card) or registered mobile number, depending on the operator; see the glossary if the term is new.
Four lookups, four jobs
- DTH Basic Info confirms the connection exists and returns the customer name and registered mobile. Use it as a quick "is this the right person?" check.
- DTH Info Check adds balance and PIN code, which is useful for showing "your balance is low" before suggesting an amount.
- DTH Info with Last Recharge adds the most recent recharge so you can offer a one-tap repeat.
- DTH Plan Fetch returns packs and combos for the operator, grouped by language.
A typical request
GET /planapi/dthInfoCheck?username=YOUR_ID&pwd=YOUR_PWD&mobileno=3012763522&operatorcode=TTV
A successful reply carries a DATA object with the fields for that connection, such as VC, Name and Balance, plus a Message. The exact set of fields in DATA can differ by operator, so render what is present and do not crash on a missing one.
error (lower case). Most other A1 Plan API endpoints use ERROR. Normalise the keys once in your HTTP wrapper and you will never trip over it. We show a helper in our error handling guide.When the customer does not know the operator
People remember the brand on the set-top box, not the code. If they are unsure, call DTH Operator Check with the number and use the operator it returns. If it cannot detect one, ask the customer to pick from the five logos.
A flow that feels trustworthy
- Ask for the operator (logo tiles work well) and the VC number.
- Call DTH Info Check. Show the customer name with the middle letters masked, for example "Mr Mi*****", so they can confirm without you exposing full details.
- Show the balance and, if you have it, the last recharge amount as a suggested amount.
- Only then take payment.
Cache carefully
Plans change slowly, so cache DTH Plan Fetch for a few hours. Balance changes the moment the customer recharges, so never cache Info Check results across a payment. For the full picture see caching and daily limits.
The complete request and response reference is on the DTH Info API page and in the documentation. Mobile and DTH data are not interchangeable, a difference we explain in DTH data vs mobile plan data.
Frequently asked questions
Which operator codes do DTH endpoints use?
ATV for Airtel Digital TV, TTV for Tata Play, DTV for Dish TV, STV for Sun Direct and VTV for Videocon d2h.
What if the customer does not know their DTH operator?
Call DTH Operator Check with the DTH number and use the operator it returns.
Why is the error key lower-case on DTH endpoints?
The DTH info endpoints return error in lower case while most other endpoints return ERROR. Read both case-insensitively.
Create an account, pick a plan and make your first call today. Every plan includes every endpoint.
Create account Read the docs


