Endpoint
POST /v1/verify/udyam
POST
/v1/verify/udyamScope verification.udyam.read₹5 per successful callLiveValidates and verifies a Udyam Registration. Requires the verification.udyam.read scope on the API key. Metered as udyam.verify after a successful response - usage is only recorded (and the fulfilment wallet debited, for priced services) once verification completes successfully. The response below is the exact real shape returned by /v1/verify/udyam, including its referenceId field.
Request
Request parameters
| Field | Type | Description |
|---|---|---|
Authorizationrequired | header | Bearer <api-key> (e.g. sk_test_... in sandbox, sk_live_... in production). The x-api-key header is also accepted. |
udyamNumberrequired | string | Udyam Registration Number (URN), format UDYAM-MH-12-1234567. |
Example
Make the call
curl -X POST "https://api-b2b.stampmitra.in/v1/verify/udyam" \
-H "Authorization: Bearer sk_test_xxxxxxxxxxxx" \
-H "Content-Type: application/json" \
-d '{"udyamNumber":"UDYAM-UP-43-1234567"}'Playground
Try it
Response
Response example
ResponseJSON
{
"referenceId": "SMV-20260927-5U29V7",
"verificationId": "VRF-7K3M9Q2XH4TB",
"found": true,
"status": "SUCCESS",
"udyamStatus": "SUCCESS",
"udyamNumber": "UDYAM-UP-43-1234567",
"enterpriseName": "helloscholar",
"organizationType": "Proprietary",
"majorActivity": "Services",
"socialCategory": "General",
"dateOfIncorporation": "2020-05-29",
"dateOfCommencement": "2020-05-29",
"dateOfUdyamRegistration": "2022-01-02",
"enterpriseType": "Micro",
"classificationYear": "2024-25",
"classificationDate": "2025-06-02",
"certificateUrl": "https://udyamregistration.gov.in/Udyam_Download/UDYAM-UP-43-1234567.pdf",
"classificationHistory": [
{
"serialNumber": "1",
"classificationYear": "2024-25",
"enterpriseType": "Micro",
"classificationDate": "2025-06-02"
},
{
"serialNumber": "2",
"classificationYear": "2023-24",
"enterpriseType": "Micro",
"classificationDate": "2023-05-09"
},
{
"serialNumber": "3",
"classificationYear": "2022-23",
"enterpriseType": "Micro",
"classificationDate": "2022-06-26"
}
],
"splitAddress": {
"flat": "Ground Floor",
"building": "05 Raman Vihar",
"village": "Naubasta",
"block": "Naubasta",
"street": "Naubasta",
"city": "Kanpur",
"district": "KANPUR NAGAR",
"state": "UTTAR PRADESH",
"pincode": "208021",
"mobile": "70*****210",
"email": "helloscholar.edu@gmail.com"
},
"unitLocations": [
{
"serialNumber": "1",
"unitName": "hellobanker",
"flat": "Ground Floor",
"building": "05 Raman Vihar Naubasta",
"village": "KANPUR NAGAR",
"block": "KANPUR NAGAR",
"street": "05 Raman Vihar Naubasta Bamba",
"city": "Kanpur",
"district": "KANPUR NAGAR",
"state": "UTTAR PRADESH",
"pincode": "208021"
},
{
"serialNumber": "2",
"unitName": "helloscholar",
"flat": "Ground Floor",
"building": "05 Raman Vihar Naubasta",
"village": "Kanpur",
"block": "Kanpur",
"street": "Kanpur",
"city": "Kanpur",
"district": "KANPUR NAGAR",
"state": "UTTAR PRADESH",
"pincode": "208021"
}
],
"nicCodes": [
{
"serialNumber": "1",
"nic2Digit": "85",
"nic2Description": "Education",
"nic4Digit": "8550",
"nic4Description": "Educational support services",
"nic5Digit": "85500",
"nic5Description": "Educational support services",
"activity": "Services",
"date": "2022-01-02"
}
],
"dic": "KANPUR NAGAR",
"msmeDi": "KANPUR"
}| Field | Type | Description |
|---|---|---|
referenceId | string | StampMitra's own transaction id for this call (SMV-YYYYMMDD-XXXXXXX). Always present. |
verificationId | string | StampMitra's own id for this verification (VRF- followed by 12 base32 characters). Generated for every call, unique to it. Always present. Quote it in support requests. |
found | boolean | Whether an active Udyam registration was found. Always present. |
status | string | Outcome of the lookup: SUCCESS, UDYAM_NOT_FOUND or UDYAM_IS_CANCELLED. |
udyamStatus | string | Same value as status. Kept so existing integrations keep working. |
udyamNumber | string | The Udyam registration number that was looked up. |
enterpriseName | string | Registered enterprise name. |
organizationType | string | Legal form of the organisation, for example Proprietary. |
majorActivity | string | Major activity: Manufacturing, Services or Trading. |
socialCategory | string | Social category of the owner, for example General. |
dateOfIncorporation | string | Date of incorporation, ISO yyyy-mm-dd. |
dateOfCommencement | string | Date business commenced, ISO yyyy-mm-dd. |
dateOfUdyamRegistration | string | Date the Udyam registration was issued, ISO yyyy-mm-dd. |
enterpriseType | string | Current MSME classification: Micro, Small or Medium. |
classificationYear | string | Financial year of the current classification, for example 2024-25. |
classificationDate | string | Date of the current classification, ISO yyyy-mm-dd. |
certificateUrl | string | URL of the Udyam registration certificate (PDF). |
classificationHistory | array | Year-by-year classification history, most recent first. |
classificationHistory[].serialNumber | string | Position of the entry in the history. |
classificationHistory[].classificationYear | string | Financial year of that classification. |
classificationHistory[].enterpriseType | string | Micro, Small or Medium for that year. |
classificationHistory[].classificationDate | string | Date of that classification, ISO yyyy-mm-dd. |
splitAddress | object | Registered address of the enterprise, split into parts, with the registered contact details. |
splitAddress.flat | string | Flat / door / floor. |
splitAddress.building | string | Building or premises name / number. |
splitAddress.village | string | Village or town. |
splitAddress.block | string | Block. |
splitAddress.street | string | Street / road. |
splitAddress.city | string | City. |
splitAddress.district | string | District. |
splitAddress.state | string | State. |
splitAddress.pincode | string | Six-digit PIN code. |
splitAddress.mobile | string | Registered mobile number, already masked at source (for example 70*****210). Passed through as received, never unmasked. |
splitAddress.email | string | Registered email address. |
unitLocations | array | Locations of the enterprise units. |
unitLocations[].serialNumber | string | Position of the unit in the list. |
unitLocations[].unitName | string | Name of the unit. |
unitLocations[].flat | string | Flat / door / floor. |
unitLocations[].building | string | Building or premises name / number. |
unitLocations[].village | string | Village or town. |
unitLocations[].block | string | Block. |
unitLocations[].street | string | Street / road. |
unitLocations[].city | string | City. |
unitLocations[].district | string | District. |
unitLocations[].state | string | State. |
unitLocations[].pincode | string | Six-digit PIN code. |
nicCodes | array | NIC activity codes the enterprise is registered under. |
nicCodes[].serialNumber | string | Position of the activity in the list. |
nicCodes[].nic2Digit | string | NIC 2-digit division code. |
nicCodes[].nic2Description | string | NIC 2-digit division description. |
nicCodes[].nic4Digit | string | NIC 4-digit class code. |
nicCodes[].nic4Description | string | NIC 4-digit class description. |
nicCodes[].nic5Digit | string | NIC 5-digit sub-class code. |
nicCodes[].nic5Description | string | NIC 5-digit sub-class description. |
nicCodes[].activity | string | Activity type: Manufacturing, Services or Trading. |
nicCodes[].date | string | Date the activity was added, ISO yyyy-mm-dd. |
dic | string | District Industries Centre. |
msmeDi | string | MSME Development Institute. |
Errors
Error responses
401Missing or invalid API key
{
"error": {
"code": "UNAUTHORIZED",
"message": "Missing or invalid API key.",
"requestId": "a1b2c3d4-e5f6-4a1b-8c2d-9f0e1a2b3c4d"
}
}403Valid key, missing required scope
{
"error": {
"code": "FORBIDDEN",
"message": "API key is valid but lacks the required scope for this endpoint.",
"requestId": "a1b2c3d4-e5f6-4a1b-8c2d-9f0e1a2b3c4d"
}
}400Validation error
{
"error": {
"code": "BAD_REQUEST",
"message": "udyamNumber must match the format UDYAM-MH-12-1234567",
"requestId": "a1b2c3d4-e5f6-4a1b-8c2d-9f0e1a2b3c4d"
}
}402Insufficient wallet balance
{
"error": {
"code": "PAYMENT_REQUIRED",
"message": "Insufficient fulfilment wallet balance to cover this call.",
"requestId": "a1b2c3d4-e5f6-4a1b-8c2d-9f0e1a2b3c4d"
}
}429Rate limited
{
"error": {
"code": "TOO_MANY_REQUESTS",
"message": "Rate limit exceeded: 60 requests per 60 seconds for this endpoint.",
"requestId": "a1b2c3d4-e5f6-4a1b-8c2d-9f0e1a2b3c4d"
}
}502Upstream verification service unreachable
{
"error": {
"code": "INTERNAL_ERROR",
"message": "Unable to reach the order/customer service right now",
"requestId": "5c1c1e9e-2f7b-4b7a-9b0e-0f1a2b3c4d5e"
}
}Notes
Good to know
Note
Input format is validated up front - a malformed pan/gstin/etc. fails fast with a 400 rather than being submitted for verification. referenceId (format SMV-YYYYMMDD-XXXXXXX) is StampMitra's own transaction id for this call and is always present, including on a negative (valid: false / found: false) result - both positive and negative determinations are completed, billable verifications. This is not an idempotency key. verificationId (format VRF-XXXXXXXXXXXX) is StampMitra's own id for this verification, generated for every call; quote it in support requests. Every field except referenceId, verificationId and found is optional and is omitted when the registry does not provide it. Dates are ISO yyyy-mm-dd strings. The registered mobile number is masked at source (for example 70*****210) and is returned exactly as received. status and udyamStatus carry the same value; udyamStatus is kept for existing integrations.