The Mexican Company Information service allows you to retrieve essential details about registered companies in Mexico. This service provides access to information such as the business name and city. It is a valuable resource for obtaining crucial data on Mexican companies for various purposes, including verification and research.

Parameters

Name Type ¿Required? Description Example
documentType String True Document type. Valid parameter: FME. FME
documentType String True Document of the Company to consult, without spaces or periods. N-2021007300

Implementation

Request

import axios from 'axios';

const options = {
  method: 'GET',
  url: '<https://api.verifik.co/v2/mx/company>',
  params: {documentNumber: 'N-2021007300', documentType: 'FME'},
    headers: {
    Accept: 'application/json',
    Authorization: 'jwt <tu_token>'
  }
};

try {
 notFou const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}

Response 200 - (Successful response)

{
  "data": {
    "business": "INNOVACION, DISEÑO Y CONSTRUCCION APLICADA FER'S, SOCIEDAD ANÓNIMA DE CAPITAL VARIABLE",
    "city": "OTUMBA",
    "documentNumber": "N-2021007300",
    "documentType": "FME"
  },
  "signature": {
    "dateTime": "October 12, 2023 4:23 PM",
    "message": "Certified by Verifik.co"
  },
  "id": "zge41"
}

Other responses

Code Description Response Body
404 Not Found Information not found. {
"code": "NotFound",
"message": "Record not found.",
"signature": {
"dateTime": "August 31, 2022 3:24 PM",
"message": "Certified by Verifik.co"
}
}
409 Conflict You need to provide some parameters. {
"code": "MissingParameter",
"message": "missing documentType\n. missing documentNumber\n"
}
409 Conflict Invalid documentType for this query. {
"code": "MissingParameter",
"message": "documentType must be one of: [FME]"
}