1. Home
  2. APIs
  3. Business

FSSAI licence verification API

Check a food business licence is valid before listing.

Mode: Instant
Checked against: FSSAI FoSCoS

Overview

Confirms the 14-digit FSSAI licence or registration, its holder, premises address, licence category and expiry date.

POST/v1/verify/fssai

Where it’s used

  • Food delivery and cloud kitchens
  • Grocery and FMCG marketplaces
  • Distributor onboarding

How the check runs

  1. You send the 14-digit licence or registration number.
  2. We query FSSAI’s FoSCoS system.
  3. You get the holder, licence type and validity.

Request

FieldDescription
license_number14-digit FSSAI number
curl -X POST https://api.yetlix.com/v1/verify/fssai \
  -H "x-client-id: $YETLIX_CLIENT_ID" \
  -H "x-client-secret: $YETLIX_CLIENT_SECRET" \
  -H "Content-Type: application/json" \
  -d '{"license_number":"12722999000123"}'

Response fields

Inside the data object. The envelope (status, request_id, billable, timestamp) is the same for every API and is described in the docs.

FieldTypeMeaning
business_namestringFood business operator name.
license_typeenumRegistration (basic), State licence or Central licence.
statusenumActive, Expired, Cancelled or Suspended.
valid_tillstringExpiry date.
premises_addressstringAddress the licence covers.
kind_of_businessarraye.g. Restaurant, Manufacturer, Retail.

Outcomes and what to do

Every check can end in a handful of ways. Decide up front what your product does in each case, so nothing falls through to a support ticket.

Active

Licence is valid.

Do this: List the seller; set a reminder before valid_till.

Expired / Cancelled

Not allowed to operate.

Do this: Delist until renewed.

Sandbox test values

Send these values in license_number with your sandbox key to get each result. Anything else returns INVALID_INPUT in sandbox.

ValueReturns
12722999000123Active state licence
10000000000000Expired

Run these in the playground

Best practices

  • Match premises_address with the pickup address you have on file. Kitchens sometimes operate under someone else’s licence.

Compliance note. E-commerce food business operators are expected to list only food businesses with valid FSSAI registration or licence.

Frequently asked

Is basic registration enough for my seller?

It depends on their turnover and activity. FSSAI sets the thresholds; we return the type so you can apply your policy.

Often used with