# PRH Open Data API

Category: [Companies](https://free-web-services.com/web-services/open-data/companies/)  
Page: https://free-web-services.com/web-services/open-data/companies/prh-open-data-api.html  
Documentation: https://avoindata.prh.fi/en/ytj/swagger-ui

The PRH Open Data API from the Finnish Patent and Registration Office gives basic details of companies on the Finnish Trade Register: names, Business ID, company form, line of business, addresses and status, for example to check a supplier. Search by name, town or Business ID and get JSON. Free, no key needed; the data is under CC BY 4.0, so mention PRH as the source. It is updated once a day and leaves out private traders; too many requests get a 429 answer.

- API key: Not needed
- Pricing: Free, no key needed; the data is under CC BY 4.0, so mention PRH as the source.
- Commercial use: Allowed on the free plan
- From the browser: Yes (CORS)
- Formats: JSON
- Interface: REST, HTTP-GET
- Provider: avoindata.prh.fi

Example request:

```sh
curl 'https://avoindata.prh.fi/opendata-ytj-api/v3/companies?businessId=0112038-9'
```

The JavaScript works in a web page as well as in Node.js 18 or newer.

