SDK reference · Node SDK

prov.authorize.discovery.lookup

prov.authorize.discovery.lookup in Node SDK. The signed profile for an origin or host (https://shop.example, shop.example).

Signature

prov.authorize.discovery.lookup(origin: string): Promise<ProvenanceProfile>

Parameters

originstringRequired

Request fields

originstringqueryRequired
An origin or a host, such as https://saltmarsh.example.

Returns

Promise<ProvenanceProfile> The signed profile.

HTTP operation

GET /v1/public/businesses/lookup: Look up a business by domain

Errors

Example

const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/public/businesses/lookup?origin=https%3A%2F%2Fsaltmarsh.example`)).json();

Was this page helpful? Send us feedback

LLM? Read llms.txt.