Home
Home
  1. Matcher
  • Getting started
  • Authentication
  • Webhooks
  • Embeddable widgets
    • Overview
    • Document upload widget
      • Designing an upload flow
  • Guides
    • Verifying a new business
    • Verifying bank accounts
    • Uploading documents
    • Country-specific fields
    • Supported document types
  • API reference
    • Submissions
      • Reports
        • List available report templates
        • Download a report
      • Create new submission
      • Get submission
      • Update submission
      • Update submission status
      • Run a submission pre-flight check
      • Run business verification
      • Get submission checks
      • Delete submission
      • List submissions
    • Documents
      • Public documents API
        • List documents (public)
        • Upload document (public)
        • Get document (public)
        • Delete document (public)
        • Download document file (public)
        • Rerun validations (public)
      • List documents
      • Upload document
      • Get document
      • Delete document
      • Download document file
      • Rerun validations
    • RPC search
      • RPC search
      • Get company with ID
      • Look up company by RFC
      • Search companies by name
      • Download RPC document
    • Utilities
      • Matcher
        • Run name matching
          POST
  1. Matcher

Run name matching

Production
https://api.niva.co/v1
Production
https://api.niva.co/v1
POST
https://api.niva.co/v1
/utilities/matcher/name
Checks whether two names refer to the same person or company, with the comparison Niva's own checks use. person compares people's names; company compares business names and ignores the legal entity suffix (e.g. S.A. de C.V.). Each name must be at least 4 characters long.

Request

Authorization
Add parameter in header
apiKey
Example:
apiKey: ********************
Header Params

Body Params application/jsonRequired

Examples
{
    "names": [
        "DISEÑO DE FORMAS METALICAS",
        "DISEÑO DE FORMAS METALICAS S DE RL DE CV"
    ],
    "entity_type": "company"
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
cURL
curl --location 'https://api.niva.co/v1/utilities/matcher/name' \
--header 'Accept-Language: en' \
--header 'apiKey: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
    "names": [
        "DISEÑO DE FORMAS METALICAS",
        "DISEÑO DE FORMAS METALICAS S DE RL DE CV"
    ],
    "entity_type": "company"
}'

Responses

🟢201Created
application/json
Success
Bodyapplication/json

Example
{
  "names": [
    "DISEÑO DE FORMAS METALICAS",
    "DISEÑO DE FORMAS METALICAS S DE RL DE CV"
  ],
  "entity_type": "company",
  "match": true
}
🟠401Unauthorized
🟠422Unprocessable Content
🔴500Internal Server Error
Previous
Matcher