Call it
curl https://api.peume.com/v1/call/pinterest-related-keyword-trends \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"keyword": "your keyword"
}
}'const res = await fetch("https://api.peume.com/v1/call/pinterest-related-keyword-trends", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"keyword": "your keyword"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/pinterest-related-keyword-trends",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"keyword": "your keyword"
}
},
)
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: pinterest-related-keyword-trends.
Parameters
genderstringLeave it out for all genders.
keywordRequiredstringAn English keyword (case-insensitive, up to 100 characters). Returns the related searches (usually 5), each with its weekly trend; the keyword's own trend is not included.
regionstringRegion; US when left out. One of US, CA, GB+IE, DE, DE+AT+CH, FR, IT, ES, IT+ES+PT+GR+MT, SE+DK+FI+NO, NL+BE+LU, PL+RO+HU+SK+CZ, CY+CZ+GR+HU+MT+PL+RO+SK, MX, AR, CO, MX+AR+CO+CL, CR+DO+EC+GT+PE, BR, AU+NZ, KR, ID, IN, MY, PH, TH, SA, EG, TR. One of: ar, au+nz, br, ca, co, cr+do+ec+gt+pe, cy+cz+gr+hu+mt+pl+ro+sk, de, de+at+ch, eg, es, fr, gb+ie, id, in, it, it+es+pt+gr+mt, kr, mx, mx+ar+co+cl, my, nl+be+lu, ph, pl+ro+hu+sk+cz, sa, se+dk+fi+no, th, tr, us.
ar · au+nz · br · ca · co · cr+do+ec+gt+pe · cy+cz+gr+hu+mt+pl+ro+sk · de · de+at+ch · eg · es · fr …
agestringLeave it out for all ages.
