Taxpayer Return Status API Usage

You are here:
Estimated Reading Time: Less than a minute

Sample codes for using Taxpayer Return Status API

Curl

curl -X GET \ 
https://taxpayer.irisgst.com/api/returnstatus?gstin=GSTIN_TO_SEARCH \ 
-H 'apikey: YOUR_API_KEY'

Python

import requests url = "https://taxpayer.irisgst.com/api/returnstatus" 

querystring = {"gstin":"GSTIN_TO_SEARCH"} 

headers = {'apikey': "YOUR_API_KEY"} 

response = requests.request("GET", url, headers=headers, params=querystring) 

print(response.text)

Java

OkHttpClient client = new OkHttpClient(); 

Request request = new Request.Builder() 
   .url("https://taxpayer.irisgst.com/api/returnstatus?gstin=GSTIN_TO_SEARCH") 
   .get() 
   .addHeader("apikey", "YOUR_API_KEY") 
   .build(); 

Response response = client.newCall(request).execute();

C#

var client = new RestClient("https://taxpayer.irisgst.com/api/returnstatus?gstin=GSTIN_TO_SEARCH"); 

var request = new RestRequest(Method.GET); 

request.AddHeader("apikey", "YOUR_API_KEY"); 

IRestResponse response = client.Execute(request);
Search GSTIN