FSSAI License Check API

VALIDATE FSSAI LICENSE NUMBER AND RETRIEVE FBO DETAILS

Introduction

Food Safety and Standards Authority of India (FSSAI), a statutory body under The Ministry of Health and Family Welfare, Government of India, assigns a unique 14 digit license to the food product manufacturing and distribution companies, also known as FSSAI License Number, to be displayed on the food product packaging. According to the Food Safety and Standards Act of 2006, this license proves that the FBO is in compliance and has a valid license.

This API offers a real time verification of the FSSAI license number. For a provided FSSAI number, this API returns if the license number is active and returns the associated details.

API Outcome

  • Name of the entity
  • License status, type and category
  • Registered address
  • List of products

Get Free Trial

Create a free account Or “Talk to Us” for price information and other queries.

API Details

Request

TypeURL
POSThttps://api.attestr.com/api/{version}/public/checkx/fssai

Request Header Parameters

TypeNameValue / DescriptionOptionalMin VersionMax Version
StringContent-Typeapplication/jsonRequiredv1
StringAuthorizationBasic {authToken}Requiredv1

Request Body Parameters

TypeNameDescriptionOptional (default)Min VersionMax Version
StringregInput FSSAI number to be verified.Requiredv1
BooleanfetchProductsFetch list of registered productsOptionalv1

If you do not have the authentication token, please refer to Register App to generate one.

Sample Request Body

JSON
Copy

Response

Http Status 200

Please note that the valid key decides the availability of rest of the keys in the response. If provided license number is invalid, then all keys except valid and message are either omitted or set as null. If true, remaining keys will have appropriate data

KeyDescriptionTypeMin VersionMax Version
validIndicates if the provided FSSAI license exists and is valid. False if the license number does not exist.Stringv1
messageError message if valid is falseStringv1
statusStatus of FSSAI license registration e.g. License Issued etc.Stringv1
activeTrue if the license is currently active, false otherwise.Booleanv1
entityName of the registered companyStringv1
regFSSAI license number. Same as input reg value.Stringv1
uuidUnique FBO Id as registered with FSSAIStringv1
categoryLicense category - State or CentralStringv1
stateState where license is registeredStringv1
addressPremise address of the registered entityStringv1
zipPin code of the premisesStringv1
productsList of registered products. Set as null or empty array if fetchProducts is set as false in the API input.Array of FSSAIProduct objectv1

FSSAIProduct Object

KeyDescriptionTypeMin VersionMax Version
nameName of the productStringv1
roleRole of the entity i.e General manufacturer, marketer etc.Stringv1
natureOfBusinessType of activity involved in the productStringv1
activeIndicates if this product registration is currently active, false otherwiseBooleanv1
typeType of productStringv1

Sample Response For Valid License Number

JSON
Copy

Sample Response For Invalid License Number

JSON
Copy

Error Response

Error Codes

HTTP StatusError CodeError Message
4004001Malformed data or missing required parameter values
4004005Operation could not be performed due to low credits balance
4014016Invalid client authorization
4034031Unauthorized access
4034035Requested service is not provisioned for your account
4034039Client's IP address is not whitelisted
4034035Requested service is not provisioned for your account
4294291Maximum account rate limit exceeded
4294292Maximum API rate limit exceeded
4294293Maximum account daily limit exceeded
4294294Maximum API daily limit exceeded
5005001Request could not be processed
ParameterTypeDescription
codeNumberUnique error codes for different errors. Always available.
messageStringError message describing the error. Always Available.
detailsStringDetail error message. Available only for certain types of errors.

Sample Error Response

JSON
Copy

Get Free Trial

Create a free account Or “Talk to Us” for price information and other queries.

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard