{"id":126,"date":"2018-03-09T01:18:08","date_gmt":"2018-03-08T19:48:08","guid":{"rendered":"https:\/\/www.plansinfo.com\/blog\/?p=126"},"modified":"2018-10-17T17:25:28","modified_gmt":"2018-10-17T11:55:28","slug":"api","status":"publish","type":"post","link":"https:\/\/www.plansinfo.com\/blog\/api\/","title":{"rendered":"Plansinfo Recharge Plans API Vesion 2.0 implementation guide"},"content":{"rendered":"<p>You can now build your own recharge plans app or you can implement recharge plans on your existing recharge website or application.You only need to pay Rs.500\/month. To get credentials please send an email to <strong>mail@plansinfo.com<\/strong>.<\/p>\n<h3>For Mobile Plans<\/h3>\n<h4>Request<\/h4>\n<p>Send a GET request to&#8230;<\/p>\n<pre><span style=\"color: #ff0000;\">http:\/\/api.plansinfo.com\/v2\/api.php?service=mobile&amp;zone_code=[zone code]&amp;op_code=[operator code]&amp;token=[secret token]<\/span>\r\n<i><\/i><\/pre>\n<p><i>eg.<\/i><\/p>\n<pre><i>http:\/\/api.plansinfo.com\/v2\/api.php?service=mobile&amp;zone_code=AP&amp;op_code=AT&amp;token=ftdgyu65ty<\/i><\/pre>\n<h4>Response<\/h4>\n<p>For every successful request, you will receive following JSON objects &#8211;<\/p>\n<ol>\n<li><b>status<\/b>-First index of this array is a boolean value (1 for a successful request and 0 for an error).<\/li>\n<li><b>data<\/b>&#8211; It will list all plans.\n<ol>\n<li><b>amount\u00a0<\/b>-It is the amount of plan.<\/li>\n<li><b>validity<\/b>&#8211; It is the validity of the plan.<\/li>\n<li><b>category<\/b>-It is the type of plan.<\/li>\n<li><b>benefit<\/b>-It is the description of the plan.<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<h4>Operator Codes<\/h4>\n<table>\n<tbody>\n<tr>\n<th>Code<\/th>\n<th>Operator<\/th>\n<\/tr>\n<tr>\n<td>AC<\/td>\n<td>AIRCEL \/\/No longer available<\/td>\n<\/tr>\n<tr>\n<td>AT<\/td>\n<td>Bharti Airtel<\/td>\n<\/tr>\n<tr>\n<td>CG<\/td>\n<td>BSNL &#8211; CellOne GSM<\/td>\n<\/tr>\n<tr>\n<td>DP<\/td>\n<td>MTNL &#8211; DOLPHIN<\/td>\n<\/tr>\n<tr>\n<td>ID<\/td>\n<td>IDEA<\/td>\n<\/tr>\n<tr>\n<td>MT<\/td>\n<td>MTS India\u00a0\/\/No longer available<\/td>\n<\/tr>\n<tr>\n<td>RC<\/td>\n<td>Reliance Mobile CDMA \/\/No longer available<\/td>\n<\/tr>\n<tr>\n<td>RG<\/td>\n<td>Reliance Mobile GSM\u00a0\/\/No longer available<\/td>\n<\/tr>\n<tr>\n<td>RJ<\/td>\n<td>Reliance Jio<\/td>\n<\/tr>\n<tr>\n<td>TD<\/td>\n<td>TATA DOCOMO<\/td>\n<\/tr>\n<tr>\n<td>UN<\/td>\n<td>Telenor<\/td>\n<\/tr>\n<tr>\n<td>VF<\/td>\n<td>Vodafone India<\/td>\n<\/tr>\n<tr>\n<td>VD<\/td>\n<td>Videocon Mobile Services \/\/No longer available<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4><strong>Zone Codes-<\/strong><\/h4>\n<table>\n<tbody>\n<tr>\n<th>Code<\/th>\n<th>Operator<\/th>\n<\/tr>\n<tr>\n<td>AP<\/td>\n<td>Andhra Pradesh<\/td>\n<\/tr>\n<tr>\n<td>AS<\/td>\n<td>Assam<\/td>\n<\/tr>\n<tr>\n<td>BR<\/td>\n<td>Bihar and Jharkhand<\/td>\n<\/tr>\n<tr>\n<td>CH<\/td>\n<td>Chennai<\/td>\n<\/tr>\n<tr>\n<td>DL<\/td>\n<td>Delhi Metro<\/td>\n<\/tr>\n<tr>\n<td>GJ<\/td>\n<td>Gujarat<\/td>\n<\/tr>\n<tr>\n<td>HP<\/td>\n<td>Himachal Pradesh<\/td>\n<\/tr>\n<tr>\n<td>HR<\/td>\n<td>Haryana<\/td>\n<\/tr>\n<tr>\n<td>JK<\/td>\n<td>Jammu and Kashmir<\/td>\n<\/tr>\n<tr>\n<td>KL<\/td>\n<td>Kerala<\/td>\n<\/tr>\n<tr>\n<td>KA<\/td>\n<td>Karnataka<\/td>\n<\/tr>\n<tr>\n<td>KO<\/td>\n<td>Kolkata Metro<\/td>\n<\/tr>\n<tr>\n<td>MH<\/td>\n<td>Maharashtra<\/td>\n<\/tr>\n<tr>\n<td>MP<\/td>\n<td>Madhya Pradesh and Chhattisgarh<\/td>\n<\/tr>\n<tr>\n<td>MU<\/td>\n<td>Mumbai Metro<\/td>\n<\/tr>\n<tr>\n<td>NE<\/td>\n<td>North East India<\/td>\n<\/tr>\n<tr>\n<td>OR<\/td>\n<td>Odisha<\/td>\n<\/tr>\n<tr>\n<td>PB<\/td>\n<td>Punjab<\/td>\n<\/tr>\n<tr>\n<td>RJ<\/td>\n<td>Rajasthan<\/td>\n<\/tr>\n<tr>\n<td>TN<\/td>\n<td>Tamil Nadu<\/td>\n<\/tr>\n<tr>\n<td>UE<\/td>\n<td>Uttar Pradesh (East)<\/td>\n<\/tr>\n<tr>\n<td>UW<\/td>\n<td>Uttar Pradesh (West) and Uttarakhand<\/td>\n<\/tr>\n<tr>\n<td>WB<\/td>\n<td>West Bengal<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>Get Operator\/Circle-<\/h4>\n<pre>http:\/\/api.plansinfo.com\/v2\/getopcircle.php?mobile=[mobile number]&amp;token=[secret token]<\/pre>\n<p>Example-<\/p>\n<pre><i>http:\/\/api.plansinfo.com\/v2\/getopcircle.php?mobile=9876543210&amp;token=ftdgyu65ty<\/i><\/pre>\n<h4>Response<\/h4>\n<p>For every successful request, you will receive following JSON objects &#8211;<\/p>\n<ol>\n<li><b>status<\/b>-First index of this array is a boolean value (1 for a successful request and 0 for an error).<\/li>\n<li><b>data<\/b>&#8211; It will list all plans.\n<ol>\n<li><b>op_code<\/b>&#8211; Operator Code of mobile number.<\/li>\n<li><b>zone_code &#8211;\u00a0<\/b>Circle\/Zone of mobile number.<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<h3>For DTH Plans<\/h3>\n<h4>Request<\/h4>\n<p>Send a GET\/POST request to&#8230;<\/p>\n<pre><span style=\"color: #ff0000;\">http:\/\/api.plansinfo.com\/v2\/api.php?service=dth&amp;zone_code=[zone code]&amp;op_code=[operator code]&amp;token=[app secret token]<\/span><\/pre>\n<p><i>Example-<\/i><\/p>\n<pre><i>http:\/\/api.plansinfo.com\/v2\/api.php?service=dth&amp;zone_code=RI&amp;op_code=TS&amp;token=ftdgyu65ty<\/i><\/pre>\n<h4>Response<\/h4>\n<p>For every successful request, you will receive an array of following JSON objects &#8211;<\/p>\n<ol>\n<li><b>status<\/b>-First index of this array is a boolean value (1 for a successful request and 0 for an error).<\/li>\n<li><b>data<\/b>&#8211; It will list all plans.\n<ol>\n<li><b>package_name<\/b>&#8211; Name of Package<\/li>\n<li><b>package_description<\/b>&#8211; Description of package<\/li>\n<li><b>package_price<\/b>&#8211; price pf package in INR<\/li>\n<li><b>channel_list<\/b>&#8211; list of channels in the package\n<ol>\n<li><b>channel_name<\/b>&#8211; Channel Number<\/li>\n<li><b>category<\/b>&#8211; Category of channel<\/li>\n<li><b>number<\/b>&#8211; Channel number, NA in case of channel number Not Available.<\/li>\n<li><b>logo<\/b>&#8211; Logo of the channel (50*50 size), NA in case of logo Not Available.<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<h4>Operator Codes<\/h4>\n<table>\n<tbody>\n<tr>\n<th>Operator<\/th>\n<th>Code<\/th>\n<\/tr>\n<tr>\n<td>Tata Sky<\/td>\n<td>TS<\/td>\n<\/tr>\n<tr>\n<td>Dish TV<\/td>\n<td>DT<\/td>\n<\/tr>\n<tr>\n<td>Airtel Digital TV<\/td>\n<td>AD<\/td>\n<\/tr>\n<tr>\n<td>Videocon d2h<\/td>\n<td>VD<\/td>\n<\/tr>\n<tr>\n<td>Sun Direct<\/td>\n<td>SD<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>Zone Codes<\/h4>\n<table>\n<tbody>\n<tr>\n<th>Zone<\/th>\n<th>Code<\/th>\n<\/tr>\n<tr>\n<td>Rest of India<\/td>\n<td>RI<\/td>\n<\/tr>\n<tr>\n<td>South India<\/td>\n<td>SI<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<h4>Response<\/h4>\n<p>For every successful request, you will receive following JSON objects &#8211;<\/p>\n<ol>\n<li><b>status<\/b>-First index of this array is a boolean value (1 for a successful request and 0 for an error).<\/li>\n<li><b>data<\/b>&#8211; It will list all plans.\n<ol>\n<li><b>amount\u00a0<\/b>-It is the amount of plan.<\/li>\n<li><b>benefit<\/b>-It is the description of the plan.<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p><b>Note:<\/b> For Sun Direct, please use MA (Malayalam), KA (Kannada), TA (Tamil), TE (Telugu) Zone Code instead of SI.<\/p>\n<h4>Terms &amp; Conditions<\/h4>\n<ul>\n<li>You can not use API data to get search engine traffic.<\/li>\n<li>You can use this API only on one website\/app. Using it on multiple website\/app or reselling API will ban you permanently.<\/li>\n<li>We reserve right to suspend any account or change in terms with\/without any prior notification.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>You can now build your own recharge plans app or you can implement recharge plans on your existing recharge website or application.You only need to pay Rs.500\/month. To get credentials please send an email to mail@plansinfo.com. For Mobile Plans Request Send a GET request to&#8230; http:\/\/api.plansinfo.com\/v2\/api.php?service=mobile&amp;zone_code=[zone code]&amp;op_code=[operator code]&amp;token=[secret token] eg. http:\/\/api.plansinfo.com\/v2\/api.php?service=mobile&amp;zone_code=AP&amp;op_code=AT&amp;token=ftdgyu65ty Response For every successful &hellip;<\/p>\n","protected":false},"author":1,"featured_media":129,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false},"categories":[11],"tags":[3,12],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v16.6.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Plansinfo Recharge Plans API Vesion 2.0 implementation guide - Plansinfo blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.plansinfo.com\/blog\/api\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Plansinfo Recharge Plans API Vesion 2.0 implementation guide - Plansinfo blog\" \/>\n<meta property=\"og:description\" content=\"You can now build your own recharge plans app or you can implement recharge plans on your existing recharge website or application.You only need to pay Rs.500\/month. To get credentials please send an email to mail@plansinfo.com. For Mobile Plans Request Send a GET request to&#8230; http:\/\/api.plansinfo.com\/v2\/api.php?service=mobile&amp;zone_code=[zone code]&amp;op_code=[operator code]&amp;token=[secret token] eg. http:\/\/api.plansinfo.com\/v2\/api.php?service=mobile&amp;zone_code=AP&amp;op_code=AT&amp;token=ftdgyu65ty Response For every successful &hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.plansinfo.com\/blog\/api\/\" \/>\n<meta property=\"og:site_name\" content=\"Plansinfo blog\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/www.facebook.com\/plansinfo\" \/>\n<meta property=\"article:published_time\" content=\"2018-03-08T19:48:08+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-10-17T11:55:28+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i1.wp.com\/www.plansinfo.com\/blog\/wp-content\/uploads\/2018\/03\/plansinfo.png?fit=825%2C200&#038;ssl=1\" \/>\n\t<meta property=\"og:image:width\" content=\"825\" \/>\n\t<meta property=\"og:image:height\" content=\"200\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@plansinfo\" \/>\n<meta name=\"twitter:site\" content=\"@plansinfo\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.plansinfo.com\/blog\/#website\",\"url\":\"https:\/\/www.plansinfo.com\/blog\/\",\"name\":\"Plansinfo blog\",\"description\":\"plansinfo.com blog\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.plansinfo.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.plansinfo.com\/blog\/api\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/i1.wp.com\/www.plansinfo.com\/blog\/wp-content\/uploads\/2018\/03\/plansinfo.png?fit=825%2C200&ssl=1\",\"contentUrl\":\"https:\/\/i1.wp.com\/www.plansinfo.com\/blog\/wp-content\/uploads\/2018\/03\/plansinfo.png?fit=825%2C200&ssl=1\",\"width\":825,\"height\":200,\"caption\":\"plansinfo\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.plansinfo.com\/blog\/api\/#webpage\",\"url\":\"https:\/\/www.plansinfo.com\/blog\/api\/\",\"name\":\"Plansinfo Recharge Plans API Vesion 2.0 implementation guide - Plansinfo blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.plansinfo.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.plansinfo.com\/blog\/api\/#primaryimage\"},\"datePublished\":\"2018-03-08T19:48:08+00:00\",\"dateModified\":\"2018-10-17T11:55:28+00:00\",\"author\":{\"@id\":\"https:\/\/www.plansinfo.com\/blog\/#\/schema\/person\/77523c6fc7209f1cc50e855ff545be58\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.plansinfo.com\/blog\/api\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.plansinfo.com\/blog\/api\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.plansinfo.com\/blog\/api\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.plansinfo.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Plansinfo Recharge Plans API Vesion 2.0 implementation guide\"}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.plansinfo.com\/blog\/#\/schema\/person\/77523c6fc7209f1cc50e855ff545be58\",\"name\":\"Plansinfo\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.plansinfo.com\/blog\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/e539d41b97379c6414eb93d0b8290f8a?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/e539d41b97379c6414eb93d0b8290f8a?s=96&d=mm&r=g\",\"caption\":\"Plansinfo\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","jetpack_featured_media_url":"https:\/\/i1.wp.com\/www.plansinfo.com\/blog\/wp-content\/uploads\/2018\/03\/plansinfo.png?fit=825%2C200&ssl=1","jetpack_publicize_connections":[],"jetpack_sharing_enabled":false,"jetpack_shortlink":"https:\/\/wp.me\/s3JiDf-api","amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.plansinfo.com\/blog\/wp-json\/wp\/v2\/posts\/126"}],"collection":[{"href":"https:\/\/www.plansinfo.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.plansinfo.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.plansinfo.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.plansinfo.com\/blog\/wp-json\/wp\/v2\/comments?post=126"}],"version-history":[{"count":17,"href":"https:\/\/www.plansinfo.com\/blog\/wp-json\/wp\/v2\/posts\/126\/revisions"}],"predecessor-version":[{"id":463,"href":"https:\/\/www.plansinfo.com\/blog\/wp-json\/wp\/v2\/posts\/126\/revisions\/463"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.plansinfo.com\/blog\/wp-json\/wp\/v2\/media\/129"}],"wp:attachment":[{"href":"https:\/\/www.plansinfo.com\/blog\/wp-json\/wp\/v2\/media?parent=126"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.plansinfo.com\/blog\/wp-json\/wp\/v2\/categories?post=126"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.plansinfo.com\/blog\/wp-json\/wp\/v2\/tags?post=126"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}