Call it
curl https://api.peume.com/v1/call/retrieve-brand \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"domain": "your domain",
"name": "your name"
}
}'const res = await fetch("https://api.peume.com/v1/call/retrieve-brand", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"domain": "your domain",
"name": "your name"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/retrieve-brand",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"domain": "your domain",
"name": "your name"
}
},
)
print(res.json()["output"])Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: retrieve-brand.
Parameters
domainstringDomain to retrieve brand data for, e.g. 'example.com'. Use exactly one of domain, name, ticker, email, or direct_url.
namestringCompany name to resolve, e.g. 'Apple Inc'. Use exactly one of domain, name, ticker, email, or direct_url.
tickerstringStock ticker to resolve, e.g. 'AAPL'. Use exactly one of domain, name, ticker, email, or direct_url.
emailstringWork email address; the company is resolved from its domain, e.g. 'jane@stripe.com'. Use exactly one of domain, name, ticker, email, or direct_url.
direct_urlstringA specific page URL to build the profile from, e.g. 'https://stripe.com/payments'. Use exactly one of domain, name, ticker, email, or direct_url. Not combinable with force_language, maxSpeed, or maxAgeMs.
ticker_exchangestringExchange code disambiguating the ticker, e.g. '', 'NYSE', 'LSE', 'XETRA'.
force_languagestringForce the language of the returned brand copy (a language NAME, e.g. 'english', 'french', 'japanese').
maxSpeedbooleanOptimize for speed: skips time-consuming enrichment for a faster response at the cost of less comprehensive data. Default false.
maxAgeMsintegerMaximum age in milliseconds of cached brand data before hard-refreshes it. Default 7776000000 (3 months); values are clamped to [86400000 (1 day), 31536000000 (1 year)].
timeoutMSintegerUpstream deadline in milliseconds (1000-110000). stops the call when it passes; the cap leaves the run time to return the answer within the endpoint's budget.
