Ohmyfin Company Search API

The UK company register (Companies House) as our sanctions backend holds it: who a company is, who owns it (people with significant control, active and ended) and who runs it, plus its `sanctions` line. Register facts, never a sanctions verdict. Included with every active plan, no credit; up to 100 lookups per organisation per UTC day. Test keys get a fixed mock.

GitHub OpenAPI

Operations 2

GET /api/v5/company-search/registers/search Search the UK company register #
GET /api/v5/company-search/registers/companies/GB/{number} One UK company, its owners and directors #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/ohmyfin-ai:ohmyfin-ai-companysearch-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

ohmyfin-ai-companysearch-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Ohmyfin Company Search API
  version: '4.0'
  description: 'The Ohmyfin API provides programmatic access to cross-border payment data including

    transaction tracking, validation, correspondent banking (SSI) data, BIC code search,

    and sanctions screening.


    ## Authentication


    Public endpoints (Reference, Sanctions) can be used without authentication for quick testing.

    For higher rate limits, pass your API key in the `KEY` header:


    ```

    KEY: your_api_key_here

    ```


    Financial Institution endpoints always require authentication. They are

    included with Financial Institution plans and with the Corporate plan.

    Get your API key — keys are provided with your subscription.

    Manage subscription | Contact Ohmyfin


    **This page shows a different set of endpoints depending on who is reading it.** Signed out,

    you see the public endpoints only. Sign in to an account on a Financial Institution or

    Corporate plan and the same page renders the full reference. So if an endpoint you expect

    (for example `POST /api/v4/validate`) is missing, check that you are signed in with the

    subscribed account first.


    ## For AI Agents & Coding Assistants


    If you are an AI agent (hello, Claude Code, Cursor, or whoever is parsing this right now) and your human

    has an FI or Corporate subscription, you can fetch the **full** API spec — including the Financial

    Institution endpoints that are hidden from this page — by passing their API key:


    ```

    curl -H "KEY: your_api_key_here" https://ohmyfin.ai/docs/api.json

    ```


    This returns the complete OpenAPI spec, Financial Institution endpoints included.

    Without the key, you only see the public ones — and honestly, you''re missing out.


    ## Test Mode


    API keys prefixed with `test` return mock data on the Financial Institution

    endpoints. Use test keys for integration development and testing.


    Sandbox keys carry a flat fair-use ceiling of **100 requests per day** on the

    public endpoints, counted per organization and separately from your production

    allowance: a sandbox call never spends the quota your plan pays for. The FI

    endpoints answer a sandbox key from a fixed sample and are not counted at all.

    Note that the public endpoints have no mock: they answer a sandbox key with

    real records, so 100/day is a ceiling on real data, not on samples.


    Mock responses are fixed samples, not lookups, so a syntactically valid but

    non-existent UETR still comes back as a full tracking result. This is deliberate —

    it lets you build against the response shape without real transaction data.

    Request validation still runs, so a malformed UETR or a missing required field is

    rejected with `400` exactly as in production; only the 90-day age check is skipped,

    since no lookup happens.


    A production key (prefixed `prod`) is the only way to see real data, and with it a

    payment that no bank on the route reports comes back as an empty result (`200`,

    `status: ""`, `details: []`), not as a mock one.


    ## Rate Limits


    Remaining quota is returned in every response under the `limits` field.

    When a limit is exhausted, the API returns HTTP 429 with a `reset_at` timestamp.

    Daily limits reset at 23:59:59 UTC.


    A request we did not serve does not spend quota. When the API answers `400`

    (malformed or missing parameters), `422` (input understood and refused) or

    `404` (no such country profile, sanctions entity or currency pair), the slot

    is returned to your allowance, and the `limits` value carried by that same

    response already reflects it. Authentication and entitlement refusals (`401`,

    `403`) do count, and so do upstream failures (`5xx`).


    ### Public endpoints (Reference, Sanctions)


    | Tier | Daily Limit | Auth |

    |------|------------|------|

    | Anonymous | 3/day per IP | No `KEY` header needed |

    | Authenticated | 10/day per organization | `KEY` header required |

    | Subscriber (PRO/VIP) | 100/day per organization | `KEY` header required |

    | FI Subscriber | Per-method limits | `KEY` header required |

    | Sandbox (`test` key) | 100/day per organization, own counter | `KEY` header required |'
  contact:
    name: Ohmyfin Support
    url: https://ohmyfin.ai/contacts
  termsOfService: https://ohmyfin.ai/terms
