# prov.authorize.discovery.profile

prov.authorize.discovery.profile in Node SDK. The signed profile by business id (`biz_…`), origin or host.

## Signature

```ts
prov.authorize.discovery.profile(business: string): Promise<ProvenanceProfile>
```

## Parameters

- `business` (string)

## Returns

`Promise<ProvenanceProfile>`

## HTTP operation

[`GET /v1/public/businesses/{business}/profile`](https://provenanceauth.com/docs/api/discovery.md#get-v1-public-businesses-business-profile): Retrieve a business profile

## Errors

- [`profile_not_published`](https://provenanceauth.com/docs/platform/errors.md#profile_not_published)
- [`rate_limit_exceeded`](https://provenanceauth.com/docs/platform/errors.md#rate_limit_exceeded)

## Example

**Node**

```ts
const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/public/businesses/biz_01JDSAMPLE0SALTMARSH0DATA00/profile`)).json();
```

**Python**

```python
import os
import httpx

api = os.environ["PROVENANCE_API"]
data = httpx.get(f"{api}/v1/public/businesses/biz_01JDSAMPLE0SALTMARSH0DATA00/profile").json()
```
