Home
Home
  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
    • Utilities
      • Matcher
        • Run name matching
  1. RPC search

Search companies by name

Production
https://api.niva.co/v1
Production
https://api.niva.co/v1
GET
https://api.niva.co/v1
/rpc/companies/search
Mexico only. Searches Mexico's Public Registry of Commerce (Registro Público de Comercio, RPC) by company name. Results are paginated, 10 per page (X-Current-Page and X-Per-Page response headers); use page for more. Each result is a summary: pass its id (mxc_…) to Get company with ID for the full profile. 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/companies/search?name=Innovaciones%20Tecnol%C3%B3gicas&page=1' \
--header 'Accept-Language: en' \
--header 'apiKey: <api-key>'

Responses

🟢200OK
application/json
Success
Bodyapplication/json

Example
[
  {
    "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-2023012345",
      "jurisdiction": "Ciudad de México"
    }
  }
]
🟠401Unauthorized
🟠422Unprocessable Content
🔴500Internal Server Error
Previous
Look up company by RFC
Next
Download RPC document