Sample codes for using Taxpayer Search API
Curl
curl -X GET \
https://taxpayer.irisgst.com/api/search?gstin=GSTIN_TO_SEARCH \ -H 'apikey: YOUR_API_KEY'
Python
import requests
url = "https://taxpayer.irisgst.com/api/search"
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/search?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/search?gstin=GSTIN_TO_SEARCH");
var request = new RestRequest(Method.GET);
request.AddHeader("apikey", "YOUR_API_KEY");
IRestResponse response = client.Execute(request);