Three changes cover most of a migration: the token moves from the query string to an Authorization: Bearer header, companies/{jurisdiction}/{number} becomes /companies/{COUNTRY}/{number}, and the results.company object becomes data with different field names. The tables below map each one.
This page is for a developer who calls the OpenCorporates REST API today and wants to read the same company facts from Prometiam. The OpenCorporates side is quoted from its own API reference (version 0.4.8), read on 26 November 2026. The Prometiam side was run against the live API on the same day with the public demo key. A comparison of the two products, with prices as at 5 November 2026, is on OpenCorporates alternative; this page is about code, and says nothing about price beyond what that page records.
api_token=.... Its reference says the example requests it prints return a 503 without a token, and that usage limits "depend on your account type and plan" (as at 26 November 2026).rk_live_, sent in the Authorization: Bearer header, never in the URL. Keys are made at sign-up; the public demo key in the examples below works for company search, records, lookup by identifier, VAT, LEI and insolvency, and is shared, so it is capped.OpenCorporates paths are as the reference prints them. Prometiam paths are relative to https://api.prometiam.com/functions/v1/risk-api.
| OpenCorporates | Prometiam | Note |
|---|---|---|
GET companies/:jurisdiction_code/:company_number | GET /companies/{country}/{company_number} or GET /companies/by-identifier?type=company_number&value=&country= | Country is the two-letter ISO code in capitals. OpenCorporates writes a US state as us_mi; Prometiam uses US and a state-prefixed number such as NY-4424185, for the states it serves. 1 credit. |
GET companies/search?q= | GET /companies/search?name=&country= | Name match is normalised and partial. Pass country to stay in one register. 1 credit. |
GET companies/:jurisdiction_code/:company_number/filings | no equivalent | Prometiam does not list a company's filings. Typed corporate events are on GET /company-events/search (2 credits). |
GET officers/search and GET officers/:id | GET /people/search and GET /people/{id} | Officers also arrive as appointments on the company record. 2 credits a people call. Officers are served for the countries that publish them, not for every country; see the company object. |
GET companies/:jurisdiction_code/:company_number/statements, GET statements/..., GET data/:id | no equivalent | Prometiam has no statement or datum model. |
GET account_status | GET /account | Shows credits used and left. 0 credits. |
GET jurisdictions | GET /coverage | The countries served and how fresh each is. 0 credits. |
GET versions | no equivalent | The Prometiam paths carry no version number. |
| not in the reference | POST /companies/lookup, POST /insolvency/check | Batch calls of up to 100 items, one credit-priced item each. |
The left column is the field name as OpenCorporates' reference prints it for GET companies/:jurisdiction_code/:company_number, which wraps the company in results.company. The middle column is the field on a Prometiam company, which sits in data. Where Prometiam serves nothing for a field it says "no equivalent".
| OpenCorporates field | Prometiam field | Note |
|---|---|---|
name | company_name | The register's legal name. name_latin carries a transliteration where the register uses another script. |
company_number | company_number | A string, as the register writes it. A UK number keeps its leading zeros. |
jurisdiction_code | country | ISO two-letter code, capitals. |
company_type | legal_form, local_legal_form_name | legal_form is normalised across countries; local_legal_form_name is the register's own wording. |
current_status | local_status and status | local_status is the register's value; status is one list for every country. |
inactive | status_group | active or inactive rather than a boolean. Where the register states no status the group is not guessed. |
incorporation_date | founding_date | A few countries give only a registration_date. See the company object. |
dissolution_date | dissolution_date | Null where the register publishes none. |
registered_address_in_full | address | One string. |
registered_address | postal_code, city, region, address_country | Prometiam splits the postcode, town and region, not the street lines. |
industry_codes | activity_code, activity_code_scheme, secondary_activity_codes, nace_class | The register's own code and its scheme (UK-SIC-2007 for Great Britain), and a NACE class where the code maps to exactly one. |
identifiers | identifiers | An array of type and value pairs. |
registry_url | register_url | The company's own page at the register, where the register has one. |
previous_names | previous_names | One shape for every country; null where the register publishes none. |
alternative_names | no equivalent | |
controlling_entity | parent_company | One controlling company, with the source named. For Great Britain only where the significant-control share band is 50 to 75 or 75 to 100 per cent. |
ultimate_beneficial_owners, ultimate_controlling_company | no equivalent | Prometiam does not serve a beneficial-owner list or an ultimate controller. Do not map these to parent_company, which is one level. |
branch, branch_status, home_company | no equivalent | |
alternate_registration_entities, previous_registration_entities, subsequent_registration_entities | no equivalent | Prometiam does not link one company's registrations across registers. A company that a register closed by merger is served as closed, with status merged in Spain. |
opencorporates_url, source, provenance objects | register, register_url, meta.attribution | The source is the official register and the licence line travels in meta.attribution. There is no per-value confidence score. |
created_at, updated_at, retrieved_at | first_seen_date, updated_at | Different meaning: when Prometiam first saw and last updated the record, not when a third party retrieved it. |
filings, officers and data inside the company | appointments (officers); filings and datums: no equivalent |
The OpenCorporates reference shows no field in the company object for a VAT number, an LEI, a company age or an EU size class. Prometiam serves vat_number with a vat_number_source that says whether the register published it or it was built from the identifier, lei, age_years and age_band, and an indicative eu_size_class. Each carries scope limits that are documented per country, and each is null where the register or the rule gives nothing, so test for null.
| OpenCorporates (reference as at 26 November 2026) | Prometiam | |
|---|---|---|
| Pagination | 30 objects by default; per_page up to 100; page limited to 100; the response gives page, per_page, total_count and total_pages. | limit from 1 to 100 (a value outside that range is a 400, not clamped); offset or cursor to continue. The answer gives pagination.count, has_more and next_cursor, and no total. |
| Wrapper | api_version and results. | data, pagination and meta. |
| Errors | HTTP codes: 400, 401 for incorrect credentials, 403 for a refused request, 404, 500, 502 and 503. | A JSON error with code, message, status and doc_url. An error costs no credits. |
| Rate limiting | Its reference says 403 "will be returned during rate limiting". Its stated default is 200 requests in a month and 50 in a day; limits depend on the account and plan. | HTTP 429 rate_limit_exceeded or quota_exceeded with a Retry-After header in seconds. Limits are a monthly credit allowance and requests a minute, by plan; see rate limits, credits and errors. |
| Usage endpoint | GET account_status with calls_remaining and usage. | GET /account, and X-Credits-Cost and X-RateLimit-Remaining on every response. |
The rate-limit change is the one to handle in code: a retry loop written for OpenCorporates that waits on a 403 must now wait on a 429 and read Retry-After. The PHP guide has a working retry.
The same company, Tesco PLC, by its Great Britain register number. The OpenCorporates request is written from its reference and was not run, because it needs an account token.
# OpenCorporates (not run: needs an account token) curl "https://api.opencorporates.com/v0.4/companies/gb/00445790?api_token=$OC_API_TOKEN&sparse=true"
# Prometiam curl 'https://api.prometiam.com/functions/v1/risk-api/companies/GB/00445790' \ -H "Authorization: Bearer $PROMETIAM_API_KEY"
On 26 November 2026 the API answered with this record, shortened here (... marks what was cut). The call cost 1 credit, shown in the X-Credits-Cost header:
{
"data": {
"id": 2000004984338,
"country": "GB",
"company_number": "00445790",
"company_name": "TESCO PLC",
"legal_form": "PLC",
"local_legal_form_name": "Public Limited Company",
"status": "active",
"status_group": "active",
"local_status": "active",
"founding_date": "1947-11-27",
"dissolution_date": null,
"activity_code": "47110",
"activity_code_scheme": "UK-SIC-2007",
"address": "TESCO HOUSE, SHIRE PARK, KESTREL WAY, WELWYN GARDEN CITY, AL7 1GA, UNITED KINGDOM",
"postal_code": "AL7 1GA",
"city": "WELWYN GARDEN CITY",
"register": "Companies House",
"register_url": "https://find-and-update.company-information.service.gov.uk/company/00445790",
"lei": "2138002P5RNKC5W2JZ46",
"vat_number": null,
"appointments": [ { "role_type": "secretary", "is_current": true, "person": { "full_name": "...", ... }, ... }, ... ],
...
},
"meta": { "attribution": "Contains public sector information licensed under the Open Government Licence v3.0. Source: Companies House, UK. ...", ... }
}
The OpenCorporates answer to the equivalent call puts the same facts under results.company, for example name, company_number, incorporation_date and current_status, as its reference shows. A search is the same change of names: companies/search?q=tesco becomes /companies/search?name=tesco&country=GB.
GET /coverage before you switch.meta.attribution; keep it where your licence requires. Read the terms of both services before you decide.A company search, a record, a lookup item, a VAT check and an LEI lookup cost 1 credit; events, people and insolvency 2; a sanctions screen 3 (beta). Starter is EUR 9.99 a month for 1,000 credits, Professional EUR 29.99 for 10,000, Scale EUR 99.99 for 50,000, Enterprise priced to order. The 14-day trial has 500 credits; a card is required and nothing is charged during it. To try the calls with no sign-up, use the public demo key.
The free trial lasts 14 days and includes 500 credits. A card is required and nothing is charged during the trial; it then continues as Starter (EUR 9.99/month) unless you cancel.