Telecom API India

Indian DTH/D2H Recharge Plans

Get every DTH pack an Indian satellite TV operator sells: Tata Play, Airtel Digital TV, Dish TV, d2h and Sun Direct.

Request Example

<?php $ch = curl_init(); curl_setopt_array($ch, [ CURLOPT_URL => "https://app.way2api.com/api/v1/dth/recharge-plans", CURLOPT_RETURNTRANSFER => true, CURLOPT_POST => true, CURLOPT_HTTPHEADER => [ "Authorization: Bearer YOUR_API_KEY", "Content-Type: application/json" ], CURLOPT_POSTFIELDS => json_encode([ "operator" => "dish_tv" ]) ]); $response = curl_exec($ch); $httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE); curl_close($ch); $data = json_decode($response, true); print_r($data);
const response = await fetch("https://app.way2api.com/api/v1/dth/recharge-plans", { method: "POST", headers: { "Authorization": "Bearer YOUR_API_KEY", "Content-Type": "application/json" }, body: JSON.stringify({ "operator": "dish_tv" }) }); if (!response.ok) { throw new Error(`HTTP error: ${response.status}`); } const data = await response.json(); console.log(data);
curl -X POST https://app.way2api.com/api/v1/dth/recharge-plans \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"operator":"dish_tv"}'
$.ajax({ url: "https://app.way2api.com/api/v1/dth/recharge-plans", type: "POST", contentType: "application/json", headers: { "Authorization": "Bearer YOUR_API_KEY" }, data: JSON.stringify({ "operator": "dish_tv" }), success: function(data) { console.log(data); }, error: function(xhr) { console.error(xhr.responseJSON); } });
const { data } = await axios.post( "https://app.way2api.com/api/v1/dth/recharge-plans", {"operator":"dish_tv"}, { headers: { "Authorization": "Bearer YOUR_API_KEY" } } ); console.log(data);
import requests response = requests.post( "https://app.way2api.com/api/v1/dth/recharge-plans", headers={ "Authorization": "Bearer YOUR_API_KEY", "Content-Type": "application/json" }, json={ "operator": "dish_tv" } ) print(response.status_code) print(response.json())

Response Example

200 OK Success Response
{
    "success": true,
    "message": "",
    "data": {
        "order_id": "W2A1739512345abcdef01",
        "result": {
            "operator": "dish_tv",
            "plan_count": 2,
            "plans": [
                {
                    "plan_name": "Family Kannada HD",
                    "language": "kannada",
                    "channels": 48,
                    "hd_channels": 11,
                    "prices": [
                        {
                            "amount": 288,
                            "validity": "1 month",
                            "validity_months": 1
                        }
                    ]
                },
                {
                    "plan_name": "Popular Telugu",
                    "language": "telugu",
                    "channels": 28,
                    "hd_channels": 0,
                    "prices": [
                        {
                            "amount": 125,
                            "validity": "1 month",
                            "validity_months": 1
                        },
                        {
                            "amount": 913,
                            "validity": "3 months",
                            "validity_months": 3
                        },
                        {
                            "amount": 1825,
                            "validity": "6 months",
                            "validity_months": 6
                        },
                        {
                            "amount": 3651,
                            "validity": "12 months",
                            "validity_months": 12
                        }
                    ]
                }
            ]
        }
    }
}
4xx Error Response
{
    "success": false,
    "message": "DTH plans could not be fetched for this operator right now. Please try again shortly.",
    "data": {
        "order_id": "W2A1739512345abcdef01",
        "error_code": "VENDOR_ERROR"
    }
}

Common Response Codes

Code Meaning
200 OK — Request successful
400 Bad Request — Missing or invalid parameters
401 Unauthorized — Invalid or missing API key
429 Too Many Requests — Rate limit exceeded
500 Server Error — Try again later

Ready to integrate?

Start with 1,000 free trial calls on this API. No credit card required.

Get API Key — Free Browse All APIs

Related Telecom APIs

Other Way2API endpoints in the same category.

Way2API Way2API
Contact Way2API

Login