FSSAI Licence Verification API
Send a 14-digit FSSAI number. We return whether it is active, expired, cancelled or suspended, the business name, licence type, expiry date, premises address and kinds of business covered.
- Source
- FSSAI FoSCoS licensing records
- Turnaround
- Real time, usually a few seconds
- Endpoint
- POST /v1/fssai/verify
- Who can use it
- Any business working with food business operators, such as food delivery apps, grocery marketplaces, distributors and cloud kitchens.
Overview
Every food business in India needs an FSSAI registration or licence, and platforms selling food can be held responsible for listing one without it. The check confirms the number is current and shows what the licence covers, so you don't list a caterer's licence against a packaged-food brand.
Good to know
A licence covers specific premises and kinds of business. A valid licence for a restaurant doesn't cover a separate manufacturing unit.
What you get
- Expiry dateLicences expire. We return the date so you can remind sellers before they lapse.
- Licence typeBasic registration, state licence or central licence, which tells you the scale of the business.
- Premises addressCheck the licence covers the kitchen or warehouse the seller is listing from.
- Kind of businessManufacturer, retailer, caterer and so on, as stated on the licence.
Request
POST https://api.ampletrails.com/v1/fssai/verify
| Field | Type | Status | Description |
|---|---|---|---|
id_number | string | Required | 14-digit FSSAI licence or registration number |
Response
Fields inside data. Every response also carries status, request_id and, on errors, message. See error codes.
| Field | Meaning | Example |
|---|---|---|
licence_status | Status: ACTIVE, EXPIRED, CANCELLED or SUSPENDED | ACTIVE |
business_name | Name of the food business operator | EXAMPLE FOODS |
licence_type | Registration, State Licence or Central Licence | State Licence |
valid_upto | Licence expiry date | 2028-03-31 |
premises_address | Address of the licensed premises | Shop 3, Sector 29 Market, Gurugram, Haryana |
kind_of_business | Business categories, for example Manufacturer, Retailer or Caterer | ["Restaurant", "Caterer"] |
products | Product categories covered, where available | ["Prepared food"] |
Example
curl -X POST https://api.ampletrails.com/v1/fssai/verify \
-H "Authorization: Bearer $AMPLE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"id_number": "10019011001234"}'import os, requests
resp = requests.post(
"https://api.ampletrails.com/v1/fssai/verify",
headers={"Authorization": f"Bearer {os.environ['AMPLE_API_KEY']}"},
json={
"id_number": "10019011001234"
},
timeout=30,
)
resp.raise_for_status()
print(resp.json()["data"])const resp = await fetch("https://api.ampletrails.com/v1/fssai/verify", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.AMPLE_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"id_number": "10019011001234"
}),
});
const { data } = await resp.json();$ch = curl_init("https://api.ampletrails.com/v1/fssai/verify");
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTPHEADER => [
"Authorization: Bearer " . getenv("AMPLE_API_KEY"),
"Content-Type: application/json",
],
CURLOPT_POSTFIELDS => json_encode(["id_number" => "10019011001234"]),
]);
$data = json_decode(curl_exec($ch), true)["data"];{
"status": "success",
"request_id": "req_7f3a9c21e4",
"data": {
"licence_status": "ACTIVE",
"business_name": "EXAMPLE FOODS",
"licence_type": "State Licence",
"valid_upto": "2028-03-31",
"premises_address": "Shop 3, Sector 29 Market, Gurugram, Haryana",
"kind_of_business": [
"Restaurant",
"Caterer"
],
"products": [
"Prepared food"
]
}
}Example data. The exact field list for your account comes with your sandbox documentation.
Use cases
Food delivery and cloud kitchens
Verify every restaurant before it goes live on the app.
Grocery and D2C marketplaces
Check brands and resellers of packaged food.
Distributors and HoReCa supply
Confirm buyers and suppliers in the food chain are licensed.
Questions about this API
How many digits is an FSSAI number?
Fourteen. The first digit shows registration or licence, followed by state code, year and serial.
What if the licence has expired?
The seller needs to renew on FoSCoS. Most platforms pause listings until the renewed licence shows as active.
Does a central licence cover all outlets?
No. Licences are per premises, though a central licence may apply to large operators or multi-state businesses.
Can I check the products covered?
Product categories are returned when the record lists them. Not every licence has them.
Try the FSSAI Licence Verification API
Sandbox keys, the full field reference and a Postman collection, usually within a working day.