---
title: "Get GSTIN details"
method: GET
path: "/v1/utils/gstin/{gstin}"
tags: ["Utility"]
---

# Get GSTIN details

`GET /v1/utils/gstin/{gstin}`

## Request

- Base URL: `https://app.getswipe.in/api/partner`
- URL: `https://app.getswipe.in/api/partner/v1/utils/gstin/{gstin}`
- Auth: HTTP bearer

**v1 is deprecated — use the v2 endpoint instead.** Looks up a GSTIN on the GST portal and returns the registered business's details. Useful for validating a party's GSTIN and prefilling their name and address.

## Response `200`

success

- GSTResponseModel
  - `success` boolean: Success
  - `message` string: Message
  - `error_code` string: Error Code
  - `errors` object: Error details
  - `data` GSTGetResponse
    - `company_name` string: Company Name
    - `trade_name` string: Brand Name
    - `legal_name` string: Legal Name
    - `status` string: Status
    - `is_sez` boolean: Sez
    - `is_ecom` boolean: ECom
    - `billing` BillingAddress
      - `address_1` string: Address Line 1
      - `address_2` string: Address Line 2
      - `city` string: City
      - `pincode` string: Pincode
      - `state` string: State

## Other responses

- `400`: error
- `401`: Unauthorized
- `500`: Server Error

## Changes

- **2026-11-03** `0bcdbc62187b`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/getswipe/apis/swipeapi/changes/v1/utils/gstin/:gstin/get.md)

---

[API](https://skmtc.dev/getswipe/apis/swipeapi.md) - [All operations](https://skmtc.dev/getswipe/apis/swipeapi/llms.txt) - [OpenAPI document](https://skmtc.dev/getswipe/apis/swipeapi/revisions/0bcdbc62187b?raw)
