🇺🇸 V1 English
  • 🇺🇸 V1 English
  • 🇲🇽 V1 Español
Home
Home
🇺🇸 V1 English
  • 🇺🇸 V1 English
  • 🇲🇽 V1 Español
🇺🇸 V1 English
  • 🇺🇸 V1 English
  • 🇲🇽 V1 Español
  1. RPC search
  • 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
        GET
      • Look up company by RFC
        GET
      • Search companies by name
        GET
      • Download RPC document
        GET
      • Search people
        GET
    • Utilities
      • Matcher
        • Run name matching
  1. RPC search

Search people

Production
https://api.niva.co/v1
Production
https://api.niva.co/v1
GET
https://api.niva.co/v1
/rpc/people/search
Mexico only. Finds companies in Mexico's Public Registry of Commerce (Registro Público de Comercio, RPC) whose filings may name a person as a shareholder, officer or attorney-in-fact (apoderado). Send a name, an id_number (RFC or CURP) or both; an ID number gives the most reliable matches.
Each company appears once, with its best match and a confidence:
high: the RFC or CURP matches.
medium: the RFC or CURP is off by a typo, or the full name matches exactly and is not a common name.
Lower confidence matches are not returned. Results are sorted best first and paginated, 100 per page (X-Current-Page, X-Per-Page and X-Total response headers); use page for more. The company fields are known without processing it: pass its id (mxc_…) to Get company with ID for its owners and legal representatives. An empty array means no company matched.

Request

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

Header Params

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 --location 'https://api.niva.co/v1/rpc/people/search?name=JUAN%20CARLOS%20PEREZ%20LOPEZ&id_number=PELJ800101AB1&page=1' \
--header 'Accept-Language: en' \
--header 'apiKey: <api-key>'

Responses

🟢200OK
application/json
Success
Bodyapplication/json

Example
[
  {
    "company": {
      "id": "mxc_8kQ2mZ7xVt",
      "legal_name": "Innovaciones Tecnológicas de México, S.A. de C.V.",
      "name": "Innovaciones Tecnológicas de México",
      "registration_details": {
        "fme": "N-2019012345",
        "jurisdiction": "Ciudad de México"
      }
    },
    "match": {
      "confidence": "high",
      "tier": "id",
      "name": "JUAN CARLOS PEREZ LOPEZ",
      "rfc": "PELJ800101AB1",
      "curp": null,
      "role": "owner",
      "source_type": "document",
      "document_type": "M2 - Acta de Asamblea",
      "deed_number": "12345",
      "registration_date": "2019-03-04T16:20:00.000Z"
    }
  }
]
🟠401Unauthorized
🟠422Unprocessable Content
🔴500Internal Server Error
Previous
Download RPC document
Next
Utilities