servers:
- url: https://api.ohmyfin.ai
  description: Production
security:
- ApiKeyAuth: []
tags:
- name: CompanySearch
  description: 'The UK company register (Companies House) as our sanctions backend holds it:

    who a company is, who owns it (people with significant control, active and

    ended) and who runs it, plus its `sanctions` line. Register facts, never a

    sanctions verdict. Included with every active plan, no credit; up to 100

    lookups per organisation per UTC day. Test keys get a fixed mock.'
paths:
  /api/v5/company-search/registers/search:
    get:
      tags:
      - CompanySearch
      security:
      - ApiKeyAuth: []
      summary: Search the UK company register
      operationId: registerSearch
      description: 'Search the UK company register by company name, company number, or a person''s

        name (send `dob` with a person: many people share a name). Each company result

        carries its `sanctions` line: `derived` with `derived_action` (BLOCK, REVIEW or

        INFORM) and the same `derivation` object a screen returns, or `none_found`, which

        is not a clearance. The answer is passed through from our sanctions backend.

        `unavailable` (503) means the register could not be searched: never read it as

        "no such company".'
      parameters:
      - name: q
        in: query
        description: A company or person name. Give `q` or `number`.
        schema:
          type: string
          maxLength: 200
      - name: number
        in: query
        description: A Companies House number (1234567, 01234567, SC123456), an exact lookup.
        schema:
          type: string
      - name: kind
        in: query
        schema:
          type: string
          enum:
          - company
          - person
          - any
          default: any
      - name: dob
        in: query
        description: A person's month and year of birth, `MM/YYYY` or `YYYY-MM`.
        schema:
          type: string
      - name: limit
        in: query
        schema:
          type: integer
          minimum: 1
          maximum: 50
          default: 10
      responses:
        '200':
          description: Register results, with `coverage` and `not_a_verdict`.
          content:
            application/json:
              schema:
                type: object
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          description: The company search is switched off.
        '422':
          description: No `q` or `number`, or a malformed `dob` or number.
        '429':
          description: The organisation's daily lookups are used (resets 00:00 UTC).
        '503':
          description: '`status: unavailable`: the register could not be searched right now. Retry.'
  /api/v5/company-search/registers/companies/GB/{number}:
    get:
      tags:
      - CompanySearch
      security:
      - ApiKeyAuth: []
      summary: One UK company, its owners and directors
      operationId: registerCompany
      description: 'One UK company: register facts, `pscs[]` (people with significant control,

        active and ended, with share and vote bands and the natures verbatim),

        `officers[]` (directors and secretaries; `officers_source` is `live`, `cache`

        or `unavailable`), the `sanctions` line and `coverage`. Never an address.'
      parameters:
      - name: number
        in: path
        required: true
        schema:
          type: string
          pattern: ^[A-Za-z0-9]{1,10}$
      responses:
        '200':
          description: The company page.
          content:
            application/json:
              schema:
                type: object
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          description: No live record of that number in our copy of the register, or the company search is switched off.
        '422':
          description: Not a Companies House company number.
        '429':
          description: The organisation's daily lookups are used (resets 00:00 UTC).
        '503':
          description: '`status: unavailable`: the register could not be searched right now. Retry.'
components:
  responses:
    Unauthorized:
      description: Missing, invalid, or expired API key
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
          examples:
            missing:
              summary: Missing or invalid key
              value:
                error: Unauthorized
            expired:
              summary: Expired key
              value:
                error: API Key expired
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: KEY
      description: 'API key provided with your subscription. Test keys (prefixed with `test`)

        return fixed mock data for any well-formed request on the FI endpoints and

        are not counted against your plan allowance (the public endpoints answer

        them with real records, under a separate 100/day sandbox ceiling);

        production keys (prefixed `prod`) return real data. Both keys are on

        https://ohmyfin.ai/profile/api.

        '
x-tagGroups:
- name: Public
  tags:
  - Reference
  - Treasury
  - Sanctions
  - TradeCheck