Authorize · API reference
Discovery
Business discovery: a signed profile per verified business that tells agents it accepts Provenance, its rules and which agent sells for it, served by Provenance and optionally on the business's own domain. Lookups and search need no key.
Related guide: Be findable by agents
The provenance profile object
Attributes
objectenum- The type of object. One of
provenance_profile. versionstring- The format version, "1".
businessobject- The business.
Show child attributes
idstring- The business id (
biz_…). namestring- The name agents see.
originsarray of strings- Its verified domains.
acceptsobject- What it accepts.
Show child attributes
approvalsboolean- Provenance approvals.
network_mandatesboolean- People's network permissions.
railsarray of enums- Payment rails.
rulesobject- The business's rules.
Show child attributes
person_required_overnumber | null- Orders above it need a person's approval.
currencystring- ISO 4217.
categoriesarray of strings- Category slugs.
sellingarray of objects- Its selling agents.
Show child attributes
agent_idstring- The agent.
namestring- The agent's name.
kidsarray of strings- Its active Ed25519 key ids.
originstring | null- Its verified origin.
endpointsobjecta2a,mcp,offers(present when set).categoriesarray of strings- What it sells.
seller_confirmationobject- A seller's confirmation policy, published in every offer it signs and in the counterparty check.
Show child attributes
offeredenumRequired- Never, when the buyer asks (on orders it covers), or always. One of
never,on_request,always. min_amountnumber- With on_request: orders at or over this amount.
itemsarray of strings- With on_request: or orders with one of these SKUs or categories, at any amount.
response_timeenumRequired- The stated response time. One of
1h,4bh,1bd,2bd.
profile_urlstring- The hosted profile.
directory_urlstring- The business's directory page.
schemastring- The format's JSON Schema.
revisioninteger- Raised when the content changes.
updated_attimestamp- When the content last changed.
signaturestring- The compact JWS.
The provenance profile object
{
"object": "provenance_profile",
"version": "1",
"business": {
"id": "biz_01JDSAMPLE0SALTMARSH0DATA00",
"name": "Saltmarsh Data",
"origins": [
"https://agents.saltmarsh.example",
"https://saltmarsh.example"
]
},
"accepts": {
"approvals": true,
"network_mandates": true,
"rails": [
"acp",
"ap2",
"checkout",
"x402"
]
},
"rules": {
"person_required_over": 1000,
"currency": "USD"
},
"categories": [
"data"
],
"selling": [
{
"agent_id": "agt_01JDSAMPLE0TIDEPOOL0SALES00",
"name": "Tidepool Sales",
"kids": [
"qeyAk7qV5aEbrqHuFPh4m2OpR6qDKlvDl3WF3Z0CB-U"
],
"origin": "https://agents.saltmarsh.example",
"endpoints": {
"a2a": "https://agents.saltmarsh.example/a2a",
"offers": "https://agents.saltmarsh.example/offers"
},
"categories": [
"data",
"reports"
],
"seller_confirmation": {
"offered": "never",
"response_time": "1bd"
}
}
],
"profile_url": "http://127.0.0.1:50287/v1/public/businesses/biz_01JDSAMPLE0SALTMARSH0DATA00/profile",
"directory_url": "http://localhost:3000/businesses/biz_01JDSAMPLE0SALTMARSH0DATA00",
"schema": "http://localhost:3000/schemas/provenance-profile/v1.json",
"revision": 1,
"updated_at": "2026-11-07T19:22:53.607Z",
"signature": "eyJhbGciOiJFUzI1NiIsInR5cCI6InByb3ZlbmFuY2UtcHJvZmlsZStqd3QiLCJraWQiOiJmNzY1YTk5YWQwNTQzZDk5In0.eyJpc3MiOiJwcm92ZW5hbmNlLWF1dGhvcml6ZSIsInN1YiI6ImJpel8wMUpEU0FNUExFMFNBTFRNQVJTSDBEQVRBMDAiLCJpYXQiOjE3OTQwNzkzNzMsImV4cCI6MTc5NjY3MTM3MywicmV2aXNpb24iOjEsInByb2ZpbGVfc2hhMjU2IjoiYTAyZjdiMWQ3NDBkNTg0OGE5ZjY0ZTgyMjE3MzI5ZWRhNjU3YTQ1NWM3ZDIyMmUwYjg0Yjk3NzFmZmQ4M2Y2YiJ9.fNVLRRtdERYuqy_GL_EGNUAt2rKumz1br24JGEhxIR88ojLH5xNVVab124RMq9BWfy3OLS-cJkFgUX7HdZqgtg"
}Retrieve your discovery settings
GET/v1/authorize/settings/discovery
Settings → Store → Discovery: what your profile publishes, your verified domains, the selling agents you can list, the current signed profile and how each domain serves it.
Parameters
No parameters.
Returns
The settings.
Errors
export PROVENANCE_KEY=prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5
curl "$PROVENANCE_API/v1/authorize/settings/discovery" \
-H "Authorization: Bearer $PROVENANCE_KEY"const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/authorize/settings/discovery`, {
headers: { Authorization: "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5" },
})).json();import os
import httpx
api = os.environ["PROVENANCE_API"]
data = httpx.get(f"{api}/v1/authorize/settings/discovery", headers={"Authorization": "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5"}).json()Response 200
{
"object": "discovery_settings",
"id": "biz_01M6VQDE95R2YGEYT6QKP4QD9A",
"published": false,
"reason": null,
"settings": {
"name": null,
"rails": [],
"network_mandates": false,
"rules": {
"person_required_over": null,
"currency": "USD"
},
"categories": [],
"selling": []
},
"verified_origins": [],
"eligible_agents": [],
"profile": null,
"profile_url": "http://127.0.0.1:50287/v1/public/businesses/biz_01M6VQDE95R2YGEYT6QKP4QD9A/profile",
"well_known": {
"path": "/.well-known/provenance.json",
"redirect_to": "http://127.0.0.1:50287/v1/public/businesses/biz_01M6VQDE95R2YGEYT6QKP4QD9A/profile",
"link_header": "</.well-known/provenance.json>; rel=\"provenance\""
},
"serving": [],
"updated_at": null
}Retrieve a business profile
GET/v1/public/businesses/{business}/profile
The signed profile, by business id (biz_…), origin or host. No API key needed; cached for 5 minutes. Verify signature against /.well-known/jwks.json.
No API key needed.
Parameters
businessstringpathRequired- A business id, an origin (URL-encoded) or a host.
Returns
The signed profile. See the provenance profile object.
Errors
curl "$PROVENANCE_API/v1/public/businesses/biz_01JDSAMPLE0SALTMARSH0DATA00/profile"const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/public/businesses/biz_01JDSAMPLE0SALTMARSH0DATA00/profile`)).json();import os
import httpx
api = os.environ["PROVENANCE_API"]
data = httpx.get(f"{api}/v1/public/businesses/biz_01JDSAMPLE0SALTMARSH0DATA00/profile").json()Response 200
{
"object": "provenance_profile",
"version": "1",
"business": {
"id": "biz_01JDSAMPLE0SALTMARSH0DATA00",
"name": "Saltmarsh Data",
"origins": [
"https://agents.saltmarsh.example",
"https://saltmarsh.example"
]
},
"accepts": {
"approvals": true,
"network_mandates": true,
"rails": [
"acp",
"ap2",
"checkout",
"x402"
]
},
"rules": {
"person_required_over": 1000,
"currency": "USD"
},
"categories": [
"data"
],
"selling": [
{
"agent_id": "agt_01JDSAMPLE0TIDEPOOL0SALES00",
"name": "Tidepool Sales",
"kids": [
"qeyAk7qV5aEbrqHuFPh4m2OpR6qDKlvDl3WF3Z0CB-U"
],
"origin": "https://agents.saltmarsh.example",
"endpoints": {
"a2a": "https://agents.saltmarsh.example/a2a",
"offers": "https://agents.saltmarsh.example/offers"
},
"categories": [
"data",
"reports"
],
"seller_confirmation": {
"offered": "never",
"response_time": "1bd"
}
}
],
"profile_url": "http://127.0.0.1:50287/v1/public/businesses/biz_01JDSAMPLE0SALTMARSH0DATA00/profile",
"directory_url": "http://localhost:3000/businesses/biz_01JDSAMPLE0SALTMARSH0DATA00",
"schema": "http://localhost:3000/schemas/provenance-profile/v1.json",
"revision": 1,
"updated_at": "2026-11-07T19:22:53.607Z",
"signature": "eyJhbGciOiJFUzI1NiIsInR5cCI6InByb3ZlbmFuY2UtcHJvZmlsZStqd3QiLCJraWQiOiJmNzY1YTk5YWQwNTQzZDk5In0.eyJpc3MiOiJwcm92ZW5hbmNlLWF1dGhvcml6ZSIsInN1YiI6ImJpel8wMUpEU0FNUExFMFNBTFRNQVJTSDBEQVRBMDAiLCJpYXQiOjE3OTQwNzkzNzMsImV4cCI6MTc5NjY3MTM3MywicmV2aXNpb24iOjEsInByb2ZpbGVfc2hhMjU2IjoiYTAyZjdiMWQ3NDBkNTg0OGE5ZjY0ZTgyMjE3MzI5ZWRhNjU3YTQ1NWM3ZDIyMmUwYjg0Yjk3NzFmZmQ4M2Y2YiJ9.fNVLRRtdERYuqy_GL_EGNUAt2rKumz1br24JGEhxIR88ojLH5xNVVab124RMq9BWfy3OLS-cJkFgUX7HdZqgtg"
}Retrieve a selling agent's A2A card
GET/v1/public/businesses/{business}/agents/{agent_id}/agent-card.json
An A2A agent card (A2A 1.0) for a published selling agent with an A2A endpoint. Its extension points to the signed profile. No API key needed.
No API key needed.
Parameters
businessstringpathRequired- A business id, an origin (URL-encoded) or a host.
agent_idstringpathRequired- The selling agent.
Returns
The agent card.
Errors
curl "$PROVENANCE_API/v1/public/businesses/biz_01JDSAMPLE0SALTMARSH0DATA00/agents/agt_01JDSAMPLE0TIDEPOOL0SALES00/agent-card.json"const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/public/businesses/biz_01JDSAMPLE0SALTMARSH0DATA00/agents/agt_01JDSAMPLE0TIDEPOOL0SALES00/agent-card.json`)).json();import os
import httpx
api = os.environ["PROVENANCE_API"]
data = httpx.get(f"{api}/v1/public/businesses/biz_01JDSAMPLE0SALTMARSH0DATA00/agents/agt_01JDSAMPLE0TIDEPOOL0SALES00/agent-card.json").json()Response 200
{
"name": "Tidepool Sales",
"description": "Tidepool Sales sells for Saltmarsh Data. Its business profile, keys and rules are signed by Provenance.",
"supportedInterfaces": [
{
"url": "https://agents.saltmarsh.example/a2a",
"protocolBinding": "JSONRPC",
"protocolVersion": "1.0"
}
],
"provider": {
"organization": "Saltmarsh Data",
"url": "https://agents.saltmarsh.example"
},
"version": "1",
"documentationUrl": "http://localhost:3000/businesses/biz_01JDSAMPLE0SALTMARSH0DATA00",
"capabilities": {
"extensions": [
{
"uri": "http://localhost:3000/schemas/provenance-profile/v1.json",
"description": "The business's signed Provenance profile: verify this agent and its key ids against it before you buy.",
"required": false,
"params": {
"profile_url": "http://127.0.0.1:50287/v1/public/businesses/biz_01JDSAMPLE0SALTMARSH0DATA00/profile",
"business_id": "biz_01JDSAMPLE0SALTMARSH0DATA00",
"agent_id": "agt_01JDSAMPLE0TIDEPOOL0SALES00",
"kids": [
"qeyAk7qV5aEbrqHuFPh4m2OpR6qDKlvDl3WF3Z0CB-U"
]
}
}
]
},
"defaultInputModes": [
"application/json"
],
"defaultOutputModes": [
"application/json"
],
"skills": [
{
"id": "data",
"name": "data",
"description": "Offers in data from Saltmarsh Data.",
"tags": [
"data"
]
},
{
"id": "reports",
"name": "reports",
"description": "Offers in reports from Saltmarsh Data.",
"tags": [
"reports"
]
}
]
}Retrieve a domain's A2A card
GET/v1/public/businesses/{business}/agent-card.json
The card a business's domain serves at /.well-known/agent-card.json through our middleware: its selling agent on that origin with an A2A endpoint. 404 when the domain has a card of its own, which always takes precedence. No API key needed.
No API key needed.
Parameters
businessstringpathRequired- A business id, an origin (URL-encoded) or a host.
originstringquery- The domain serving the card (default the business key's origin).
Returns
The agent card.
Errors
curl "$PROVENANCE_API/v1/public/businesses/saltmarsh.example/agent-card.json?origin=https%3A%2F%2Fagents.saltmarsh.example"const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/public/businesses/saltmarsh.example/agent-card.json?origin=https%3A%2F%2Fagents.saltmarsh.example`)).json();import os
import httpx
api = os.environ["PROVENANCE_API"]
data = httpx.get(f"{api}/v1/public/businesses/saltmarsh.example/agent-card.json?origin=https%3A%2F%2Fagents.saltmarsh.example").json()Response 200
{
"name": "Tidepool Sales",
"description": "Tidepool Sales sells for Saltmarsh Data. Its business profile, keys and rules are signed by Provenance.",
"supportedInterfaces": [
{
"url": "https://agents.saltmarsh.example/a2a",
"protocolBinding": "JSONRPC",
"protocolVersion": "1.0"
}
],
"provider": {
"organization": "Saltmarsh Data",
"url": "https://agents.saltmarsh.example"
},
"version": "1",
"documentationUrl": "http://localhost:3000/businesses/biz_01JDSAMPLE0SALTMARSH0DATA00",
"capabilities": {
"extensions": [
{
"uri": "http://localhost:3000/schemas/provenance-profile/v1.json",
"description": "The business's signed Provenance profile: verify this agent and its key ids against it before you buy.",
"required": false,
"params": {
"profile_url": "http://127.0.0.1:50287/v1/public/businesses/biz_01JDSAMPLE0SALTMARSH0DATA00/profile",
"business_id": "biz_01JDSAMPLE0SALTMARSH0DATA00",
"agent_id": "agt_01JDSAMPLE0TIDEPOOL0SALES00",
"kids": [
"qeyAk7qV5aEbrqHuFPh4m2OpR6qDKlvDl3WF3Z0CB-U"
]
}
}
]
},
"defaultInputModes": [
"application/json"
],
"defaultOutputModes": [
"application/json"
],
"skills": [
{
"id": "data",
"name": "data",
"description": "Offers in data from Saltmarsh Data.",
"tags": [
"data"
]
},
{
"id": "reports",
"name": "reports",
"description": "Offers in reports from Saltmarsh Data.",
"tags": [
"reports"
]
}
]
}Update your discovery settings
PUT/v1/authorize/settings/discovery
Owner or admin. Choose what the profile publishes and publish it. Publishing needs a verified domain (a store origin or a selling agent's origin). Every change signs the profile again and raises its revision.
Parameters
publishedboolean- Publish the profile (needs a verified domain).
namestring | null- The name agents see; null uses your branding name.
railsarray of enums- The rails you accept.
network_mandatesboolean- You accept people's network permissions.
rulesobject- The amount above which a person approves.
Show child attributes
person_required_overnumber | null- Orders above it need a person's approval.
currencystring- ISO 4217.
categoriesarray of strings- Slugs used by search.
sellingarray of objects- Your selling agents (each selling, with a verified origin and an active key).
Show child attributes
agent_idstringRequired- The agent.
endpointsobject- Where agents reach it.
Show child attributes
a2astring | null- The A2A endpoint (an agent card is generated with it).
mcpstring | null- The MCP server.
offersstring | null- Where it serves signed offers.
categoriesarray of strings- What it sells.
Returns
The settings.
Errors
export PROVENANCE_KEY=prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5
curl -X PUT "$PROVENANCE_API/v1/authorize/settings/discovery" \
-H "Authorization: Bearer $PROVENANCE_KEY" \
-H "Content-Type: application/json" \
-d '{
"rails": [
"x402",
"checkout"
],
"rules": {
"person_required_over": 1000,
"currency": "USD"
},
"categories": [
"data"
]
}'const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/authorize/settings/discovery`, {
method: "PUT",
headers: { Authorization: "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5", "Content-Type": "application/json" },
body: JSON.stringify({
"rails": [
"x402",
"checkout"
],
"rules": {
"person_required_over": 1000,
"currency": "USD"
},
"categories": [
"data"
]
}),
})).json();import os
import httpx
api = os.environ["PROVENANCE_API"]
data = httpx.put(f"{api}/v1/authorize/settings/discovery", headers={"Authorization": "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5"}, json={
"rails": [
"x402",
"checkout"
],
"rules": {
"person_required_over": 1000,
"currency": "USD"
},
"categories": [
"data"
]
}).json()Response 200
{
"object": "discovery_settings",
"id": "biz_01M6VQDE96WMDQM2SP8GJNVSFY",
"published": false,
"reason": null,
"settings": {
"name": null,
"rails": [
"checkout",
"x402"
],
"network_mandates": false,
"rules": {
"person_required_over": 1000,
"currency": "USD"
},
"categories": [
"data"
],
"selling": []
},
"verified_origins": [],
"eligible_agents": [],
"profile": null,
"profile_url": "http://127.0.0.1:50287/v1/public/businesses/biz_01M6VQDE96WMDQM2SP8GJNVSFY/profile",
"well_known": {
"path": "/.well-known/provenance.json",
"redirect_to": "http://127.0.0.1:50287/v1/public/businesses/biz_01M6VQDE96WMDQM2SP8GJNVSFY/profile",
"link_header": "</.well-known/provenance.json>; rel=\"provenance\""
},
"serving": [],
"updated_at": null
}Check how your domains serve the profile
POST/v1/authorize/settings/discovery/check
Fetches /.well-known/provenance.json and /.well-known/agent-card.json from each verified domain now (at most once a minute) and reports each domain's serving: match, stale (reason profile_stale; agents get the hosted profile), absent or unreachable. We also check daily.
Parameters
No parameters.
Returns
The settings, with fresh serving results.
Errors
export PROVENANCE_KEY=prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5
curl -X POST "$PROVENANCE_API/v1/authorize/settings/discovery/check" \
-H "Authorization: Bearer $PROVENANCE_KEY"const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/authorize/settings/discovery/check`, {
method: "POST",
headers: { Authorization: "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5" },
})).json();import os
import httpx
api = os.environ["PROVENANCE_API"]
data = httpx.post(f"{api}/v1/authorize/settings/discovery/check", headers={"Authorization": "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5"}).json()Response 200
{
"object": "discovery_settings",
"id": "biz_01JDSAMPLE0SALTMARSH0DATA00",
"published": true,
"reason": null,
"settings": {
"name": "Saltmarsh Data",
"rails": [
"acp",
"ap2",
"checkout",
"x402"
],
"network_mandates": true,
"rules": {
"person_required_over": 1000,
"currency": "USD"
},
"categories": [
"data"
],
"selling": []
},
"verified_origins": [
"https://saltmarsh.example"
],
"eligible_agents": [],
"profile": null,
"profile_url": "https://api.provenanceauth.com/v1/public/businesses/biz_01JDSAMPLE0SALTMARSH0DATA00/profile",
"well_known": {
"path": "/.well-known/provenance.json",
"redirect_to": "https://api.provenanceauth.com/v1/public/businesses/biz_01JDSAMPLE0SALTMARSH0DATA00/profile",
"link_header": "</.well-known/provenance.json>; rel=\"provenance\""
},
"serving": [
{
"object": "discovery_serving",
"origin": "https://saltmarsh.example",
"method": "identify",
"status": "match",
"reason": null,
"stale_since": null,
"own_agent_card": false,
"checked_at": "2026-10-31T09:00:00.000Z"
}
],
"updated_at": "2026-10-31T08:58:00.000Z"
}Look up a business by domain
GET/v1/public/businesses/lookup
The signed profile of the verified business at this origin or host. No API key needed; cached for 5 minutes; 60 a minute per address. One 404 for an unknown, unverified or unpublished business.
No API key needed.
Parameters
originstringqueryRequired- An origin or a host, such as https://saltmarsh.example.
Returns
The signed profile. See the provenance profile object.
Errors
curl "$PROVENANCE_API/v1/public/businesses/lookup?origin=https%3A%2F%2Fsaltmarsh.example"const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/public/businesses/lookup?origin=https%3A%2F%2Fsaltmarsh.example`)).json();import os
import httpx
api = os.environ["PROVENANCE_API"]
data = httpx.get(f"{api}/v1/public/businesses/lookup?origin=https%3A%2F%2Fsaltmarsh.example").json()Response 200
{
"object": "provenance_profile",
"version": "1",
"business": {
"id": "biz_01JDSAMPLE0SALTMARSH0DATA00",
"name": "Saltmarsh Data",
"origins": [
"https://agents.saltmarsh.example",
"https://saltmarsh.example"
]
},
"accepts": {
"approvals": true,
"network_mandates": true,
"rails": [
"acp",
"ap2",
"checkout",
"x402"
]
},
"rules": {
"person_required_over": 1000,
"currency": "USD"
},
"categories": [
"data"
],
"selling": [
{
"agent_id": "agt_01JDSAMPLE0TIDEPOOL0SALES00",
"name": "Tidepool Sales",
"kids": [
"qeyAk7qV5aEbrqHuFPh4m2OpR6qDKlvDl3WF3Z0CB-U"
],
"origin": "https://agents.saltmarsh.example",
"endpoints": {
"a2a": "https://agents.saltmarsh.example/a2a",
"offers": "https://agents.saltmarsh.example/offers"
},
"categories": [
"data",
"reports"
],
"seller_confirmation": {
"offered": "never",
"response_time": "1bd"
}
}
],
"profile_url": "http://127.0.0.1:50287/v1/public/businesses/biz_01JDSAMPLE0SALTMARSH0DATA00/profile",
"directory_url": "http://localhost:3000/businesses/biz_01JDSAMPLE0SALTMARSH0DATA00",
"schema": "http://localhost:3000/schemas/provenance-profile/v1.json",
"revision": 1,
"updated_at": "2026-11-07T19:22:53.607Z",
"signature": "eyJhbGciOiJFUzI1NiIsInR5cCI6InByb3ZlbmFuY2UtcHJvZmlsZStqd3QiLCJraWQiOiJmNzY1YTk5YWQwNTQzZDk5In0.eyJpc3MiOiJwcm92ZW5hbmNlLWF1dGhvcml6ZSIsInN1YiI6ImJpel8wMUpEU0FNUExFMFNBTFRNQVJTSDBEQVRBMDAiLCJpYXQiOjE3OTQwNzkzNzMsImV4cCI6MTc5NjY3MTM3MywicmV2aXNpb24iOjEsInByb2ZpbGVfc2hhMjU2IjoiYTAyZjdiMWQ3NDBkNTg0OGE5ZjY0ZTgyMjE3MzI5ZWRhNjU3YTQ1NWM3ZDIyMmUwYjg0Yjk3NzFmZmQ4M2Y2YiJ9.fNVLRRtdERYuqy_GL_EGNUAt2rKumz1br24JGEhxIR88ojLH5xNVVab124RMq9BWfy3OLS-cJkFgUX7HdZqgtg"
}Search businesses
GET/v1/public/businesses/search
Businesses with a published profile, ordered by name (never ranked or recommended), each selling agent with its record in two facts. No API key needed; cached for 5 minutes.
No API key needed.
Parameters
categorystringquery- The business's category or one of its selling agents'.
sells_to_agentsenumquery- Only businesses that publish a selling agent. One of
true,false. limitintegerquery- Page size, 1–100 (default 20). Outside the range → 400 parameter_invalid.
cursorstringquery- Opaque; pass a response's
next_cursorback to get the next page.
Returns
A page of businesses.
Errors
curl "$PROVENANCE_API/v1/public/businesses/search?category=data&sells_to_agents=true"const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/public/businesses/search?category=data&sells_to_agents=true`)).json();import os
import httpx
api = os.environ["PROVENANCE_API"]
data = httpx.get(f"{api}/v1/public/businesses/search?category=data&sells_to_agents=true").json()Response 200
{
"object": "list",
"data": [
{
"object": "directory_business",
"id": "biz_01JDSAMPLE0SALTMARSH0DATA00",
"name": "Saltmarsh Data",
"origins": [
"https://agents.saltmarsh.example",
"https://saltmarsh.example"
],
"categories": [
"data"
],
"accepts": {
"approvals": true,
"network_mandates": true,
"rails": [
"acp",
"ap2",
"checkout",
"x402"
]
},
"selling": [
{
"agent_id": "agt_01JDSAMPLE0TIDEPOOL0SALES00",
"name": "Tidepool Sales",
"categories": [
"data",
"reports"
],
"record": {
"orders": 0,
"rating": null,
"rating_count": 0,
"line": "New · 0 orders"
}
}
],
"profile_url": "http://127.0.0.1:50287/v1/public/businesses/biz_01JDSAMPLE0SALTMARSH0DATA00/profile"
}
],
"has_more": false,
"next_cursor": null
}