FSSAI License Expiry Check API

VALIDATE FSSAI LICENSE EXPIRY AND GET 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.

An FSSAI license can be valid for one to five years. This API offers a real time verification of the expiry of such license. For a given pair of FSSAI number and expiry date, this API returns if the provided details are valid and returns the issued date, name and address of the entity, type of license and other basic details.

To get the list of products covered under the FSSAI license and other details, please refer to FSSAI License Check API

API Details

Request

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

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
DateexpiryExpiry date in YYYY-MM-DD formatRequiredv1

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 combination of FSSAI license and expiry date 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
statusIdStatus Id as per the FSSAI databaseStringv1
issuedDateDate of issue of the license DD-MM-YYYYDatev1
expiryDateDate of expiry in DD-MM-YYYY formatDatev1
appliedForRenewalFlag indicating if the renewal application has already been filed by the companyBooleanv1
entityName of the registered companyStringv1
regFSSAI license number. Same as input reg value.Stringv1
categoryLicense category - State or CentralStringv1
addressPremise address of the registered entityStringv1

Sample Response For Valid License Number And Expiry Date

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