Skip to main content
Vendor Search API

Authentication

All requests require an API key in the request headers. Headers:

Request

Query Parameters

At least one of gstin, pan, or name must be provided.

Code Examples

Success Response

HTTP Status: 200 OK Returns up to 20 vendors matching the search criteria. Response Fields:

Response Example

Empty Results

If no vendors match the search criteria, an empty array is returned:

Error Responses

Missing Search Parameters

HTTP Status: 400 Bad Request

Invalid GSTIN Format

HTTP Status: 400 Bad Request

Invalid PAN Format

HTTP Status: 400 Bad Request

Authentication Errors

HTTP Status: 401 Unauthorized

Permission Errors

HTTP Status: 403 Forbidden

Internal Error

HTTP Status: 500 Internal Server Error

Best Practices

  • Provide at least one of gstin, pan, or name — the API returns a 400 if none are supplied
  • gstin and pan require exact matches (15 and 10 characters respectively)
  • name supports partial matching — searching ABC will match ABC Suppliers, ABC Trading Co., etc.
  • The vendorId in the response is the slug to use when creating or updating purchase orders via the PO Creation API or PO Update API
  • Results are capped at 20 — use more specific search terms if needed