# OpenCorporates company-register search API

Search OpenCorporates by company name and jurisdiction via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as output, q, and retrieve structured data including matched register jurisdiction, matched company number, matched company name, and source exact-match flag for name resolution, and company handoff.

Documentation: https://openany.si/opencorporates/opencorporates-company-register-search-api/18bbd609-cee3-4a49-b5e2-b6de2823e70f/
API ID: 18bbd609-cee3-4a49-b5e2-b6de2823e70f
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/opencorporates/v1/search
Page update time: 2026-12-03T02:46:02.656Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.002 / billing credit
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:46:00.888Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "rules",
  "parameters": [],
  "policy_version": 2,
  "sale": {
    "addons": [],
    "base_price_micro_usd": "0",
    "max_cost_micro_usd": "2000",
    "quantities": [
      {
        "id": "upstream_credits",
        "label": "Actual API.SH credits consumed",
        "max_quantity": "1",
        "measure": "value",
        "pointer": "/credits_used",
        "price_micro_usd": "2000",
        "quantity_scale": 0,
        "source": "response",
        "unit": "credit",
        "unit_quantity": "1"
      }
    ],
    "rounding": "ceil",
    "variants": []
  }
}
```

## Usage and limits
## OpenCorporates Company Search API

Use q and optionally jurisdiction to restrict register scope. Results provide the jurisdiction-number pair and source match metadata; pagination covers at most 250 matches for a search.

## What You Can Build

- **Name resolution**: Disambiguate companies using register identity.
- **Company handoff**: Use the chosen jurisdiction-number pair for a detail lookup.

## Returned Data

| Field | Meaning |
| --- | --- |
| `results[].jurisdiction` | Matched register jurisdiction |
| `results[].number` | Matched company number |
| `results[].name` | Matched company name |
| `results[].exact_match` | Source exact-match flag |
| `next_page` | Next page number or null |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "OpenCorporates company-register search API request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "q": {
          "type": "string",
          "description": "Company name, e.g. `tesla`."
        },
        "jurisdiction": {
          "type": "string",
          "description": "Jurisdiction code, e.g. `gb`, `us_de`, `de`, `fr`."
        },
        "limit": {
          "type": "integer",
          "description": "Results per page, 1-100 (default 25)."
        },
        "page": {
          "type": "integer",
          "description": "Page number (default 1); at most 250 matches in all."
        },
        "raw": {
          "type": "string",
          "description": "0 leaves out the bulky `raw` source blocks (often 10-30x smaller).",
          "enum": [
            "0",
            "1"
          ]
        },
        "fields": {
          "type": "string",
          "description": "Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included."
        },
        "fresh": {
          "type": "string",
          "description": "1 skips the 24-hour cache and fetches live.",
          "enum": [
            "1"
          ]
        },
        "output": {
          "type": "string",
          "description": "JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON exports are not exposed.",
          "enum": [
            "json"
          ]
        },
        "records": {
          "type": "string",
          "description": "Native CSV/NDJSON record selector; it has no effect on this JSON-only product."
        }
      },
      "required": [
        "q"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "cached": {
      "type": "boolean"
    },
    "count": {
      "type": "integer"
    },
    "credits_used": {
      "type": "integer"
    },
    "jurisdiction": {
      "type": "null"
    },
    "limit": {
      "type": "integer"
    },
    "next_page": {
      "type": "integer"
    },
    "page": {
      "type": "integer"
    },
    "query": {
      "type": "string"
    },
    "results": {
      "type": "array",
      "items": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "exact_match": {
                "type": "boolean"
              },
              "jurisdiction": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "number": {
                "type": "string"
              },
              "score": {
                "type": "integer"
              },
              "url": {
                "type": "string"
              }
            }
          },
          {
            "type": "string"
          }
        ]
      }
    }
  }
}
```

## Request example
Scenario: Official example · Official documentation response · Supplier-tr
```bash
curl \
  'https://api.openany.si/v1/agent-apis/apish/opencorporates/v1/search?output=json&q=tesla' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "cached": false,
  "count": 25,
  "credits_used": 1,
  "jurisdiction": null,
  "limit": 25,
  "next_page": 2,
  "page": 1,
  "query": "tesla",
  "results": [
    {
      "exact_match": false,
      "jurisdiction": "lu",
      "name": "TESLA",
      "number": "B176763",
      "score": 30,
      "url": "https://opencorporates.com/companies/lu/B176763"
    },
    {
      "exact_match": false,
      "jurisdiction": "be",
      "name": "TESLA",
      "number": "0834807239",
      "score": 30,
      "url": "https://opencorporates.com/companies/be/0834807239"
    },
    "… 23 more"
  ]
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### How do I restrict a register?
Set jurisdiction to a documented code such as gb, us_de, de or fr.

### What are the result limits?
limit accepts 1–100, default 25. page starts at 1, with at most 250 matches in all.

### Does exact_match establish a complete identity match?
It is a source search flag. Confirm jurisdiction and number before linking records.

### How do I retrieve the exact company?
Use the returned jurisdiction and number, or company URL, with Company.

### How do I bypass cached results?
Pass fresh=1. A cache bypass retrieves available source data; it does not make unpublished or restricted records available.

### Can I request CSV or NDJSON?
This OpenAny implementation serves JSON only. Omit output or set output=json.

## Available implementations
- apish: https://openany.si/opencorporates/opencorporates-company-register-search-api/18bbd609-cee3-4a49-b5e2-b6de2823e70f/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
