Business Identity Validation - Mexico

Lets integrate Business Identity Validation - Mexico in your system. First, get your Apitude API key, then send a POST request to Apitude... And that's it!.

Get API Access
That POST request should return the following

    "message": "Request processed successfully",
    "url": "/api/v1.0/requests/identity-business-mx/e0606c19-a32d-410f-b2eb-d57a665677bc/",
    "request_id": "e0606c19-a32d-410f-b2eb-d57a665677bc"
This response will contains a unique request ID that you should poll using a GET as follows
How does the response looks like?

   "result": {
      "data": {
         "found": true,
         "route": "BENITO JUAREZ NO. S/N",
         "country": "MEXICO",
         "general": {
            "rfc": "RAD161031RK1",
            "email": "PLAZAMAZATLAN.0615@MX.MDC.COM",
            "sigla": "",
            "categoria": "PERSONA JURIDICA COMERCIAL",
            "razon_social": "RESTAURANTES ADMX S DE RL DE CV",
            "nombre_empresa": "RESTAURANTES ADMX, S. DE R.L. DE C.V",
            "estado_registro_mercantil": "ACTIVA"
         "locality": "MAZATLAN",
         "location": {
            "lat": 23.226688,
            "lng": -106.407618
         "postal_code": "82000",
         "neighborhood": "CENTRO",
         "phone_number": "6699900117",
         "street_number": "BENITO JUAREZ NO. S/N",
         "formatted_address": "BENITO JUAREZ NO. S/N, MAZATLAN, SINALOA, MEXICO",
         "administrative_area_1": "SINALOA",
         "administrative_area_2": "MAZATLAN",
         "actividades_economicas": [
      "error": "",
      "end_at": "2023-04-10 17:41:28.753784",
      "status": 200,
      "message": "successful",
      "queried_by": "testUser",
      "service_name": "identity-business-mx"
   "message": "Request completed"
Ok, but what does each field in that JSON means?
The general parts:

  • message:The message is an Apitude generated string with an informational text about the request.
  • result:The result is contains the main part of the request.
  • result.error:The error is a string generated by apitude for the request if everything worked it will be blank.
  • result.message:The message is a string with two options successful or unsuccessful depending of how your request finished.
  • result.queried_by:The queried_by field is a string that lets you know what user started the request.
  • result.end_at:The end_at field is a string formatted date that lets you know at what time the request ended in Apitude.
  • result.service_name:The service_name field is a string that echos the service called. For this service it will always be identity-business-mx.
  • result.status:The status field is a integer that represents whether the service returned data from the input sent in the request. It could be one of the following values:
    • 200: The service returned response data for the payload that was sent in the creation of the request.
    • 404: The service did not returned data for the payload that was sent in the creation of the request.
    • 400: The service did not started because your input was invalid.
    • 500: Apitude tried to execute your request, however the service Apitude uses to execute your request was down. Please wait some time and try again, Apitude will not charged you for requests with this code.

    Depending on the service, you want it to return different codes. For example, if you are checking the user against a security list to whitelist the user you should look for a 404, because a 200 would mean the user is in fact in the list. Other cases however, like creating objects in the name of a user you want the code to be 200, since it will imply the creation was a success.

The data in the response:

Please refer to the official docs of this service online to find out more about what data is returned.

About this service

This service allows obtaining, through API, identity validation information for Mexican companies that Apitude obtains through our series of affiliated partners. This API receives the Federal Taxpayer Registry (RFC) or the name/company name of a Mexican legal entity and returns the information required to validate its data, such as addresses, telephone numbers, the contact email, economic activities, among others. The information is obtained from the System of the Ministry of Finance and Public Credit of Mexico and the Tax Administration Service (SAT).

Who can you query using this service?:

This service (identity-business-mx) is available for you to query companies/businesses only.

Get API Access