Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Ruby API to UK Companies House XML Gateway.

branch: master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 autotest
Octocat-spinner-32 lib
Octocat-spinner-32 spec
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .rspec
Octocat-spinner-32 CHANGELOG
Octocat-spinner-32 LICENSE
Octocat-spinner-32 Manifest
Octocat-spinner-32 README
Octocat-spinner-32 README.rdoc
Octocat-spinner-32 Rakefile
Octocat-spinner-32 companies-house.yml.example
Octocat-spinner-32 init.rb

Ruby API to UK Companies House XML Gateway.

Companies House XML Gateway

The Companies House XML Gateway offers electronic access to a core range of company information from Companies House Databases. The service is accessible online over the internet by authorised XML Gateway customers.

For more details about the Companies House XML Gateway, including how to become a registered user see:


The companies-house rubygem has been developed independently of Companies House. It is in no way authorized or supported by Companies House.

Example usage:

Note usage requires you have a registered account with Companies House:

require 'rubygems'
require 'companies-house'

CompaniesHouse.sender_id = 'XMLGatewayTestUserID'
CompaniesHouse.password = 'password'

x = CompaniesHouse.name_search 'Canonical'

x = CompaniesHouse.number_search '05276648'

x = CompaniesHouse.company_details '05276648'
Something went wrong with that request. Please try again.